You need to know the KASLR slide to use the exploit. Also SMAP needs to be disabled which means that it's not exploitable on Macs after 2015. These limitations make the exploit pretty much unusable for in-the-wild exploitation but still helpful for security researchers in a controlled lab environment.
This exploit is intended for security research purposes only.
macOS Kernel Exploit for CVE-????-???? (currently a 0day.
I'll add the CVE# once it is published
Thanks to @LinusHenze for this cool bug and his support ;P.
Probably coming soon. If you want to try and exploit it yourself, here are a few things to get you started:
.app
file into VMWare's NEW VM
windowI recommend setting the bootargs to: debug=0x44 kcsuffix=development -v
-pmap_smap_disable
)
You will need XCODE <= 9.4.1 to build the exploit. (It needs to be 32bit)
Downloading Xcode 9.4.1 Commandline Tools should be enough
make
./exploit <KASLR slide>
Tested on macOS Mojave: Darwin Kernel-Mac.local 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/DEVELOPMENT_X86_64 x86_64
Demo:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。