Feeds

Researchers warn over web worms

Right here, right now

SANS - Survey on application security programs

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

Combat fraud and increase customer satisfaction

More from The Register

next story
Parent gabfest Mumsnet hit by SSL bug: My heart bleeds, grins hacker
Natter-board tells middle-class Britain to purée its passwords
Samsung Galaxy S5 fingerprint scanner hacked in just 4 DAYS
Sammy's newbie cooked slower than iPhone, also costs more to build
Obama allows NSA to exploit 0-days: report
If the spooks say they need it, they get it
Web data BLEEDOUT: Users to feel the pain as Heartbleed bug revealed
Vendors and ISPs have work to do updating firmware - if it's possible to fix this
Snowden-inspired crypto-email service Lavaboom launches
German service pays tribute to Lavabit
One year on: diplomatic fail as Chinese APT gangs get back to work
Mandiant says past 12 months shows Beijing won't call off its hackers
Call of Duty 'fragged using OpenSSL's Heartbleed exploit'
So it begins ... or maybe not, says one analyst
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.