Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Social Engineering Using USB Drives

Posted by CowboyNeal on Thu Jun 08, 2006 06:39 PM
from the driving-right-in dept.
Iphtashu Fitz writes "What's the easiest way to hack into the computer systems of a credit union? It turns out that all you need to do is copy a virus/trojan onto USB drives and scatter them around the front door of the credit union. This was how a recent security audit was performed at a credit union where the employees had actually been tipped off to the audit. Security experts collected 20 old USB thumb drives and filled them with images and other data along with a trojan that would collect sensitive information and e-mail it back to them. Early one morning they planted the thumb drives around the entrances to the credit union as well as other public places where the employees were known to congregate. In very little time 15 of the 20 USB drives were plugged into company computer systems and started e-mailing usernames, passwords, etc. back to the auditors."
+ -
story
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
Loading... please wait.
  • wow (Score:5, Insightful)

    by nb caffeine (448698) <<cignop> <at> <yahoo.com>> on Thursday June 08 2006, @06:41PM (#15498781) Homepage Journal
    Thats an amazingly clever idea. "Hey, free stuff" is what I would think. And then plug it into my ubuntu box :)
    • Oh crap!!! (Score:5, Funny)

      by rvw14 (733613) on Thursday June 08 2006, @06:44PM (#15498802)
      I better unplug that USB drive I found this morning.
    • Re:wow (Score:4, Funny)

      by HardCase (14757) on Thursday June 08 2006, @06:45PM (#15498806)
      Oh crap...I'll be right back!
    • by Anonymous Coward on Thursday June 08 2006, @07:48PM (#15499153)
      I heard that Microsoft was giving out free USB drives [theinquirer.net] containing press releases on the need to buy legitmate Windows [slashdot.org] licences.

      *wink wink nudge nudge*

    • Re:wow (Score:5, Insightful)

      by Bender0x7D1 (536254) on Thursday June 08 2006, @08:25PM (#15499335) Homepage
      Unfortunately, even if you run ubuntu, you are still vulnerable - that's the beauty of social engineering.

      Sure, you might not fall for a renamed executable on a USB drive, but what if it's taken a step farther?

      Imagine you are walking into work early, and find an open folder on the floor, with some papers strewn around and a CD or DVD in with it. Imagine the paper is an application to put on a SIGGRAPH demonstration, and on the CD is a WINDOWS directory, a LINUX directory, a BSD directory and a SOLARIS directory and each directory has a file named SIGGRAPH_presentation.exe or there is a SIGGRAPH_presentation.jar, (eliminating the need for multiple OS versions), with a README about how to execute it. You figure, "What the heck - I love cool graphics."

      Now, while you are watching a cool graphics demo, it checks if you are logged in as root and, if you are, installs a nasty payload. If not, it could simply start emailing every file it finds in your home directory, or delete them, or encrypt them.

      I don't care what OS you are running, if you can be convinced to execute something, there will be some damage done. If you aren't root the damage is limited, but there is still damage. The attack may have to involve more research on a person's interests, or require more "found" hardware to convince someone, but it can be done. Maybe someone has to buy some hardware from ThinkGeek and make a fake installation disk, then leave the box, (with the modified disk), somewhere you will come across it.

      Being convinced you are immune to the dangers of social engineering is not a good way to avoid being social engineered. A healthy dose of paranoia can go far - and it's only paranoia if there isn't anyone out to get you.
      • Re:wow (Score:5, Funny)

        by DeadChobi (740395) <DeadChobi@gmail . c om> on Thursday June 08 2006, @09:19PM (#15499571)
        Speaking of paranoia, someone left a disc labeled "THE TRUTH" on my car the other day. I wonder what I did with it? Oh yeah. I tossed it. If some wanker wants to tell me "THE TRUTH" then they can do it the old fashioned way, with pamphlets.

        I find it a little odd that mine was the only car in the parking lot with such a CD on it. Maybe I shoul@(*$)*@#%^Y@Ba;skONBIAEOSNA NO CARRIER
      • Re:wow (Score:5, Funny)

        by From A Far Away Land (930780) on Thursday June 08 2006, @10:01PM (#15499773) Homepage Journal
        I came home one day and this horse was waiting outside. Naturally I let it in. Damn Greeks!
      • by Moraelin (679338) on Friday June 09 2006, @02:28AM (#15500577) Journal
        On the whole, I certainly aggree with you, and it's certainly refreshing to see someone who doesn't fall into the "I use Linux so I'm immune to anything" trap. But I think even you underestimate it a little.

        "Now, while you are watching a cool graphics demo, it checks if you are logged in as root and, if you are, installs a nasty payload. If not, it could simply start emailing every file it finds in your home directory, or delete them, or encrypt them."

        Doesn't even need root to steal passwords. There are a _ton_ of config files and startup scripts in your home directory, which a trojan can attach itself to. It can load itself in your bash window, as a plugin in your mozilla, launch an extra program in your X, replace icons on your desktop, and god knows what else. One of those will catch on to something.

        E.g., if it's, say, Suse, I know that there'll be some programs -- e.g., Yast, every time you run the auto-updater -- where the system will ask for the root password first. I can just replace the link with one to program that shows an identical dialogue.

        Or, yeah, transmitting every file in your home directory is indeed another great way to get a ton of info. Source files that contain the URL, account and password to the productive database are the norm, rather than the exception. Or some cutesy script that goes through the firewall to download the latest nasa pic of the day or whatnot with wget, and in the process contains the user's name and password to go through that proxy. (Let's hope he's used that password in more than one place.) Or there'll always be one idiot who exported the productive database onto his local computer, or downloaded the server configs (including all database connections, with name and password) god knows what else he's copied there. There'll often be one idiot who's built some back door because he can't be arsed to go through the IT department to have something reconfigured or to properly log in. I'll love to know about that backdoor. There'll be emails with forgotten passwords. There'll be emails where people tell each other about those backdoors. ("Oh, if you come from the intranet zone, you can bypass the stupid authenticating proxy completely. Just use http//prod.somebank.com/internalurl/some.jsp?secre t_user_login=admin.") There'll often be text files or spreadsheets with all the URLs, names and passwords he uses. (The geek equivalent of post-it notes.) Etc.

        Config files outside the home directory? Those can be fun too. E.g., everyone will have access to fstab. Maybe they'll have the name and password for every single file share they use in there, or maybe it'll be offloaded to some .smbpassword file, but there's nothing that some trivial parsing can't extract. Or just send it to me as it is, together with any readable file referenced in it. I'll do the extraction by hand.

        Log files? Now those can be a cornucopia of classified information. I've seen people even log each user's name and password at each login through their clever UserRegistry or Single Sign On module or such. If someone copied a bunch of productive logs to their machine -- or I can get the password to the machine where they are -- I might be able to login and cause mayhem as 1000 of their customers. Or go to those customers' profile pages and find out their personal data.

        Etc.

        "If you aren't root the damage is limited, but there is still damage."

        As I was saying, even if you aren't root, the damage done can be catastrophic. The thinking that all that matters is that the OS survives, can sometimes miss the point. Yeah, some guy's Linux installation survived perfectly. But then I got access to his company's servers. Was it that much better? I'll bet that as far as the company is concerned, they would have cared less if I just wiped out one workstation's hard drive.
      • I'd plug it in. (Score:4, Interesting)

        by r00t (33219) on Thursday June 08 2006, @08:21PM (#15499311) Journal
        Why not?

        OK, maybe I'm too innocent. Normally I run Linux. Are you suggesting that Windows will automatically run executables from any random USB device that gets plugged into the computer?

        If not, these people were dumb enough to run random executables. Granted, having both program-as-icon and data-file-as-icon is a very bad UI choice, but still... 15 out of 20? WTF?

        If so, that Windows actually does the autorun thing... wait a second while I invent new words to describe this particular quality.
          • by emilng (641557) on Thursday June 08 2006, @10:16PM (#15499835)
            Actually, you can make it autorun off of a thumb drive...windows just loves the autorun.ini [sic] file. You set them to hidden on there and the employees don't see it, but windows will run it.

            Actually, you can't make it autorun off of a thumbdrive with an autorun.inf file even though that may work with a cd, because thumbdrives are considered removable storage like a hd or floppy, rather than removable media, like a cd. I know it because the company I work for had to replicate a ton of thumbdrives and we wanted to make them autorun like our cds, but there's no way to do it without changing the user's registry settings for autorunning.

            A more likely scenario would be to name a file, "cute.jpg.exe" and giving it an image icon. Windows hides extensions by default, so all the user would see is a file that looks like an image with a tempting title to click on.
      • Re:Pretty scary. (Score:5, Insightful)

        by CastrTroy (595695) on Thursday June 08 2006, @08:37PM (#15499392) Homepage
        Believe it or not, the banks' #1 concern is not privacy of the customer's data. The #1 concern is accuracy of the data. The most important thing is that the money is where it is supposed to be. This is the reason that banks spend so much on their computer systems. Not to keep the information secret, but to keep it accurate.
  • by Coopjust (872796) on Thursday June 08 2006, @06:44PM (#15498801)
    Given autoplay and the fact that many USB keys do not need drivers, this could turn out to be a serious problem.

    Why not just disable USB keys [petri.co.il]? They don't need to take that data home with them...the ChoicePoint disaster, several laptops stolen out of cars... these companies need to make are personal data more secure.
    • by jafiwam (310805) on Thursday June 08 2006, @06:53PM (#15498854) Homepage Journal
      Per the autopay dis-abler function in the group policy in windows, all removable drives aside from optical disks (DVD/CDROM) have autoplay disabled by default.

      They didn't use autoplay, they used an enticing file name on an executable. (My wife Pics.exe (with a zip icon) would do it.)

      It's sort of interesting that 15 new devices made it in the building without anyone talking about it. "Hey, look what I found" "Mine is a gig!" "Me too!". They all put it in to see what's on it probably knowing it's against the rules and did it anyway.

      It's not ignorance, its "i think i can get away with it."

      I wish I could find thumb drives in the parking lot.

      On another note, I sure hope that company didn't send the stuff they collected unencrypted. That's a violation of a bunch of rules. Penetrating a network for a security audit shouldn't lower the overall security of the network, if they sent unecrypted that's exactly what they did though.
      • Or how about this as a vector - put an executable file on the disk, labeled "Sexy Pics" and with a folder icon. Windows by default does not show extensions... and it is safe to click on folders, right?
      • On another note, I sure hope that company didn't send the stuff they collected unencrypted. That's a violation of a bunch of rules. Penetrating a network for a security audit shouldn't lower the overall security of the network, if they sent unecrypted that's exactly what they did though

        They could have caused the data to be sent unencrypted to a test machine inside the corporate network somewhere, or directly connected to the corporate network for the purposes of the test but outside the firewalls. That woul
  • by PlusFiveTroll (754249) on Thursday June 08 2006, @06:48PM (#15498815) Homepage
    This is going to be a hard one to stop. Humans are curious, when you find a cd, hard drive, thumb drive, the first thing your going to want to do is stick it in your computer and find out what juicy secrets are on it.

    My best advice for corporations is to lock down the computers and only allow approved devices by security profile. Trying to train people not to act like people will fail.

    Any better ideas other then beating the users with a stick or JB Weld in any unused ports on a computer.
      • Hmm, Sounds like the best answer is.

        1) Text file on drive with your name and number.
        2) Encrypt every thing else!

        You might get your drive back then.

        If you want to look at the disk.

        1) create non privliged testuser account on your linux (or other non standard OS) box (pref' non x86).
        2) view drive contents.
        3) remove testuser account when done.

        Your chances of getting pwned by some tricky bastard would be much lower.

  • by Ant P. (974313) on Thursday June 08 2006, @06:48PM (#15498818) Homepage
    I would've put autoplay Goatse on them, personally.
    • Re:Autoplay trojan? (Score:5, Informative)

      by TubeSteak (669689) on Thursday June 08 2006, @07:26PM (#15499026) Journal
      Even though you're joking, what you're proposing has been around for a looooong time.

      http://lastmeasure.com/ [lastmeasure.com]
      Last Measure is a wholly owned subsidiary of the Gay Nigger Association of America

      The bastards at GNAA created LMOS (Last Measure OS)
      http://sam.zoy.org/lmos/ [zoy.org]
      LMOS is a minimalist operating system targetting multimedia presentations, written with simplicity in mind. Due to its tiny x86 assembly core, it easily fits on a standard floppy: just write LMOS and your pictures to a CD or floppy, and it will boot and play on any IBM-PC compatible computer.

      LMOS is a handy tool to carry with you on a business card CD or an USB key. Also, instead of luring people to Last Measure mirrors or similar shock sites, you can simply hand them an LMOS CD with a "Knoppix" sticker on it.
      No matter what depravity you can think of, the Trolls have already been there and raped that idea.
  • Close those ports. (Score:3, Interesting)

    by bubulubugoth (896803) on Thursday June 08 2006, @06:49PM (#15498819) Homepage
    I remember when was a "common practice" to remove or glue floppy disks at schools...

    But USB pose a different trouble. There ARE useful usb devices, like mouses and keyboards...

    And further more... there are phones and digital cameras, and even thos 5 in 1 memory readers that can be used to substract information or leak viruses...

    or even worse, specific purpouse programms, likt the used at the "audit"...

    And also one thing I wonder, is what Antivir was "protecting" the machine? Is nt antivir doing heuristics to look after strange things at the computer, like "something" trying to get the addressbook?

  • But.. How? (Score:3, Interesting)

    by Anonymous Coward on Thursday June 08 2006, @06:49PM (#15498820)
    I tried using something like this for my senior prank at school. I wanted to add a startup item that pointed to shutdown.exe on the XP systems. :)

    I simply could NOT get anything to autorun from any type of flash drive. Autorun.inf wouldn't run .vbs, .bat, .exe, or even .txt files. Nothing. How could they get it to autoinstall? I know there's U3 type stuff, but that creates a fake CD Rom drive due to a CDFS partition on the flash drive itself...

    How could they get the trojan to autorun on insert? And if you're picking crap up off the ground, why wouldn't you hold shift while plugging it in if you were running Win?
  • by Billosaur (927319) * <wgrotherNO@SPAMoptonline.net> on Thursday June 08 2006, @06:51PM (#15498832) Journal

    You've probably seen the experiments where users can be conned into giving up their passwords for a chocolate bar or a $1 bill. But this little giveaway took those a step further, working off humans' innate curiosity. Emailed virus writers exploit this same vulnerability, as do phishers and their clever faux Websites. Our credit union client wasn't unique or special. All the technology and filtering and scanning in the world won't address human nature. But it remains the single biggest open door to any company's secrets.

    There you have it -- invest in fancy firewalls, make people change their passwords every 90 days, filter email from spam, phish, virii, and trojans, and then sit back and watch as your employees bypass all those lovely defenses and lay your system vulnerable.

    I've said it before: there's no use building a wall, firing up the boiling oil, and digging a moat and filling it with sharks if you're going to build an 8-lane superhighway through it. Companies are trying to crack down, but the myriad ways that information can get stolen or transferred from a system are enourmous. USB drives, camera phones, MP3 players -- anything that can store data is a potential point of vulnerability, one which a company will be hard pressed to monitor or control. Couple that with this sudden rash of stolen laptops carrying unencrypted and often sensitive data, and the there's no reason for hackers to work too hard any more, when they can just have data handed to them.

  • Smart idea!! (Score:5, Interesting)

    by Cybersonic (7113) <ralph@ralph.cx> on Thursday June 08 2006, @06:51PM (#15498834) Homepage
    I have to admit, this had me laughing out loud! :) I do security audits often, and I know this 'attack' would work almost anywhere.

    Add this to your weekly 'security' email/meeting as I have a feeling this may happen a bit more often now...
  • Black Hat Hazards! (Score:3, Interesting)

    by redelm (54142) on Thursday June 08 2006, @07:01PM (#15498889) Homepage
    Wasn't some dude prosecuted for doing Black Hat ops, even though he was hired specifically to evaluate security?

    Before I'd even think of something like this, I'd want signed original 8.5x11 floppies giving me explicit authorization to attack^Hevaluate systems like this.

    Even then, the DHS might come after the evaluators or possession and willful use of destructive tools.

  • by dduardo (592868) on Thursday June 08 2006, @07:06PM (#15498918)
    If they were running Linux the solution would be easy: disable USB Mass Storage in the kernel. USB mice and keyboards will still work, but they won't be able to read their thumb drives.
  • The scattered 20 trojan drives around the outside and 15 get picked up by their target. Notice how the don't bother saying what happened to the other 5. Did they not get used, not get found, found by other people? And you know some of those employees took the drives home and their personal information was captured. Yes it's a cool hack but unless the trojan was coded to only execute on machines with a certain MAC address it was ethically wrong.
  • Thin Clients (Score:3, Insightful)

    by jabelar (913707) on Thursday June 08 2006, @07:44PM (#15499129)
    Banks and other organizations with shared computing requiring high security should consider thin clients rather than PCs. There should be no drives on bank teller computers to transfer data either onto or off of their system.
  • by spentrent (714542) on Thursday June 08 2006, @07:56PM (#15499206)

    "Why?"

    "IT says we got dongled, whatevthefuckthatmeans."

  • by spentrent (714542) on Thursday June 08 2006, @07:58PM (#15499216)

    ...you don't know where that dongle's been.

  • by VI$7443V3R (981078) on Thursday June 08 2006, @08:17PM (#15499293)
    Seriously. It really is.
  • Related work (Score:5, Interesting)

    by Beryllium Sphere(tm) (193358) on Thursday June 08 2006, @08:25PM (#15499340) Homepage Journal
    Workers in London financial firms, which handle a lot more money than a credit union, ran CDs from total strangers on the street [silicon.com].

    Kevin Mitnick has pointed out that an attack like this could be made virtually certain to work. Desperately ask the receptionist to let you in, just for 90 seconds, just to use the restroom, and drop a CD on the floor labeled "CONFIDENTIAL: Layoff List". Extra points if you got a copy of the company phone directory and copied some or all of it onto the CD for the finder to browse while the autorun program chugs away.
  • Age old problem... (Score:4, Insightful)

    by elderban99 (981085) on Thursday June 08 2006, @08:33PM (#15499372)
    Once again mankind is sticking things where they shouldn't be and getting infected...something that has been going on for centuries.
  • by warlock.da.newbie (981084) on Thursday June 08 2006, @08:50PM (#15499452)
    In the Black Hat conference in 2005 a group introduced a few hacks to access system memory via IEE1394 (Firewire). In the Toorcon conference September 2005 an individual showed a working example of USB 2.0 being used for the same purpose. The main point of this was related to USB and Firewire being given access to system memory via DMA channels. The example shown during Toorcon was a memory dump of the computer while it was booting. Using a USB 2.0 device an attacker can modify system memory outside of the operating systems knowledge. Using a technique like this one could actually write to very low level routines on the computer without the operating system being aware of this.
  • ... I think I have an idea for a great April Fool's prank. But I need all of you to be really, really quiet about this. 'K?
  • by Mr. Freeman (933986) on Thursday June 08 2006, @10:21PM (#15499849)
    Alright, I've read a lot of people saying "just disable USB devices". Someone said that everything should be locked down and that training people is useless.

    Disabling USB devices will not work. Even if you do it perfectly, that is, disable all storage devices but not keyboards, mice, etc. Why? Because CD-ROM drives have the exact same problem. I don't think floppy drives have any type of autorun function, but you can still put deceptive file names on them. Same problem with Email attachments.

    Now, go disable email, CD-ROMs, floppies, USB devices, and memory card readers at your office/school and see how much work actually gets done.

    You must either educate people, or restrict them to the point where they can't do their job in order to prevent your network from being infected. Given that the latter results in a huge loss of profit, I'd try to educate people.
    • by realmolo (574068) on Thursday June 08 2006, @10:36PM (#15499914)
      Unless they need to use the CDROM drive, floppy drive, USB devices, or memory cards to DO THEIR JOB, then they SHOULD be disabled.

      The fact is, in a business setting, the machines should be completely locked down so that users can do ONLY what they need to do, and nothing else.

      Of course, politics tend to prevent that from happening. But it is proper "procedure".
  • by InakaBoyJoe (687694) on Friday June 09 2006, @03:14AM (#15500681)

    People love USB drives for good reasons. They make the data personal, tangible, an object that follows physical laws that users know intuitively. To an IT person, data is just ones and zeroes in some arbitrary physical medium. But to most users, there is a big difference between that letter you wrote last week disappearing into some network ether, versus residing on a physical USB drive you can hold in your hand.

    Most of the comments in this thread are of the "USB drives are a big security hole! Disable them!" variety. What a classic example of IT snobbery. A good administrator, one who understands his users, would stop to think WHY people use USB drives, and try to create a solution that balances the benefits vs. risk to the users.

    Along this line of reasoning, an ideal system would be a thin client that accepts USB drives for file storage, automagically backs them up when they are used, and doesn't run any executables other than what's configured. Kind of like the old Sun smart card idea where the user has a physical, tangible ID card where his files conceptually reside.

    If you want your users to respect your network security concerns, you first have to try to respect your users.

    • Re:Unfortunatly... (Score:5, Insightful)

      by nitehawk214 (222219) on Thursday June 08 2006, @06:53PM (#15498851)
      Most people who work in an office do not read this website.

      No, but many IT professionals do. Hopefully they educate their users to be wary of anything they dont own. It's not much different then opening an attachment from an email you receive.
    • by FirstTimeCaller (521493) on Thursday June 08 2006, @07:02PM (#15498892)

      At WinHec this year, Microsoft reported that many companies were using glue guns(!) to secure their networks against USB drives. They then went on to claim that Vista will make this unnecessary (as well as curing world hunger and making you look thin in those pants...)

      • They used to on Macs. That was one reason Macs were so vulnerable to viruses back in the eighties. Evey file could have a resources fork and the machine would load and execute the resources on any disk you inserted. As a result mac viruses were a major problem - and this was before machines were networked.
    • Re:Pfft.... (Score:5, Funny)

      by Vraylle (610820) on Thursday June 08 2006, @08:16PM (#15499285) Homepage
      "Just edit /etc/fstab to not allow normal users to do any mounting..."


      People that are geeky enough to be able to /etc/fstab a Linux system probably aren't doing much mounting either.