Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

Adobe Flash Ads Launching Clipboard Hijack Attacks

Posted by kdawson on Tue Aug 19, 2008 09:54 PM
from the poisoning-the-ad-pool dept.
bullyBEEF writes "Malicious hackers are using booby-trapped Flash banner ads to hijack clipboards for use in rogue security software attacks. In the Web attacks, which affect Mac, Windows, and Linux users running Firefox, IE, and Safari, bad guys are seizing control of the machine's clipboard (probably using the Flash command setClipboard) and inserting a hard-to-delete URL that points to a fake anti-virus program. A number of legitimate sites have been seen to host ads carrying the attack — including Newsweek, Digg, and MSNBC.com. Researcher Aviv Raff offers a harmless demo of how it's done."

Related Stories

[+] SQL Injection Turns BusinessWeek Into Viral Replicator 114 comments
martins writes "The website of popular magazine BusinessWeek has been attacked via SQL injection in an attempt to infect its readership with malware. Hundreds of pages in a section of BusinessWeek's website which offers information about where MBA students might find future employers have been affected."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Anonymous Coward on Tuesday August 19, @09:58PM (#24667481)

    "Malicious hackers are using booby-trapped Flash banner ads to hijack clipboards..."

    booby flash?

  • flashblock (Score:5, Informative)

    by owlnation (858981) on Tuesday August 19, @10:00PM (#24667499)
    as though we really need yet another reason to use flashblock...

    This one small piece of technology has made browsing the web bearable again. I can't ever thank its developers enough.
      • Re:flashblock (Score:5, Informative)

        by enoz (1181117) on Tuesday August 19, @10:23PM (#24667725)

        You could just create multiple profiles in Firefox, and then load the secondary profile with "-no-remote" so that it doesn't intercept any URLs or clicks that would normally load in your primary browser.

        • Re:flashblock (Score:5, Interesting)

          by FictionPimp (712802) on Tuesday August 19, @11:12PM (#24668127)

          I have talked quite a few companies out of using flash while consulting for them. I have used many legitimate reasons. Accessibility for the disabled, backwards compatibility, not using a business model dependent on a 3rd parties proprietary software, and the general annoyance of most users when they encounter a flash based website. I have found that a nice clean site developed with good web standards can do 99% of what most people want to do with flash. It will fail better on older browsers, it will load faster (in most cases), and it will be more usable by the customer with the least amount of work (larger fonts, screen readers, alternate color schemes, opening windows in new tabs, bookmarking, etc).

          IMHO, companies that choose to use flash do so because they don't have the resources to see there are better choices AND they already know flash.

            • Re:flashblock (Score:4, Interesting)

              by FictionPimp (712802) on Tuesday August 19, @11:36PM (#24668327)

              I've seen good flash work. For example there was a drum kit builder I ran across where you could select drums, change colors, locations, etc. It was done really well and would of been a messy project to do with javascript. Another great example might be a 3d view of a car that lets you adjust options via a menu system.

              I'm also a fan of flash games. It lowers the level of entry for game writers and performs well. However, most of the flash people want to do seems to be in places where it simply does not belong. For example site navigation, or content.

              I remember trying to look up local car dealerships in my area to buy a new car. I couldn't stand how every site needed to pre-load, play music (with no option to turn off) and animate with sound every single content switch. I just wanted to look at what was on their lot, I wanted to open up the items I was interested in on separate tabs so I could compare them. The experience was so horrible I ended up just visiting the dealers (of course maybe that was their idea....)

  • by v1 (525388) on Tuesday August 19, @10:00PM (#24667501) Homepage Journal

    it copied "http://www.evil.com/ to my clipboard. Any app I pasted into pasted that url. I tried many apps to copy something to the clipboard but it remained evil.

    The article says in one place you have to restart, and in another you have to close your browser window. I found that closing safari was not sufficient, and I had to quit safari to successfully copy different data into my clipboard with other apps.

  • Good thing my laptop runs EWF drivers. Any changes made to the C volume (a solid state drive) made in memory instead. Everything works like you'd expect it to - delete a file and it's gone - until you reboot, that is, and all of your in-memory changes are discarded.

    I'd like to see XP Antivirus Pro 2008 thoroughly embed its tendrils... and then survive a restart. No changes are committed unless I manually force it.

    Considering that Circuit City will sell you a PC with 6 GB of RAM for $999, I wonder why EWF isn't a standard feature. Probably because somebody would forget that defragging your hard disk would exhaust available RAM and then die, or wonder where that program they just installed went after they rebooted...

    Linux has a similar filesystem, I believe it's used for boot CDs. It pairs the read-only volume with a RAM drive, and all writes are cached there and discarded.

  • Shockwave... (Score:5, Informative)

    by azav (469988) on Tuesday August 19, @10:07PM (#24667561) Homepage Journal

    I'll bet you can do it too in Shockwave with copyToClipboard. It is a little trickier though as copytoClipboard holds the reference to the Director member copied IIRC. Thinking about it, any web service that supports the clipboard should be able to do this.

  • How to fix this: (Score:5, Informative)

    by MrMista_B (891430) on Tuesday August 19, @10:08PM (#24667581)

    http://adblockplus.org/en/ [adblockplus.org]

    Problem solved!

    Seriously, blocking ads and javascript and flash stuff is like a game for me now, I get a little thrill of victory every time I block one of those things, it's great.

  • by keeboo (724305) on Tuesday August 19, @10:14PM (#24667633)
    Well I accessed the page under Linux and Firefox 2 and the following things happened:

    The middle mouse button pastes as usual.
    The hijacked content only appeared with CTRL-V.

    All I need to do is to close the page tab and it's gone.

    Disappointing.
  • by YeeHaW_Jelte (451855) on Tuesday August 19, @10:24PM (#24667729) Homepage

    ... on this old system with SuSE 9.1, FF 2.0.014, flash 7.

    Hoorah for lazy upgrading ;)

  • Whew. (Score:4, Funny)

    by rascher (1069376) on Tuesday August 19, @10:59PM (#24668035)

    Its about time they start making software that runs on Linux too.

  • Just a loop (Score:5, Interesting)

    by Twillerror (536681) on Tuesday August 19, @11:17PM (#24668155) Homepage Journal

    Okay so the flash ad just copies something to the clipboard in a loop. Closing the tab or browser stops this. I suppose if you are running your browser in the background this would be very annoying and you wouldn't know.

    Today firefox and IE prompt if you want to use the clipboard from javascript, but it used to not be this way. I'm sure Adobe will patch this soon enough.

    This is like old popups...and oversight that is being exploited by the annoying "internet bully". It's like getting a wet willing or you head stuffed in a toilet.

    The issue is here that both Flash and the underlying operating system don't have any kind of cut and paste protection. X, Mac OS X, and XP/Vista should not allow a program to copy and paste the same dam string to the clipboard over and over. Really kind of annoying that we have to spend so many human hours fixing "problems" like this...but such is life I suppose.

    • Re:Yes, its annoying (Score:5, Interesting)

      by slashqwerty (1099091) on Tuesday August 19, @10:22PM (#24667705)

      But I fail to see how you can leverage this to gain privs.

      I suppose it would be possible to populate the clipboard with corrupted contents, perhaps a string of XML that another app would try to consume. If that other app, designed strictly for desktop use, has a vulnerability in the way it processes said XML an attacker may be able to gain privileges. It's possible such an app will examine the clipboard contents just to determine if it should enable the Paste menu. Which means you could be vulnerable even though you never paste from the clipboard.

    • by jesser (77961) on Tuesday August 19, @11:31PM (#24668293) Homepage Journal

      But I fail to see how you can leverage this to gain privs.

      1. Every 100ms, put some evil UNIX commands on the clipboard, surrounded by line breaks. I'm sure you can come up with a one-liner that compromises a user's system.

      2. Hope someone will paste into a Terminal window while your evil page is open.

      I paste into Terminal windows all the time. For example, I might copy an error message and then grep another file for the message. If there's an evil web page open while I do that, the paste will own me.

    • by riceboy50 (631755) on Tuesday August 19, @10:35PM (#24667821)
      If you are using FF3 and beta Firebug, then you are probably seeing the DOM corruption bug that I see when ads are inserting into the DOM. The symptom is that the whole page disappears except for that ad. I've seen this behavior on several sites, including /. I haven't figured out a remedy yet except to disable Firebug, and we all know that's not going to happen!
    • Re:Hard to remove? (Score:5, Interesting)

      by INeededALogin (771371) on Tuesday August 19, @10:35PM (#24667825) Journal
      I closed the demo window

      The average user is not going to know that they have been hijacked and they won't necessarily know which window is doing it. The clipboard hijacker could even wait until you copy a url before modifying it.
    • Re:What about Opera? (Score:5, Informative)

      by hellwig (1325869) on Tuesday August 19, @10:45PM (#24667931)
      Tried with Opera 9.51 on gOs/Ubuntu 7.10 and it did copy the url to my clipboard which I was unable to replace (with ctrl+c) until I closed the tab. After closure, I regained control of my clipboard.

      I tried using a user javascript file that would block all flash content and allow me to individually activate the various flash files, but I had problems with things like YouTube, and eventually I abandoned it when certain websites I frequented used Flash for the most obsurd reasons (don't remember which, this was over a year ago). Might be worthwhile to bring it back.
      • > When a Web site says Flash, JavaScript, Silverlight, Internet Explorer or anything else is required then that Website is never again visited. One must separate the wheat from the chaff.

        This maybe is true, except if you want to do a real web application. Loading a whole HTML-page, just to change some state of an (non-form-element) interface element... That's insanity.
        You've done the same that someone in a trauma does. You're created false associations. It's not the technology or even the virtual machine that's bad. It's the implementation.
        Your argument is the same, as if someone who had only bad experiences with x86, while having good ones with his old 86000s, argues that "if an application requires x86, then that application is never again used."
        The same is true for OSes. Someone could implement Windows XP in a proper manner, and make it a very safe system. (I did not say that someone would want, tough ;)

        Or in short:
        Someone can crack a bad JavaScript VM and contaminate the rest of the system. And someone could crack a bad OS, and contaminate the rest of the system. There are even examples for this on virtualization VMs. (Heck, the system's clipboard is accessible to all 3 of them, on modern VMs!)

        So my vote goes for Replacing the JavaScript VM with a hardened generic VM, with a fixed interface to the outside world, and adding JavaScript, Python, Ruby, Haskel, Ocaml and more as languages to it (via add-ons, or pre-compiled?)

        Okay, I think one should remove at least one layer of abstraction/VM and harden the OS so that even OpenGL on JavaScript would not have a performance loss. (Yes, this would be useful. Eg. for quick dynamic data visualization or entertainment applications.)

      • I often hear people on Slashdot claiming that Flash is safe

        Well sir you must view /. at a much lower threshold then I do!