How to Stop Clickjacking Attacks From Happening

Keeping an eye out for an invisible enemy

Woman's hand at computer mouse

Holger Winkler / Fuse / Getty Images

Clickjacking may sound like the latest underground dance craze, but it's far from it. Clickjacking occurs when a scam artist or other internet-based bad guy places an invisible button or other user interface element over top of a seemingly innocent web page button or interface element using a transparency layer (which you can't see).

The innocent web page might have a button which reads: "Click here to see a video of a fluffy kitty being cute and adorable", but hidden on top of that button is an invisible button that is actually a link to something that you would not otherwise want to click on, such as a button that:

  • Tricks you into changing privacy settings on your Facebook account.
  • Tricks you into "liking" something you wouldn't normally like (a.k.a Likejacking).
  • Tricks you into adding yourself as a Twitter follower for someone who doesn't deserve you.
  • Tricks you into enabling something on your computer (such as a microphone or camera).

Many times the Clickjacker will load up a legitimate website in a frame and then overlay their invisible buttons on top of the real site.

Prevent Your Clicks From Being Clickjacked

If you haven't updated your browser to the latest and greatest version available, then you are not only missing out on an upgrade that might possibly prevent you from getting Clickjacked, but you are also not taking advantage of the other security updates that are part of newer versions of Firefox, IE, Chrome and other internet browsers. Update your browser to to latest possible patch version available. It's also a good idea to check to see if there is a more up-to-date version of your browser than the one you currently have installed.

You should also update browser plug-ins such as Flash because some older versions may be vulnerable to Clickjacking attacks. To update browser plug-ins, visit the website of each plug-in maker and download the latest version. For example, to update flash visit Adobe's Flash site.

For more information on how to keep your computer up to date, check out our article How to Keep up With The Latest Security Vulnerabilities and Patches.

How to Detect Clickjacking

While some internet browsers offer limited built-in Clickjacking protection, there are several robust Clickjacking detection/prevention plug-ins that are available for browsers such as Firefox. Several of them are even free. Here are a couple of the more widely known and respected ones:

  • NoScript - A free (donation-ware) anti-clickjacking plug-in for Firefox.
  • Comitari Web Protection Suite-Home LE (Limited Edition) - A feature-limited free version of the Comitari Web Protection Suite. The LE version includes Clickjacking protection features.

Clickjacking prevention is not only the responsibility of the user. Websites and web application developers also have a role in preventing their content from being exploited by Clickjackers.

With better education for users on the dangers of Clickjacking, how to recognize attacks, and what to do about them, coupled with the support of website and web application developers in coding to prevent Clickjacking, maybe the world will be free of Clickjackers one day.