August 13, 2003
Referer spam, take 2

Now these lovely people are hitting my site as well.. and my conclusion is, they're just grabbing recently updated weblogs from weblogs.com or blo.gs.

Mark is exactly correct as to how it's done.. (see comments in my previous entry), it's a fake img link back to the weblog they're targetting.. So the IPs are not bots.. they're real users of said sites.. maybe if I published a running list of the IPs, their users will get annoyed enough that they will stop this? Maybe?

Maybe if every targetted blog did?

First hit recorded is probably the coder/owner..

Posted August 13, 2003 01:47 AM in Geek Stuff
TrackBack URL for this entry: http://www.unix-girl.com/mt/mt-tb.cgi/864
Comments
On August 13, 2003 04:06 AM Chris (another one) added:

Can you turn on some form of referrer blocking for that site?

If yo have mod_rewrite use ...

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www\.)?baddomain\.com [NC]
RewriteRule \.(jpe?g¦gif)$ - [NC,F]

You will need to edit the "¦" character, and change it back to a solid vertical pipe - otherwise, you'll get a server error.

or

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.google.com/
RewriteRule /* http://www.yoursite.com/restricted_url.html [R,L]

To forward them to a page :)

or

SetEnvIfNoCase Referer "^http://www.bad-sites.com/" BadReferrer
order deny,allow
deny from env=BadReferrer


... You get the idea :)

#
On August 13, 2003 04:15 AM Matt added:

The users won't notice if you publish a list of IPs. Most of the users probably don't even know what an IP address *is*.

Also, if the page is a teaser page the people may have just been served a popup and they may not even be intending to visit the site.

hmm... I wonder if there's a way to exploit the image tag in order to serve some plugin/javascript/html/etc that'll do something nasty, like block the end users' system from seeing the offending sites, or change the desktop wallpaper to random images from goatse.cx

Fortunately, I have deadlines which prevent me from spending time on such an ethically dogdgy activity.

#
On August 13, 2003 08:20 AM Chris B added:

hmmm... I think I like the way Matt thinks ;)

#
On August 13, 2003 09:35 AM Mark added:

I tried redirecting to a view-source: URL (to trigger a Notepad popup) but mod_rewrite didn't recognize the URL scheme so it just redirected to http://view-source://blahblah. You could certainly redirect straight to the goatse.cx image, although given the nature of the originating domains, I don't think that would shock them that much.

Here's my current mod_rewrite rule:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} "-cartoon" [OR]
RewriteCond %{HTTP_REFERER} "-sex" [OR]
RewriteCond %{HTTP_REFERER} "-naked" [OR]
RewriteCond %{HTTP_REFERER} "incest-" [OR]
RewriteCond %{HTTP_REFERER} "teen-" [OR]
RewriteCond %{HTTP_REFERER} "xxx" [OR]
RewriteCond %{HTTP_REFERER} "-rape" [OR]
RewriteCond %{HTTP_REFERER} "-stories" [OR]
RewriteCond %{HTTP_REFERER} "hardcore"
RewriteRule .* /error/fuckyou/index.html [L]

The entire /error/fuckyou/ directory is password protected with standard .htaccess basic auth.

#
On August 13, 2003 01:59 PM kasia added:

Several idea..

1. Javascript redirecting the whole site to an fbi site.. (maybe).. IE will execute that. Haven't tried if mod_rewrite would do that.

2. A big, crude "FUCK YOU SPAMMER" image (since the porn sites I looked at didn't bother with width/height tags it would display). Of course that uses my own bandwidth.. but I'm annoyed.. I don't care. Of course, that's easily fixed by adding width/height tags..

I'll write this whole thing up in an article on dslreports tonight..

#
On August 13, 2003 02:16 PM Justin added:

I like Mark's idea -- redirect to an auth-protected site so a password dialog pops up on their screen. Other similarly intrusive schemes would be a great idea!

Is there other ways we could annoy the people with that malware installed? pop-ups and view-source windows are the right track IMO. Maybe some embedded sounds too...

Think of it, these referrer spammers are giving us a cross-site scripting attack tied up with a ribbon on top! ;)

#
On August 14, 2003 07:38 PM Gerald added:

It would be nice to have something similar as the IE browser crash http://www.gerald-steffens.com/blog/archives/00000016.htm but for images. Perhaps a killer GIF or PNG with wrong entries confusing and crashing the browser ;-) In this case the visitors would not be able to visit the offending site any longer.

#
On September 2, 2003 11:14 AM pepe added:

thanks to mark - it works fine

#
Trackbacks
The ArcterJournal:On the State of the World
A quick little rant about the shit we have to put up with these days. I just want to know...
(read more)
August 13, 2003 01:06 PM
The Old JMason Distillery:Referrer Spam Again
More referrer spam stuff.
(read more)
August 14, 2003 12:15 AM
Peter Grigor's blog:Referrer Spam
As noted by Kasia, nasty people are using blogs' referrer popularity listings to try and get better Google pagerank for their site. The only way to defend against this type of spamming is to verify that the referring URL actually...
(read more)
August 14, 2003 08:49 AM
My thoughts ideas and experiences:My thoughts ideas and experiences
There is the old saying that the rich gets richer and the poor well gets poorer. Supposedly the leaving chairman of NYSE, Richard Grasso was paid a whopping $140 million dollars to clean out his desk and leave. What makes matters even more appalling is...
(read more)
September 20, 2003 06:03 PM
lysozyme:Catholic Referrer Spam Attack!
Haven’t posted in a while - am supposed to be knuckling down to my thesis, but this really ticked me off. So I open up my browser this morning, to find that I have 113 referrals from festivaloflife.com. Hmph. No mentions of me on my page, and it se
(read more)
October 29, 2003 05:08 AM
rape mpegs:rape pillage and plunder
rape picture, young rape, rape laws, prison rape stories, xxx rape, ulrika jonsson rape, forced sex fantasies, gay rape stories, rape in the movies, statutory rape, rape movies, rape free, incest rape stories, prison rape, cartoon rape, incest rape, an...
(read more)
October 22, 2004 12:07 PM