Bots/Web Scrappers in 2025
#31
My website was also targeted by a botnet. It's really painful.
Reply
#32
I suspect the specifics of all this is important to cover. One of the better sites for this is started below with that link and the first few lines of text, but that is actually 2.4 under "Crawling service" and the "2" indicates it is sort of chapter 2. But it seems a good place to start getting into specifics.

Please offer advice if you disagree. I am simply thinking that knowing what is in the details, for those that haven't yet studied this; well, it seems like a good idea. It is a massive topic and where to start is probably varied in opinion.

BUT, one thing any webmaster/admin might spot in a thread where other webmasters/admin folks are exchanging ideas is this: "They aren't following the rules." That has been the biggie since the really bad trouble started early this year, or maybe late last year for some sites in some countries.

So I am trying to start by answering the question of what rules are folks referring to?

Crawling rules

Quote:One of the most important traits that a web crawler must fulfill is the politeness towards every domain it will crawl. Politeness is achieved by applying some rules regarding:
  •  Number of requests per unit of time to the website
  •  Respecting the will of the domain about allowed sub-domains and links to follow
  •  Respect the website behavior, expressed by HTTP responses to each call

Now I felt this should not only follow that which I placed above, but should also be its own post. This is an old thread, by some standards, but it covers some key aspects of this trouble and I think that is another 'safe' site most of you probably know and/or have used.

https://softwareengineering.stackexchang...e-crawling

And a search engine snippet for that link is this:

Quote:What will happen if I don't follow robots(.)txt while crawling?
Even legit crawlers may bring a site to a halt with too many requests to resources that aren't designed to handle crawling, I'd strongly advise you to reconsider and adjust your crawler to fully respect robots(.)txt.

Note: I added those parenthesis so that tag doesn't cause trouble here.
Reply
#33
Our web site is being destroyed by a nefarious bot. WE have blocked the IP addresses but they use tunneling to get by that block.

   

Note that the IP's being used have been blocked at our service provider and in the htaccess file. Below is just one of the blocked IP addresses that continue to show up despite being denied and blocked. 

185.191.171.2 Report - SEMrush CY - Washington D.C., US | Proxy Detection Lookup | IP Address Lookup

I am at a loss to how I can combat this. I even blocked the name server on the reported host.  I have blocked all bots in the robots.txt file ( I know this is voluntary). I suspect they are using a code line to spoof the actual IP from the IP BLOCK. 

Someone in DC wants our website crashed.. The lengths they are going through to accomplish this is stunning to me. blocking IP's is a kin to watching a cat chase a laser pointer.. Useless but fun to watch us waste our time.
Reply
#34
(2025-11-06, 04:50 PM)Billy_Bob Wrote: Our web site is being destroyed by a nefarious bot. WE have blocked the IP addresses but they use tunneling to get by that block.



Note that the IP's being used have been blocked at our service provider and in the htaccess file. Below is just one of the blocked IP addresses that continue to show up despite being denied and blocked. 

185.191.171.2 Report - SEMrush CY - Washington D.C., US | Proxy Detection Lookup | IP Address Lookup

I am at a loss to how I can combat this. I even blocked the name server on the reported host.  I have blocked all bots in the robots.txt file ( I know this is voluntary). I suspect they are using a code line to spoof the actual IP from the IP BLOCK. 

Someone in DC wants our website crashed.. The lengths they are going through to accomplish this is stunning to me. blocking IP's is a kin to watching a cat chase a laser pointer.. Useless but fun to watch us waste our time.

Block by user-agent, not IP.
No longer involved in the MyBB project.
Reply
#35
(2025-11-06, 04:50 PM)Billy_Bob Wrote: Our web site is being destroyed by a nefarious bot.

Judging by the image you shared, it's visiting roughly every few minutes on average. That can't really be "destroying" your website. Perhaps the image isn't representative?
Reply
#36
If Admin/Mods don't mind I'm going to refer to 'github' material again and offer this for information:

https://github.com/paralax/awesome-honeypots
Reply
#37
(2025-11-07, 01:37 AM)Laird Wrote:
(2025-11-06, 04:50 PM)Billy_Bob Wrote: Our web site is being destroyed by a nefarious bot.

Judging by the image you shared, it's visiting roughly every few minutes on average. That can't really be "destroying" your website. Perhaps the image isn't representative?

The bots are dropping commands at a rate of about 5 a second. While the initial visit is timed, the commands they are pushing eat up the SQL server.

(2025-11-06, 05:11 PM)Nathan Malcolm Wrote:
(2025-11-06, 04:50 PM)Billy_Bob Wrote: Our web site is being destroyed by a nefarious bot. WE have blocked the IP addresses but they use tunneling to get by that block.



Note that the IP's being used have been blocked at our service provider and in the htaccess file. Below is just one of the blocked IP addresses that continue to show up despite being denied and blocked. 

185.191.171.2 Report - SEMrush CY - Washington D.C., US | Proxy Detection Lookup | IP Address Lookup

I am at a loss to how I can combat this. I even blocked the name server on the reported host.  I have blocked all bots in the robots.txt file ( I know this is voluntary). I suspect they are using a code line to spoof the actual IP from the IP BLOCK. 

Someone in DC wants our website crashed.. The lengths they are going through to accomplish this is stunning to me. blocking IP's is a kin to watching a cat chase a laser pointer.. Useless but fun to watch us waste our time.

Block by user-agent, not IP.

Already did that... They blow by the robots.txt file...
Reply
#38
How did you set up the UserAgent block?

The robots.txt file is just a text file that bots either follow or they don't; nobody blows through it.
Support ended!
Reply
#39
(2025-11-13, 04:33 PM)Billy_Bob Wrote: The bots are dropping commands at a rate of about 5 a second.

I don't know what this means. What is the difference between a "command" and a request to your web server, and why would these so-called "commands" not show up as requests in your web server log?

Returning to your original post:

(2025-11-06, 04:50 PM)Billy_Bob Wrote: WE have blocked the IP addresses but they use tunneling to get by that block.

Tunnelling doesn't obscure IP addresses such that blocks can be avoided. If you have correctly blocked an IP address in your .htaccess file as you say you have, then it won't show up in your web server logs. If it is showing up, then you haven't blocked it correctly. [This was mistaken, as nixer55 points out]

(2025-11-06, 04:50 PM)Billy_Bob Wrote: I even blocked the name server on the reported host.

What do you mean by this? I can't make sense of it, nor of how it would help in any way.

(2025-11-06, 04:50 PM)Billy_Bob Wrote: I suspect they are using a code line to spoof the actual IP from the IP BLOCK.

Similarly as for your comment re tunnelling, spoofing an IP address doesn't avoid a block. If the spoofed IP address is blocked in your .htaccess file, then it will not show up in your web server logs. [Ditto]
Reply
#40
If you think you have an IP address blocked in your .htaccess but it continues to get through, then this is probably a problem with your .htaccess rather than some technique of theirs. There are certainly ways to make mistakes with .htaccess and if you have multiple .htaccess files, concepts of "inheritance" may not be behaving as you would assume them too. (At least, they don't work the way I originally assumed they did.)

I can sympathize on the cat chasing the laser pointer. I did that for most of 2025.

Keep in mind that .htaccess allows blocking user agents too. If a bot ignores robots.txt, and is kind enough to use a valid user agent, then that can easily be blocked in .htaccess. Weirdly, what I searched up says semrush obeys robots.txt, which makes me question if you have a working robots.txt file as well. In any case, you can always block a bad UA in both robots.txt and .htaccess.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)