Bypassing Readout Protection in Nordic Semiconductor Microcontrollers
emproof.com
emproof.com
(2021)
Getting the canonical URL wrong is somewhat common, but this one is so comically wrong that it feels intentional. Or somebody misconfigured their wordpress.
This one is entirely different, and attacks the initialization code directly. This code has no restrictions on its ability to access memory, allowing a full dump.
Great method.
After managing to connect through glitching, they dump the FW, then turn off APPROTECT, reflash, and have open debug access.
>Our attack setup thus consists out of 1) a transistor connected to the CPU core supply voltage and ground, 2) a dev board to control the glitch timing, and 3) a debug probe to try to access the debug interface.
[1]: https://www.emproof.com/attacking-microcontroller-readout-pr...
Your link is a different attack on the newer nRF52 series which no longer has the same weakness in its debug handling.
Some more links, also in the blog post, are [1], demonstration on a dev board, and [2] the airtag attack.
[1] https://limitedresults.com/2020/06/nrf52-debug-resurrection-... [2] https://www.youtube.com/watch?v=_E0PWQvW-14
I personally did not know about this article, I have not touched the Cypress eco system much, if at all. I linked to a previous article that this project was based on [1].
What I find interesting is that Cypress uses a similar split ROM as Nordic for some kind of system code and data like calibration values. Really neat to see how other vendors do this.
[1] https://blog.includesecurity.com/2015/11/firmware-dumping-te...
Anybody know what solutions they are hinting at here? Obfuscating binaries? Some kind of encrypted flash with on-the-fly decryption(but the decryption key would be protected by the same inadequate ROP)?
Neither of these seem effective nor practical.