Slashdot Mirror


Hiding Backdoors In Hardware

quartertime writes "Remember Reflections on Trusting Trust, the classic paper describing how to hide a nearly undetectable backdoor inside the C compiler? Here's an interesting piece about how to hide a nearly undetectable backdoor inside hardware. The post describes how to install a backdoor in the expansion ROM of a PCI card, which during the boot process patches the BIOS to patch grub to patch the kernel to give the controller remote root access. Because the backdoor is actually housed in the hardware, even if the victim reinstalls the operating system from a CD, they won't clear out the backdoor. I wonder whether China, with its dominant position in the computer hardware assembly business, has already used this technique for espionage. This perhaps explains why the NSA has its own chip fabrication plant."

206 comments

  1. Lojack for Laptops... by mlts · · Score: 2, Informative

    A good example of this is Lojack for Laptops to see about having stuff in hardware be able to keep a program installed and hidden.

    1. Re:Lojack for Laptops... by Anonymous Coward · · Score: 5, Funny

      I'm not sure that's a good example of a sentence...

    2. Re:Lojack for Laptops... by Anonymous Coward · · Score: 1, Interesting

      A good example of this is Lojack for Laptops to see about having stuff in hardware be able to keep a program installed and hidden.

      I have built and imaged hundreds of Sourcefire servers and THOUSANDS of desktop PC's for the NSA and their hardware is (mostly) the same thing everyone else buys. Alot of Dell. Most of the people I worked with only held a Postition of Public Trust security clearance if any. I had none at the time and was only bonded with a background check. They didnt even care about the Felony that was 10 years old.

    3. Re:Lojack for Laptops... by datapharmer · · Score: 1

      And here's the scary part about that.

      --
      Get a web developer
    4. Re:Lojack for Laptops... by Ihmhi · · Score: 1

      Pfft, backdoors?

      Here's a case that has a back door, a front door, and windows, too!

    5. Re:Lojack for Laptops... by k6mfw · · Score: 1

      Cylon kill switch anyone?

      --
      mfwright@batnet.com
    6. Re:Lojack for Laptops... by garyebickford · · Score: 1

      That really needs tiny displays behind the windows, showing either life in the 'doll house' or scenes from another planet. :D

      --
      It's easier to be a result of the past, but more fun to be a cause of the future! http://www.spacefinancegroup.com/
    7. Re:Lojack for Laptops... by Anonymous Coward · · Score: 0

      It's like a Zen koan.

    8. Re:Lojack for Laptops... by uninformedLuddite · · Score: 1

      it the secret hidden within it that you have to be concerned about

      --
      The new right fascists are bilingual. They speak English and Bullshit.
    9. Re:Lojack for Laptops... by Anonymous Coward · · Score: 0

      The link is down:
      http://blog.ksplice.com/2010/10/hosting-backdoors-in-hardware/

      If they used the G-WAN Web server they would have resisted to the Slashdot effect... (even the slower G-WAN/Windows happily coped with a Slashdot post so G-WAN/Linux can take much more than this).

  2. Not bad but.. by Stregano · · Score: 1

    It sounds like a technique that a random hacker won't do. That is a bunch of work to get that going on a user's system. By that, I mean you are modding a rom on something on the pci slot. So unless you are fixing their pc, it will hard to make an excuse as to why you are opening up their machine when they wanted some anti-virus installed.

    --
    The world is how you make it
    1. Re:Not bad but.. by ByOhTek · · Score: 2, Insightful

      So unless you are fixing their pc, it will hard to make an excuse as to why you are opening up their machine when they wanted some anti-virus installed

      You haven't dealt with the average end user much have you? Probably less than 1% would be worried/suspicious. Of those that said anything, the answer "Oh, the antivirus has a special piece of hardware that it uses to prevent it from being disabled by viruses..." would suffice.

      --
      Self proclaimed typo king, and inventor of the bear destroying coffee table (patent not pending).
    2. Re:Not bad but.. by mlts · · Score: 4, Interesting

      This could be what malware could do. Take some of the newer botnet clients that have modules for everything, be it trying to climb out of a VMWare machine, try to get around sandboxie, or other items. Malware could try to find items that are flashable, and reflash them with code for hooks to malware, or even worse an active keyboard logger. It was mentioned a while back in a previous /. article about a major computer maker with keyboard HIDs that were flashable with new code. So, if one got root on the box, it wouldn't be hard to reflash the keyboard with a keylogger that could store keystrokes, or just send them as packets to the blackhat's site.

      Other than cellphone makers, a lot of devices really don't put much in the way of protecting their BIOS against rogue code, so it isn't farfetched to reflash a sound card, a NIC, a Northbridge/Southbridge controller, a video card, motherboard BIOS, or any other subsystem with malicious programming.

    3. Re:Not bad but.. by spottedkangaroo · · Score: 1, Insightful

      "sandboxie"

      Please don't do this. You'll regret it if you make it popular.

      --
      Imagine if you weren't allowed to use roads because a bus company complained about your driving 3 times. --skunkpussy
    4. Re:Not bad but.. by Nikker · · Score: 1

      Just have to be on the same LAN after hardware exploits allow control via routable packets. http://it.slashdot.org/story/10/03/27/2145255/Remote-Malware-Injection-Via-Flaw-In-Network-Card?from=rss

      So exploit NIC using routable packet, use DMA to grab CPU, use CPU to exploit ROM, use ROM to dupe packets with forged header to remote survey location, etc,etc.

      --
      A loop, by its nature, continues. If that didn't make sense, start reading this sentence again.
    5. Re:Not bad but.. by HomelessInLaJolla · · Score: 2, Interesting

      Remember when the Pentium chip was first released and there was a flaw found in the processor? The flaw was most commonly demonstrated in something like the eleventh decimal place in a mathematical calculation which could be made inside an Excel spreadsheet. Intel released a firmware fix that compensated (obviously they were not about to recall, retool, and replace all of thsoe chips). That sort of hardware "flaw" exists in almost any hardware chip of sufficient complexity. I believe it is a mathematical nuance of binary logic gates; somewhat analogous to algorithms which purport to generate prime numbers or pythagorean triples--eventually the algorithm breaks down and it misses one, then it misses a few, then it begins missing a whole bunch, then eventually the algorithm is marginally useless and a new algorithm must be applied to reliably continue to find the (n+1)th prime number or pythagorean triple.

      These hardware flaws exist in your routers, in your processors, in your sound cards, in your video cards, even in your monitors and the chips of your hard drives and, now that microchip technology is sufficiently advanced and complex, in darn near anything which does more than basic mathematical calculations presented on a mantissa.

      No technology has ever been released to the mass public without first knowing its flaws--and there will be flaws. It is an unavoidable result of the mathematics behind binary logic. I believe that most programmers begin to come in contact with this premise when they are asked, in intermediate programming courses, to write code for multiplication and division, especially with floating point numbers, performed using binary registers.

      If you think your internets are safe then think again. All your base belong to the people who wrote it.

      --
      the NPG electrode was replaced with carbon blac
    6. Re:Not bad but.. by tibman · · Score: 1

      what's wrong with sandboxie?

      --
      http://soylentnews.org/~tibman
    7. Re:Not bad but.. by Anonymous Coward · · Score: 0

      makes you sound like a vally girl tard...

      Like you know... I gots this sandboxie thingy.. and it's all up in there and stuff....

    8. Re:Not bad but.. by MerlynEmrys67 · · Score: 4, Informative

      Ok - time for a few corrections
      1) First Intel (after initially responding poorly to the bug) fully recalled the product without question. If you had a processor in question, you could ask for and recieve a replacement. Please see http://en.wikipedia.org/wiki/Pentium_FDIV_bug
      2) The flaw was caused by a bad division lookup table, not the mathematical nuance of binary logic gates. What I think you are trying to describe is the fact that floating point numbers are not percise, and you never compare them directly, only compare if they are within a small delta of each other.

      --
      I have mod points and I am not afraid to use them
    9. Re:Not bad but.. by Jeng · · Score: 1
      --
      Don't know something? Look it up. Still don't know? Then ask.
    10. Re:Not bad but.. by Peeteriz · · Score: 1

      It sounds like something that's hard to do for an individual PC but trivial to do for millions of PC's - random guy in some factory in China, Indonesia, or Taiwan modifies the rom image that is put on some cheap device - say, some ethernet or sound chip that goes on generic motherboards, and voila - it's done.

          And nobody would know if that was done for some intelligence agency or simply to sell a botnet for cash..

    11. Re:Not bad but.. by tixxit · · Score: 4, Informative

      Sandboxie is the name of a program for Windows that can create and run programs in sandboxes.

    12. Re:Not bad but.. by Anonymous Coward · · Score: 0

      Infecting the router would be useful too.

    13. Re:Not bad but.. by spottedkangaroo · · Score: 1

      I did not know that. I thought it was like virii or whatever.

      --
      Imagine if you weren't allowed to use roads because a bus company complained about your driving 3 times. --skunkpussy
    14. Re:Not bad but.. by mrnobo1024 · · Score: 1

      Chances are it has security flaws just like almost every other complex piece of software written by humans. As long as it's only used by the few of us who are somewhat security-conscious, malware authors probably won't bother to figure out how to exploit it when there is plenty of exploitable software out there that everybody uses. They'll pick the low-hanging fruit and ignore Sandboxie users as not worth the effort. If Sandboxie becomes popular, that's over.

    15. Re:Not bad but.. by Unequivocal · · Score: 1

      True, but it seems like the point of this is that hardware is usually viewed as an immutable in the virus vectors, but if someone gets a hold of container of PCI cards coming over from Taiwan they could cause a lot of trouble with them..

    16. Re:Not bad but.. by jonsmirl · · Score: 1

      You don't need to be root to do this. If a graphics card manufacturer is complicit, they could hide code on the card that is triggered by a special image. This image would tell the GPU to alter the PCI expansion boot ROM code for the card long enough to insert a hook. Then wait for a reboot, insert the hook, and put the expansion ROM back the way it was. Anything you put into a bus slot of a PC could pull this trick with various signalling mechanisms.

    17. Re:Not bad but.. by Anonymous Coward · · Score: 0

      *Everybody* wants it to be sandboxen, that's what, duh.

    18. Re:Not bad but.. by Anonymous Coward · · Score: 0

      what's wrong with sandboxie?

      More than likely sandboxie has blind spots in regards to its sandboxing. Put logically, do you think that if a one-man show virtualization program could cover all the bases that it would not have been done by a corporation by now? Even assuming this is true, making sandboxie popular simply makes it a target. (Adobe Software, Mozilla Software)

    19. Re:Not bad but.. by camperslo · · Score: 1

      It sounds like a technique that a random hacker won't do. That is a bunch of work to get that going on a user's system. By that, I mean you are modding a rom on something on the pci slot.

      Quite a bit of hardware has firmware in flash memory instead of ROM.

      For popular hardware, something might easily be passed off as part of an update.
      Who would know if something sinister was part of a firmware update for your optical drive or video card? Flash is very convenient for manufacturers. It does seem like a good idea to have some sort of jumper or switch set to disable write access during normal operation. Of course that won't help if hardware arrived with hidden features in place.

      Perhaps systems could come with some sort of validator USB key, something that isn't writable. Have it contain a utility that checks the md5 / sha1 hashes for all of the firmware in your system, maybe do the same thing for OS components too.

    20. Re:Not bad but.. by flyingkillerrobots · · Score: 1

      Then he would have said sandboxen.

      --
      "It is a good thing for an uneducated man to read books of quotations..." -Winston Churchill
    21. Re:Not bad but.. by Mashiki · · Score: 2, Interesting

      I mentioned to people about 2 years ago that malware would start moving in that direction(i.e. flashing nvram, etc). People called me crazy. This will become the new reality once EFI becomes the norm.

      --
      Om, nomnomnom...
    22. Re:Not bad but.. by MikePikeFL · · Score: 1

      Second!

      --
      "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway" -Andrew Tanenbaum
    23. Re:Not bad but.. by SQLGuru · · Score: 1

      Until you realize that some unattended laptops don't even need to be opened to access the PCI bus. http://en.wikipedia.org/wiki/ExpressCard

      the ExpressCard's direct connection to the system bus over a PCI Express ×1 lane

    24. Re:Not bad but.. by RaymondKurzweil · · Score: 1

      No one remembers CIH??? And that was such a HUGE thing for a while. Of course, it only turned the machine into a brick. But the concept is the same. CIH wasn't even the first, but notable because it wasn't a buried in the back pages thing either. CIH was the impetus for the dual copy "BIOS protector" that I think still marketed on some motherboards to this day.

      You're not that smart, or ahead of your time at least, cause CIH was the talk of the town over 10 years ago. EFI sucks balls for sure, but it really isn't what makes this shit possible.

      Finally, I think this story is being a little inaccurate for my tastes and kind of conflates hardware with software (and I will admit the line can be very hazy).. but there is a practical and economic difference between a ROM with a backdoor that relies on the "trust" of the host to execute its code, and a backdoored piece of hardware that handles data (say a CPU or a disk controller) that spies passively or actively affects data that it is entrusted with.

      The key difference in what is "trusting" what, and what mechanisms are failing. To a systems designer there is a difference. Moreover, even if you say to this, well I'll just audit my ROMs for backdoors (prevent untrusted ROMs), you are still screwed, because how the fuck can you trust the CPU in the box. How do you know the CPU (or GPU as people have mentioned), don't execute what they want despite what you tell them? The ROM problem is really just the software trust problem moved into a chip... the latter is different, and something that has been talked about for years. Read the old Gutmann papers from 20 years ago on secure deletion. Not new.

    25. Re:Not bad but.. by DunbarTheInept · · Score: 1

      I don't think the concern is an after-market cracker doing it. I think the concern is that if it can be done after-market then that proves it can also be done by the original manufacturer of the hardware. I don't put it past OEM's to make backdoors for themselves.

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    26. Re:Not bad but.. by spottedkangaroo · · Score: 1

      Not totally my fault. It wasn't capitalized, so it looks like a random word, not a product.

      --
      Imagine if you weren't allowed to use roads because a bus company complained about your driving 3 times. --skunkpussy
    27. Re:Not bad but.. by PitaBred · · Score: 3, Funny

      The magic words are "this will make it faster"

    28. Re:Not bad but.. by Anonymous Coward · · Score: 1

      That's great to see you get mod points for pointing out technicalities in trivia from sixteen years ago--trivia that even a majority of the readership of Slashdot probably does not remember first-hand. Did it occur to you that HiLJ was a Motorola 68k junkie at the time when PC newbies were defaulting to inferior x86 technology?

      If you wish to make your point one relevant you should probably back that up with numbers to indicate what percentage of those CPUs were replaced rather than wave a flag saying that Intel made the offer. Yeah. I think we both know a ballpark percentage for that is likely to be less than five.

      Your second point actually supports what HiLJ was saying. Hardware backdoors do not need to be deliberately installed--they can be as simple as a bad lookup table, or a bad set of transistors which only act bad under a particular set of circumstances, which circumstances would not be known to the average user but are likely an inside office joke amongst the design engineers.

      You're just an argumentative prik, aren't you?

    29. Re:Not bad but.. by Iron+Condor · · Score: 2, Insightful

      ... but I think this is why this is a non-story. ANYBODY with access to your hardware owns you. That's always been a given. If I can touch your bare silicon and metal, then I can put all kinds of things in all kinds of places for all kinds of reasons. Big fat Duh.

      Maybe this is news to the public, but I'm not sure it is "news for nerds".

      --
      We're all born with nothing.
      If you die in debt, you're ahead.
    30. Re:Not bad but.. by tibman · · Score: 1

      You're probably right but i doubt a commercial version of sandboxie would be as lightweight and awesome. It would likely have all sorts of wizards and "helpful" preset things.

      --
      http://soylentnews.org/~tibman
    31. Re:Not bad but.. by dgatwood · · Score: 1

      That's all WAY too complicated. All you have to do is put extra hardware/firmware into a network card that checks for a specific magic byte sequence in an ICMP packet, then verifies a checksum of the rest of the packet, and if both check out, interprets the packet as a command to read or write the appropriate portion of memory (IIRC, the entire physical address space of the machine is accessible from a PCIe card, generally speaking) and transmit the data as needed in a properly formatted response packet. At that point, someone with knowledge of the protocol can 0wn the machine remotely no matter what OS they are running---forget merely reinstalling the same OS.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    32. Re:Not bad but.. by Anonymous Coward · · Score: 0

      Take luck!

    33. Re:Not bad but.. by Anonymous Coward · · Score: 0

      Then he would have said sandboxen.

      Yo Dawg, I heard you liked VMs, so we put VMS in a VM so your VAXen could run in sandboxen!

    34. Re:Not bad but.. by xtracto · · Score: 1

      The magic words are "this will make it faster"

      Definitely, in addition you could say that you cleaned of dust the inside "as a free gift" (and even do it... so that they are not suspicious) and the guys will be glad.

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    35. Re:Not bad but.. by Anonymous Coward · · Score: 0

      Way too late, we've all been doomed ever since 'Lappy' took off

    36. Re:Not bad but.. by Anonymous Coward · · Score: 0

      Some people I've seen on /. actually wish for another CIH worm thatg would destroy machines, just to get people to zip up their flies and actually worry about their computer's security, instead of just taking it to Geek Squad every 3-6 months for a "tune-up".

    37. Re:Not bad but.. by davester666 · · Score: 1

      > what's wrong with sandboxie?

      He really chaps my ass. I guess he just rubs me the wrong way.

      --
      Sleep your way to a whiter smile...date a dentist!
    38. Re:Not bad but.. by uninformedLuddite · · Score: 1

      Then that means it will be the standard term and definition within just a year or so

      --
      The new right fascists are bilingual. They speak English and Bullshit.
    39. Re:Not bad but.. by Anonymous Coward · · Score: 0

      I love it when you talk dirty like that.

      Wanna touch my silicon baby? Put your things in my places?

    40. Re:Not bad but.. by Geminii · · Score: 1

      "This will make it cheaper, because it's from China."

    41. Re:Not bad but.. by phek · · Score: 1

      I saw Ralf-Philipp Weinmann's talk on this at toorcon (although he spoke about embedded controllers). His hope which seemed reasonable was that manufacturers should release a hash against the the firmware and during boot we could compare the firmware against a hash list.

    42. Re:Not bad but.. by Anonymous Coward · · Score: 0

      ... but I think this is why this is a non-story. ANYBODY with access to your hardware owns you. That's always been a given. If I can touch your bare silicon and metal, then I can put all kinds of things in all kinds of places for all kinds of reasons. Big fat Duh.

      The interesting point of this story is not that you get owned by installing a non-trusted piece of hardware, but that it is very hard to detect, even while the exploit is active. In my opinion, It would also be possible for malware to install the required bios code in the mainboard flash, since those are usually modular (a loader + a ZIP-like archive of modules, i.e. separate, bits with the configuration tool, setup code for CPU, Chipset, integrated graphics, network/SAS/SCSI cards).

  3. Undetectable? by countertrolling · · Score: 5, Insightful

    What, you can't sniff the traffic going in and out of your machine?

    --
    For justice, we must go to Don Corleone
    1. Re:Undetectable? by Anonymous Coward · · Score: 0

      You would need a second machine, otherwise you are just asking an infected operating system to tell you about the infected traffic it is sending.

    2. Re:Undetectable? by Anonymous Coward · · Score: 1, Funny

      OMG, but what if THAT machine is infected, too?!

    3. Re:Undetectable? by Anonymous Coward · · Score: 3, Funny

      Then you need a turtle.

    4. Re:Undetectable? by Anonymous Coward · · Score: 0

      Wow really? Pretty sure everyone around here has a router capable of that. That is if they cared enough to properly set it up.

    5. Re:Undetectable? by Anonymous Coward · · Score: 0

      I like toitles.

    6. Re:Undetectable? by noidentity · · Score: 2, Insightful

      Not if it's hidden among legitimate traffic.

    7. Re:Undetectable? by Anonymous Coward · · Score: 0

      Unless it's tampering packets there's really no way to hide short of information overload. Although I guess it could use a legitimate service (e.g. Google) to somehow tunnel itself -- like keylogging to a Google Talk account using XMPP.

    8. Re:Undetectable? by Worthless_Comments · · Score: 1

      All the way down...

    9. Re:Undetectable? by djshaffer · · Score: 1

      What if the data is encoded in the starting sequence numbers of TCP/IP streams? Sure it's low bandwidth, but a keylogger doesn't need much. And I'm sure there are other possibilities.

    10. Re:Undetectable? by RocketRabbit · · Score: 1

      Not if your NIC strips out all the special traffic meant only for it.

    11. Re:Undetectable? by gd23ka · · Score: 1

      Not if you're looking at a ton of encrypted crap coming out of your machines and going to the weirdest of ip addresses. Right now
      you can still try to discover some of these things on your own, but once you're on a trusted computing platform you're going to
      be completely locked out. That stream of bytes going to wherever might just be law enforcement access on your computer and
      you will never know.

    12. Re:Undetectable? by Anonymous Coward · · Score: 0

      Correction. Not if it's modulated into the traffic patterns related to selected legitimate traffic. At least this is the NSA best practice recommendation for covert channel data.

    13. Re:Undetectable? by Geminii · · Score: 1

      Presumably hoping that at least one bit of comms hardware you have access to doesn't use compromised comms chips...

  4. NSA Fabrication Plant... by Samantha+Wright · · Score: 4, Interesting

    Wikipedia, as linked in the summary: "Its secure government communications work has involved the NSA in numerous technology areas, including the design of specialized communications hardware and software, production of dedicated semiconductors (at the Ft. Meade chip fabrication plant), and advanced cryptography research. The agency contracts with the private sector in the fields of research and equipment."

    Spectrum IEEE: "The DOD also maintained its own chip-making plant at Fort Meade, near Washington, D.C., until the early 1980s, when costs became prohibitive."

    I'm betting this statement is now bullshit.

    --
    Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    1. Re:NSA Fabrication Plant... by Samantha+Wright · · Score: 1

      By which I mean the summary is in error.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    2. Re:NSA Fabrication Plant... by smellsofbikes · · Score: 5, Interesting

      Wikipedia, as linked in the summary: "Its secure government communications work has involved the NSA in numerous technology areas, including the design of specialized communications hardware and software, production of dedicated semiconductors (at the Ft. Meade chip fabrication plant), and advanced cryptography research. The agency contracts with the private sector in the fields of research and equipment."

      Spectrum IEEE: "The DOD also maintained its own chip-making plant at Fort Meade, near Washington, D.C., until the early 1980s, when costs became prohibitive."

      I'm betting this statement is now bullshit.

      I dunno about the NSA, but I do know that *my* semiconductor fabrication company has a dedicated military fab line in California, and if the DoD orders a simple voltage regulator and is willing to pay for the extra cost, the fab goes through the layout, makes sure it's good, and runs it and packages it in a secure facility. I've not *seen* this, but coworkers have been in the fab and said that where most engineers in our company have Dilbert cartoons up, everyone in that facility has posters of military aircraft -- that it's like a military facility inside our company. Apparently they have full production capability: silicon design, fabrication, packaging, applications engineering, test engineering, and production engineering.

      I know my company's aversion to spending money. They wouldn't *do* this unless it was economically profitable, which means we're actively pitching our secure fabrication capability to buyers, so anyone who is buying compromised hardware is doing so knowing the risk.

      --
      Nostalgia's not what it used to be.
    3. Re:NSA Fabrication Plant... by mrsteveman1 · · Score: 4, Insightful

      By which I mean the summary is in error.

      That's what they want you to think.

    4. Re:NSA Fabrication Plant... by Anonymous Coward · · Score: 1, Informative

      Government fab plants and paying premiums for every part. People shouldn't bitch about taxes and deficits unless they are willing to cut defense spending also.

    5. Re:NSA Fabrication Plant... by Anonymous Coward · · Score: 0

      Money is rarely a problem for government. Currently, the black budget is $150+ million a DAY. This is a great book if you have a strong stomach. I quit half way through. Too disgusting.

      "The black budget is the President's secret treasury. It funds every program the President, the Secretary of Defense and the Director of Central Intelligence want to keep hidden from public view. It pays for the weapons for fighting the Cold War, and the Third World War, and World War IV. This money is kept off the books, erased from the public ledger. The secret weapons, secret wars and secret policies it pays for are shielded from public debate... It may not come as a complete shock that the Pentagon produces billion-dollar weapons that prove worthless... No one in the Pentagon knows how many black programs exist." - Tim Weiner, Blank Check: The Pentagon's Black Budget

    6. Re:NSA Fabrication Plant... by Anonymous Coward · · Score: 0

      This statement is now DIAMONDS

    7. Re:NSA Fabrication Plant... by Anonymous Coward · · Score: 0

      The Ugly T-Shirt....Suppose to wipe you from Facial Recognition Software, or so says William Gibson and Bruce Sterling ;)

  5. Umm by trifish · · Score: 1

    So what exactly is new here? I thought most ./ readers already knew that you have to trust the hardware you use...

  6. proprietary firmware by ArcRiley · · Score: 5, Insightful

    You don't even have to go to this great of a length; if you want to root Linux machines, release a proprietary driver in the form of a binary Linux kernel module and watch as your customers blindly install it.

    This is one reason why we should insist on the source code to all firmware - or reverse engineer write new firmware ourselves.

    1. Re:proprietary firmware by Salamander · · Score: 4, Insightful

      This is one reason why we should insist on the source code to all firmware - or reverse engineer write new firmware ourselves.

      "We" should reverse-engineer more firmware "ourselves" eh? When I see them at lunch, I'll let the subset of "we" who actually do such things know that somebody with an Ubuntu address said so. That'll be good for a few laughs.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    2. Re:proprietary firmware by swb · · Score: 0, Troll

      This is one reason why we should insist on the source code to all firmware - or reverse engineer write new firmware ourselves.

      That makes management deadlines easier to meet and pleases vendors and other third party support. Sweet.

    3. Re:proprietary firmware by abigor · · Score: 2, Funny

      Yours is probably the best post I've read in a month.

    4. Re:proprietary firmware by Anonymous Coward · · Score: 3, Insightful

      Why so snarky? I don't know who either of you are, but there are many ways to contribute to open-source computing. For instance, on the development, legal or political fronts. The GP's comment is wishful thinking, but that doesn't warrant getting your hate on.

    5. Re:proprietary firmware by Anonymous Coward · · Score: 0

      You don't even have to go to this great of a length; if you want to root Linux machines, release a proprietary driver in the form of a binary Linux kernel module and watch as your customers blindly install it.

      This is one reason why we should insist on the source code to all firmware - or reverse engineer write new firmware ourselves.

      linux-2.6$ git log --grep=arcriley@ubuntu.com
      linux-2.6$

      So, who is this "we", "we" are talking about?

    6. Re:proprietary firmware by not_hylas(+) · · Score: 1
      --
      ~hylas
    7. Re:proprietary firmware by Anonymous Coward · · Score: 1, Informative

      Why so snarky?

      Are you just naive, or English is not your first language?

      The GP was saying "we" as in "other than me or the people I know around me". The parent than pointed out that the GP has an Ubuntu address, Ubuntu is believed (justly or not) to not contribute much to the Linux community and specifically have a history of making grand proclamations about what people other than them need to be doing to improve the Linux experience (whether or not they are right doesn't matter, the Linux community is built of anti-establishment types who resent being told what they should do regardless of justification).

  7. "I wonder whether China..." by Anonymous Coward · · Score: 0

    "Bad, bad Chinks!" Yeah, because the CIA does not spy at all.

  8. The NSA by characterZer0 · · Score: 1

    undetectable backdoor inside hardware.

    This perhaps explains why the NSA has its own chip fabrication plant.

    If the NSA broke in and stuck a small device into an empty PCI slot in your computer, would you notice?

    --
    Go green: turn off your refrigerator.
    1. Re:The NSA by coolsnowmen · · Score: 1

      In your scenario, the "broke in." Under everyday circumstances, I might not search my desktop for extra parts, but if I find a broken window/door. I might search my apt a little more rigorously.

    2. Re:The NSA by H0p313ss · · Score: 3, Funny

      undetectable backdoor inside hardware.

      This perhaps explains why the NSA has its own chip fabrication plant.

      If the NSA broke in and stuck a small device into an empty PCI slot in your computer, would you notice?

      Now here's a good reason to use an iPad or macbook.

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    3. Re:The NSA by Manfre · · Score: 1

      Yes. My case has a window and it has no empty pci slots.

    4. Re:The NSA by Lunix+Nutcase · · Score: 1

      If the NSA broke in and stuck a small device into an empty PCI slot in your computer, would you notice?

      Protip: The NSA doesn't do any real field work such as what you describe. If such a scenario were to happen it would be done by the FBI or the CIA. You seem to have fallen for the wildly inaccurate portrayal of the NSA from Hollywood and TV.

    5. Re:The NSA by icebraining · · Score: 1

      I carry my laptop with me almost always. Not because I'm paranoid, it's just useful.

    6. Re:The NSA by Anonymous Coward · · Score: 0

      If the NSA broke into Asus' president's house and pointed a gun at his wife, saying "you're adding this circuit to your motherboards," and then that manufacturer sold their board to newegg who sold it to you, would you notice?

    7. Re:The NSA by Anonymous Coward · · Score: 0

      Surely, you are joking, Mister Bond?

    8. Re:The NSA by Anonymous Coward · · Score: 1, Interesting

      Well, actually you can't prove they aren't directly involved in field work because the agency is exempt from publishing exactly what they do under joint domestic investigations with the FBI (which is probably more common than anybody would like to believe).

      Certainly the feds aren't going to "break in" and plant such a device, but who's to say the hardware we buy doesn't contain such hidden malware from the production line? All hardware sold in the US was "bugged" during the cold war because 1% of it ended up in use by foreign powers... fax machines and CRT monitors were designed to facilitate remote data collection...

    9. Re:The NSA by Lunix+Nutcase · · Score: 1

      Well, actually you can't prove they aren't directly involved in field work

      This is completely different to what I was saying. Sure, they may be helping in field work done by other agencies, but there aren't "NSA agents" going around as a law enforcement agency breaking into people's houses, etc. Such things are done by the FBI or the CIA. Sorry, but despite what movies, TV and over-dramatized books have told you, that is pure fiction.

    10. Re:The NSA by mrsteveman1 · · Score: 1

      Yes, because most of my systems don't have PCI slots. It would definitely be noticeable.

    11. Re:The NSA by JWSmythe · · Score: 1

          In my home machine? As a matter of fact, I would. It has a clear side, and an illuminated fan. I didn't get it for that purpose, it was just the cheapest case that the store had, that would do the job. It sits where I can see the inside of it while I'm using the computer. It only sits where I can see it, because it was the only place to put the machine. It is helpful to glance in to see if there is dust in the heatsinks or fans.

          I know every wire and component that is suppose to be there, since I built it myself. They can install anything they'd like. Actually, I invite them to, but anything they leave on my property is considered a "gift" to me, to do with as I please. :)

         

      --
      Serious? Seriousness is well above my pay grade.
    12. Re:The NSA by H0p313ss · · Score: 1

      Surely, you are joking, Mister Bond?

      *slowly draws his Walther PPK from it's custom shoulder holster*

      Some things I never joke about Mr. Gates...

      *fade to black*

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    13. Re:The NSA by JonySuede · · Score: 1

      I would but then I am a passively cooled open case kind of guy.

      --
      Jehovah be praised, Oracle was not selected
    14. Re:The NSA by hAckz0r · · Score: 1

      If the NSA broke in and stuck a small device into an empty PCI slot in your computer, would you notice?

      They don't need to. Its very likely your machine has a re-flashable bus controller, CPU microcode, GPU, or a network controller card installed, so the PCI slot device is really a moot point from the sited article. Each device has its own processor and flash memory used to (re)program it. If it has direct access to the hardware bus or any devices DMA controller it can modify your kernel on the fly. No "special" PCI device is required for this kind of hack. If 'they' (whom ever 'they' might be in your specific case) want to hack your machine then they have all the hardware need to do the job already.

    15. Re:The NSA by jimicus · · Score: 1

      IIRC there's some evidence to suggest that they're just as able to plant a software backdoor as a hardware one.

    16. Re:The NSA by Anonymous Coward · · Score: 0

      My room is such a mess, that if they broke in to install something, they may break something trying to get out!

    17. Re:The NSA by Captain+Centropyge · · Score: 1

      Seriously..? Are you smoking crack? Plenty of motherboards still have one or two PCI slots on them to make use of some older hardware.

      Here are a few examples for you... as in, nearly 200 examples: Motherboards w/ PCI slots

      --
      Bite my shiny metal ass!
    18. Re:The NSA by Captain+Centropyge · · Score: 1

      That was my own reading failure... thought you said "most systems" and not "most of MY systems"... can I mod myself down..?

      --
      Bite my shiny metal ass!
    19. Re:The NSA by JWSmythe · · Score: 1

          Nah, they'd never do that. :)

          Really, my sympathies to them if they do. I kinda of habitually switch drives, wipe them out and do clean installs of different OS's, etc, etc. Their best best for finding out what I know is either bugging the rooms (even easier tech). Or the classic no-tech abduction and interrogation. Oh, I mean detaining a potential person of interest and questioning. :)

          Hmm, is that silent black helicopters I hear hovering overhead? Let me go check.

      --
      Serious? Seriousness is well above my pay grade.
    20. Re:The NSA by kilfarsnar · · Score: 1

      Nah, if they really did it, they would just key in. You would never know they had been there.

      --
      "What the American public doesn't know is what makes them the American public." -Ray Zalinsky (Tommy Boy)
    21. Re:The NSA by HotNeedleOfInquiry · · Score: 1

      And you read that off of an NSA press release?

      --
      "Eve of Destruction", it's not just for old hippies anymore...
    22. Re:The NSA by mrsteveman1 · · Score: 1

      Ohhh sorry, can't mod yourself down. However we would also accept a pie in the face, glass of water dumped over the head, or the popular "stand on the kitchen table and try to do a backflip".

      Did you have fun playing?

    23. Re:The NSA by Swave+An+deBwoner · · Score: 1

      If the NSA broke into Asus' president's house and pointed a gun at his wife, saying "you're adding this circuit to your motherboards," and then that manufacturer sold their board to newegg who sold it to you, would you notice?

      As a matter of fact, yes, because the Asus president's 10 year old daughter twittered "American spies just broke in and threatened to shoot Mommy unless Daddy adds some extra crap to his motherboards. LOL LOL LOL"

    24. Re:The NSA by IICV · · Score: 1

      If the NSA broke in and stuck a small device into an empty PCI slot in your computer, would you notice?

      Now here's a good reason to use an iPad or macbook.

      ... because then the NSA won't have to break in?

      I mean, Apple almost certainly keeps track of everything you do on iTunes, the App store, and probably has all sorts of app instrumentation available that's either already on or can be turned on. And on the MacBook front, who knows what they could turn on if they were asked nicely? Almost all the software you're using is Apple's, after all.

    25. Re:The NSA by Anonymous Coward · · Score: 0

      undetectable backdoor inside hardware.

      This perhaps explains why the NSA has its own chip fabrication plant.

      If the NSA broke in and stuck a small device into an empty PCI slot in your computer, would you notice?

      The question is: if the NSA broke in and stuck a small device into an empty PCI slot in my computer, would I CARE?
      Sure, most people would care. But I don't have any dirty secret in my computer. If you have nothing to hide, you have nothing to fear (I guess).

  9. Yes They Are! by hashish16 · · Score: 1

    Chins is absolutely doing this and the DoD, NSA, and CIA are aware of the activity. Honestly, they don't care about regular consumers, but govt. officials and employees are banned from having Chinese manufacture equipment during official business/work.

    1. Re:Yes They Are! by mlts · · Score: 1

      One probable answer to this is having the motherboards outsourced, but have a TPM-like daughterboard made in the US under tight working conditions and supervision. This won't protect against all hardware attacks, but at least there will be code in hardware to start with a chain of custody and tamper resistance.

      Since TPM chips are not part of the active boot process, the BIOS doesn't know if its signature is valid or not. All it does is scan the next part, pass the hash of the result to the TPM, then call the next chunk of code in line. Finally, there is a point where the OS asks the TPM for the encryption keys, and if the BIOS, MBR, and other parts of the machine have not been touched, it will hand them over.

    2. Re:Yes They Are! by Anonymous Coward · · Score: 0

      but govt. officials and employees are banned from having Chinese manufacture equipment during official business/work.

      This is total bull. I do "official" government work all the time on Dell computers with the same bog standard, Chinese-manufactured hardware as what every consumer buys. I doubt you can even cite a single official source for such a silly claim.

    3. Re:Yes They Are! by NatasRevol · · Score: 1

      The DoD, NSA and CIA are not only aware of the activity, they're doing the same thing.

      --
      There are two types of people in the world: Those who crave closure
    4. Re:Yes They Are! by Anonymous Coward · · Score: 0

      I don't think you need to bother questioning the credibility of a poster named "hashhish16".

    5. Re:Yes They Are! by LordLimecat · · Score: 1

      If the motherboard is tampered with, why would a daughterboard plugged into a MoBo bus be any more likely to know? Cant the MoBo simply lie?

      There isnt a solution that consists of "plug this device into your [network | motherboard | USB slot]. If this is a real risk, and its really worth spending time on, consider changing manufacturers; but dont forget that, until you make the device from start to finish, you can never know with certainty that its "clean".

    6. Re:Yes They Are! by hashish16 · · Score: 1

      Seriously? First my real name is actually embedded in there (Coward). Second, i've had that handle since the mid 90's. Third, I had an intimate relationship with an employee of one of those organizations. And they admitted not just PCI style intrusions. They described that most Chinese electronics, e.g. mp3 players, dvd-rom drives, thumb drives, all have some soft of malicious code.

    7. Re:Yes They Are! by Lunix+Nutcase · · Score: 1

      And yet you're claim is entirely wrong. I've been inside government agencies and offices and bog-standard Dell computers are used in all sorts of government agency for "official" (and classified) work. You basically don't know anything of what you are talking about.

    8. Re:Yes They Are! by vandamme · · Score: 1

      ...and my government work was done with a secure operating system from the state of Washington. None of this free stuff from Africa or wherever it's from.

  10. Not again by Anonymous Coward · · Score: 0

    These stories appear over and over, but this kind of trick is almost useless because the manufacturer does not know on which machine their device will be installed and so has no way of knowing how it's spying is going to work. If it appears on every device then you've got a logistical nightmare trying to figure it out. And, why would you put it in hardware when the trail of evidence will lead directly back to you if it is found out??? Entirely stupid.

  11. well that's... brilliant... and fucking scary. by Anonymous Coward · · Score: 0

    well that's... brilliant... and fucking scary.

  12. If you're close enough to install new hardware ... by petes_PoV · · Score: 0

    ... you're probably close enough to image the disk(s) and futz around with the data your hack is trying to access remotely. This is only a hack that would work to target a specific machine, runnning a specific O/S. Presumably before the expansion ROM tries to alter kernels it does a quick check to make sure the box is actually running the O/S and architecture it's intended for. Otherwise you'll have an awful lot of Windows users buying this card and returning it when it scrashes their PCs.

    --
    politicians are like babies' nappies: they should both be changed regularly and for the same reasons
  13. (Slashdot reply) Kind of old news by Anonymous Coward · · Score: 0

    If no-one really saw this coming, blame you. In the 90's one could already mail order devices which would plug into the ISA/VESA bus, which could restore the system to the "original" state.

  14. how do you hide it from QA? by alen · · Score: 4, Insightful

    everyone knows it's easy to slip backdoors into hardware, but hiding it is the hard part. every fabless chip maker does spot checks of their products and will find these backdoors. at the very least they will find that the shipping products aren't like the ones they designed with extra circuits.

    anyone with data that's worth keeping secret will have it behind firewalls and all kinds of security appliances that will start flashing alerts if there is traffic to a high risk geographic area

    1. Re:how do you hide it from QA? by Manfre · · Score: 1

      The same way viruses on usb keys slip past QA.

    2. Re:how do you hide it from QA? by Anonymous Coward · · Score: 1, Insightful

      Not to mention that it only has to be found in use once, and traffic is traffic. Something funny leaving the network gets a lot of attention in certain places - particularly the ones worth installing a hardware backdoor for.

    3. Re:how do you hide it from QA? by Samantha+Wright · · Score: 2, Insightful

      You don't: you own the whole chain. There are plenty of companies that are now wholly Chinese—consider, for example, that the NASA crew on the ISS uses Lenovo T61p Thinkpad laptops for all of their personal computing needs. There's no QA going on there that Lenovo can't control or manipulate if the Chinese government covertly asks them to. The chips involved in making the system never get shipped across the ocean prior to final assembly.

      Furthermore, who says you can't slip the modified chip in at the last stage? A backdoor that's only shipped to your target is less likely to be found than one you ship to every customer in the US.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    4. Re:how do you hide it from QA? by Anonymous Coward · · Score: 0

      therefore you bribe Microsoft and warn them to do their patriotic duty and make/leave some backdoors for you!

    5. Re:how do you hide it from QA? by TheLink · · Score: 1

      For many companies, QA is unleashing the product to unsuspecting customers.

      --
    6. Re:how do you hide it from QA? by alen · · Score: 2, Informative

      i've worked for Uncle Sam for 9 years. the government buys their IT crap from CDW and the same companies corporate america buys from. one time i tried to order laptops direct from Dell and it took months of getting special permission to get it done.

      and the government buys their IT crap little by little like everyone else. a PC here, a server the next month. a few servers and storage a few months later when there is money. one time they bought layer 2 switches in the 1990's which sat around for over a year because there was no money for the contract to install them. at the end of the year a lot of the "unspent" money gets spent on wishlists and you may have hardware bought one year and the labor paid for the next year

    7. Re:how do you hide it from QA? by orasio · · Score: 1

      everyone knows it's easy to slip backdoors into hardware, but hiding it is the hard part. every fabless chip maker does spot checks of their products and will find these backdoors. at the very least they will find that the shipping products aren't like the ones they designed with extra circuits.

      anyone with data that's worth keeping secret will have it behind firewalls and all kinds of security appliances that will start flashing alerts if there is traffic to a high risk geographic area

      That's funny.
      You mean that I shouldn't mind if my servers phones home to a low risk geographic area, but they should raise an alter if they ever get hits from Nigeria or some other foreign country? (Disclaimer: I live in foreignland, too)

    8. Re:how do you hide it from QA? by Anonymous Coward · · Score: 0

      No, it's called "Trusted Computing", and this level of capability was built right into it. It had many purposes: one of them, the one that paid the bills for the developers, was the implicit DRM. Another use, though, is control of the boot process: signed tools control the boot process and access to all hardware. But just because a tool is "signed", does not mean it's safe, especially from a malicious owner of the relevant software keys. This technology was becoming ubiquitous and was planned for integration into CPU's, It's also now required for all military PC's.

      http://en.wikipedia.org/wiki/Trusted_Computing

    9. Re:how do you hide it from QA? by Anonymous Coward · · Score: 0

      "Something funny leaving the network gets a lot of attention in certain places"

      It's the same thing in prisons, but if it's gone it's gone, no matter the attention it gets after the fact.

      OTOH nobody beaks into prisons to install hardware.

    10. Re:how do you hide it from QA? by nospam007 · · Score: 1

      "they should raise an alter if they ever get hits from Nigeria or some other foreign country?"

      Only if the royalty bit (at offset 419) is set in the case of Nigerian data.

    11. Re:how do you hide it from QA? by LordLimecat · · Score: 1

      Riddle me this: Those security appliances that would catch this, where are they manufactured? Where does their generic Intel (in many cases, sonicwall, cisco, etc) or ARM cpu come from?

      For that matter, how sure are you that those little black-box security devices dont have PCI buses (last I checked, many did)?

      IDS systems can be rooted too, you know; this threat doesnt go away just because you add ANOTHER potentially infected device to your network.

    12. Re:how do you hide it from QA? by LordLimecat · · Score: 1

      They use CDW-G, not CDW. Same company, but differnet branches, which would make it easier to carry off the above attack.

    13. Re:how do you hide it from QA? by Anonymous Coward · · Score: 0

      everyone knows it's easy to slip backdoors into hardware, but hiding it is the hard part. every fabless chip maker does spot checks of their products and will find these backdoors. at the very least they will find that the shipping products aren't like the ones they designed with extra circuits.

      As per this quite old story, hiding malicious circuitry is easy enough that there are serious concerns about it. A moment's thought will reassure you that Moore's law works against us. The intel i5 has 774 million transistors, enough that a significant number of them are simply 'rounded off' when talking about them. The intel 286 had 134,000 transistors, again likely rounded off. So even with back-of-the-envelope calculations a more-than-enough-for-bad-things 286 is capable of being 'lost in the noise' of a modern CPU.

      But let's be fair, that is just a transistor count. How many would be required to perform a malicious function? Ideally they would be situated in specific spaces where data across a bus is a constant, perhaps in a cache or in one of the MULTITUDE of pipelines in a CPU/GPU. You need to match a specific pattern, and substitute a new one. One possibility is a LSFR that is checked against some serial bus over and over until the bitstream matches exactly. Based on some totally reliable random internet post, building an LSFR should cost far less than 1000 transistors. I have no electronics background, so that factor is probably off by at least an order of magnitude.

      So are you gonna find 1000 transistors in the middle of a few hundred million?

    14. Re:how do you hide it from QA? by jimmyswimmy · · Score: 1

      QA is a process of verifying that the part performs to specs. Unless there is a spec which says that "this part will not install malware" they aren't going to look for it. QA is generally an overworked and underappreciated function of a large manufacturer and they don't have time to do extra.

      In addition, in most any company large enough to have a real QA department, the QA folks operate under a strict regime of policies, procedures and audits to verify such. Which means they aren't really allowed to screw around looking for something else. And if the spec actually requires that the part not install malware, then you have the case which a sibling poster described... the malware must be crafted in such a way as to hide its presence. I can think of at least one pretty easy way to do that (only attempt to install malware after X power cycles or after running X time...) and there are likely plenty.

      An insider capable of installing this capability in nascent hardware would likely be able to circumvent any QA protections.

      --

      Just my $0.55 (US inflation, 1774-2008, for $0.02)
    15. Re:how do you hide it from QA? by Anonymous Coward · · Score: 0

      i've worked for Uncle Sam for 9 years. the government buys their IT crap from CDW and the same companies corporate america buys from. one time i tried to order laptops direct from Dell and it took months of getting special permission to get it done.

      Which is good in a way for security. If the sensitive departments are ordering from the same suppliers as millions of other customers, it makes it very difficult to get backdoors in (unless you backdoor /everything/.)

    16. Re:how do you hide it from QA? by uninformedLuddite · · Score: 1

      I would guess that if the NSA has their own chip fabrication plant then slipping the compromised hardware into someones computer is a done deal with sneak and peek type warrants

      --
      The new right fascists are bilingual. They speak English and Bullshit.
    17. Re:how do you hide it from QA? by Geminii · · Score: 1

      Will they be doing the checks with computerised checking machinery? Or purely optical microscopes and the Mk 1 eyeball? And are the checkers going to be the people who designed the chips in the first place, or are they going to be getting their ideas of what the chips _should_ look like from digital plans?

  15. No, this is *exactly* why... by andymac · · Score: 1

    The NSA has their own chip fab plant - I bet they've been doing this for years (embedding their own backdoors in the h/w). How better to manage hardware assets that are compromised in the field?

    --
    "Content's a bitch."
  16. The problem with that... by thewebsiteisdown · · Score: 1

    The flaw in this otherwise sinister scheme would be: What kind of effort would it take, on the part of the would-be bad guys, to ensure that the components in question found their way into machines that were of any consequence? And once discovered, the retribution to the manufacturer would be harsh and most likely final, as in going out of business final. I am not saying that it would be impossible, only difficult in the extreme. I imagine that this kind of scenario would be so improbable (and since we are here talking about it, not likely to slip under the radar of people who need hardened machines, ergo the NSA chip factory) as to be a huge investment of time for the would be attacker without any real chance of success.

    1. Re:The problem with that... by Rockoon · · Score: 1

      What kind of effort would it take, on the part of the would-be bad guys, to ensure that the components in question found their way into machines that were of any consequence?

      I'm not sure you understand the goals of blackhats. Even as far back as the early 80's its always been a Law of Large Numbers game.

      If you can land a million infections, then there is bound to be some value found somewhere within the set of infected machines. You don't look to achieve a specific goal (such as "infect a DOD network") .. instead, you try to infect as much as possible (and if there arent any DOD machines, there still might be FBI machines, SEC machine, etc..)

      ...and in THIS day and age, usually you would IGNORE those machines and go for the much more massive value of stealing banking info from a million soccer moms instead of the fuck-with-a-government stuff, where the leveraging of which requires all sorts of specialties (and risk.)

      --
      "His name was James Damore."
    2. Re:The problem with that... by Peeteriz · · Score: 1

      Your claim about manufacturers getting punished is false.

      There have been multiple incidents where a manufacturer has distributed infected devices, many of these cases reported and discussed here on slashdot. For example, driver cd's with viruses, hard drives with root-kits on them already, infected usb flash drives, pre-infected home wireless routers and even the classical story of Sony audio cd's with rootkits. No significant effect has resulted, definitely no manufacturer went out of business.

    3. Re:The problem with that... by thewebsiteisdown · · Score: 1

      Sofware infection is one thing, manufacturers can claim ignorance, disgruntled employees, or, as in Sony's case, claim is was DRM. Designing a physical circuit for the purpose of intentionally harvesting information from a device is quite another. Let Dell ship machines to DOJ with hardware backdoors and see how much they bleed cash.

    4. Re:The problem with that... by Peeteriz · · Score: 1

      You can claim or blame all the exact same factors for infected flash-memory on a motherboard that you can blame for an infected flash-memory on an USB stick.

      You don't need to "design a physical circuit", TFA refers to code in the chips sitting on PCI bus (i.e., any addon card and many parts of motherboard), and there is almost zero difference in the process to change what code is written on them and what code is written on a cd that you ship - whatever file an employee uploads, it's put there; and if the code works, then the QA process succeeds. And many of the chips are re-flashable by software afterwards, so a single targeted device can be infected deliberately as well.

  17. you don't need to open the case to flash a rom by Joe+The+Dragon · · Score: 1

    you don't need to open the case to flash a a rom.

  18. Nothing new, but somethings are worth repeating by SmallFurryCreature · · Score: 4, Interesting

    Your right, this is well known... but not by everybody. Every minute new babies are born... grow up and have the told everything that everyone already knows, because they don't.

    So every second, new slashdotters come on and have to learn that yes, you have to be able to trust the hardware you use for security to mean anything. See, you ALREADY left a IMPORTANT part out. You say "you have to trust your hardware", this implies that you just have no choice but to trust it. In reality, you got to ask yourself, who designed the hardware I am relying on and can they and their suppliers/contractors be trusted. Answer: rarely. Reality is that most of us just ain't intresting enough to monitor at high levels.

    This always amuses me with people at say Freenet. All of them seem so pampered in our western nations they can't conceive of how a true dictarorship can work. Encrypt? Who sold you that CPU that is doing the encryption? Darknet? When all the traffic flows through a government router. This is naive as saying that when you plug your lights straight into the grid, before the meter, the electricity company (the state) won't know about the 100 watt light streaming out of your windows...

    Fact: there are those who would like to spy. Fact: A good method is to get the place you want to spy on to have a device inside, you control and can use to get data out. Fact: Those who wish to spy, make PC's that are brought into the places that they want to spy on and contain the data they wish to get.

    If the Chinese AIN'T doing this, they are either afraid the west (and their own people) check all their hardware, ain't all that intrested because there are methods less likely to risk their trade or they are really stupid.

    The Chinese ain't stupid and the west doesn't check all the time. Leaves that China doesn't want to risk trade by making their products suspect if just one nerd with a packet sniffer finds something.

    It is worth keeping in mind however that the risk is there. Can the US afford to loose more and more of its chip production? We already saw what happens with rare earth materials. This stuff is all over the globe, the US got piles of it, Russia is drowning in it BUT it all seemed so easy to have ONLY the Chinese invest in mining it. Now the rest of the world needs years to get their own production up to scratch.

    Say China starts a war (against Russia for resources) today... how long can the US afford to get its war production up to speed without Chinese/Taiwanese goods? Goods that might at the flick of a switch all contain spyware?

    Gosh, maybe some generals should play Civ a bit more. See how things can change on a single turn.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

    1. Re:Nothing new, but somethings are worth repeating by Anonymous Coward · · Score: 0

      US afford to get its war production up to speed without Chinese/Taiwanese goods

      What production? The US has lost its manufacturing base. No more factories and no more people that are trained in manufacturing.

      The chips will be the least of our worries. If you cannot make ball bearings you have lost the war.

    2. Re:Nothing new, but somethings are worth repeating by Anonymous Coward · · Score: 0

      "SONS OF THE PATRIOTS?!"

    3. Re:Nothing new, but somethings are worth repeating by Lunix+Nutcase · · Score: 1

      Yeah except that tiny fact that the US is still the #1 manufaturing nation in the world. Hyperbole much?

    4. Re:Nothing new, but somethings are worth repeating by researcherguy · · Score: 1

      Hey I'm one of the "fellow researchers" that the OP was talking about. It's funny that people are saying how well known this is because I honestly haven't heard ONE person in any PC help forum suggest "Maybe you have a backdoor installed in your hardware and that's why not matter how many times you reformat, your still having problems with your PC." Actually almost 100% of the time, even suggesting something of the like gets you a "Man, you really are paranoid aren't you." or "Time to get out your Tinfoil Hat!". Yeah maybe this forum doesn't have as many kiddies or clueless "tech support" bots as others, but even people that seem to know their stuff either think it's just a conspiracy or it would be "Almost Impossible" to do. See the thing is... I've had this backdoor problem on the past 3 PCs. Completely different hardware for the most part on all 3. So if it's gotten to the point where a majority/all hardware has some kind of backdoor, we are getting to an epidemic stage. I have replaced the internet modem before too, to no effect. This mysterious hacker seems to have an encyclopedia of hardware codes and always manages to find me. Same for the OP. The hard part is, it's really difficult to know what hardware may/may be compromised. Short of sodering your own parts and doing your own programming. :)

  19. Seeing Peecees at the bank by lotho+brandybuck · · Score: 1

    Always terrifies me at the bank.. bunch of Lenovo Peecees, running windows. But when I think about it, what could China steal from us that we haven't been just throwing at them anyways?

  20. Why not go USB? by xiox · · Score: 1

    If you're going to the trouble of messing with PCI hardware, I'm sure one of these tiny circuits, which can be hidden in a USB socket, could be used to take over a machine remotely much more easily. Adding radio remote access would be pretty easy.

  21. How old is this story? by IndustrialComplex · · Score: 1
    --
    Out of modpoints but really liked a post? 1BDkF6TtmmeZ3yqXbz9yhdYVqRYnwFoXDj
  22. Tivo signed kernel bypass? by Anonymous Coward · · Score: 0

    Can this method be used to bypass Tivo's hardware security?

  23. Only in America NSA has its own chip plant by moxsam · · Score: 1

    to use this technique against Soviet Russia!

  24. Think again.. by sosaited · · Score: 1

    This perhaps explains why the NSA has its own chip fabrication plant."

    If you are implying that all of the hardware used at NSA, even all of their computers contain semiconductors fabricated by themselves, I would say Yeah Right

  25. I'm protected! by Anonymous Coward · · Score: 0

    My computer says "Designed in California!"

    1. Re:I'm protected! by Swave+An+deBwoner · · Score: 1

      Oooh! Shiny!

  26. Not the whole issue here... by hesaigo999ca · · Score: 1

    The issue here is not just the fact that they make their own chips, but that there hardware can not come into contact with any other hardware that might be compromised, as it could propagate and therefor compromise their network....it takes only one computer with this hardware backdoor (even a router) that ends up on the network talking with other pcs, and then wow, like a virus ends up spreading this one has access root on a machine from behind a firewall...anything is now possible.

  27. Seen this coming. by Datamonstar · · Score: 1

    I've been talking about this possibility for a long time and it has fallen largely on deaf ears. Here, now, we have a proof of concept (or at least practically a POC) for a irremovable attack vector. I've stopped using 2nd hand hardware because I saw the possibility for these sort of shenanigans. I also remember reading a forum where people were attempting to "repair" bad DIMMS by overwriting the firmware with different revisions. If that is the case, then could this method be extended to utilize a SO-DIMM of DDR3 or similar? That's a scary thought, indeed.

    --
    The eternal struggle of good vs. evil begins within one's self.
  28. Sounds like a game me and my girlfriend play by tys90 · · Score: 0

    Hide the hardware in the backdoor. Unfortunately, we stopped playing because she said it was too detectable.

  29. The "remote maintenance" risk. by Animats · · Score: 1

    What's worried me for some time are the various "remote maintenance" schemes built into network controllers. See, for example, Intel's "Active Management Technology". This is Intel's successor to the Intelligent Platform Management Interface. These have a protocol stack built into the network board, with connections to other parts of the system strong enough to power the machine on and off, patch the disk, and do other drastic system changes. AMT is easier to attack from a distance than IPMI; it uses SOAP, HTTP, and TCP (on ports 16992 through 16995, which had better be blocked at your firewall), while IPMI used its own specialized protocol over UDP.

    All that prevents taking over a machine with this mechanism is that the network controller is supposed to ship with no keys loaded. A "backdoor" would simply consist of pre-loading some crypto keys at the factory, or somewhere else in the supply chain. Considering the amount of hostile junk that routinely shows up on new USB sticks, that probably wouldn't be hard to accomplish.

    A true "hardware level" attack for IPMI or AMT would be to ship a network controller which had keys pre-installed and enabled, but reported that remote management was disabled. There would be no way to find such a "backdoor", short of grinding open the network controller chip and reverse engineering it with a scanning electron microscope. There are special purpose systems for doing exactly that, used for reverse engineering IC designs, but this is e difficult and expensive process.

    1. Re:The "remote maintenance" risk. by LordLimecat · · Score: 1

      Keep in mind that in order to connect, you need to get through a firewall, which means you need an explicit allow entry, and if youre running NAT (which tbqh I dont see why the workstations WOULDNT be natted) you also need an explicit forward rule (all this precludes uPnP, but really who would have THAT enabled ;) ).

    2. Re:The "remote maintenance" risk. by Animats · · Score: 1

      Keep in mind that in order to connect, you need to get through a firewall, which means you need an explicit allow entry, and if youre running NAT (which tbqh I dont see why the workstations WOULDNT be natted) you also need an explicit forward rule (all this precludes uPnP, but really who would have THAT enabled ;) ).

      Not necessarily. The attack could be staged by using a cross-site scripting vulnerability to allow Javascript on a web page to make a call via XMLHttpRequest to the local machine. You can't quite exploit this by talking to "localhost", because the input has to come in over the LAN to reach the management controller hardware in the network interface, but you might be able to get the local router to reflect packets back to the local host.

      Against a server farm, if you can get something running on any server on the farm, you can usually talk to other servers in the same farm, and try to take them over via this attack.

  30. Resistance is futile. by herojig · · Score: 1

    Resistance is futile. It was true back then, and still true today.

    --
    I think therefore I can't be ~TTNH
  31. hmm how about getting rid of bios by sxpert · · Score: 1

    and use coreboot instead
    there's no need to execute rombios to load drivers for dead OSes when the linux kernel has all required drivers.

  32. Subject goes here by Anonymous Coward · · Score: 0

    Content goes here

  33. This is not hiding in hardware by darksabre · · Score: 1

    The software on the expansion ROM is just a low level driver. So the attack described is about compromised firmware, not hardware. No need for special chip fabs at NSA secret facilities or physical access to the machine. Any one using flashrom or similar can install such code in a flash expansion ROM.

  34. remote root access by Anonymous Coward · · Score: 0

    > The post describes how to install a backdoor in the expansion ROM of a PCI card, which during the boot process patches the BIOS to patch grub to patch the kernel to give the controller remote root access ..

    Without physical access or remote root access how is this rootkit implanted in the first place?

  35. Example from fiction by domatic · · Score: 1

    The second book of Donaldson's Gap Series had a subplot around such a hardware attack. Ships in this series actually had Data Officers who were in charge of shipboard I.T. The Data First of an outlaw vessel tried to extort the Captain with a logic bomb in the ship's systems that he had to periodically stave off. This was deadly because without the computers you had no way of knowing where you were among other problems. It turned out he had hidden his virus in doctored interface cards so that it would keep coming back even if you reloaded the computers from a protected store.

  36. Thank you, IBM by Anonymous Coward · · Score: 0

    Thank IBM for tossing China one of the best avenues for espionage and subterfuge: Lenovo.

    And of course, we have Microsoft giving China access to Windows source code.

  37. Whose idea was it to put Flash ROM in everything? by Anonymous Coward · · Score: 0

    What the hell is wrong with good old PROM? It's not like any more than a tiny fraction of users are ever going to legitimately upgrade the firmware anyway. Making it modifiable accomplishes nothing other than adding a new place for malware to hide.

    I miss the days when ROM actually meant read-only memory.

  38. Diverse Double-Compiling counters "Trusting Trust" by dwheeler · · Score: 5, Informative

    The "trusting trust" attack is a nasty attack, but there is a counter-measure. Diverse double-compiling can detect compiler executables subverted by the "trusting trust" attack. See my paper for more, if you're curious.

    --
    - David A. Wheeler (see my Secure Programming HOWTO)
  39. The masks are evidence by Lazarian · · Score: 1

    If companies are concerned that fabrication contractors might be putting backdoors right onto the silicon, then maybe they should require that the masks for the chips be returned, and do random spot testing to see if they match up. Then they can be assured that the chips they had contracted out comply to their design. Obviously this wouldn't work if designing was also contracted out, though.

  40. Good thing I have a mac... by Anonymous Coward · · Score: 0

    Because macs are made in, let's see... oh, never mind

  41. Not really... by CSFFlame · · Score: 1

    I love how all this is called "undetectable". When you could pick it up with a simple network monitor.

    1. Re:Not really... by ifrag · · Score: 1

      What if your network monitor is infected with an exploit in the hardware? One that just happens to make the other one effectively invisible as it neglects to show anything about it. At some point you have to point to a piece of hardware and know for certain there is nothing funny about it.

      --
      Fear is the mind killer.
  42. don't stare at PC's look at routers and switches by kubitus · · Score: 1
    that is where the espionage software sits nowadays. Echelon was far too expensive.

    A Trojan Boot Loader in the Firmware and the serial number known to the NSA.

    hey this people have something interesting? whats the serial No of their routers?

    Lets send them via Google some Search routine which monitors their in-house traffice.

    -

    BTW HP hardware has nice little chips which can not be switched off by the BIOS!

    Andf I guess some other vendors have it too!

  43. add special private plants to the mix by swschrad · · Score: 2, Informative

    there are also a very limited number of secured chip fabs in the US, plants in which security is so well controlled that they are licensed to produce sensitive silicon for the government. IBM's fab in North Burlington is known to be one of them. you used to find all sorts of custom logic with IBM on the top in things like ethernet cards and video chipsets and the like. no more. no capacity.

    --
    if this is supposed to be a new economy, how come they still want my old fashioned money?
  44. The C compiler backdoor actually happened by grandpa-geek · · Score: 1

    I once met a former colleague of theirs at a trade show. He told me that they had actually put the backdoor into the C compiler. They had been receiving calls at all hours from executives who demanded that systems be fixed ASAP but did not know the root login information. The backdoor set up a predefined root account whenever compiling a program named "login". It enabled them to get in and do the fixes without needing to contact the system administrators.

    1. Re:The C compiler backdoor actually happened by Swave+An+deBwoner · · Score: 1

      I once met a former colleague of theirs at a trade show. He told me that they had actually put the backdoor into the C compiler. They had been receiving calls at all hours from executives who demanded that systems be fixed ASAP but did not know the root login information. The backdoor set up a predefined root account whenever compiling a program named "login". It enabled them to get in and do the fixes without needing to contact the system administrators.

      Wouldn't that have required also that the compiler be setuid root to enable it to modify the root entry for the password file?

    2. Re:The C compiler backdoor actually happened by grandpa-geek · · Score: 1

      I once met a former colleague of theirs at a trade show. He told me that they had actually put the backdoor into the C compiler. They had been receiving calls at all hours from executives who demanded that systems be fixed ASAP but did not know the root login information. The backdoor set up a predefined root account whenever compiling a program named "login". It enabled them to get in and do the fixes without needing to contact the system administrators.

      Wouldn't that have required also that the compiler be setuid root to enable it to modify the root entry for the password file?

      The change had nothing to do with the password file. The predefined account was inserted by the compiler binary into the compiled login binary. Its existence was known only to the people who programmed the compiler and produced the distributed compiler binary.

  45. Stupid NSA by killmofasta · · Score: 0, Troll

    You dont need a Fab ( or fap if you prefer ) plant to fix BIOS hacks, you need only decompile the BIOS, and reverse the hack.

    Since the author of the article does not really understand the 'Reflections on trusting trust' very well,
    he just needs to consider that: Hardware is really just a faster version of software, i.e. anything you do in logic hardware you can simulate in software, so, the hardware is really running a program. You should be wary of rogue chips, that have backdoors built in! They could trigger without the BIOS!However, your going to find this out pretty fast, with a packet sniffer, and rogue hardware sending out encrypted packets.

    and then some pesky Linux kernel hacker is going to find out, publish your hardware prefix, and all your cards are belong to us!
    But of course, the hardware could pick a MAC address hardware prefix at random, but that would be traceable too!

    It all sounds so cool and theoritical, but BIOS/Silicon guys in Taiwan are so busy trying just to get the damn device out the door, relitivly bug free, they dont have time to add spyware to the BIOS/Silicon, so you are going to get a hacked chop job done by some failure of a chinese postal employee? Someone is going to find out, really, they will spot the network traffic, and then your whole house of cards is going south, and then the word is going to get out, and they are going to find the people responsible and TP their house!

    Spam is a tolerable social evil, as well as viruses/spyware. The intelligentsia keep them well at bay, but a BIOS/Silicon backdoor? Your going to need a custon FAB place to do it, and somehow ... you are going to get caught, either on the front end, ( where was it fabbed ) or on the back end ( where the backdoor crap collects ). Didnt they just take down some russian guy? Dont do the crime if you can do the time!

    I have no fear....( and 40 years of experience )( p.s. I read the reflections paper while I was looking over the GNU C Compiler ... 1.0 circa 1987 )

    1. Re:Stupid NSA by Anonymous Coward · · Score: 0

      You do not yet know power.

      If you think that reprogramming a silicon chip is the best that someone with a fab lab can do, think again.

      There are more ways of getting data out than via encrypted packets, just not quite as convenient.

  46. Yes, The Chinas are doing this. by Anonymous Coward · · Score: 0

    There was an incident about 2 years ago about fake Cisco products in Canada. They were made in China and contained unknown or "questionable" code added. A source close the matter and friend spoke on length about the hack and the dangers.

  47. Subversionhack by not_hylas(+) · · Score: 1

    Subversionhack
    From one of my previous posts:

    http://slashdot.org/comments.pl?sid=1821502&cid=33910412

    You have to realize, as myself and (my) a team of researchers have (finally) dug up, this is not new, nor unique.
    follow the link, which leads to other links - you'll see that this has gone from "you're insane", to "wow, they really can do that". in about three years.
    As the details trickle out it becomes more insidious as to "the ends to which means" we're dealing with.

    I'm happy people have quit discounting this hardware option, which doesn't necessarily need to be "acquired", it can be created from existing hardware, repurposed by chip-crowding, firmware "updates" and firmware / BIOS replacement code, you get it.

    --
    ~hylas
  48. Re:Diverse Double-Compiling counters "Trusting Tru by sco08y · · Score: 1

    Very interesting... After I read the trusting trust paper, I figured the only counter was a clean-room bootstrapping. But if I understand it correctly, DDC is something a motivated hacker could manage.

    I suspect the OpenBSD guys are going to love this.

  49. Perhaps the NSA chip fabrication plant... by Anonymous Coward · · Score: 0

    ...is where our government manufactures its own back-doored chips?

  50. NSA chip fab by Anonymous Coward · · Score: 0

    The NSA has had chip fabrication long before China knew what a chip was.

  51. Obligatory.... by Anonymous Coward · · Score: 0

    I'm safe. I'm running Windows.

  52. earlyer article. by theindustrialphreak · · Score: 1

    Are we Yanks setting ourselves up for disaster? on Thursday October 28, @06:30PM theindustrialphreak Comments: 0 Submitted by theindustrialphreak on Thursday October 28, @06:30PM theindustrialphreak writes "The question exactly are we setting ourselves up for intellectual property theft and plausible IT disaster (Industrial/political espionage/Terrorism) by outsourcing hardware/software level solutions as well as complete system builds to potential hostile foreign country's/city states? Remember during the cold war their were several DoD security threats based of malicious firmware injected into the micro-controllers inside printers not to mention several recent incarnations via bogus network hardware. Can we really trust FC based out of a society that has proven time and time again to violate basic human rights, and recently put rare earth element export embargo's on our allied nations? article about hardware http://www.pcworld.com/article/195791/us_agencies_crack_down_on_counterfeit_networking_hardware.html http://onlyhardwareblog.com/2010/10/building-backdoors-into-computer-chips/"

  53. You should hookup with a good trial lawyer. by Anonymous Coward · · Score: 0

    I see the biggest lawsuit in tech industry history...

  54. Re:Diverse Double-Compiling counters "Trusting Tru by Anonymous Coward · · Score: 0

    ... "compiler’s parent is compiled using a trusted compiler" ...

    Isn't the whole point of trusting trust that I don't have a trusted compiler?

  55. Re:Diverse Double-Compiling counters "Trusting Tru by spidr_mnky · · Score: 2, Informative

    Yes. In the purest form of DDC, you would need to implement a compiler, an OS to host it, and possibly the hardware to run that OS, from scratch. The saving grace is that it doesn't have to be a very good compiler, or a very fun OS to use, or a very fast computer. As long as it generates correctly compiled code, you can use it to compile your good compiler.

    Meanwhile, on your Dell running Red Hat, you compile your good compiler (we'll just say it's GCC) using your existing copy of GCC. Now you've got two second generation compilers. Their internal code should differ drastically, but their output should be identical.

    Use each of them to compile GCC once again, and you should have two identical executable blobs.

    In a less thorough version of the same exercise, you can just use two compilers that don't share a pedigree, and hence are unlikely to be infected with the same compiler-resident bug. Even in the strict form, however, you "only" have to generate a working compiler, not a highly optimized and highly optimizing compiler.

    It's not like it could be a weekend project for me, but it also doesn't mean duplicating 20 years of development work. You still end up with GCC (or whatever), and you add the ability to trust your code at the price of developing a compiler.

  56. How would you stop it? by Anonymous Coward · · Score: 0

    So the only way to keep my pron safe is to design and fabricate my own PC parts. I'll get right on that.

  57. Hide it in the ROM? by drolli · · Score: 1

    Thats not hiding it in the Hardware. A ROM is software and can be quite easily verified. Hide it in the design of some FSM, reacting on specific sequences, where you can overwrite data in the HWs RAM and control the PCI bus; that will not take more than thousand gates extra (you dont need to be fast) to do it. Unless somebody reverse-engineers the chip in detail, and maybe not even then, it will not be detected. If you do it right, you can even hide which code is necessary to access it.

  58. an alternate bootloader by Anonymous Coward · · Score: 0

    would fix that if it patches grub first use lilo

  59. Backdoor in Hardware by lsatenstein · · Score: 1

    I am lead to believe that some netbook certificates are stored in the eprom of the mother board. If the netbook is stolen, one notifies the vendor, and he blacklists the device. On every boot, the device checks the blacklist file, and if it is on it, the bios will not boot. It requires a factory reset that is not available to the netbook owner. So I am told. Is it true? I don't own a Netbook.

    --
    Leslie Satenstein Montreal Quebec Canada
  60. far more cheap for the US by Anonymous Coward · · Score: 0

    It's far more cheap for the US to create hardware-level botnets inside 1.4billion Chinese

  61. Would this get passed Defense+ by Anonymous Coward · · Score: 0

    How well would Comodo's Defense+ Catch something like this? Would it be able to get past it? According to the internet no known malware can get passed defense+