Ghost Busters ...
summary
Claims that placing sensitive code and data into separate ELF sections and enforcing per-section page-table permissions prevents Spectre variant 1 cache leaks; a prototype loader enforces state transitions, flushes TLB/cache on transitions, and stops speculative loads from populating cache. Implementation uses modified ELF metadata, an ELF sections as policy objects model, and a policy compiler called Mythril DSL; x86 and ARM repos exist. Proof-of-concept blocks the sample secret leak but incurs measurable overhead from state switches and flushes and needs better policy tooling.
AI-written summary · about
chapters (16)
- 0:00Start
- 6:34Now imagine a world where... "Sections are types, linking is policy"
- 7:47A quick aside: on ABI
- 8:36ABI-based policy granularity: just right?
- 13:23When using both openSSL and libpng
- 14:09What can attackers do?
- 15:29ELF: a primer
- 16:18What lies behind the semantics of ELF sections?
- 17:37What is Spectre (variant 1)?
- 18:51Why is it challenging to mitigate Spectre variant 17
- 20:06How is Linux doing it?
- 21:15Why are Spectre variant 1 mitigations interesting?
- 21:40Let us apply ELFbac to the Variant 1 PoC
- 22:36What a policy for Spectre looks like
- 24:21How does ELFbac mitigate Spectre v1?
- 25:49Conclusions
