We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
80,259 News Articles

Mutating javascript malware on the loose

Undetectable by conventional antivirus

Hackers are using a new technique to infect desktop PCs via compromised websites, while avoiding antivirus detectors, according to the SANS Institute.

SANS' ISC (Internet Storm Center) said on Thursday it has come across the attack on a compromised website, where an iframe 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 antivirus 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 in effect undetectable by common types of malware scanners, Zdrnja said.

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

The code contains what Zdrnja called a "typical" set of exploits, making use of known vulnerabilities in ADODB, QuickTime, 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.


IDG UK Sites

Acer Aspire R11 review: Hands-on with the 360 laptop and tablet convertible

IDG UK Sites

Apple Watch release day: Twitter reacts

IDG UK Sites

See how Framestore created a shape-shifting, oil and metal based creature for Shell

IDG UK Sites

Apple Watch buying guide, price list & where to buy today: Which Apple Watch model, size, material,?......