New 'Drive-By' Attack Is Remote

Symantec and Indiana University researchers build proof-of-concept exploit preying on businesses and homes with broadband routers

Dark Reading logo in a gray background | Dark Reading

They're calling it "drive-by pharming." But unlike war driving, an attacker doesn't have to be anywhere in the vicinity to stage this newly discovered type of attack, which can give him/her access to personal data such as your bank account.

The invasion is a simple one. The attacker uses a broadband router vendor's default passwords -- some of which can be found with a Net search -- to take control of such routers, which are found all over small businesses, homes, and WiFi hotspots. But first, the victim must visit a Website infected with malicious JavaScript code, which uses the dreaded Cross Site Request Forgery (CSRF) technique in the browser to log into your local broadband router and change its settings to control where you go on the Web.

Millions of users worldwide could be vulnerable to this attack, says Zulfikar Ramzan, senior principal researcher for Symantec Security Response, who recently co-developed the proof-of-concept for this attack.

"Instead of a real bank address, it sends them to a fake bank Web page that looks real, or to [fake versions of] major brands like PayPal and eBay and it can see anything you're typing," Ramzan explains. "The attacker can control whatever server you go to... And you'd see the attacker's Web page, but never know the difference."

The POC attack simulates login access to routers with Web management interfaces, and it changes their DNS settings to a rogue DNS server that controls where the user goes, sending them to its infected sites instead of the intended ones. Then the attacker can grab any sensitive data the victim provides on those sites, such as credit card or bank account data. But the attack can only be executed via broadband routers and wireless access points with Web management interfaces, Ramzan says.

The good news is that it's easy to protect yourself from falling victim to this attack -- all it takes is changing the default password on your broadband router or wireless access point, something many users don't bother doing. Some research suggests that half of these routers use default passwords.

Ramzan, who worked with researchers at Indiana University on the POC, says the concept builds on previous research by WhiteHat Security CTO Jeremiah Grossman and researcher T.C. Niedzialkowskion using JavaScript for profiling and attacking an internal network via the Web. "It occurred to me that with the techniques he [Grossman] talked about... you could mount a war driving attack without the physical proximity," Ramzan says. "It makes the attack a lot more potent."

And once one machine on the WLAN or home LAN is exposed, they all are. "All the machines [linked to] that router can be owned," Ramzan says. "So if kids searching the Web are exposed, their parents are potentially susceptible" from their computers as well.

What makes the attack even more disturbing is it changes Domain Name Service settings. "Once you can mess with DNS, you're in trouble," Ramzan says. "It starts giving you the wrong information and it's hard to figure out what's going on at that point."

Ramzan, who plans to blog about the POC today, says he hasn't seen this type of attack in the wild, although there's no way to be sure because it's tough to detect. "One can obfuscate JavaScript," he says. "And it's so simple that it's really a matter of time before people start" executing this type of attack.

— Kelly Jackson Higgins, Senior Editor, Dark Reading

About the Author

Kelly Jackson Higgins, Editor-in-Chief, Dark Reading

Kelly Jackson Higgins is the Editor-in-Chief of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise Magazine, Virginia Business magazine, and other major media properties. Jackson Higgins was recently selected as one of the Top 10 Cybersecurity Journalists in the US, and named as one of Folio's 2019 Top Women in Media. She began her career as a sports writer in the Washington, DC metropolitan area, and earned her BA at William & Mary. Follow her on Twitter @kjhiggins.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights