Our site is currently "under abuse" from a botnet which is directing a small subset of internet users (not forum users) to a rarely used full page advertising URL and attempting to redirect the user, via that URL to other web sites. This is a kind of "spam" botnet; using a URL redirection method. This does not effect our regular forum members (except that it does increase the server load average).
Prior to discovery, most of these redirection URLs would result in a blank page (no ad) to the "outside user" because we are not using that ad campaign at the moment. However, after discovery of this botnet, we simply redirected the botnet "victims" to our Facebook page (to move them off the server, decrease server load, and extract some statistics about each botnet node).
Today, I wrote a small program to collect the IP addresses of each node of the botnet and perform some analysis by unique IP and country, etc. After this code runs for a while I will update this thread with these ongoing stats:
total ips 3321
unique ips 820
unique countries 59
When the stats above stabilize a bit (unique IPs do not change often and countries are also "stable"), I will extract the longitude and latitude information for each IP from our geoip database and use the Google Map Engine to display the botnet on a global map.
Not here, sadly. It stops complaining when I log out, but the map doesn't get any better. It can't be showing anywhere near 4,000 points -- not even 40. And yes, I've been toggling the layers.
Hmm. After reviewing my code, I realize that the map is actually of the "botnet victims" versus the actual botnet nodes; as I should have used the IP address from the PHP superglobal $_SERVER['HTTP_REFERER'] versus the $_SERVER['REMOTE_ADDR'] .... so will have to rewrite the code if I want to extract the IP address from the referring URL.
So, for now "Botnet Map" should read "Botnet Victims Map" ..
The map works fine for me and I did not log out from my google account. It wanted me to enter my password again and I did. It did offer me some upgrade option... I declined.
As I zoomed around I noticed that there is a dot in Ashburn Virginia. It looks like it is only 2 or 3 miles away from me. I wonder if it's anyone I know.