Fake users - ip tracking

Discussion regarding Joomla! 3.x security issues.

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Niwde23
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Dec 15, 2018 1:15 pm

Fake users - ip tracking

Post by Niwde23 » Sun Feb 07, 2021 4:02 pm

Recently I get constant registration of fake users. Everytime I delete them manually. I am using recaptcha. Some fake users are also registering manually. How can I track e.g. the ip address, the new user registration message sent by Joomla is not showing ip addresses. The server log is not showing any ip address of that fake user when I compare server activity with corresponding time of receipt of the registration message.

User avatar
mjparadac
Joomla! Hero
Joomla! Hero
Posts: 2488
Joined: Mon Oct 29, 2012 3:58 pm

Re: Fake users - ip tracking

Post by mjparadac » Tue Feb 09, 2021 4:21 pm

These extensions could help you in something, the first to block users by IP or country, and the other to protect your site from spam attacks.
https://extensions.joomla.org/extension ... -blocking/
https://extensions.joomla.org/extension ... t-factory/

Hope this helps.

Regards,
Joomla Community Ambassador for A2 Hosting | A2 Hosting - Our speed, your success | https://www.a2hosting.com/joomla-hosting

Micky701
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Mar 20, 2021 6:11 pm

Re: Fake users - ip tracking

Post by Micky701 » Sat Mar 20, 2021 6:20 pm

Hi,
Is it possible to do the same in the .htaccess file with this code?

Code: Select all

#BLOCKIP_START
<IfModule mod_authz_core.c>
<RequireAll>
require all granted
require not ip xxx.xxx.xxx.xxx xx.xx.xx.xx
</RequireAll>
</IfModule>
#BLOCKIP_END
And below, this code to block Russia, Ukraine and China for example:

Code: Select all

#BLOCKCOUNTRY_START
<IfModule mod_authz_host.c>
<RequireAll>
require all granted
require not host .ru .ua .cn
</RequireAll>
</IfModule>
#BLOCKCOUNTRY_END
Thank you for your reply

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44072
Joined: Sat Apr 05, 2008 9:58 pm

Re: Fake users - ip tracking

Post by Webdongle » Sat Mar 20, 2021 6:51 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Micky701
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Mar 20, 2021 6:11 pm

Re: Fake users - ip tracking

Post by Micky701 » Sat Mar 20, 2021 8:37 pm

Hi,

Thanks for the information and the links.

The "deny from" commands are deprecated since Apache 2.4:
https://httpd.apache.org/docs/2.4/fr/howto/access.html

A stupid question:
How does blocking IP addresses and countries in the .htaccess file work as shown above?
Does it hide my website from users or does it just redirect all urls entered by these users on the 404 page?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44072
Joined: Sat Apr 05, 2008 9:58 pm

Re: Fake users - ip tracking

Post by Webdongle » Sat Mar 20, 2021 9:35 pm

Not sure what error code is generated
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Fake users - ip tracking

Post by leolam » Tue Mar 23, 2021 3:44 pm

IP blocking is useless... Most hackers or scripts are run from alternate IP-addresses through a VPN

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

Micky701
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Mar 20, 2021 6:11 pm

Re: Fake users - ip tracking

Post by Micky701 » Wed Mar 24, 2021 2:14 pm

Hi Leo,

I know that.
But I mostly still have the same 3 static IPs attacking my site every day and throwing thousands of 404 errors.
So I would like to block these 3 IP addresses so that they do not access my site.
Is it feasible?

Michel


Locked

Return to “Security in Joomla! 3.x”