USB delivered attacks - lessons learned/summary (so far)

From: Jerry Shenk (jshenk_at_decommunications.com)
Date: 06/02/04

  • Next message: Ivan Coric: "Re: XML firewall/gateway needed"
    To: <pen-test@securityfocus.com>
    Date: Tue, 1 Jun 2004 22:18:29 -0400
    
    

    Well, I'm doing messing with this....at least for the moment. Here's
    what I've found out. All my testing so far has been done on a Windows
    XP laptop. I was planning to try other versions but for now, I'll
    leave it go at this. Here's a summaryy of what I've discovered:

    USB devices don't use autorun - well, they seem to do something with it
    'cuz if there's an "open=" statement in the autorun.inf, they don't pop
    up an explorer window. If there is an "icon=" statement in the
    autorun.inf file, the icon for the explorer windows will be the
    specified icon. This leads me to believe that autorun is at least
    looking at the USB drive. Maybe if the right stuff is in that file,
    there might be a way to run something. I tried pulling the .ico file
    off my web server but that didn't work...yet;)

    Autorun under XP doesn't work if the screensaver has the screen locked.
    I didn't try this with multiple OS'.

    The USB devices I tried were a flashdrive and an SD card reader with a
    128 meg card from my camera. I didn't try my 120 gig USB hard drive
    'cuz it's formatted for the wrong OS at the moment....that kindof blows
    the clandestine nature of a thumbdrive....need for power, a rather large
    device....

    Somebody said that 2600 had something about this type of thing in the
    current 2600 magazine. That would suggest that a few other people have
    been playing with this idea. Somebody with more brains, ideas or time
    than I is likely to come up with something pretty nasty.

    Nearly every post stated something about the dangers of autorun. One
    post suggested just using a CD. Most people have autorun turned on so
    if there's an internet connection or a computer in the office that can
    receive data....well, that'll work just as well as USB. If the CD is
    labeled with something "interesting", perhaps a few people will check it
    out.

    Another poster suggested that this is all just a good reminder of the
    basics of security, you wouldn't let some stranger come up and swap
    drives in your machine, why assume that his USB thumbdrive is so
    innocuous just 'cuz it's small and trendy.

    Here's the autorun.inf file I was playing with
    [autorun]
    ;OPEN=ping.exe 10.1.1.5
    icon=http://www.website.org/blue.ico
    ;icon=\icons\red.ico


  • Next message: Ivan Coric: "Re: XML firewall/gateway needed"

    Relevant Pages

    • Re: Making backups by just copying files
      ... HD that was bootable in a desktop and I placed it in an external USB HD ... It has Windows XP installed on it and I hooked up my laptop to the ... And my Gateway MX6124 laptop tries to boot from it. ... only a few hundred thousand USB drives being sold annually and the ...
      (microsoft.public.windowsxp.general)
    • External USB Drive issues
      ... GB external USB disc. ... Anyway, when I start my new 2003 installation, every- ... a full Windows Update, and I also load the Daemon Tools ... USB drives under Win32. ...
      (microsoft.public.win2000.hardware)
    • Re: Boot to USB
      ... This is a BIOS situation and not Windows. ... doubt that in the not so distant future booting Windows on USB drives will ... Microsoft will put much, if any, effort in getting desktop XP to boot this ...
      (microsoft.public.windowsxp.general)
    • Re: SCSI Problem
      ... marfers notes for windows xp http://www.geocities.com/marfer_mvp/chatNotes.htm ... > Adaptec AHA-2930CU PCI SCSI Adapter ... > USB 2.0 PCI ... > I get the following error with my SCSI drives: ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: SCSI Problem
      ... FAQ for MS AntiSpy http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm marfers notes for windows xp http://www.geocities.com/marfer_mvp/chatNotes.htm. ... >>> Adaptec AHA-2930CU PCI SCSI Adapter ... >>> USB 2.0 PCI ... When I>>> insert a CD of any type in any drive, the drives just grind away for a few ...
      (microsoft.public.windowsxp.help_and_support)