Feeds

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

'XSS on steroids' crafted to highlight web security holes

High performance access to file storage

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. ®

High performance access to file storage

More from The Register

next story
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
OpenSSL Heartbleed: Bloody nose for open-source bleeding hearts
Bloke behind the cockup says not enough people are helping crucial crypto project
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
Heartbleed exploit, inoculation, both released
File under 'this is going to hurt you more than it hurts me'
Bad PUPPY: Undead Windows XP deposits fresh scamware on lawn
Installing random interwebs shiz will bork your zombie box
Experian subsidiary faces MEGA-PROBE for 'selling consumer data to fraudster'
US attorneys general roll up sleeves, snap on gloves
prev story

Whitepapers

Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
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.
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.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.