39 points · by sohkamyung · 1y ago · 12 comments
At the tcp layer some bots do not set MSS options or use very strange values. This can get into false positives so I just don't publish IPv6 records for my web servers and then limit to an MSS range of 1280 to 1460 on IPv4 which knocks out many bots.
There are always the possibilities of false positives but they can be logged and reviewed acceptable losses should the load on the servers get too high. Another mitigating control is to perform analysis on previous logs and use maps to exclude people that post on a regular basis or have logins to the site assuming none of them are part of the problem. If a registered user is part of the problem give them an error page after {n} requests.
A real mess. The problem is these searches are valid and the page will return a 200 result with "Nothing in that search found!" types of messages. Why would the crawler ever stop? It's going to work and work until we all die and there's still another epoch of search term combos left to try.
We solve problems like this all the time, but we're hitting another level and really exposing some issues. Ideally our WAF can start to kick the traffic. It's good to see other people having this issue. We first started addressing this last fall -- around November.
> each IP stays below the thresholds for our existing circuit breakers, but the overload is overwhelming.
We need something like DCC[0] or Spamhaus block list, but for web, not for email.
[0] https://en.wikipedia.org/wiki/Distributed_Checksum_Clearingh...
However cyberattacks, especially distributed ones, require intentionality and they require coordination.
The intentionality is not as clear, but I think "willful bypassing of protection site owner put up" counts for something? If a local store has "a free gift per household" ad, and someone is trying to get multiple free gifts by presenting fake addresses, this would be at least fraud. Similarly, if a scraping service rotates IP addresses and user agents to prevent blocks, it should be fraud as well, and maybe "unintentional cyber-attack" if server has trouble or falls over.
This would be generating topical queries to add search for, e.g.,
https://lwn.net/Search/DoTextSearch?query=io_uring+Linux+release+syscall
Again -- they don't say specifically what the traffic is doing, and this is just an example, but in this scenario DDOS is probably closer to accurate.