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
Data Leak Week: Billions of Sensitive Files Exposed Online
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/10/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: Our Endpoint Protection system is a little outdated... 
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-12420
PUBLISHED: 2019-12-12
In Apache SpamAssassin before 3.4.3, a message can be crafted in a way to use excessive resources. Upgrading to SA 3.4.3 as soon as possible is the recommended fix but details will not be shared publicly.
CVE-2019-16774
PUBLISHED: 2019-12-12
In phpfastcache before 5.1.3, there is a possible object injection vulnerability in cookie driver.
CVE-2018-11805
PUBLISHED: 2019-12-12
In Apache SpamAssassin before 3.4.3, nefarious CF files can be configured to run system commands without any output or errors. With this, exploits can be injected in a number of scenarios. In addition to upgrading to SA 3.4.3, we recommend that users should only use update channels or 3rd party .cf ...
CVE-2019-5061
PUBLISHED: 2019-12-12
An exploitable denial-of-service vulnerability exists in the hostapd 2.6, where an attacker could trigger AP to send IAPP location updates for stations, before the required authentication process has completed. This could lead to different denial of service scenarios, either by causing CAM table att...
CVE-2019-5062
PUBLISHED: 2019-12-12
An exploitable denial-of-service vulnerability exists in the 802.11w security state handling for hostapd 2.6 connected clients with valid 802.11w sessions. By simulating an incomplete new association, an attacker can trigger a deauthentication against stations using 802.11w, resulting in a denial of...