13 ms·
Toward a Reasonably Secure Laptop
- cyphar 9y ago> Another important requirement we’re introducing today is that Qubes-certified hardware should run only open-source boot firmware (aka “the BIOS”), such as coreboot. I recently flashed coreboot on my X220 (and it worked surprisingly enough). However, I couldn't find any solid guides on how to set up TianoCore (UEFI) as a payload -- does Qubes require Trusted Boot to be supported on their platforms (I would hope so)? And if so, is there any documentation on how to set up TianoCore as a payload (the documentation is _sparse_ at best, with weird references to VBOOT2 and U-Boot)? Otherwise I'm not sure how a vendor could fulfill both sets of requirements.
- d33 9y agoIf I read that right, they're allowing Intel ME, which sounds like a sad compromise to me. Given that it's a pretty big complex black box that one can't easily disable, would you agree that x86 is doomed when it comes to security? If that's the case, is there any hope we could have a CPU with competitive capabilities? (For example, is there an i7 alternative for ARM?) What could one do to make it possible to have ME-less x86 in the future?
- vbezhenar 9y agoWhen you're running megabytes of proprietary code on numerous processors in your laptop completely out of your control, why do you focusing on Intel ME? What about your network card which runs dedicated processor with some kind of operating system, executing firmware and processing every network frame before your OS receives it, for example?
- _jal 9y agoThere are use cases where pulling the network card leaves a viable system. I'm unaware of a use case where pulling the CPU leaves one. Also, the ME appears to be a nice one-stop-shop for compromise. It is the janitor's entrance; it is right there in the name.
- majewsky 9y agoWhen the network card tampers with the packets, this can be detected if the network protocols use the correct cryptographic algorithms to ensure integrity and confidentiality. Protecting against tampering on the CPU level is much harder, since this is where these algorithms are carried out.
- problems 9y agoIf you think you're going to catch every possible NIC-level modification, does tampering on the CPU really matter if there's no way to store or exfiltrate the data without being detected?
- hinkley 9y agoI keep hoping we'll get a decent consumer grade interconnect fabric and just run half a dozen standard SoCs for all of the peripherals.
- adrianN 9y agoYou can't buy a processor with comparable performance to a modern Intel without some kind of scary management engine. AMD has them too and Arm doesn't compete on performance.
- horusthecat 9y agoWhen you say "performance" do you mean at or below the price point? POWER is open but seriously expensive.
- girvo 9y agoYeah the POWER8 server I'm playing with is definitely competitive performance wise with Xeon, but I didn't have to pay for it, heh.
- adrianN 9y agoOh that's true, I forgot about those. But do they fit in a laptop?
- xoa 9y agoFor certain values of "laptop" probably (or "notebook" might be better since I don't know if I'd want to put one on my lap), but I don't think the tradeoffs would be generally worth it right now. As a spec sheet eyeball check, I know there are ultra high performance gaming notebooks that do ridiculous stuff, like Acer makes one IIRC with SLI 1080s and an i7 that is rated to pull up to 330W from the wall, and of course it weighs something like 8-8.5 kg (18-19 lbs). There seem to be ones that "merely" use a single 100-150W desktop class GPU and processor that are more like in the 5.5 kg/12 lbs range, but that's still no fairy (a 15" Macbook Pro for contrast is about 1.8 kg/4 lbs, and even in the mid-90s the big old PowerBooks maxed out around 3.2 kg/7 lbs IIRC) and obviously we're generally going to be talking just a few hours of battery life at best away from mains. But at any rate it's not unfeasible or unknown right now to deal with 100-200W worth of TDP in big 17" (or even 21"(!!!)) notebooks, and there does seem to be a functional (albeit niche) market for it. So at that range it'd be feasible in principle to stick in a low end POWER8 and smallish but functional GPU and have a "notebook POWER8 system", but it'd be a compromised machine in terms of what we'd normally find desirable in a mobile system. POWER9 (which I think is still slated to go online in the Summit & Sierra supercomputers this year?) is supposed to have improved energy efficiency and management features, which though aimed at scaleup/scaleout of course might help out a bit in other settings in theory. But even so it'd be a tougher chip to build in an SFF system around let alone a notebook. Any potential buyers would have to care a very great deal about what it brought to the table.
- cmiles74 9y agoIt seems to me that there's not much hope for an ME-less x86 compatible machine in the near future. Intel is pretty invested in the product and AMD has introduced a similar solution for their systems. Another architecture all together, designed from the ground up to support a free and secure system, seems a better bet.
- lmm 9y agoThere are open processor designs, e.g. many SPARC designs are published. You could run a reasonable webserver or what have you on those. But only the mega-corps chipmakers are going to be competitive with the current state of the art, and the mega-corp chipmakers are going to include ME or equivalent because their mega-corp clients want it. More generally if the processor's going to have any dynamic internal logic then that has to run somewhere. Frequency scaling, wake-on-lan, microcode updates... you probably do want an ME-style embedded management processor that runs the processor's firmware just as you would for any other peripheral (hard drives, wifi controllers and so on all contain their own embedded ARM cores these days). ME itself isn't the issue - having what runs there be open and inspectable is.
- mtgx 9y ago> is there an i7 alternative for ARM Qualcomm will first minimize its risk going into the PC market by making its mobile chips a bit more optimized for the PC market. But if that goes well and all, it may eventually go "upmarket" with higher-end chips, which will require their own R&D and so on. However, I don't know if that necessarily means we'll have a more open alternative to Intel. Evidence so far seems to show that Qualcomm may be an even bigger bully than Intel was or is, so I would not look up to Qualcomm to being a savior for the market, but more like the tyrant that replaces the previous tyrant.
- mozartoz 9y agoThe best option right now is to use Rockchip ARM devices. With a few little compromises you can run a pretty much free architecture: https://libreboot.org/docs/hardware/c201.html https://libreboot.org/docs/hardware/c201.html
- zer0tonin 9y agoI think the whole point of Qubes OS is t not trust hardware because of potential BIOS or ME backdoors. Joanna Rutkowska, Qubes founder, is the person who brought up intel ME as a problem in her paper Intel x86 considered harmful (https://blog.invisiblethings.org/papers/2015/x86_harmful.pdf https://blog.invisiblethings.org/papers/2015/x86_harmful.pdf).
- adrianN 9y agoYou can't run trusted software on untrusted hardware. If someone has a backdoor in your ME, you can't protect yourself from it.
- falcolas 9y agoI'm curious: if we can solve the "trusting trust" problem - that is identifying compromised compilers, even if the other compiler is compromised - couldn't we potentially solve this problem in a similar way?
- jancsika 9y agoIgnoring for the moment all the indeterminism on a running laptop, the main reason is that we don't have the tooling to do that. For example: compiler is to software as X is to hardware. What is X? And how does one go about creating their own X?
- BenjiWiebe 9y agoIf X is "foundry" you probably can't create your own. And I think it is.
- falcolas 9y agoUltimately a compiler is just a bit of software; one that takes inputs and produces outputs. The identification of compromise is the difference in outputs for the same inputs (simplified, of course). So, given we can control most inputs to hardware, and most outputs, it seems possible to objectively identify when the HW is misbehaving (such as "A" produces network output that "B" does not). It wouldn't nail down which piece of hardware was compromised, but it would help identify that hardware is compromised. It will never be _that_ easy, of course... but it seems possible.
- x86insecure 9y agoYou could contact AMD and show support for open sourcing PSP (their ME equivalent) or having an option to disable it. There is hope: https://www.reddit.com/r/linux/comments/5xvn4i/update_corebootlibreboot_on_amd_has_ceo_level/ https://www.reddit.com/r/linux/comments/5xvn4i/update_corebo...
- cyphar 9y agoOpenPOWER[1] would be a great option. There was a recent crowd-funding effort to try to make an OpenPOWER desktop a reality[2] but unfortunately it didn't get nearly enough funding (though apparently they are still developing it[3]). [1]: https://openpowerfoundation.org/ https://openpowerfoundation.org/ [2]: https://www.crowdsupply.com/raptor-computing-systems/talos-secure-workstation https://www.crowdsupply.com/raptor-computing-systems/talos-s... [3]: https://www.raptorengineering.com/TALOS/prerelease.php https://www.raptorengineering.com/TALOS/prerelease.php
- krylon 9y agoThat would have been a cool machine, but unfortunately, the price was way outside my budget. If such a machine with reasonable specs (I do not expect a 64-core 256-GB-RAM-monster) could be brought down to the 1000 $/€ price range, I would seriously look into it. (I am not sure how realistic that price range is, though.) What about Loongson? IIRC, Richard Stallmann uses a Notebook based on it, because it has free firmware. Performance is probably not breathtaking, but it exists. Does somebody know if there are Desktop machines built around that chip?
- djsumdog 9y agoI have to agree. The Talon looked amazing, but the crowdfunding price was way out there. They should have offered a bare version with just the board, ram and maybe video card (to ensure comparability). They needed the ~$1k USD hobbyist market. It seems like the goals were way too high, like the Ubuntu Edge.
- wmf 9y agoThey should have offered a bare version with just the board... They did offer that, but the board alone was $3,700.
- fghtr 9y ago>What could one do to make it possible to have ME-less x86 in the future? One could lock all the devices that can store data: https://blog.invisiblethings.org/papers/2015/state_harmful.pdf https://blog.invisiblethings.org/papers/2015/state_harmful.p... "The general idea is to remove the SPI flash chip from the motherboard, and route the wiring to one of the external ports, such as either a standard SD or a USB port, or perhaps even to a custom connector. A Trusted Stick (discussed in the next chapter) would be then plugged into this port before the platform boots, and would be delivering all the required firmware requested by the processor, as well as other firmware and, optionally, all the software for the platform."
- ashleysmithgpu 9y agoLooks like Qubes make you pay to get certified: https://puri.sm/posts/ https://puri.sm/posts/ "The costs involved, requiring a supplementary technical consulting contract with Qubes/ITL (as per their new Commercial Hardware Goals proposal document), are not financially justifiable for us."
- vesinisa 9y agoWhat'd you think? If you hire an expert to inspect your product so you can show a certificate and further sales, it's resonable for the expert to get paid.
- AdmiralAsshat 9y agoThat's a little disappointing. I understand there's financial costs involved in someone certifying the thing, and I understand that consultant should be paid for their work, but for the sake of having a "flagship" laptop that QubesOS can point to--in addition to the fact that the OS would likely gain greater adoption from being a pre-installed option on a laptop--you would think that Qubes might be willing to eat the cost.
- lmm 9y agoIn principle I'd agree, but I don't get the sense that Qubes is exactly flush with cash.
- hollander 9y agoIf Qubes wants this so bad, they should pay for this themselves, the first couple of laptops. Then if it proves to be a good selling point, others will follow and pay.
- majewsky 9y agoY'know they're a volunteer effort, right? According to https://www.qubes-os.org/funding/ https://www.qubes-os.org/funding/, they didn't receive any major funding this year, so if you want progress in this area, you should donate: https://www.qubes-os.org/donate/ https://www.qubes-os.org/donate/
- Taek 9y agoIs this something we could achieve with a corporate alliance? I know a lot of tech companies would like to give their employees secure laptops. I also know that there are large costs associated with making hardware, especially if you are talking about dropping ME. A dozen companies with 1000 employees each and a budget of $2,500 per employee gets you $30 million, which is surely enough to get a decent, qubes-secure laptop with no ME. You aren't going to be designing your own chips at that point, but you could grab power8 or sparc or arm. Are there companies that would reasonably be willing to throw in a few million to fund a secure laptop? I imagine at least a few. And maybe we could get a Google or someone to put in $10m plus.
- erikb 9y agoWith an alliance you can achieve agreement, not quality. Everybody will say, they agree to a standard, then you get a 200 bullet point document, and 5-10 years later you get expensive, certified solutions that in reality only contain 20 of the 200 points, acting like they contain 180 points, and certainly excluding the important ones because these are hard to solve and expensive to implement. Quality you can only achieve by possessing the right skills and making the right long term investments.
- Xeoncross 9y agoI would think that one company (Google, Amazon, Facebook, etc..) that cared enough would be better off SOLEY funding a project like this for themselves first - then others second. $100 Million investment isn't a stretch for something from a large company.
- x86insecure 9y agoThere are things we can do to help get us out of this Intel ME rut. * Let AMD know that open-sourcing/disabling PSP is important to you [1]. * Contribute to RISC-V. You can buy a RISC-V SoC today [2]. Does your favorite compiler have a RISC-V backend? [1] https://www.reddit.com/r/linux/comments/5xvn4i/update_corebootlibreboot_on_amd_has_ceo_level/ https://www.reddit.com/r/linux/comments/5xvn4i/update_corebo... [2] https://www.sifive.com/products/hifive1/ https://www.sifive.com/products/hifive1/
- deleted 9y ago[deleted]
- AdmiralAsshat 9y agoAMD is not going to open-source or disable PSP. That thread was four months ago and they still haven't even commented publicly on it. See this recent update from 8 days ago: https://www.reddit.com/r/Amd/comments/6krg13/has_there_been_any_development_on_the_possibility/djoo6cg/ https://www.reddit.com/r/Amd/comments/6krg13/has_there_been_... If AMD really wanted to, they would have announced something by now. I can commend the AMD rep who continues to push for it, but he can't dictate company policy.
- problems 9y agoYeah, given Intel's support for TXT and SGX which are basically moves in the opposite direction, I highly doubt they want to lose customers over things like not being able to play some new DRM'd content from Netflix. The gain from this is probably minimal compared to the loss from something like that. While I'd definitely buy it, the market potential of it seems limited overall. Though it's possible they could just offer it as an option on some chips to get both markets which would do the job, but given the sheer diversity of ARM and possibly RISC V SoC vendors, those might be a better starting place than x86.
- problems 9y agoThat RISC-V stuff looks pretty appealing - I'm looking the Freedom E310 now and one thing I'm sort of confused by. Is only the architecture open, but the silicon isn't? If so, what's the point of that, is the only thing differentiating it from ARM that there's no licensing fee? If so, are there any ARM SoC vendors making them in a way that they're relatively free from stuff like Intel ME?
- HugoDaniel 9y ago"Finally, we are going to require that Qubes-certified hardware does not have any built-in USB-connected microphones (e.g. as part of a USB-connected built-in camera) that cannot be easily physically disabled by the user, e.g. via a convenient mechanical switch. However, it should be noted that the majority of laptops on the market that we have seen satisfy this condition out of the box, because their built-in microphones are typically connected to the internal audio device, which itself is a PCIe type of device. This is important, because such PCIe audio devices are – by default – assigned to Qubes’ (trusted) dom0 and exposed through our carefully designed protocol only to select AppVMs when the user explicitly chooses to do so." This made me download Qubes. Amazing project that seems to care.
- pmoriarty 9y agoI personally would not trust any laptop with an internal microphone at all. If a laptop does have an internal microphone, I just assume it is on and recording.
- raesene6 9y agoDoes that mean you assume that all the firmware/devices on your laptop are compromised, or just the microphone?
- pmoriarty 9y agoI also assume the camera is compromised, and like to put tape over it when I'm not using it. Other than that, I don't assume any other part of the laptop is compromised, but maybe I should. Thanks for asking this thought-provoking question.
- raesene6 9y agono worries :) I'm kind of interested, because lack of trust in microphones/cameras specifically on laptops is a theme I've seen commonly expressed by people in general IT and IT security. My thinking on the subject was roughly that for an attacker to have the ability to spy on me via that mechanism would strongly imply that they already have privileged access to my computer (to be able to active the device and exfiltrate the data). At that point, personally, I'm far more worried about the data they'd get from my keyboard (specifically credentials for various systems) than I am about them being able to see me sit at a desk.
- Aissen 9y ago> The vendor will also have to be willing to “freeze” the configuration of the laptop for at least one year. This is one of the most important points. The speed at which laptop vendors are releasing new SKUs is staggering. I know the whole supply chain is to blame, but apart from a few models, the number of different SKUs is way too high.
- digi_owl 9y agoSimply put, they are trying to hit every gap in the market because their products are what economists like to call fungible. There is simply not enough to distinguish between them. This is why Apple can sit with just a few models year after year, because they are the sole vendor of OSX/MacOS.
- awinter-py 9y agoIt's a shame that chromebook's boot verification isn't easily extensible to open source.
- digi_owl 9y agoOnce more i get the impression that computer security people are off in a different universe where a computer at the bottom of the ocean is a "reasonable" way to do computing.
- watersb 9y agoA computer at the bottom of the ocean is not to be trusted, unless you are willing to stay on-site and verify it yourself.
- notacissp 9y agoThis article helped me get up and running with Qubes: https://medium.com/@securitystreak/living-with-qubes-os-r3-2-rc3-for-a-week-1a37e04c799e https://medium.com/@securitystreak/living-with-qubes-os-r3-2...
- listic 9y agoLooks like even Purism is not interested in certifying compatibility with Qubes anymore. That's sad.