timwr / CVE-2016-5195

CVE-2016-5195 (dirtycow/dirtyc0w) proof of concept for Android
959 stars 395 forks source link

x86 zenfone5 not work #83

Open stm32repo opened 6 years ago

stm32repo commented 6 years ago

Android 4.4.2

shell@ASUST00K:/ $ /system/bin/run-as uid /system/bin/run-as 2000 uid 0 0 u:r:runas:s0 context 0 u:r:shell:s0 shell@ASUST00K:/ # id uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcardrw),1028(sdcardr),3001(netbtadmin),3002(netbt),3003(inet),3006(netbwstats) context=u:r:shell:s0 shell@ASUST00K:/ # ls /data/ opendir failed, Permission denied

timwr commented 6 years ago

Weird. This looks like an SELinux issue, but I thought 4.4.2 did not have SELinux enabled/enforcing. What does adb logcat | grep avc say? I suspect you'll need to find a way to disable selinux.