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

Online keystroke attack proves tough to find

Stealthy hack serves malicious code only once

A new method of attack is baffling security software and researchers with the lengths it goes to avoid detection.

The stealth attack involves websites that have been hacked to host malicious code, an increasingly common trap on the internet. If a user with an unpatched PC visits such a site, the computer can become automatically infected with code. The attack code can then record keystrokes and steal financial data typed into forms.

The method uses special JavaScript coding, and ensures that malicious code is served up only once to a computer, according to security vendor Finjan.

"These attacks represent a quantum leap for hackers in terms of their technological sophistication," states the report.

"Equally important, this minimises the exposure of the malicious code to forensic analysis or security research, as there is just one opportunity for a visitor to actually see the code."

After a user visits the malicious website, the hackers record the victim's IP (Internet protocol) address in a database. If the user goes to the site again, the malicious code will not be served, and a benign page will be served in its place, Finjan's report said.

It's also possible for hackers to block exposure of malicious code for users in a particular country. And the hackers can identify IP addresses of crawlers used by search engines and reputation services, which evaluate the risk in visiting certain websites, and serve them legitimate content.

These methods are used to avoid alerting security researchers. Hackers generally want their malware to be effective for as long as possible, but that window has increasingly been closed by faster reaction times from antivirus companies.

Get the latest on PC security threats, reviews and downloads here

IDG UK Sites

Best Christmas 2014 UK tech deals, Boxing Day 2014 UK tech deals & January sales 2015 UK tech...

IDG UK Sites

LED vs Halogen: Why now could be the right time to invest in LED bulbs

IDG UK Sites

Christmas' best ads: See great festive spots studios have created to promote themselves and clients

IDG UK Sites

Why Apple shouldn't be blamed for exploitation in China and Indonesia