
jump over ASLR: Angriff auf Branch-Prädiktoren, um die ASLR-Technik zu umgehen
Autor: Byte Reaper
Dieses Repository enthält eine C-Implementierung für Forschungszwecke, die Konzepte im Zusammenhang mit Branch-Prädiktoren, spekulativer Ausführung und Cache-basierten Seitenkanälen im Kontext der Address-Space-Layout-Randomization (ASLR) demonstriert.
Linux x86_64
GCC
CPU that supports BTB
gcc btb.c -o BTB
./BTB
[+] check System Security for Check branch predictors...
[+] Sleep Success.
[-] Not Detect Single Thread Indirect Branch Predictors.
[-] Not Detect Indirect Branch Restricted Speculation
[-] Not Detect Speculative Store Bypass Disable .
[+] Detect L1D_FLUSH.
[+] Detect MD_CLEAR.
[-] Not Detect IA32_ARCH_CAPABILITIES.
[+] Result Detect Branch predictors :
[+] Detect Branch predictors
[+] Get Address victimValue() function Success.
...
Intel-Dokumentation MSR / cpuid : https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/cpuid-enumeration-and-architectural-msrs.html
ASLR überspringen : https://www.cs.ucr.edu/~nael/pubs/micro16.pdf
MIT