Feeds

'Self-aware' bank account robbing code unleashed by hacker

'XSS on steroids' crafted to highlight web security holes

Using blade systems to cut costs and sharpen efficiencies

A hacker has published code for potent cross-site scripting attacks that he claims go beyond the usual cookie stealing and phishing for users' private details.

Cross-site scripting (XSS) flaws allow attackers to present content under their control in the context of a vulnerable yet trusted site, thus tricking marks into handing sensitive information to miscreants. As well as creating a means to present pop-ups that link to a hacker-controlled site, XSSes can also lead to cookie theft.

Niklas Femerstrand is the hacker who in October 2011 discovered that a debugging tool on the American Express website was vulnerable to an XSS flaw. He developed an "XSS on steroids" script while researching a similar flaw on the website of an unnamed Swedish bank.

"There are common myths about XSSes saying they can only be be used for phishing and cookie harvesting," he said. "My code bursts those myths and is so the first way of transforming a 'non persistent' XSS into a persistent state."

"I have written self-aware code that recognizes its own presence and makes a local infection of its own payload into all links of a website presented to the infected visitor. This way the non-persistent XSS becomes persistent to the infected user. It also follows the user through page forms and sends interesting data to the attacker (usernames, passwords, credit card info)," he added.

Femerstrand last week published his attack code on his website here.

Rik Ferguson, director of security research and communication at Trend Micro, confirmed that the script developed by Femerstrand represents a more potent form of XSS but questioned if it was as innovative as the hacker claims. Ferguson said the technique used by Femerstrand has actually been around for a while and was implemented as a part of beefproject.com.

In response to this point, Femerstrand said: "I've heard of BeEF before but only taken quick looks. I did not know that they had implemented the same technique and didn't find any whitepaper or similar about it. I saw their keylogging feature couldn't separate input fields from each other and instead of logging only what's being posted logs everything typed on the page. I never tried BeEF myself, but personally I think it looks a little bit too bloated."

He said the rationale for publishing his attack code as a way of exposing what he argues is the inadequate security of banking institutions.

"The code was originally written as a proof of concept of how easy it is to rob a bank in modern times," he said. "The way I see it the public is being ridiculed by financial institutions. There's a huge security theater being performed by financial institutions. The public sees the PCI DSS standard and believes that the banks are doing a great job, but in the end of the day the only practical thing coming out of those standards are 'verified by ourselves' stamps of approval and 4 digit numeric PIN codes."

"The modern banks know that when their business fails the government will be all over them with free money from bailouts. I think it's beneficial to expose, not necessarily a whistle-blown 'truth', but the practical meaning of financial security," Femerstrand added. ®

The smart choice: opportunity from uncertainty

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Yorkshire cops fail to grasp principle behind BT Fon Wi-Fi network
'Prevent people that are passing by to hook up to your network', pleads plod
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you been on YouPorn lately, perhaps? White House website?
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Black Hat anti-Tor talk smashed by lawyers' wrecking ball
Unmasking hidden users is too hot for Carnegie-Mellon
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
Don't look, Snowden: Security biz chases Tails with zero-day flaws alert
Exodus vows not to sell secrets of whistleblower's favorite OS
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.