AMD's trusted execution environment blown wide open by new BadRAM attack
arstechnica.com
arstechnica.com
so...academically "blown wide open" but for anyone with a cogent opsec, probably not the end of the world.
What is the TEE supposed to buy you over this? Avoiding the negligible inconvenience of typing the long passphrase once a month if you don't have a remote server, which the enterprises that demand features like this would have? That seems like more of a solution in search of a problem and in any event not worth the cost in authoritarianism.
Not only that, the TEE solution is less secure. If the device is stolen and you revoke access on the remote server then there is no way for an attacker with only the device to get the key. If the key is in a TPM on the device they can stick the device in a drawer and wait until someone finds a TPM vulnerability, then unlock it.
a) they can attack it before it reboots.
b) most of the value is in the parts, so they don't need your data. You need to make the parts useless for repairs so it's not worth stealing it.
But they can do that anyway? If they would guess your password or exploit your OS from the lock screen then they get access to your files even if the running OS is the one certified by the hardware.
> most of the value is in the parts, so they don't need your data. You need to make the parts useless for repairs so it's not worth stealing it.
Putting aside that "make the parts useless for repairs" is an obvious misfeature that will be used against you by the manufacturer, it's also orthogonal to boot loader signing etc.
Making the parts "useless for repairs" would also be better achieved by making new and used repair parts available for competitive prices, driving down the cost of repairs to the point that stealing devices for repair parts isn't a lucrative endeavor. For example, make sure that traded-in devices never get crushed if they could be scavenged for parts to be sold into the repair market, providing a plentiful supply of used parts instead of making them scarce enough to be worth stealing.
A TEE restricts attackers to nation-state and similar actors today, and is probably no hurdle at all in 5-10 yrs when some attack like this is published and the hardware is unpatchable.
I don’t get the impression these classes of attacks will ever be patchable.
Is supposed to. Because money are sweet. Physical access means that you can exchange any part of your system and the bloody TEE would have no idea that it is MITM.
I have my doubts whether this can ever work reliably. It seems risky to bet a lot of infrastructure investment on the fact that attacks like this one (or even better ones) do not happen. But the entire hypervisor business has the same structural problem (a bad CPU bug like the T-Head C910 vector issue could turn your hypervisor fleet into very expensive single-tenant machines over night), and yet here we are …
This is in theory. In practice, as demonstrated by the article, these assurances are not bulletproof.
So I was referring to the case where there exists an entity that has some equivalent of "private keys" that makes it possible to control the TEE/attestation..
I would think as long as the manufacturer and the operator are not the same entity then the danger in that regard would be mitigated.
So on some systems, the hack could be performed entirely remotely.
You should care also about democratic countries. For your own good.
Regarding processing sensitive data in the cloud, just don't do it.
You could theoretically ensure your dental appointment booking platform is not keeping tabs on you.
This reads like yet another overhyped named vulnerability.
These tools are a fence. The fence started out pretty short with AMD’s original SEV and has been getting taller since.
Taking the software operators out of the trust boundary is still (comparatively) viable despite this type of attack. And, if the cloud provider sends you attestations proving your workload is in their Real Deal data center with actual guards, cameras, and compliance operations, I’d expect this specific attack to be irrelevant.
——————
Only had a quick skim at the paper. Looks like they are mucking with the DDR sticks to make aliasing possible, which lets them circumvent integrity protection.
I thought circumventing integrity was already possible-ish with rowhammer and SNP? SNP doesn’t store integrity bits anywhere so it can’t even pretend to catch changes in dram.
The idea behind this whole paradigm is that you can verify the technology the CSP is running.
I agree with you on the CSP motivations.
Chip lies that it's twice as big as it is, so just check if something you write to 0x0001 shows up at 0x1001
Actually a bit surprising that modern boards don't do enough testing to catch this from the start -- checking that the address lines are working should take pretty much no time and would be a good check for whether a module is making good contact on all the pins.
Like you'd think things like address lines being shorted together, or not being connected, or such things would be simple to test for in a millisecond or two, and be a logical part of a basic test of functionality that just checks that everything seems to be wired up right.