Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jacking Drishti Wali Prashant Kumar. UI Redress Attack  Clickjacking also known as "UI redress attack or User Interface redress attack", is a malicious.

Similar presentations


Presentation on theme: "Jacking Drishti Wali Prashant Kumar. UI Redress Attack  Clickjacking also known as "UI redress attack or User Interface redress attack", is a malicious."— Presentation transcript:

1 Jacking Drishti Wali Prashant Kumar

2 UI Redress Attack  Clickjacking also known as "UI redress attack or User Interface redress attack", is a malicious technique in which an attacker tricks a user into clicking on a button or link on another webpage while the user intended to click on the top level page. slide 2

3 Clicking in the Wild uGoogle search for “clickjacking” returns 6,98,000 results… So, this is not a hypothetical threat! uMany attacks against Facebook & Twitter. Must have happened with some of you. People have given some fancy names: likejacking A Facebook user is lured into clicking on a link, having been promised the chance to see a shocking video or other salacious content If victim is logged in, likes a page and automatically recommends link to new friends as soon as the page is clicked on. (So, next time you see a shocking video notification on fb, watch out) Users send out tweets against their will. slide 3

4 Clickjacking Meets Spamming slide 4 Clickjacking also made the news in the form of a Twitter worm. This attack convinced users to click on a button which caused them to re- tweet the location of the malicious page, and propagated massively.Twitter worm

5 Adobe Flash Webcam Jacking uOne of the most notorious examples of Clickjacking was an attack against the Adobe Flash plugin settings pageAdobe Flash plugin settings page uBy loading this page into an invisible iframe, an attacker could trick a user into altering the security settings of Flash, giving permission for any Flash animation to utilize the computer's microphone and camera. slide 5

6 uAttacker overlays multiple transparent or opaque frames to trick a user into clicking on a button or link on another page uClicks meant for the visible page are hijacked and routed to another, invisible page. For e.g.: In the above fig. twitter being the invisible page. How its done ! slide 6

7 It’s All About iFrame uCode allowtransparency attribute of iframe is set to true. Opacity (in css) defines visibility percentage of the iframe –1.0: completely visible –0.0: completely invisible slide 7

8 Hiding the Target Element  Use CSS opacity property and z-index property to hide target element and make other element float under the target element The z-index property specifies the stack order of an element. An element with greater stack order is always in front of an element with a lower stack order.  Using CSS pointer-events: The element is never the target of mouse events; however, mouse events may target its descendant. Click z-index: -1 opacity: 0.1pointer-event: none Click slide 8 [“Clickjacking: Attacks and Defenses”]

9 Fake Cursors There are other ways to hijack the click. For e.g.:  Use CSS cursor property and JavaScript to simulate a fake cursor icon on the screen slide 9 [“Clickjacking: Attacks and Defenses”] Real cursor iconFake cursor icon cursor: none

10 Compromising Temporal Integrity uManipulate UI elements after the user has decided to click, but before the actual click occurs slide 10 [“Clickjacking: Attacks and Defenses”] Click

11 Keyboard “Strokejacking” uA similar technique can be used to hijack keystrokes. Carefully drafting a combination of stylesheets, iframes, buttons and text boxes, a user can be led into believing that they are typing the password or other information on some authentic webpage while it is being channelled into an invisible frame controlled by the attacker. slide 11 [“Clickjacking: Attacks and Defenses”] Transfer Bank Transfer Bank Account: ________ Amount: ___________ USD Typing Game Type whatever screen shows to you Xfpog95403poigr06=2kfpx [__________________________] Attacker’s page Hidden iframe within attacker’s page 9540 3062

12 Prevention uThere are many ways to limit these attack e.g.: Noscript addon (firefox), frame busting, frame killer, declaring framing options using X-frame options, etc. But we won’t be talking about those. slide 12

13 slide 13


Download ppt "Jacking Drishti Wali Prashant Kumar. UI Redress Attack  Clickjacking also known as "UI redress attack or User Interface redress attack", is a malicious."

Similar presentations


Ads by Google