SN 1040 Clickjacking and the Pop-in-Front problem

  • DNS Benchmark v2 Release 5 with Consultant License
    Guest:
    If you own any earlier release of our DNS Benchmark you may immediately download its release #5 replacement. Running an earlier release will detect the new release and help you upgrade.

    Although this release is cosmetic, appearance matters and affects ease of use. The biggest change, as seen in the image above, is that the DNS Benchmark now has a traditional Windows application menu to more fully expose its many features. This release is also "Consultant License Aware" and GRC will now issue a Consultant version when owners have previously purchased four "Personal Use" licenses. If you have previously purchased four DNSB licenses, or if you wish to upgrade your "Personal Use" license to Consultant, GRC's purchase process will direct you through that process.
    /Steve.
  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in please checkout the “Tips & Tricks” page for some very handy tips!

    /Steve.
  • BootAble – FreeDOS boot testing freeware

    To obtain direct, low-level access to a system's mass storage drives, SpinRite runs under a GRC-customized version of FreeDOS which has been modified to add compatibility with all file systems. In order to run SpinRite it must first be possible to boot FreeDOS.

    GRC's “BootAble” freeware allows anyone to easily create BIOS-bootable media in order to workout and confirm the details of getting a machine to boot FreeDOS through a BIOS. Once the means of doing that has been determined, the media created by SpinRite can be booted and run in the same way.

    The participants here, who have taken the time to share their knowledge and experience, their successes and some frustrations with booting their computers into FreeDOS, have created a valuable knowledgebase which will benefit everyone who follows.

    You may click on the image to the right to obtain your own copy of BootAble. Then use the knowledge and experience documented here to boot your computer(s) into FreeDOS. And please do not hesitate to ask questions – nowhere else can better answers be found.

    (You may permanently close this reminder with the 'X' in the upper right.)

Jamie Cox

Member
Mar 20, 2024
14
2
The discussion of clickjacking in SN 1040 reminds me of a similar long-standing problem in Windows & MacOS, and probably Linux. I call it the pop-in-front problem. Because we have mulit-tasking operating systems, and a complex windowed environment with pop-up dialog boxes, it is always possible for a dialog box from the system or another application to pop up in front of a completely different UI element just as the user is clicking on it. This can result in unintended actions of variable severity. I have had this happen to me, but I've never heard of this being abused or being a security threat, but I believe it could happen.

This problem becomes a race condition between the user's intent to click on one thing, and another thing popping up in front of that a millisecond or two before the click. You could imagine the user intending to click a boring check box on a spreadsheet and instead clicking OK on a dialog box asking "Allow DangerApp Full Hard Drive Access?". To make it worse, the dialog will probably disappear the moment it is clicked. The user would have no idea what just happened.
 
Thing with most unixes is that there is no passwordless elevation with a single click, all will ask for the password for either root, or current user if using Sudo, which gives you a screen with the elevation prompt, and which program is calling for elevated permission. Unlike windows which will allow this without prompt if the currently logged in user is an administrator already, which most users by default are.
 
I use the password manager Bitwarden. They made a UI change a while back that seemed weird and random to me. In the Browser plug-in, you used to be able to click anywhere in a medium sized rectangle to auto-fill the credentials for the current site or for credit cards. Now there is a tiny button marked "Fill" that you must click to accomplish the same thing. After listening to SN 1040, and thinking about it, I think what Bitwarden was doing was literally reducing the attack surface for clickjacking. An attacker must now get the user to click on a much smaller, more specific spot for the attack to succeed. It's not iron clad, but it's mitigation of a sort.
 
  • Like
Reactions: SeanBZA