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."

3 of 206 comments (clear)

  1. 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
  2. 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.

  3. 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)