Talking use of HSMs/TEE with a colleague and I still kinda see it as a WNFL prob...
Tim (Wadhwa-)Brown :donor: @timb_machine@infosec.exchange
Talking use of HSMs/TEE with a colleague and I still kinda see it as a WNFL problem (worry now, fix later).
I guess I qualify attacks on HSMs and TEEs as more hype than reality, Yes, side channels, yes, attacks on RAM, but when attacks affecting encryption happen, it tends to be that attackers have found a way around the it, rather than they've tackled it head on.
A couple of personal examples:
1) Tested the lottery, they used signed firmware, with a HSM backed system - great - but I found a bug that meant it didn't actually check - not so great
2) Playing with a bank - they were doing tokenisation, i.e. replacing PII with hardware backed "secure identity" - great, but we found all the data was exposed in debug dumps from memory - not so great
The main driver for HSM/TEE is to reduce where and how the secret is generated, stored and accessed, and in that regard, it's useful, but even if it's perfect, there are much weaker parts to attack in most cases.
Where attacks with side channels etc are useful is in labs, so we can find more practical bugs to explore in the wild.
They expose the supply chain, not necessarily the operations.