Wake up Neo: detecting virtualization through speculative execution
summary
Claims a new speculative-execution side channel that lets userland detect virtualization by speculatively executing RDTS C, scaling its value into a page index and reading that page to leak a bit via the cache. The proof uses cache timing (prime+probe/flush+reload style), demonstrates Spectre Variant 3a exploitation, shows an RDTSCl-based detector that needs no CPL=0 and resists simple rdtsc-vmexit fixes, and reports reproducible signals (example: five misses out of ten thousand) and a working method to choose different decryption keys depending on virtualization.
AI-written summary · about
chapters (14)
- 0:00Introduction and speaker intro
- 1:16Modern CPU architecture evolution
- 12:49Translation lookaside buffer explained
- 15:00Hyper-threading and branch prediction
- 19:55Cache side-channel attacks history
- 24:39Speculative execution and cache leaks
- 28:10Meltdown and privilege violations
- 29:14Detecting debuggers via speculative execution
- 31:29Virtualization fundamentals
- 34:08Detecting virtualization methods
- 37:49Speculative execution as a detector
- 41:09Live demo and results
- 42:36Malware evasion techniques
- 44:02Conclusion and Q&A
