How OS, Libraries, and Hardware Keep Your AES Keys Alive
summary
An FPGA-based live memory scanner (periodic AES key finder) inspects physical RAM every ~2 seconds across Xilinx KR260 AArch64 SoC and Alinx AXKU3-connected Intel/AMD PCs and finds concrete failures: AES round keys in CPU vector registers are written into kernel save areas during context switches, abnormal terminations leave keys for seconds to hours and can be duplicated into core dumps, and some non‑FIPS systems — plus certain SoCs — allow keys surviving reboot while FIPS‑enabled Linux clears memory reliably.
AI-written summary · about
chapters (20)
- 0:00Introduction to key zeroization
- 3:41Why zeroization matters
- 8:44Illusion of automatic zeroization
- 9:48Research questions and setup
- 11:38FPGA memory scanner demo
- 13:01Normal termination test
- 15:22Abnormal termination test
- 16:13Reboot persistence test
- 17:26Experimental results overview
- 18:07Normal termination failures
- 18:47Abnormal termination failures
- 20:34Context switch duplication
- 22:20Reboot behavior across platforms
- 23:46Cross-layer zeroization failures
- 24:48Recommendations for developers
- 25:53OS kernel mitigation steps
- 26:33System manager and vendor actions
- 26:55Three key takeaways
- 27:40System-wide zeroization needed
- 28:02Tools and responsible disclosure
