Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Attacks/Breaches

3/13/2008
08:50 AM
50%
50%

Hacking WiFi

Here's an evil twin that can seriously alter your Starbucks experience

The dream of ubiquitous, free WiFi networking has been taunting us from just over the horizon ever since the first access points appeared in public. So far, it's still a dream.

Rather than enabling a utopian world of free, anywhere, anytime bandwidth, the practical realities of the WiFi market have crushed our dreams and left us in a morass of incompatible, for-fee, by-the-hour services. Even in the Red Carpet Club airline lounge – for which I dutifully pay $500 each year – I still have to pay extra if I want to check my email – and I can only do it through T-Mobile, the airline's preferred partner, of course.

Last month's announcement that AT&T will replace T-Mobile in Starbucks – perhaps the most popular WiFi hot spot in the market – could start a new era in wireless connectivity. According to the announcement, the service will be free for Starbucks patrons, which comprises the entire population of the world and a few lower life-forms.

Yes, you'll have to buy a Starbucks card, but there's no additional cost to use the wireless network. Until the cellphone companies include free data for our laptops, WiFi hotspots will continue to be the connectivity of choice for any casual traveler with a laptop.

Which is really good news for the bad guys.

I'm far from anti-WiFi, but let's face it: It's trivial to exploit the flaws in WiFi security. While the latest wireless encryption, WPA2, is rock solid when deployed properly, most WiFi hotspots offer absolutely no encryption or other security for clients. You're open to everything from sniffing to sidejacking to man-in-the-middle (MITM) attacks. My personal favorite is an MITM attack called the "Evil Twin" that's not only easy to execute, but fun to build.

The basic principle of an Evil Twin exploit is that you create your own wireless hotspot using the same name as the official one in the same location. You then trick clients into connecting to you instead of the real access point. By hijacking the connection, you can sniff traffic, redirect requests, insert your own traffic, and directly attack the client.

The most common way to execute the attack involves using a laptop with a couple of wireless cards, but I prefer to supersize things. I start with a hackable wireless access point, like a Linksys WRT54GL, a laptop with a broadband cellular wireless connection, a power-boosted WiFi antenna, a car battery jump starter, and a power inverter.

I've replaced the firmware on the access point with DD-WRT, a free download that replaces the manufacturer's firmware and allows you to run your own software on the device (you can also use OpenWRT). I boost the power of my access point and enable a feature called "NoCatSplash" so that anyone who connects to me sees my custom login page, which I've conveniently enhanced with a malicious image to exploit vulnerable systems.

The access point uses my laptop with the cellular card for Internet access, which also hosts my attack software (I use Core Impact, but Metasploit now supports this kind of attack). I power the access point off the car jump starter and stuff it all into a big, ridiculously heavy, laptop bag.

Once I'm ready, I just walk in to my target site, set the access point to the same network ID as the public WiFi, and use another laptop to start knocking people off the local network. Since my beast of an Evil Twin is more powerful than the local hardware, victims should reconnect through me. If they are vulnerable, I own them. If they aren't, I still control their connection, and I can sniff or change their network traffic.

This attack never fails to garner attention when I demonstrate it at conferences, and I'm working on a newer version, where I'll run Metasploit natively on the access point and reduce the need for the laptop. Then I could even hack the hardware into a lamp or other innocuous accessory that I could leave behind. Some hackers run the attack on handheld devices, but I like the extra power of access points.

So how can you protect yourself from this attack? I use a cellular connection or tunnel all of my public WiFi traffic through a hard-to-spoof virtual private network, especially on my iPhone. There isn't anything inherently wrong with free WiFi, but you definitely need to take precautions when using it in public.

— Rich Mogull is founder of Securosis LLC and a former security industry analyst for Gartner Inc. Special to Dark Reading.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 6/3/2020
Data Loss Spikes Under COVID-19 Lockdowns
Seth Rosenblatt, Contributing Writer,  5/28/2020
Abandoned Apps May Pose Security Risk to Mobile Devices
Robert Lemos, Contributing Writer,  5/29/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
How Cybersecurity Incident Response Programs Work (and Why Some Don't)
This Tech Digest takes a look at the vital role cybersecurity incident response (IR) plays in managing cyber-risk within organizations. Download the Tech Digest today to find out how well-planned IR programs can detect intrusions, contain breaches, and help an organization restore normal operations.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-10548
PUBLISHED: 2020-06-04
rConfig 3.9.4 and previous versions has unauthenticated devices.inc.php SQL injection. Because, by default, nodes' passwords are stored in cleartext, this vulnerability leads to lateral movement, granting an attacker access to monitored network devices.
CVE-2020-10549
PUBLISHED: 2020-06-04
rConfig 3.9.4 and previous versions has unauthenticated snippets.inc.php SQL injection. Because, by default, nodes' passwords are stored in cleartext, this vulnerability leads to lateral movement, granting an attacker access to monitored network devices.
CVE-2020-10546
PUBLISHED: 2020-06-04
rConfig 3.9.4 and previous versions has unauthenticated compliancepolicies.inc.php SQL injection. Because, by default, nodes' passwords are stored in cleartext, this vulnerability leads to lateral movement, granting an attacker access to monitored network devices.
CVE-2020-10547
PUBLISHED: 2020-06-04
rConfig 3.9.4 and previous versions has unauthenticated compliancepolicyelements.inc.php SQL injection. Because, by default, nodes' passwords are stored in cleartext, this vulnerability leads to lateral movement, granting an attacker access to monitored network devices.
CVE-2020-11094
PUBLISHED: 2020-06-04
The October CMS debugbar plugin before version 3.1.0 contains a feature where it will log all requests (and all information pertaining to each request including session data) whenever it is enabled. This presents a problem if the plugin is ever enabled on a system that is open to untrusted users as ...