Slashdot Mirror


Persistent BIOS Rootkit Implant To Debut At CanSecWest

msm1267 writes Research on new BIOS vulnerabilities and a working rootkit implant will be presented on Friday at the annual CanSecWest security conference. An attacker with existing remote access on a compromised computer can use the implant to turn down existing protections in place to prevent re-flashing of the firmware, enabling the implant to be inserted and executed. The devious part of the exploit is that the researchers have found a way to insert their agent into System Management Mode, which is used by firmware and runs separately from the operating system, managing various hardware controls. System Management Mode also has access to memory, which puts supposedly secure and privacy focused operating systems such as Tails in the line of fire of the implant.

Their implant, the researchers said, is able to scrape the secret PGP key Tails uses for encrypted communication, for example. It can also steal passwords and encrypted communication. The implant survives OS re-installation and even Tails' built-in protections, including its capability of wiping RAM.

120 comments

  1. Socketed Firmware Here We Come by BoRegardless · · Score: 3, Interesting

    It's getting to where you don't trust ANYTHING.

    1. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 1

      I just write all my secrets in a paper notebook. Let's see the NSA root that!

    2. Re:Socketed Firmware Here We Come by Kkloe · · Score: 2

      thats is if you ever believed that computer were 100% secure

    3. Re:Socketed Firmware Here We Come by courteaudotbiz · · Score: 3, Informative

      If you read TFA, it says the attacker has to already have access to the remote computer to root the system, so being cautious in the first place should be OK, or at least sandboxing your hazardous activities in a VM could do the trick.

    4. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      The bean counters at the major companies won't let it and the NSA/CIA will make sure to stop it. The NSA/CIA no longer cares about defending the USA. Instead we should look at hacker groups to teach people how to mod their hardware and better protect themselves from nation-states and soon to be regular cyber criminals.

    5. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 1, Insightful

      That's not new. Strictly speaking, you cannot trust anything. And less strictly, the same. People have been saying this since the 80's (or before, i'm not old enough to know that), and are usually called paranoia.

      There are so many places malicious hard- and software can hide. So, unless you built your own computer with discrete components, and wrote your own software, there is almost no way you can verify everything.

      BIOS malware is nothing new. We also seen that malware can hide at places you'd normally not expect: your hard disks' firmware or usb interfaces. Software-wise there's the old 'can you trust your compiler' and related questions. Verifying software on any network-connected computer would even be harder.

      There's only 1 real solution to this problem: consider every computer as compromised. If you want it to be secure, your best bets are pen an paper, or a face-to-face meeting at a rock concert. It's a very annoying concept to consider each and every computer as compromised, but once you get used to it it's a great mental relief.

      Disclaimer: i'm not saying you should forget about applying any computer security (like running a real OS, update, verify, make your BIOS read-only by hardware jumper, etc etc etc). I'm just saying that despite all best effort, principally you should still consider each and every computer compromised.

    6. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0, Insightful

      What a stupid thing to say. You've gone nuts from living in the Slashderp bubble.

    7. Re:Socketed Firmware Here We Come by ArcadeMan · · Score: 3, Insightful

      You can't rootkit the boot ROM of early 8-bit computers. A simple power cycle and your computer is 100% clean.

    8. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      They recently announced their plans to immediately begin door-to-door anal fistings--I mean, "cavity searches." I think the notebook is the least of your worries.

    9. Re:Socketed Firmware Here We Come by gclef · · Score: 4, Insightful

      Yeah, but it immensely complicates incident recovery. Rebuilding a compromised system isn't enough if you can't trust the BIOS anymore. It's only a matter of time before the compromised BIOS' adapt to re-compromise the new BIOS as it's written, so re-flashing the BIOS of a compromised computer isn't a good long-term fix.

      Does this make a compromised computer basically a paperweight? That's going to turn IT into a really expensive scene really quickly.

    10. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      CIA will take care of that bit.

    11. Re:Socketed Firmware Here We Come by courteaudotbiz · · Score: 1

      Well then, let's just make your system secure enough so you can't be compromised in the first place: Firewall, up to date base OS, antivirus, antimalware, and do your crappy things in a sandbox (VM). Use your base OS for safe web browsing, documents editing, email. Use your VM for TOR, torrents and all other unsafe things.

    12. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      And this sort of stupid hubris is exactly how systems end up compromised.

    13. Re:Socketed Firmware Here We Come by g0bshiTe · · Score: 1

      Define "safe browsing", is that the same as getting a drive-by infection from a popular website?

      --
      I am Bennett Haselton! I am Bennett Haselton!
    14. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      How about we have a jumper that limits writting to BIOS that most be moved before the BIOS can be reprogrammed.
      Problem solved!

    15. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 1

      You can't rootkit the boot ROM of early 32-bit computers. A simple power cycle and your computer is 100% clean.

      We're not just talking about your Commodore 64. PCs ran for almost 20 years with ROM, not EEPROM.

    16. Re:Socketed Firmware Here We Come by Holi · · Score: 2

      Let me grab my latest hacking tool.

      "Hey, can you hand me that wrench"

      "Now, where were we, oh yeah, which is your favorite knee again?"

      --
      Sorry, teleporters just kill you and then make a copy. A perfect, soul-less copy.
    17. Re:Socketed Firmware Here We Come by courteaudotbiz · · Score: 2

      I think "safe browsing" depends on your paranoia level. You can always be more paranoid, but until I see this BIOS flashing attack grow to a large scale, browsing to serious, public, common websites seems to be still pretty safe. If you think you can be targeted by GCHQ/NSA-esque organisations, then you can increase your paranoia level.

    18. Re:Socketed Firmware Here We Come by ArcadeMan · · Score: 1

      We need to go back to BIOS stored in ROM.

    19. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      Then we can find the exploits w/ ROM now that we have millions of eyes on computer security instead of a few hundred.

    20. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      How about a trace on the circuit board to prevent BIOS programming with a jumper to prevent it if that trace is cut. That way, by default, you can't modify the BIOS, and there's a permanent sign in the hardware if someone has tampered with that. Not a problem for anyone who wants to update their BIOS, it just means there's a broken line of accountability from the manufacturer to the current BIOS state.

    21. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      People have been saying this since the 80's (or before, i'm not old enough to know that), and are usually called paranoia.

      Sounds about right. If I recall correctly, Vernor Vinge's The Peace War, first published in 1984, had something about the Tinkers having embedded trojan circuits and programs in the microchips controlling certain weapons systems. Even before that, in 1982, the CIA embedded an exploit in a control system whose software the KGB had swiped from a Canadian company which ended up sabotaging the Siberian Pipeline.

      Going back even further, in 1946 the Soviets presented a plaque of the Great Seal of the United States to the US Amabassador in Moscow, to hang in the embassy. Six years later it was discovered to house a passive listening device (activated by a radio beam). And there are several cases since of host countries embedding spying devices during construction of guest country embassies, on both sides of the Iron Curtain.

      Like the saying goes: Trust, but verify. (Ironically a Russian proverb, doveryai, no proveryai)

    22. Re:Socketed Firmware Here We Come by TheGratefulNet · · Score: 3, Insightful

      more than that, we need open source bios, and full disclosure of ALL info about intel and amd chips.

      lets just say, there are rumors about intel holding back design docs (so called 'yellow books') and you won't know ALL there is to know about your computer unless you get inside info about hidden cpu modes and such.

      the chain of trust has so many broken links, we'd have to reinvent computers from the ground up, at this point, to be truly secure. sucks, huh?

      --

      --
      "It is now safe to switch off your computer."
    23. Re:Socketed Firmware Here We Come by hyperar · · Score: 1

      Getting? You were never supposed to trust anybody

    24. Re:Socketed Firmware Here We Come by ArcadeMan · · Score: 1

      What about starting at the beginning?

      NASA still knows how many horsepower they need per rocket. Do we know how many 7400's we need to make an intel i7?

    25. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      I just write all my secrets in a paper notebook. Let's see the NSA root that!

      I thought, that the best place to store secrets was inside image posted to alt.bin.pic.goatse ;-)
      do you really want to check it for secrets?

    26. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      You had to trust that the ROM that came with your peripherals were clean. Also the most prevalent attack vector during that time was DOS images and boot sectors. Not something the average person at the time could easily fix.

    27. Re:Socketed Firmware Here We Come by lgw · · Score: 1

      We need to go back to BIOS stored in ROM.

      No, we need a new, non-MS-tainted TPM that actually locks down the hardware layer with string cryptography that the owner of the device has the key to, not some DRM nonsense.

      We also need to move beyond BIOS, one of these days, but maybe security-first this time?

      --
      Socialism: a lie told by totalitarians and believed by fools.
    28. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      You can't rootkit the boot ROM of early 8-bit computers. A simple power cycle and your computer is 100% clean.

      And what do you do when that ROM is discovered to have a serious vulnerability?

    29. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      Flashblock, NoScript/ScriptSafe, and no adobe acrobat goes a long way to add safety.

    30. Re:Socketed Firmware Here We Come by ArcadeMan · · Score: 1

      You swap it. The ROM would be in a socket.

    31. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      I'm almost afraid to ask this, but what is a goatse?

    32. Re:Socketed Firmware Here We Come by amiga3D · · Score: 1

      you should google it. make sure you're alone when you do.

    33. Re:Socketed Firmware Here We Come by amiga3D · · Score: 1

      About 300 billion.

    34. Re:Socketed Firmware Here We Come by ChrisMaple · · Score: 1

      An i7 has about 730 million transistors. Assume that's equivalent to 200 million 2 input NAND gates or 50 million 7400 packages. Dissipation is 10 mW per gate, so a 7400 equivalent to an i7 would draw 500 kW, and probably could not reach 5 MHz. Low power Schottky (74LS00) and the use of packaged flipflops could cut the dissipation greatly, and packaged RAM even more. Don't get any more complex than that, or hidden modes could be designed into the chips.

      Anyone care to make an estimate for vacuum tubes? Relays?

      --
      Contribute to civilization: ari.aynrand.org/donate
    35. Re:Socketed Firmware Here We Come by ChrisMaple · · Score: 1

      Socket the ROM. If a vulnerability is discovered, pull it out and plug in a corrected ROM.

      --
      Contribute to civilization: ari.aynrand.org/donate
    36. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      You swap it. The ROM would be in a socket.

      The majority of PCs sold are laptops, where a number of popular models now are around 15 mm, or less, thick. There is (literally) no room for socketed ROMs in modern PC designs.

    37. Re:Socketed Firmware Here We Come by gweihir · · Score: 1

      Write-protecting normal SPI BIOS chips is easy, as they have a write-protect pin. I expect that in the future, at least some board-manufacturers will add jumpers for these. Would also be good for network cards (at least Intel uses the same 4Mbit SPI flash chips found on most mainboards) and everything else that has firmware. I guess in the meantime, I will add these switches myself...

      Of course the skills needed until all hardware with firmware has physical write-protect are non-trivial. Even just finding such a jumper or switch will severely tax most computer users, so my guess will be that if they get implemented, then in the "writing enabled" positions, to prevent support calls. Unfortunately, this means ordinary users are screwed.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    38. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      The majority of PCs sold are laptops, where a number of popular models now are around 15 mm, or less, thick. There is (literally) no room for socketed ROMs in modern PC designs.

      You make the rom in a similar form factor to a sim card.

    39. Re:Socketed Firmware Here We Come by Anonymous Coward · · Score: 0

      Socket the ROM. If a vulnerability is discovered, pull it out and plug in a corrected ROM.

      How do you see the updated ROMs being distributed (with trust)? Most firmwares get multiple critical updates, to solve critical issues, compatibility, etc.

    40. Re:Socketed Firmware Here We Come by Agripa · · Score: 1

      As described you can't rootkit early PCs which still supported a rewritable Flash BIOS and had a jumper to enable the high voltage programming supply.

    41. Re:Socketed Firmware Here We Come by Agripa · · Score: 1

      Early PCs with programmable Flash BIOSes often supported this via a jumper which was needed to enable the high voltage programming supply.

    42. Re: Socketed Firmware Here We Come by BlueTrin · · Score: 1

      You are technically correct however it will never happen that the majority of people update a physical ROM. This would leave the vast majority of computers with vulnerabilities for years.

      --
      Don't you know it is now both immoral and criminal to think beyond the next quarterly report?
  2. Implant? by Anonymous Coward · · Score: 0

    Is that like 7 of 9's Borg implants?

    1. Re:Implant? by Anonymous Coward · · Score: 1

      Those aren't implants...

    2. Re:Implant? by courteaudotbiz · · Score: 1

      More like Picard's implants. Even after removal, he still can hear the Borg...

    3. Re:Implant? by Anonymous Coward · · Score: 0

      No, it's like the dick implanted up your butt.

  3. We desperately need unflashable firmwares by Anonymous Coward · · Score: 5, Insightful

    I'm afraid of plugging my USB drives around, I'm using a fairly obscure UEFI/BIOS on my main computer in hopes that nobody has bothered to write an exploit for it yet.

    But what I'd really like to see is a hardware protection against flashing. On USB, on hard drives, on the motherboard, on anything that could possibly be flashed. And no, cryptographically signed updates aren't going to cut it. It's more than feasibly to steal or crack weak keys.

    1. Re:We desperately need unflashable firmwares by jeffb+(2.718) · · Score: 4, Interesting

      This. Even if you can't stand to mar your product's sleek lines with a ghastly physical switch, would it be that hard to put a reed switch somewhere along the periphery of the device, so that nobody can flash the firmware unless you first put the Big Honking Update Magnet next to it?

    2. Re:We desperately need unflashable firmwares by TheReaperD · · Score: 5, Insightful

      What's infuriating is that USB drives used to come with hardware write switches and now you can't find them anywhere. And motherboards used to require you to move a jumper to flash the BIOS but, those are gone too. I don't know if it was cost cutting or a case of user stupidity or both but, the hardware write switch has faded into history. I'm fine with the being in a default-write setup as long as they had the option to cut it off.

      --
      "Be particularly skeptical when presented with evidence confirming what you already believe." -
    3. Re:We desperately need unflashable firmwares by akirapill · · Score: 1

      Isn't that a double-edged sword though security-wise? No updates = no patches for vulnerabilities. Not sure what the solution is.

    4. Re:We desperately need unflashable firmwares by Anonymous Coward · · Score: 0

      SD cards have a hardware write switch. I've seen companies boot their systems to USB SD cards readers (Kingston Digital MobileLite G4) to update their systems, probably for this reason. But I agree, I would like to see hardware switches on USB drives.

      As for the jumper to flash BIOS, this would be nearly impossible in a corporate setting where there are 1000s of machines that need to be updated in an automated fashion. And since most of the revenue comes from these big corporations, that's who these boxes are tailored to.

      And, like everything else, it comes down to cost. Sure it's only a few pennies, but multiply that by several million units and it adds up.

    5. Re:We desperately need unflashable firmwares by Anonymous Coward · · Score: 0

      Simple: no vulnerabilities.

      That's a thing, right? Oh. Well then, how about write-protect jumpers on the mobo like in the Good Old Days? Large corps with many computers to flash at once and a small IT budget, as well as grandmothers, can just leave the jumpers off, which would be no different from today's security, while individual computer owners who know what they're doing would have the added protection of being able to write protect the BIOS and all ROM with a physical jumper. Cost would be negligible (hell, we used to do this Back In The Day) and security would benefit.

    6. Re:We desperately need unflashable firmwares by darkmeridian · · Score: 1

      I agree 100% that manufacturers should spend the extra ten cents to make things "writeable/flashable". Users will probably freak out that their flashes are flashing but the upgrade in security would be worth it. Dell would probably have to put a special button in the back that you have to hold down in order to get a flash through. The NSA, would, of course, intercept and flash the crap out of any computers going to "bad places" but they wouldn't flash everyone's computer. Right? Right? Right?

      --
      A NYC lawyer blogs. http://www.chuangblog.com/
    7. Re:We desperately need unflashable firmwares by denis-The-menace · · Score: 4, Informative

      Kanguru SS3â with Physical Write Protect Switch
      High-Performance USB3.0 Flash Drive

      http://kanguru.com/storage-acc...

      I agree with you. WP should but the standard, not the esoteric.

      --
      Obama's legacy: (N)othing (S)ecure (A)nywhere and (T)error (S)imulation (A)dministration
    8. Re:We desperately need unflashable firmwares by Anonymous Coward · · Score: 0

      SD Card Write switches are not 'hardware' they're merely an instruction to the device to request no writes to happen. And can be ignored, as happens at the very least with canon cameras and hacked firmware, they will only load the firmware if the write switch is on, but can still happily write to the card.

    9. Re:We desperately need unflashable firmwares by chihowa · · Score: 1

      SD card write switches don't physically interrupt the write circuit. They only provide an instruction to the card reader to not write (if that contact in the card slot is even present, which isn't always so). The implementation of write-protect is usually in software, too.

      The SD card write switch is a bit like the write protect tabs on old cassette tapes: a polite request to a well behaved reader.

      --
      If you want a vision of the future, imagine a youtube comments section scrolling - forever.
    10. Re:We desperately need unflashable firmwares by sumdumass · · Score: 3, Interesting

      Wouldn't it just be easier to have a dip switch and require cracking the case open to flash the bios? At least then, a switch can detect the case opening and send a signal to something or tick a counter that can be checked every once in a while easily.

      A magnet would likely not provide the same level of obviousness. For instance, would you be noticed if you opened the case more easily than if you put a magnet on the side of the case? I know that as a kid, i was able to cut a small square of fridge magnet and combine it with a broken rare earth magnet and place on top of the reed switch for our security alarm so i could sneak out and back in without tripping our alarm system or having the record of my code being entered. Of course i had the benifit of being able to experiment by looking at the alarm pannel until the door read closed while it was open and testing it. But i do not think someone smarter than me with physical access couldn't do something similar with other tools availible. But magnets are common in the office (paperclip holders, speakers, phone parts) and not too dificult to conceal.

    11. Re:We desperately need unflashable firmwares by Dr.+Evil · · Score: 1

      That's why you use a USB SD Card reader which honours the write protect in its hardware.

      You don't use an on-board SD card reader.

    12. Re:We desperately need unflashable firmwares by Anonymous Coward · · Score: 0

      LOL

      My old PC had exactly that (486 DX33) - I had to flip dip switches before I could flash the BIOS to update it.

    13. Re:We desperately need unflashable firmwares by tlhIngan · · Score: 1

      Wouldn't it just be easier to have a dip switch and require cracking the case open to flash the bios? At least then, a switch can detect the case opening and send a signal to something or tick a counter that can be checked every once in a while easily.

      Two problems.

      First, BIOS updates are made much more difficult with a switch - expecting a user to dig around to update is a support nightmare.

      Also, that works great on desktops, but laptops are a significant seller (remember laptops started outselling desktop PCs 10 years ago), so having users poke around and unscrew flaps while the computer is on so they can hit buttons to flash gets tricky, quick.

      Then there's the need to be able to detect the position of the switch in software so you can generate a nice error message - nothing is more scary than "FLASHING FAILED!" and the user being stuck with an unbootable system because they forgot to push a button or other thing.

    14. Re:We desperately need unflashable firmwares by John_Sauter · · Score: 2

      What's infuriating is that USB drives used to come with hardware write switches and now you can't find them anywhere. And motherboards used to require you to move a jumper to flash the BIOS but, those are gone too. I don't know if it was cost cutting or a case of user stupidity or both but, the hardware write switch has faded into history. I'm fine with the being in a default-write setup as long as they had the option to cut it off.

      A third possibility is that the NSA and their friends abroad might have pressured the manufacturers to remove these security features. The pressure might have subtle, like pointing out "good" places for cost savings.

    15. Re:We desperately need unflashable firmwares by TheGratefulNet · · Score: 1

      old parallel scsi drives has write-protect jumpers.

      never saw that in ide or sata, though.

      and a jumper or switch is 90% of the time, just a software bit that can be read and ignored.

      the wifi switches on some laptops, they don't stop rf or turn the power off to the wifi system. the 'switch' to a camera does not power it down, either.

      --

      --
      "It is now safe to switch off your computer."
    16. Re:We desperately need unflashable firmwares by jeffb+(2.718) · · Score: 1

      If the attacker has physical access to your machine, you're pretty much hosed.

      I suggest a magnetic switch because it doesn't affect the external profile of the device. Apparently everybody has decided that physical switches are ugly and horrible. Fine; hide it internally, but still make it require a physical action on the device, so remote attackers can't flip it.

    17. Re:We desperately need unflashable firmwares by dpidcoe · · Score: 1

      Would it actually be stuck as unbootable though? I'd expect if the switch was disallowing write access all that would happen is the flash would do nothing and the system would boot back up with the old version.

    18. Re:We desperately need unflashable firmwares by Anonymous Coward · · Score: 0

      http://www.chromium.org/chromi...

      https://docs.google.com/presen...

      C710 has hardware write switch and SDCard reader. In theory, you could flash it with your own signed firmware to read your own signed kernel. Now, do you trust that the hardware has no backdoor?

    19. Re:We desperately need unflashable firmwares by Anonymous Coward · · Score: 0

      If you can't flash, you can't brick. What am I not getting here?

      Have a switch that's set by default to allow flashing, anybody who needs to disable flashing for security reasons can do so.

      Who says the switch needs to be hidden under a heatsink or some other annoying laptop component?

    20. Re:We desperately need unflashable firmwares by Burz · · Score: 1

      What's infuriating is that USB drives used to come with hardware write switches and now you can't find them anywhere. And motherboards used to require you to move a jumper to flash the BIOS but, those are gone too. I don't know if it was cost cutting or a case of user stupidity or both but, the hardware write switch has faded into history. I'm fine with the being in a default-write setup as long as they had the option to cut it off.

      A third possibility is that the NSA and their friends abroad might have pressured the manufacturers to remove these security features. The pressure might have subtle, like pointing out "good" places for cost savings.

      As someone else mentioned, Kanguru has write protect (and I think a few others -- I have some drives by Imation and RiData that have the switch). But that doesn't necessarily protect you from something like badUSB, which can infect drive firmware.

      Kanguru states their drive firmwares are protected with digital signatures. However, that means the firmwares are writeable under certain conditions, and we now know that certain organizations make it their job to steal the private keys of security vendors (you can bet the practice is not limited to SIM cards). In that case, you may be better off with a 'plain' thumb drive that has a non-changeable firmware especially if it has a write-protect switch.

      What really, really sucks is that virtually no manufacturers are stepping up to the plate with better hardware designs that can mitigate the problem... and even the OPAL2 spec appears to state that firmware protection is optional. Merely putting write-protect jumpers on the firmware storage chips would prevent most attacks (the remote ones).

      An exception to the lack of manufacturer concern may be the new Purism brand that just launched their Librem 15 OSS-friendly laptop. They are interested in putting at least a jumper on the motherboard that can block BIOS changes. They also promise to release an edition of the Librem that allows the user to cut power to wireless, mic and camera.

      Another mitigation is Qubes OS, which has an architecture that greatly ups the bar for security and it can detect tampering in the BIOS, kernel, hypervisor, etc.

    21. Re:We desperately need unflashable firmwares by Lunix+Nutcase · · Score: 1

      A third possibility is that the NSA and their friends abroad might have pressured the manufacturers to remove these security features.

      Which is not a possibility since my company ships hundreds of USB drives out with hardware write switches every week. They are extremely easy to find and buy.

    22. Re:We desperately need unflashable firmwares by Lunix+Nutcase · · Score: 1

      What's infuriating is that USB drives used to come with hardware write switches and now you can't find them anywhere.

      That's funny since a two-second Google search showed where I can find them on Amazon and Newegg.

    23. Re:We desperately need unflashable firmwares by sumdumass · · Score: 1

      We have to remember that all physical access is not equal. Certainly if you had uncontrolled, unmonitored access it doesn't matter. But if your access is limited to 9-5 or whatever and people are always in the room when you are, a magnet is more viable then cracking the case open for stealth concerns.

      Bur you are probably correct for the majoriy of situations.

    24. Re:We desperately need unflashable firmwares by sjames · · Score: 1

      I have never actually NEEDED to update the BIOS on any desktop or laptop gear. I only needed to do it once on server hardware that had just come out. If this is becoming a common end user procedure, there are larger problems.

      Typically the switch or jumper not being flipped also prevents erasing the existing BIOS, so the consequence of the failure is you reboot and it's just like it was before.

      The big problem happens when first, the system is badly designed for flash updates such that there isn't a second copy of the BIOS to boot from (or at least a recovery image) and power is lost in the middle of the procedure.

    25. Re:We desperately need unflashable firmwares by sjames · · Score: 1

      One million pennies is $10,000 or less than the CEO spends on lunch.

      Not claiming corporations aren't penny wise and pound foolish, just laying out the magnitude.

    26. Re:We desperately need unflashable firmwares by John_Sauter · · Score: 1

      A third possibility is that the NSA and their friends abroad might have pressured the manufacturers to remove these security features.

      Which is not a possibility since my company ships hundreds of USB drives out with hardware write switches every week. They are extremely easy to find and buy.

      Would you be kind enough to share the brand name(s) those USB drives are sold under, or some other way to identify them in the marketplace? I am assuming, of course, that the hardware write switch cannot be defeated by re-flashing the drive's firmware, or, if it can, that firmware flashing is also protected by a physical switch.

    27. Re:We desperately need unflashable firmwares by linuxrocks123 · · Score: 1

      Christ ...we meet again. Are you like a Qubes developer or something because it's either that or you're REALLY a fanboy.

      Is this what you're talking about: http://blog.invisiblethings.or...

      It's an impressive idea, although it depends on the TPM which is not designed to be safe against physical attacks. There's no reason the implementation of that should only work with QubesOS, either, although the developers appear to be the same.

      --
      vi ~/.emacs # I'm probably going to Hell for this.
    28. Re:We desperately need unflashable firmwares by Agripa · · Score: 1

      Part of the change at least for BIOSes stored in Flash EEPROM was that later Flash EEPROM memories implemented internal charge pumps so they could generate their own high voltage source for erasing and programming. Earlier ones required an external high voltage supply and it was that supply which a jumper could control.

    29. Re:We desperately need unflashable firmwares by Burz · · Score: 1

      I'm not a developer, but I don't mind being called a fanboy for something like this.

      And no, there's no reason why another OS couldn't use a TPM in the same way. Qubes seems to be the only one so far with this interesting feature.

      Anti Evil Maid was designed initially for physical attacks, as the name implies. It does eliminate the 'Evil Maid' scenario if its assumed the attacker is unskilled and/or only has time to plug a USB or similar device into the computer. So it greatly reduces the opportunity for successful physical attacks.

      For remote attacks against motherboard firmware, AEM ought to work 100% of the time. This is especially true if you have disabled booting from internal drives, in which case your HD firmware could become compromised and still not be able to obtain any unencrypted keys or data.

      Qubes R3 will have an unprivileged storage domain which should protect you even if the HD firmware is *already* infected or indeterminate at install time.

    30. Re:We desperately need unflashable firmwares by jeffb+(2.718) · · Score: 1

      Sure, that's a good point. Even if the Standard Update Magnet is a big, obvious device, you could make a Scamful Update Device that's a tiny but strong magnet designed to look like something innocuous leaning against the machine. But I still think it would be better than always-on reflashability.

    31. Re: We desperately need unflashable firmwares by BlueTrin · · Score: 1

      How dare you contradict someone implying that the NSA can force Asian manufacturers to let them weaken USB standards. I see you removed your tin foil hat, little man.

      --
      Don't you know it is now both immoral and criminal to think beyond the next quarterly report?
    32. Re:We desperately need unflashable firmwares by Anonymous Coward · · Score: 0

      Vulnerabilities the NSA are so pleased about are related to bypassing security restrictions on writing to BIOS. And you only need to write in the first place because what passes for BIOS these days has all the complexity of a full OS with all the problems that entails. If you use a minimal ROM BIOS there will be no need to update because there is no surface to attack.

  4. Amiga Clock virus.. by Bonzoli · · Score: 3, Interesting

    This isn't anything new, Amiga in the 90's had a CMOS happy virus that used the battery power to stay in memory. It wasn't in the clock but rewrote that area of the working bios to stay resident. I remember having to take the battery out of my A500 to get rid of it, as it survived reboots and power offs.
    UEFI bio is going to be a real hassle going forward, its going to be much easier to write something for this vs the older bios with all of its limitations. USB controller firmware, Bridge firmware, controller firmware, soon to be memory controller firmware like Power8, ethernet, ssd/hd firmware, and sound card firmware. There are a lot of places if you can inject your version during the download update to the customer where harm can be done.

    1. Re:Amiga Clock virus.. by ArcadeMan · · Score: 1

      We need a simpler computer system where each part only does one thing so that its code is simple enough to understand and each part communicates with the others via simple protocols instead of having everything concentrated in a single place. The hardware version of Unix, in a way.

      Unfortunately it would make the computers bigger, slower and more power hungry so it's not going to happen.

    2. Re:Amiga Clock virus.. by Anonymous Coward · · Score: 0

      how do you think hardware works? While it's debatable whether it's simple, this is basically what modern SoC design does. The common communication protocal in a lot of the ARM land is OCP. For chip to chip, there are a few protocol options, with PCIe and USB probably being the largest.

      For the most part, the individual components of an SoC chip ARE independent of each other and perform one main task.

    3. Re:Amiga Clock virus.. by ArcadeMan · · Score: 3, Interesting

      But integrated parts means more complex firmwares which means more places to store trojans, viruses and spyware.

      Think systemd.

    4. Re:Amiga Clock virus.. by John_Sauter · · Score: 1

      This isn't anything new, Amiga in the 90's had a CMOS happy virus that used the battery power to stay in memory. It wasn't in the clock but rewrote that area of the working bios to stay resident. I remember having to take the battery out of my A500 to get rid of it, as it survived reboots and power offs.

      I heard a rumor about the Amiga clock virus when I was an Amiga dealer in the 1990s. I didn't believe it, because I knew that the clock had too little RAM to hold a virus. Your description is much more believable.

    5. Re:Amiga Clock virus.. by Anonymous Coward · · Score: 0

      Power8 firmware will probably not be vulnerable to this kind of attacks since IBM takes very seriously things like out-of-maintenance fw updates. Power8 includes a lot of new features which dont allow flashing of firmwares that are not signed and which the machine is entitled to receive. Other vendors implementations of Power8 might differ but i've yet to see a non-ibm Power8 board in the wild.

    6. Re:Amiga Clock virus.. by Anonymous Coward · · Score: 0

      The Amiga CMOS clock virus is a hoax. There is no static memory on the memory card or inside the clock chip apart from a handful of registers.

    7. Re:Amiga Clock virus.. by Anonymous Coward · · Score: 0

      Once we had such computers. We called them PCs and they were wonderful.

  5. New antivirus alert message - "Toss your mother.." by funkymonkjay · · Score: 2

    "Oh nevermind.. false alarm.. all is well. go about your business" as your feeble AV tool is gagged and bound by the new BIOS.

  6. no windows only locked down bios are comeing by Anonymous Coward · · Score: 0

    no windows only locked down bios are comeing

  7. Dual Chip System solution by Anonymous Coward · · Score: 1

    This could easily be avoided if there was a secondary boot rom that was only accessible by flipping a hardware switch. This bios would only allow the reflashing of the primary bios, and possibly wiping the harddrive. Once those steps were completed, you flip the switch back and are up and running. I've seen some enthusianst boards that came with multiple roms for overclocking. Perhaps this would be a similar system.

    1. Re:Dual Chip System solution by Anonymous Coward · · Score: 0

      But you need a third rom to keep rom2 clean and a 4th ....

    2. Re:Dual Chip System solution by ChrisMaple · · Score: 1

      What part of "Read Only" do you not understand?

      --
      Contribute to civilization: ari.aynrand.org/donate
  8. Bring the read only jumper back by Anonymous Coward · · Score: 1

    I'd love to see some big corps (and government agency(ies)) responsible for removing this safety measure get screwed up big time because of it.

  9. Targetted hardware by Anonymous Coward · · Score: 0

    There would have to be a custom malware firmware written for each hardware brand and model though.

    It would be nice if the standard was all systems came with a physical switch that allows firmware flashing or read-only mode.

    1. Re:Targetted hardware by ledow · · Score: 1

      Not really. UEFI etc. is pretty standardised and one compromise could easily be found that affects an entire hardware architecture.

      Similarly - if you DO get this malware, how do you disinfect if every machine you have requires a different tool/process to remove the malware (and maybe even a different tool for every malware / hardware combination, which would be even worse!)?

  10. Re-flashing the BIOS after attack doesn't help? by Anonymous Coward · · Score: 0

    Does this type of rootkit preventing re-flashing of the infected firmware to get rid of it?

  11. Unfortunate consequence of UEFI by dtjohnson · · Score: 5, Insightful

    The Unified Extensible Firmware Interface (UEFI) provides a new platform for malware to execute independently of the OS. There are now UEFI applications, UEFI variables that can store non-volatile data that can be shared between firmware and the OS, EFI system partition, etc. All of these things open gaping security holes into any UEFI system. Systems with the old BIOS and a write jumper on the motherboard were too secure. We don't have that problem any longer...

    1. Re:Unfortunate consequence of UEFI by Anonymous Coward · · Score: 0

      Thanks Mr. shaddy agent.

  12. You can take a horse to the water ... by michaelamerz · · Score: 3, Interesting

    .. but you can't make it drink. I am doing IT security for almost 30 years. I've been an advisor to the highest government branches, I have lectured on countless occasions in front of hundreds if not thousands of people. I have developed security software and environments. And all I can say is: Most people simply don't give a damn. Sure - they listen to what one has to say. And they even promise to change or adapt the way they do things. But after just a few days they've forgotten all of it. Because being safe(r) is inconvenient.
    People are just not getting it. They don't delete cookies or browser caches (I don't want to have login to facebook all the time) they send even the most personal or confidential data via unsecured email (why would somebody else read this email), they store their whole life or business data on dropbox, Google Drive or comparable services and they sync all of their cell phone content, phone numbers and contact data. It doesn't hurt if someone steals your data. You don't feel it, if a government monitors your every move. And the classic: I ain't got nothing to hide. CEOs told me: The government should be responsible to protect my data - why should I pay for it? Though they spent thousands of dollars on a state of the art security system for their offices - they don't feel it to be necessary to spend money to train their employees or to purchase technology to protect their data.
    The Snowden leaks didn't help - quite the opposite happened: People are now saying: There's nothing one can do anyway. What the government wants, the government gets. Why bother to protect the data? Most people actually believe encryption to be worthless because the NSA can hack it anyway. In conclusion: I have stopped to try to convince the general population that they can have a safe(r) digital life. I am supporting those who really want to keep their data protected. So - before starting to worry about BIOS hacks - check the other 99.999% of vulnerabilities that are much easier to exploit. As usual: Just my two cents.

    1. Re:You can take a horse to the water ... by Anonymous Coward · · Score: 0

      These people are ripe for the picking by Identity Thieves for sale by organised crime syndicates, nevermind government or spies.

      Guess there really is no cure for stupid

    2. Re:You can take a horse to the water ... by dpidcoe · · Score: 1

      A lot of the reason people don't listen is that security professionals have done a great job of teaching everyone that increased security is synonymous with a slow, inconvenient, and unusable system. Sort of like that XKCD about password complexity points out.

    3. Re:You can take a horse to the water ... by michaelamerz · · Score: 1

      .. well .. security usually adds complexity to point and click. That's just the way it is. I remember back in the early 70s , nobody here actually bothered to lock their cars or even homes. Things have changed. But users don't understand that privacy and confidentiality is a value worth protecting. Ease of use always trumps a little inconvenience to stay safe(r). If everything is shared with a provider, its easy for them to offer complex, convenient services. And that's what the users want. Who cares what happens to my data as long as I have my web history, shopping- and contact lists, downloads and, in the future, purchase and payment shared among all my little gadgets. Every normal human being should be scared about that.

    4. Re:You can take a horse to the water ... by dpidcoe · · Score: 1

      .. well .. security usually adds complexity to point and click. That's just the way it is.

      Yes... to a degree. The issue is that a lot of times the "experts" take it way too far to the point the system slows to an unusable crawl or needlessly hampers the user. To continue with your car analogy, it would be the equivalent of telling *everyone* that they need a car with a standard key lock, an electronic lock, and a password that must be entered before starting the engine (that requires an internet connection to authenticate and will disable the car after 2 incorrect entries). Eventually you cause the user to either get rid of the car and go back to no locks, or rent/borrow a different one in order to do their driving if you force them to keep it. In fact, if I were to be cynical about it, why not just disable their car entirely so that it can't be stolen? They'll have to circumvent policy to actually drive anywhere, but if data gets stolen it's their fault for circumventing policy right? It's absolutely not the fault of the "expert" who gave them an unusable car.

      Assuming that we both agree some security is better than no security, and a usable car is preferred, it would be better to recommend that they stop 99% of successful thefts by locking their doors and exercising some common sense about where they leave the car, rather than proposing extreme measures for thwarting 100% of all attempts to steal it.

    5. Re:You can take a horse to the water ... by michaelamerz · · Score: 1

      A very determined foe with unlimited funding (like governments) will always be able to get into the systems they want to. Its as simple as that. I am not proposing a virtually unusable computer due to security measures. But it also doesn't make sense to use 'some' security sometimes. If users want to protect their privacy, they have to understand that they will lose several convenience features. You can't have it both ways. Either you value your privacy, or you use all the nice Google or Apple (and other) 'services' . Or in simple terms: If your data leaves you computer without end to end encryption, it becomes (more or less) public domain.

  13. ROM Sizes by Anonymous Coward · · Score: 0

    Typical ROM sizes for boards nowadays are in the MB. The typical ROM size is anywhere between 4Mb and 16Mb, and that's BYTES, not bits. There is PLENTY of free space to install option ROMS, and other nasty persistent stuff.

    Even a lowly java programmer can cobble together some C code that can hide in the UEFI rom, now that we don't have to worry about every other byte.

    With interrupt chaining, and other techniques, calls can be silently intercepted, and with the speed of today's CPUs, not even noticed.

    With every piece of hardware containing its own ROM/firmware, there is plenty of space for nefarious code. Most ROMS are even either not protected/signed, or use simple checksums.

    Maybe we can have a runtime AV in the ROM. Coded in java, your pc would only need to boot once a month, because it would take that long to boot.

  14. Asus Flashback by Anonymous Coward · · Score: 0

    One question I've had about Secure boot is how due you prevent this from happening if the bios can be replaced? Asus has a partial answer in flashback - replaces the Write Jumper for Bios Updates with a button that still requires physical access.

    Include check sum validation during the flashback/upgrade process and keep the bios locked (can't replace/upgrade) without the flashback system being used. Solves most of the problems. Users can still change settings but the bios itself is check summed as part of the secure boot process. If it doesn't pass, the system complains about Secure Boot being compromised.

    Hell if MS offered a Secure version of Windows, they could then boot the system into a restricted safe-mode to allow folks to determine the cause of the problem. I'd be willing to buy an OEM copy for just this reason as I could ensure the system wasn't compromised during the build process.

    My current system using Win 8.1 is already complaining about secure boot being off (disabled because I'm testing various Linux/BSD installers for hardware compatibility

  15. SMM was a very flawed idea... by Viol8 · · Score: 1

    ... and those responsible for it at Intel should have been brought to book about it. There is NO good technical reason for its existence and it introduces a multitude of issues and not only security ones. eg: timing issues for realtime OS's, buggy firmware causing sudden crashes. Sure, it makes some things such as emulating hardware simpler but that is hardly a compelling reason to have this barn door of a security hole in every Intel motherboard.

  16. Perfect storm... by Anonymous Coward · · Score: 0

    I'm pretty sure that the attitude of companies making these subsystems with the reflashable firmware is that "security has no ROI, why should we bother? No hacker will do this."

    We have a perfect storm here:

    1: There appears to be a complete disinterest in security by the chipmakers. In the past, there was a hardware read/write switch, the firmware was encrypted, only decrypted during the write to the flash, cryptographically signed, and was signed by multiple keys.

    For example, LTO4 and newer tape drives have multiple mechanisms in place that disallow flashing, especially from remote.

    This means that once malware is able to touch the hardware, it takes almost nothing to permanently compromise it.

    2: Most devices have no "bad firmware recovery mode". Older motherboards that had flashable BIOSes used to have a jumper which when switched, would have the machine load enough code so it could boot from a MS-DOS floppy, grab an image from that, reflash that, then reboot into that image. This is not done anymore, so if a flash copy is bad, the only way to fix is a replacement of the device.

    3: Even JTAG isn't on many devices these days, so this isn't a reliable method of fixing a device with malicious firmware.

    4: Governments are more interested in spying on each other than trying to stomp this out. For example, if you ship your IC masks to one country, your chip with 10 solder pads comes back with additional "functionality" and 12 solder pads.

    5: The number of subsystems that are insecure. For example, a few years back, there was proof of concept code that turned an Apple USB keyboard into a keylogger, and if used on a laptop, really couldn't be disconnected. On an average computer, one has the CPU, drive controllers, video card, NIC, Wi-Fi card, vPro frmware, iLO firmware, and many other items, where if just one gets compromised, it can sit on the bus and decode from RAM, or actively write.

    6: Ad servers are still a source of malware, and with web pages winding up with more intrusive ad-slinging (for example, try to visit a website on an iPhone before the page kicks you to the App Store to a download page for a POS F2P/P2W app, or a generic fleshlight app that demands access to contacts, camera, camera roll, and everything else on the device before it runs.) The only thing that makes the Web bearable is a combination of SpywareBlaster (for executable blacklists), AdBlock, a hosts file, and "click to play" functionality.

    7: The Windows ecosystem is rife with foistware. If I want to download a useful shareware utility, I have to extract it in a VM, and pull the MSI out for that program, and not for the oodles of foistware. Or, if it is a utility I use infrequently, I just run it in a VM because it will come with more PUPs than a stray pit bull a couple weeks after being in heat. The foistware downloads more foistware, and Bog knows what it gets because several programs create a local VPN and MITM all SSL calls by adding extensions to browsers, as well as the trusted root key stash. Linux and OS X don't have this issue, because repositories and the App Store don't permit that shit to happen.

    Of course, foistware that gets other foistware (because someone paid them to have it sucked in) means somewhere in the chain, malicious software gets in.

    8: Denial of control for the user. iOS takes control from the user completely. Android is still usable with root, but that is slipping away (took a five digit bounty to get root on Samsung devices last year). This allows malware to run without any worry about being interrupted, or even noticed, unless there is a packet sniffer... and even then, with malware that creates VPNs, even that may be useless.

    9: No penalty to the bad guys. It is virtually impossible to catch malware writers, and at best, the ones that do get caught tend to be low hanging fruit or scapegoats.

    10: No real method for reliable backups. There are no consumer level tape drives anymore, DVDs don't store that

  17. We need a "pre-EUFI" unflashable firmware by davidwr · · Score: 1

    I don't have a problem with EUFI or BIOS being flashable. But you need a non-changeable way of recovering your system to prevent "permanent" p0wnership or brickage.

    A non-flashable "pre-EUFI" firmware that did nothing but check if a certain jumper pin was set and either proceed to boot to EUFI or boot to a non-flashable "EUFI re-flash loader" utility is a must for any computer that doesn't need to be "locked down" at the factory. This utility would look in a standard location - perhaps USB port 1 - for a signed executable that would be the real "re-flash" utility. Whether motherboard vendors chose to supply signed re-flash utilities that only re-flashed signed EUFI binaries or if they catered to hobbyists who might want to load arbitrary/unsigned EUFI binaries would be up to the motherboard manufacturer.

    Bonus points if the immutable "EUFI re-flash loader" utility calculated and displayed a cryptographic hash of both the current EUFI and that of the real "re-flash" utility the user is trying to use PRIOR to executing it the so the user could verify that they are what he thinks they are.

    For computers running in specific environments that need to be "locked down" at the factory, re-flashing the BIOS would probably not be allowed at all - EUFI changes would probably require chip- or motherboard-level surgery.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  18. Perhaps not so bad? by Anonymous Coward · · Score: 0

    There seems to be no mention of SecureBoot and if they can/can't bypass it (or if the concept doesn't relate). Can anyone with sufficient knowledge please clear this out?

    Also, on some machines it is possible to lock bios flashing down with a password. It seems that the operation of such a re-flash exploit would result in a prompt for authorizing reflashing...

  19. Software freedom for all software. by jbn-o · · Score: 2

    Firmware is software and computer users still need software freedom for all published software. This hasn't changed since Richard Stallman reached conclusions about the ethics of software over 30 years ago. Changing what device the software is loaded into or the form it takes when loaded doesn't change any of the underlying issues that all have to do with how people treat each other. This is also not an issue to be properly understood by "open source" focus on convenience, caving into business desires, or developmental methodology.

  20. Mitigations by Burz · · Score: 2

    Qubes OS will detect this type of attack, and in most cases prevent it. It can also protect you against badUSB if you create a USBVM to handle the USB controllers.

    Detection comes via the Anti-Evil Maid package, which uses a TPM to measure the system firmware, bootloader, kernel and hypervisor. It optionally can create a USB thumbdrive for booting Qubes in AEM mode. (AEM should *always* detect a compromised base system, but using a thumbdrive can help prevent an attack from succeeding in an 'Evil Maid' scenario.)

    Qubes uses Xen, a type 1 bare-metal hypervisor with a miniscule attack surface, and uses that as a chokepoint to regulate ALL system activity (including network and graphics) in a way other OSes do not. Graphics is one of the weaknesses in VM host security that enables 'VM Breakout' escalation attacks. In using VMs for all sensitive functions, remote attacks are highly unlikely to escalate and take over the core system or firmware.

    1. Re:Mitigations by Burz · · Score: 1

      PS- Hi Timothy! :wave: Slashdot won't let me change my sig...... :D

    2. Re:Mitigations by Anonymous Coward · · Score: 0

      Qubes OS will detect this type of attack [invisiblethings.org], and in most cases prevent it.

      I don't know that it really does. From your link:

      In the discussion above we assumed that the trusted boot has been correctly implemented. This might not be true, especially in case of the BIOS. In that case we would be talking about attacks against a particular implementation of your BIOS (or TrustedGRUB), and not against Anti Evil Maid approach.

      Only now we know that the above assumption is wrong at least 80% of the time, and that attacks do not have to be targeted against particular implementations but rather can be generalized.

  21. Next big one by Anonymous Coward · · Score: 0

    Just imaging when the next big botnet uses BIOS rootkits to live on past death, then, when it's owner is ready, secretly and subversively delivers subliminal messages to clueless end users, ultimately giving a botnet some power to influence world leaders.

  22. USB Flash Drive with real write protect switch by Anonymous Coward · · Score: 0

    Here is a USB Drive with a real hardware write protect switch.

    http://kanguru.com/storage-accessories/kanguru-ss3.shtml

    I have been using it for a few months and am somewhat happy with it for my application.

    I agree with your statements.

  23. Slides finally posted by BIOS4breakfast · · Score: 1

    Maybe now people can have *informed* opinions? Slides here: http://legbacore.com/Research....