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
HackerOne Drops Mobile Voting App Vendor Voatz
Dark Reading Staff 3/30/2020
Limited-Time Free Offers to Secure the Enterprise Amid COVID-19
Curtis Franklin Jr., Senior Editor at Dark Reading,  3/31/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
6 Emerging Cyber Threats That Enterprises Face in 2020
This Tech Digest gives an in-depth look at six emerging cyber threats that enterprises could face in 2020. Download your copy today!
Flash Poll
State of Cybersecurity Incident Response
State of Cybersecurity Incident Response
Data breaches and regulations have forced organizations to pay closer attention to the security incident response function. However, security leaders may be overestimating their ability to detect and respond to security incidents. Read this report to find out more.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-6994
PUBLISHED: 2020-04-03
A buffer overflow vulnerability was found in some devices of Hirschmann Automation and Control HiOS and HiSecOS. The vulnerability is due to improper parsing of URL arguments. An attacker could exploit this vulnerability by specially crafting HTTP requests to overflow an internal buffer. The followi...
CVE-2020-8637
PUBLISHED: 2020-04-03
A SQL injection vulnerability in TestLink 1.9.20 allows attackers to execute arbitrary SQL commands in dragdroptreenodes.php via the node_id parameter.
CVE-2020-8638
PUBLISHED: 2020-04-03
A SQL injection vulnerability in TestLink 1.9.20 allows attackers to execute arbitrary SQL commands in planUrgency.php via the urgency parameter.
CVE-2020-8639
PUBLISHED: 2020-04-03
An unrestricted file upload vulnerability in keywordsImport.php in TestLink 1.9.20 allows remote attackers to execute arbitrary code by uploading a file with an executable extension. This allows an authenticated attacker to upload a malicious file (containing PHP code to execute operating system com...
CVE-2020-10601
PUBLISHED: 2020-04-03
VISAM VBASE Editor version 11.5.0.2 and VBASE Web-Remote Module allow weak hashing algorithm and insecure permissions which may allow a local attacker to bypass the password-protected mechanism through brute-force attacks, cracking techniques, or overwriting the password hash.