By James O'BrienPosted Tuesday 23rd December 2008 22:48 GMT
<Change to suit your post>
And this is why (Mac/Linux) is so much better then (XP/Vista/Whatever else MS makes). MS is the root of all the worlds (evil/greed/failures/etc). (MS/Windows) (sucks/is the devil/should go out of business). Thats why I'm a (Mac fanboi/Linux fanboi/<distro of the week> fanboi). (Rant rant rant windows sucks blah blah flames rant rant, (suck off Jobs [please only use if your a Mac fanboi/girl]). (Ignore the blatantly obvious fact that not all of the servers are runnign MS software and rant some more while starting to froth at the mouth AND TYPE IN CAPS ABOUT MS SUCKING SO MUCH MAIKNG TYPOS AND MSTAKES)
By FranklinPosted Tuesday 23rd December 2008 23:05 GMT
...is for the open redirector to check the browser's referrer, and if the referrer isn't the same as the site's domain, don't redirect. Most redirectors are internal, and used only within a specific site, so if the redirector sees a referrer that isn't from the hosting site, something's wrong.
I first noticed this problem myself in November, and blogged about it at
By Michael KeanPosted Tuesday 23rd December 2008 23:32 GMT
Try MawareBytes' Anti Malware and Trend Micro House Call. If neither can remove it, you'll probably need to hook the hard drive to another system and scan it from the other system. eBay has cheap USB to IDE/SATA/Notebook IDE cables which are handy for this purpose.
By Donn BlyPosted Tuesday 23rd December 2008 23:44 GMT
Checking the referrer (technically the referer) is not fail-proof security. The referring url is supplied by the browser, and as such can be spoofed to tell the server whatever they want. Also, since many security packages strip the referring url from browser requests, you can't even rely on a legitimate request to have a referring url. They are nice for statistics, helpful logging of obsolete links, etc. but as a security measure they are really worthless.
By Chris SavagePosted Wednesday 24th December 2008 04:20 GMT
It's always the big corporations that screw up the simplest of things.
@Franklin: Donn is right, the referer cannot be trusted, either because some users have it permanently blocked/changed, and also that it can be easily forged.
The way I do "open" redirects, is to pass the destination, as well as the calling page to the direct script. Because the whole site is DB driven, the redirector simply opens the calling page from the DB, and checks the destination exists within the calling page. If it doesn't, get stuffed.
In the calling page, write the redirect URL like: "/redirect.php?from={CURRENT_URL}&to=www.somesite.com" then use PHP to replace all instances of {CURRENT_URL} with the current URL on page generation.
A self-maintaining white-list -- it's the way to go :-)
By Colin MillarPosted Wednesday 24th December 2008 10:42 GMT
There is no need for redirect at all. If it's internal then how about just transferring to another page - if its external and honest then putting a clickable link would suffice. All browsers should offer a disallow redirect/reload/refresh that is obvious and up-front.
By KerberosPosted Wednesday 24th December 2008 11:11 GMT
The real problem with exploits like this, and other things like phishing, spam, and quite a lot of malware is that it can only really be easily addressed through user education. You cannot expect to give people free reign on the most complicated device ever produced by man and expect them to be able to operate it with no training what-so-ever - it's going to end in problems whatever you do.
See the AC post above whever he blames 'M$' for his own stupidity. I don't think any platform outside a locked down walled garden* is immune to social engineering attacks - these sorts of people will fall victim even without a computer involved.
* The Linux 'repository only' method is a walled garden - as soon as people start releasing software without going through the main distibutors in their Apple store-esque closed system (which will be as soon as people start using it) then Linux will suffer the same problems.
By Andrew LanghornPosted Saturday 27th December 2008 01:20 GMT
that someone with some authority over domain name and web server management reads El Reg? A few hours to fix any problem is fast in anyone's book. For the first time in my life, I can thank MS for doing one thing right: subsidizing El Reg, if they click any Google AdWords on the site.
By Anonymous CowardPosted Sunday 28th December 2008 10:08 GMT
I think Sergie Kaponitovicz has a valid point.
These people are not mere "miscreants" any more than the Moors murderers were just being "very naughty".
These "miscreants" cause very real damage in the real world and while it's nowhere near as heinous as torture and murder, describing them as "miscreants" allows them to diminish the seriousness of the all-too-real damage they do, not to mention their theft of bank details, card numbers etc.
Perhaps you should spend a day trying to work with some of the victims of these "miscreants". Having a shagged computer is the least of their worries when their entire savings are no longer in their bank account.
The victims have a very real perspective of the situation.
By Richard PorterPosted Sunday 28th December 2008 16:14 GMT
I'm gettin fed up with Google alerts notifying pages that redirect to scareware sites. Can't Google check the links for redirects before it sends out the alerts?
By Alan BrownPosted Monday 29th December 2008 02:38 GMT
The blacklist system run by the nice people at javacoolsoftware.com helps a lot. Such redirects eventually end up at an IP or a domain name and that is (hopefully listed in the hosts files as 127.0.0.1
Unfortunately those most likely to fall for redirect scams are the same ones who would never install or maintain prophylactic software in the first place.
I'd call it Darwin in action but everyone else EXCEPT the victim ends up wearing the lion's share of costs.
Comments on: Scareware mongers hitch free ride on Microsoft.com and others
Let me be the first to say #
By James O'Brien Posted Tuesday 23rd December 2008 22:48 GMT
M$ PITA #
By Anonymous Coward Posted Tuesday 23rd December 2008 22:59 GMT
Easier than whitelisting.... #
By Franklin Posted Tuesday 23rd December 2008 23:05 GMT
@AnonCow #
By Michael Kean Posted Tuesday 23rd December 2008 23:32 GMT
Re: Franklin / Easier than whitelisting #
By Donn Bly Posted Tuesday 23rd December 2008 23:44 GMT
Re: Franklin #
By Chris Savage Posted Wednesday 24th December 2008 04:20 GMT
@ James O'Brien #
By Anonymous Coward Posted Wednesday 24th December 2008 09:35 GMT
redirect - just don't do it #
By Colin Millar Posted Wednesday 24th December 2008 10:42 GMT
Miscreants? #
By Sergie Kaponitovicz Posted Wednesday 24th December 2008 10:57 GMT
The real problem... #
By Kerberos Posted Wednesday 24th December 2008 11:11 GMT
Re: Miscreants? #
By Sarah Bee Posted Wednesday 24th December 2008 12:39 GMT
Evil vile programmers #
By Inachu Posted Wednesday 24th December 2008 14:31 GMT
@Sarah Re:Miscreants #
By Anonymous Coward Posted Thursday 25th December 2008 14:00 GMT
@Inachu #
By Geoffrey Thomas Posted Friday 26th December 2008 10:09 GMT
@AC: Re Val. Singleton #
By Anonymous Coward Posted Friday 26th December 2008 20:49 GMT
Isn't the big topic... #
By Andrew Langhorn Posted Saturday 27th December 2008 01:20 GMT
@Sarah Re:Miscreants #
By Anonymous Coward Posted Sunday 28th December 2008 10:08 GMT
Can't Google filter these sites? #
By Richard Porter Posted Sunday 28th December 2008 16:14 GMT
Blacklists help - lots #
By Alan Brown Posted Monday 29th December 2008 02:38 GMT