Course contentsShow
← Security
Lesson 1134 of 3,05223. Web Security - Modern Web AttacksFree lesson

UI Redressing Techniques and Variants

Exploring variations like likejacking, cursorjacking, and drag-and-drop attacks that manipulate user interface elements.

UI Redressing Techniques and Variants

You'll learn: How attackers use creative UI manipulation tricks beyond basic clickjacking to deceive users into unintended actions.

What Is UI Redressing?

Building on clickjacking fundamentals, UI redressing encompasses a family of attacks that manipulate what users see versus what they're actually clicking or interacting with. While basic clickjacking uses invisible iframes, these variants exploit different aspects of the user interface to trick victims.

Common UI Redressing Variants

Likejacking

This targets social media "Like" buttons. An attacker overlays an invisible Facebook Like button over a seemingly harmless element (like a video play button). When users click to play the video, they unknowingly like or share malicious content, spreading it to their friends.

Analogy: Imagine a transparent voting ballot placed over a restaurant menu. You think you're ordering dessert, but you're actually voting for a candidate you don't support.

Cursorjacking

The attacker offsets the actual cursor position from where it appears on screen using CSS tricks. Your mouse appears to be in one location, but clicks register elsewhere—potentially on dangerous buttons or links you never intended to touch.

Analogy: Like wearing prism glasses that shift your vision several inches to the side—you reach for your coffee but grab the salt shaker instead.

Drag-and-Drop Attacks

Users are tricked into dragging sensitive content (like local files or selected text) into a malicious drop zone disguised as something benign. This can exfiltrate data or upload files without clear user consent.

Analogy: A magician makes you think you're placing a card back in the deck, but you're actually dropping it into their pocket.

Why These Matter

All variants share clickjacking's core defense gap: users cannot visually distinguish legitimate interfaces from manipulated ones. They exploit the trust users place in what they see.

Key Takeaway: UI redressing variants—likejacking, cursorjacking, and drag-and-drop attacks—extend clickjacking's deception by manipulating cursors, social actions, and drag operations, requiring frame-busting headers and careful UI design to prevent.