Technology cannot stop hackers but let authorized users if humans are still vulnerable to "You have a request from SexyMama69, enter your password to recieve video call" and other forms of social engineering. Secure enclaves are only really useful at allowing people who don't own the device from preventing those who do own it from taking certain actions.
They're used for more than that, but I agree it's unfortunate that DRM is a major use case.
UC Berkeley to build open-source secure enclave using RISC-V
21–30 of 54 posts
Re: UC Berkeley to build open-source secure enclave using RISC-V
#22Hardware Security Modules (HSMs) are in plentiful supply, they're not new and the OP seems to have swallowed a bit of the Apple KoolAid from the description of the M7 being 'revolutionary'. This is simply another HSM implementation, and no, they don't stop hackers, there are plenty other exploits to go for. (For one example h https://www.nxp.com/products/identification-and-security/sec... )
Re: UC Berkeley to build open-source secure enclave using RISC-V
#23Earlier quoted context omitted.
No, this is actually not retarded if you need to store program code externally and want to make sure that this code is unaltered. The XBox 360 early boot did this as an anti-piracy measure IIRC: a minimal on-chip program would load and verify the first couple of blocks of externally stored firmware before executing them.
Yes, if you the manufacturer want to make sure that nobody but you can alter the data. If you're providing cryptographic hardware for somebody else, they're gonna want to set their own.
Re: UC Berkeley to build open-source secure enclave using RISC-V
#24Earlier quoted context omitted.
Yes, if you the manufacturer want to make sure that nobody but you can alter the data. If you're providing cryptographic hardware for somebody else, they're gonna want to set their own.
If you do this, you weaken your device against hostile tempering as well, don't you? The key update mechanism becomes part of the attack surface.
Re: UC Berkeley to build open-source secure enclave using RISC-V
#25Cool. HSMs are a notable step up from secure execution environments like TrustZone and SGX because they make side-channel attacks that take advantage of the shared hardware much more difficult. That said, the HSM itself becomes a target after a while. So the more stuff you off-load to your enclave, the larger the attack surface becomes, and now you moved your problem over. And I am further skeptical about how much th…
Re: UC Berkeley to build open-source secure enclave using RISC-V
#26Re: UC Berkeley to build open-source secure enclave using RISC-V
#27Tagged memory is the biggest game changer for security IMO. RISC-V has a proposal IIRC, but ARM has a product (ARMv8.5) that looks like it will really raise the bar.
Re: UC Berkeley to build open-source secure enclave using RISC-V
#28Tagged memory is the biggest game changer for security IMO. RISC-V has a proposal IIRC, but ARM has a product (ARMv8.5) that looks like it will really raise the bar.
Can you point me to some resources on this?
RISC-V: https://www.lowrisc.org/docs/tagged-memory-v0.1/tags/
You can think of this feature like a hardware ASan. Instead of using ASan as a design tool, you could use it as a security feature.
Capitalizing on this feature requires compiler and C lib changes. I'd bet that the support should be available in popular open source compilers before ARM ships.
Re: UC Berkeley to build open-source secure enclave using RISC-V
#29Cool. HSMs are a notable step up from secure execution environments like TrustZone and SGX because they make side-channel attacks that take advantage of the shared hardware much more difficult. That said, the HSM itself becomes a target after a while. So the more stuff you off-load to your enclave, the larger the attack surface becomes, and now you moved your problem over. And I am further skeptical about how much th…
HSMs have been around for donkey's years. SGX is interesting because now you can run e.g. a whole database inside an enclave on commodity CPUs with competitive performance.
https://developer.arm.com/products/system-ip/security-ip/cry...
https://developer.arm.com/products/system-ip/security-ip/cry...
Re: UC Berkeley to build open-source secure enclave using RISC-V
#30Earlier quoted context omitted.
No, this is actually not retarded if you need to store program code externally and want to make sure that this code is unaltered. The XBox 360 early boot did this as an anti-piracy measure IIRC: a minimal on-chip program would load and verify the first couple of blocks of externally stored firmware before executing them.
Yes, if you the manufacturer want to make sure that nobody but you can alter the data. If you're providing cryptographic hardware for somebody else, they're gonna want to set their own.