Messing With Wi-Fi Thieves
Thursday, August 28th, 2008Let’s say you’re running a Wi-Fi network from your house (or anywhere else) and use a PC-based router. Most people with a modicum of sense these days add access control or hide the network in order to deter War Drivers or others who are too cheap to pony up for access, but what if you could mess with their heads instead? That’s exactly what one guy decided to do, and it sounds like a lot of fun.
Note: you can’t do this with a Linksys or other dedicated router. You need to use a PC as a router, probably running Linux since the hack requires some scripting and access to utilities that generally aren’t included under Windows. This said, the end result might be worth the effort.
The first step, as he notes, is to split your network into trusted and untrusted blocks. All machines that you register (i.e. your own PCs) are put into the trusted, or “don’t mess with these guys” block. They enjoy normal Internet access. Everyone else gets a treat. When they try to use your Wi-Fi, they’re immediately designated as an untrusted machine and routed to the alternate block.
What this means is that, using a Squid proxy, you can route all their traffic to some heinous site like (as the author notes) Kittenwar. Use your imagination. Send them to a LOLcat site, or wherever strikes your fancy. No malware sites, please. That would be wrong.
If you want to truly push someone’s buttons, take the next step and adapt the script included at the above URL. What it does is run every URL an “untrusted” user visits through the Mogrify application before it’s returned to the user’s browser. The end result is an upside down and reversed view of the world…literally. Every page they visit will show up backward and upside down.
Of course, what’s effectively happening here is similar to the “man in the middle” attack that some hackers use to capture and alter traffic as it passes through a hacked machine. If you wanted to, you could also just silently capture and store data from the “untrusted” users as it passed through your clever little trap. This will use some amount of CPU time and other resources, so don’t get too clever or you might really degrade your machine’s performance.
The whole setup would be illegal, except that you’re only altering traffic that’s passing through your own Wi-Fi network. And no one but you should be using it, right?