Saturday, August 4, 2007

Malignant Javascript Evades Detection

Source: PC WORLD.COM

Hackers have hit on a new technique for invadind desktop computers via compromised websites, while avoiding anti-virus detectors, According to the SANS institute.

SANS' Internet Storm Center(ISC) said on Thursday it has come across the attack on a compromised website, where an inframe was used to deploy various pieces of malicious code via Javascript. Iframes allow content from one website to be embedded in another website.

This technique in itself isn't new, but researchers found that the server deploying the malicious Javascript was heavily modifying it-"obfuscating it"- so as to be undetectable by anti-virus detectors, the ISC said. Moreover, the obfuscations were generated randomly and on the fly, according to ISC handler Bojan Zdrnja.

"What makes this new is that the hosting website generates this code dynamically," he wrote in an analysis. "Every time you request this web page it will use completely random names for all variables and functions...changing variable and function names even causes the payload information to change."

The technique makes the script code effectively undetectable by commom types of malware scanners, said Zdrnja.

"Such heavy obfuscations makes signature based detection much more difficult, if not impossible," he wrote. None of the anti-virus programs Zdrnja tested were able to detect the modified code.

The code contains what Zdrnja calls a "typical" set of exploits, making use of known vulnerabilities in ADODB, Quick Time, WinZip and other software.

The code also included a less well known , but highly pernicious exploit for the NCTAudioFile2 ActiveX control, Zdrnja said.

A fully working exploit was publicly released in April, and what's worse is that the affected ActiveX control is delivered with dozens of popular audio/video applications," Zdrnja wrote.

No comments: