Feeds

Researchers warn over web worms

Right here, right now

Next gen security for virtualised datacentres

LAS VEGAS - Exploiting a lack of security checks in browsers and Web servers, web worms and viruses are likely to become a major threat to surfers, security researchers speaking at the Black Hat Briefings warned on Thursday.

In separate presentations, researchers showed off techniques for using Javascript code on Web pages to grab browser histories and scan internal networks as well as using AJAX - a technology that adds interactive features to websites - to create web viruses that can steal personal information. The threats are not only theory, but have been used to attack MySpace users and Yahoo! users, said Billy Hoffman, lead research and development researcher for Web security firm SPI Dynamics.

"This isn't a proof of concept; this isn't academic," Hoffman told attendees at the Black Hat Briefings. "People are already doing this."

Last year, the Samy worm propagated among MySpace users, using Javascript and AJAX code to add a MySpace.com user "Samy" to the victim's list of friends. The incident created speculation that more scripts capable of infecting Web site users would follow. Indeed, other worms used Javascript paired with vulnerabilities in Flash and Windows Meta File (WMF) format to spread among users. In June, a web worm - dubbed Yamanner - spread among Yahoo mail users collecting email addresses and sending them to the attacker's email address.

"We went from screwing around and having fun on MySpace to an attacker harvesting email addresses to sell to spammers, all in less than eight months," Hoffman said.

Such attacks are just an early sign of things to come, said Jeremiah Grossman, founder and chief technology officer for WhiteHat Security, who talked about Javascript threats at Black Hat.

"We are back in the early days of the email viruses where people were experimenting to see what can be done," he said.

Grossman showed off techniques for detecting which of a list of popular sites that a victim has visited and demonstrated a way to port scan an internal network to which the victim is connected, all through Javascript and without exploiting vulnerabilities.

"We don't need to hack the operating system anymore - everything you need to attack is online," Grossman said.

The web worms also mark the comeback of meaningful cross-site scripting attack.

Considered by many security researchers to be a less-than-hackerly technique used by script kiddies, phishers and spammers to fool trusting users, cross-site scripting (XSS) is a key method for injecting malicious code into a victim's web session. Cross-site scripting allows a malicious Web site to inject code into the context of another website; a user that believes they are interacting with a popular social networking site, might instead be loading a script in from some other malicious site.

Cross-site scripting makes Javascript attacks and Web worms possible, said WhiteHat's Grossman.

"If you don't want your website to be helping spread malware, the best way to prevent it is to resolve your cross-site scripting issues," Grossman said.

SPI Dynamics' Hoffman agreed.

"If you don't do input validation with an application, you may hurt the user," Hoffman said. "If you don't do input validation on a web application, your hurt the user and every other user."

A recent audit of popular social networking sites found that many of them have serious cross-site scripting issues that could be used to create web worms.

There are few other defenses against the attacks, aside from turning off Javascript, Hoffman said.

Secure Sockets Layer (SSL) encryption, far from helping secure against such attacks, could instead aid them in dodging detection by intrusion detection, or prevention, systems, he said. If the website from which the attack is launched uses SSL, then the traffic - encrypted between the site and the user - cannot be parsed by a network-based IDS system.

The most permanent fix would be for browser makers to find ways to confirm that AJAX code is indeed running in the context of the current Web site being visited by a user, while marking Web requests with the source of the request--whether a human or a script - could limit attacks on high-value sites, such as brokerage firms and banks.

"We have made a call out to the browsers makers to fix the problems," Grossman said. "We hope it comes soon before the bad attacks happen."

This article originally appeared in Security Focus.

Copyright © 2006, SecurityFocus

The essential guide to IT transformation

More from The Register

next story
Goog says patch⁵⁰ your Chrome
64-bit browser loads cat vids FIFTEEN PERCENT faster!
Chinese hackers spied on investigators of Flight MH370 - report
Classified data on flight's disappearance pinched
NIST to sysadmins: clean up your SSH mess
Too many keys, too badly managed
Attack flogged through shiny-clicky social media buttons
66,000 users popped by malicious Flash fudging add-on
New twist as rogue antivirus enters death throes
That's not the website you're looking for
ISIS terror fanatics invade Diaspora after Twitter blockade
Nothing we can do to stop them, says decentralized network
prev story

Whitepapers

A new approach to endpoint data protection
What is the best way to ensure comprehensive visibility, management, and control of information on both company-owned and employee-owned devices?
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.