Clickjacking Demo
HD did most of the heavy lifting but I'll take this opportunity to break down what is happening here.
What is Clickjacking?
Clickjacking is a social engineering attack, whereby a victim is tricked into clicking on one or more hidden links on a page. When the victim clicks on links of the attacker's choosing they are performing some action that they didn't intend to do, but which benefits the attacker. In the demo you're simply adding a Google News Alert for 'Zscaler' to your profile but this same approach could be used for a variety of attacks such as forcing a user to reset their password, transfer funds, post content, etc.
How Does the Demo Work?
The demonstration above has the following components:
- IFRAME - While no data is traversing between domains, the attacker is convincing the victim that they are looking at content from one domain (e.g. Zscaler), while in reality the browser is interacting with another domain (e.g. Google). This is accomplished by opening the ultimate target in an iFRAME and obfuscating the content, while the visible content is layered overtop and displayed on the main page itself.
- Layering - In order to ensure that interaction (e.g. mouse clicks) affects the hidden target page, elements are layered on top of one another. In the demo, the 'Click Here' button has been given a z-index value of '-10'. This ensures that while the ultimate target may not be visible due to obfuscation (see below), mouse clicks will actually interact with the 'Create Alert' button on the Google News page
- Obfuscation - While the full Google News page has been rendered by the victim's browser, it is not visible as the opacity value of the iFRAME element containing the page has been set to '0'.
I have no doubt that when the details are finally revealed, that Jeremiah and Robert will have a few more tricks up their sleeves to raise the bar on this issue to an even higher risk level but I'm confident that the basis of the attack is now public. It appears that Jeremiah will reveal full details of clickjacking during a keynote at the Hack in the Box conference in Malaysia on October 29th.
- michael
2 comments:
Yikes. That clickjacking demo was scary. Question: how prevalent are these? Does anyone know for sure or have reasonable estimates?
David - I haven't yet seen widespread exploitation, but that doesn't of course mean that it won't occur. Fortunately, the webcam/microphone exploitation has been addressed in the latest updates to Adobe Flash Player. However, most browsers remain vulnerable, even mobile browsers. Just last week, Apple addressed a clickjacking flaw in in Mobile Safari. Currently, your best defense against clickjacking remains running NoScript in Firefox.
Post a Comment