Bruce Schneier | |||||||||||||||
Schneier on SecurityA blog covering security and security technology. « Gitmo Manual Leaked | Main | More "War on the Unexpected" » November 20, 2007Hard Drives Sold with Pre-Installed TrojansI don't know if this story is true: Portable hard discs sold locally and produced by US disk-drive manufacturer Seagate Technology have been found to carry Trojan horse viruses that automatically upload to Beijing Web sites anything the computer user saves on the hard disc, the Investigation Bureau said. Certainly possible. EDITED TO ADD (12/14): A first-hand account. Posted on November 20, 2007 at 12:52 PM • 31 Comments To receive these entries once a month by e-mail, sign up for the Crypto-Gram Newsletter. Kind of doubt it. Seems like potentially way too much data to go unnoticed for long, unless some sort of filtering is performed on file name / size. Posted by: Alex at November 20, 2007 1:17 PM Even if it's happening, this wouldn't be all that much of a threat. If used as a replacement primary drive, the OS' installer would normally remove such files. Even as a secondary drive, most modern Windows OSes don't run autorun.inf from internal drives, and the OS' installer will wipe the drive anyway. This might hit 2000 or unpatched first generation XP, but if that is your environment, you probably have biggest threats to worry about. I focus on Windows since I don't know any other OS that even runs autorun.inf Posted by: The Dave at November 20, 2007 1:55 PM There is plenty of precedent for this. Have we forgotten the Apple iPod debacle a couple of years back already? Posted by: tim at November 20, 2007 2:11 PM I honestly think that autorun is one of the most brain-dead misfeatures in the history of operating systems. It causes so many problems, major and minor, and yet has so little benefit. I don't consider an OS install complete until I disable autorun. Posted by: Somebody at November 20, 2007 2:27 PM Are .pif's even needed anymore. Why not just disassociate that extension? Autorun isn't inherently harmful. It's what's run that harbors the potential for harm. Posted by: kc0dxh at November 20, 2007 2:38 PM The Personal Storage drive is an external drive so that the non-technical user can put their personal files on it. As such it would be preformatted. Posted by: MyCat at November 20, 2007 2:41 PM Yes mycat, it should be preformatted, but what happens if the computer where it is preformatted has a virus/trojan? I think it is more likely that having an "evil" manufacturer putting the trojan. Thinking again, sony put a very high mark on "evilness". Posted by: Camilo at November 20, 2007 2:50 PM @MyCat Sure, it's pre-formatted so people running Windows have "convenience" (laughs). Mind you, when I get one of those disks, I'm busy re-partitioning it (after a dd if=/dev/zero bs=1048576 count=32 of=/dev/sda or sdb or whatever) and then putting and ext2 (if not ext3) file-system on it. And, yes, there _is_ an ext2 driver/explorer for XP *and* Mac OS X. (Needless to say I do NOT use XP if I can help it; If I need to move files around a LiveCD and tar/ssh to a real server are my preference, though I am not averse to WinSCP if I have no other choice). But that's just _me_. Hasn't this trick been tried by Sony on CDs? And hasn't this kind of insanity appeared on flash drives? I tend to be paranoid about media, but, I also freely acknowledge that, while my paranoia does go to 11, sometimes that is just not paranoid enough. Posted by: jack c lipton at November 20, 2007 2:52 PM Definately true.. and probably not the first time this has happened in the past from various drive manufacturers. The real sweet spot is USB key chains as most people do not reformat them and just plug them in and let the magic machine do what it wants. Posted by: Stephen Smoogen at November 20, 2007 2:56 PM The government should buy a couple thousand of these drives and then fill them over and over again with low res porn files and copies of government regulations. Posted by: bob at November 20, 2007 3:09 PM "Yes mycat, it should be preformatted, but what happens if the computer where it is preformatted has a virus/trojan?" Then it is utter incompetence of the manufacter. I think that in the field of IT security incompetence is worse than evil intentions. Posted by: Vitus Wagner at November 20, 2007 3:17 PM @Vitus: In most fields that's true. An "evil" enemy you can discover by the pattern of her actions - she implicates herself. But an incompetent opponent is unpredictable - incompetence is a relatively random series of actions that are uncorrelated with reality. It take a great deal of analysis to distinguish them though, since if you assume that your opponent isn't evil and he is, his pattern will appear at first blush to be random. Hanlon's razor and Hanlon's bane in action. Posted by: UNTER at November 20, 2007 4:42 PM I was reading someone complaining about a Seagate drive which had some pre-installed software, which immediately copied itself to the machine's hard drive; unbenknownst, and then replaced itself on the secondary drive after he'd removed it. So he had to remove it three times. Which convinced me I wasn't going to be getting anything from them. Posted by: Terry Karney at November 20, 2007 6:49 PM This message board post has a first hand account: http://forum.rpg.net/showthread.php?... Posted by: Ross at November 20, 2007 8:25 PM @kc0dxh Leaving your new car unlocked in a busy parking lot with the keys in the ignition isn't inherently harmful either. Posted by: Eam at November 20, 2007 8:51 PM @Ross: Posted by: RobW at November 20, 2007 9:17 PM its a good thing to do a complete format before any use of the hdd. Posted by: jay at November 20, 2007 9:57 PM To add to my last comment. Always make it a habit to disable Autorun for devices in Windows. Even the USB stick worm propergated using this autorun feature. You can turn it off using TweakUI which is provided by Microsoft. Its easier to do using the GUI than editing the system's registry! Posted by: jay at November 20, 2007 10:01 PM Autorun on Windows does not work for hard drives. So, unless HD is modified to pretend that it is a CD (as, e.g., in ) the attack vector is simply impossible. Posted by: m17 at November 21, 2007 1:35 AM Re: Autorun on Windows does not work for hard drives. Not so - it does not work for *internal* hard drives. But it works just fine for USB connected fixed drives. Windows makes a distinction between "removable media" and "removable drives". Find the question "What must I do to trigger Autorun on my USB storage device?" at The answer makes very clear that fixed disk drives can trigger autorun. And any hard drive can be converted into a USB drive just by connecting it into a USB drive enclosure. Posted by: Chris S at November 21, 2007 2:03 AM This is how to turn off autoplay on windows and avoid all sort of issues: Start -> Run -> gpedit.msc -> Local Computer -> Computer Configuration -> Administrative Templates -> System -> Turn Off Autoplay -> Enabled Posted by: robert at November 21, 2007 2:15 AM @m17, Well this is an interesting discussion. Actually I guess its now safe to say that you should always get the new hard drive checked for viruses by using it as a removable storage unit (USB) provided that autorun is turned off.. Plug it to an enclosure and run a thorough scan(may be using multiple virus scanners). But i'm sure if your format the new HDD using it as a RSU i dont think you have to perform the virus scanner anyway Posted by: jay at November 21, 2007 3:38 AM Bruce: this is fucking OLD news. Man, get with the program you GEEZER. Posted by: 87676 at November 21, 2007 9:37 AM Having the drive pre-formatted as fat32 and including an autorun on it, or adding a boot sector virus is just boring. I'm waiting for the day when the hard drive firmware comes from the factory with a virus on it. Posted by: jammit at November 21, 2007 9:44 AM @tim Apparently, I have. What debacle? Posted by: DLL at November 21, 2007 9:57 AM Happened to me in 2005 in the UK. I bought an MP3 player (a cheap generic) from a store and it had a "surprise" inside. The thing was manufactured in China and had no brand (it wasn't detected by any AV I had at hand at the time but seemed to be a variant of a known trojan horse. I agree with other comments in this forum. You should format all new rewritable discs (magnetic or memory based). Posted by: Omar Herrera at November 21, 2007 4:58 PM @robert: "This is how to turn off autoplay on windows and avoid all sort of issues:" Autoplay != Autorun The first is that Windows detects what kind of data is on the newliy inserted drive and presents you with (more or less) sensible options what to do with the inserted drive. The latter is about reading autorun.inf and executing a program specified there. Posted by: Paeniteo at November 23, 2007 6:04 AM I am only reporting this here as I assume you know who to send this info to: Right now (started 11-26-07 11:30am CST) Walmart.com is being redirected to: It also appears all transactions are follwing redirect. Domain Name: AKAMAI.NET Registrar: TUCOWS INC. If my sites had all there traffic phished ... I would "pull it". As of right now, wal-mart is not. Is this a verified Hack? Posted by: Not given at November 26, 2007 12:35 PM @ Anon I think pulling it would be a bit severe, as its used for load-balancing their webservers. Maybe they should warn their local neighbourhood watch before using such technologies in future! Posted by: Don't panick at November 28, 2007 5:19 AM Post a comment
Powered by Movable Type. Photo at top by Steve Woit.
Schneier.com is a personal website. Opinions expressed are not necessarily those of BT. |
|
Comments