2 Star 2 Fork 1

Mstir/Penetration_Testing_POC

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
BlueKeep
CVE-2018-6389
CVE-2019-0211-apache
CVE-2019-0803
CVE-2019-11043
CVE-2019-11510
CVE-2019-13051
CVE-2019-15107
CVE-2019-16097
CVE-2019-6977-imagecolormatch
CVE-2019-8451
IIS/CVE-2017-7269-Echo-PoC
POC_Details
Struts2_045-Poc
WeblogicScanLot
books
discuz-ml-rce
img
jboss_CVE-2017-12149
macOS-Kernel-Exploit
Makefile
README.md
definitions.h
exploit.c
exploit.png
gadgets.c
gadgets.h
kernel.s
redis-rogue-server
tools
tp5-getshell
zentao-getshell
Amazon Kindle Fire HD (3rd Generation)内核驱动拒绝服务漏洞.md
CVE-2019-0708-msf快速搭建.md
CVE-2019-10173 Xstream 1.4.10版本远程代码执行漏洞.md
CVE-2019-15107 Webmin 1.920 远程命令执行漏洞.md
CVE-2019-16131 OKLite v1.2.25 任意文件上传漏洞.md
CVE-2019-16132 OKLite v1.2.25 存在任意文件删除漏洞.md
CVE-2019-16278andCVE-2019-16279-about-nostromo-nhttpd.md
CVE-2019-16309 FlameCMS 3.3.5 后台登录处存在sql注入漏洞.md
CVE-2019-16313 蜂网互联企业级路由器v4.31密码泄露漏洞.md
CVE-2019-16314 indexhibit cms v2.1.5 存在重装并导致getshell.md
CVE-2019-16759 vBulletin 5.x 0day pre-auth RCE exploit.md
CVE-2019-16920-D-Link-rce.md
CVE-2019-17624-X.Org X Server 1.20.4 - Local Stack Overfl...
CVE-2019-17662-ThinVNC 1.0b1 - Authentication Bypass.md
CVE-2019-2890-Oracle WebLogic 反序列化严重漏洞.md
CVE-2019-7580 thinkcmf-5.0.190111后台任意文件写入导致的代码执行.md
CVE-2019-7609-kibana低于6.6.0未授权远程代码命令执行.md
Cobub Razor 0.7.2存在跨站请求伪造漏洞.md
Cobub Razor 0.7.2越权增加管理员账户.md
Cobub Razor 0.8.0存在SQL注入漏洞.md
Cobub Razor 0.8.0存在物理路径泄露漏洞.md
Couch through 2.0存在路径泄露漏洞.md
DomainMod的XSS集合.md
Easy File Sharing Web Server 7.2 - GET 缓冲区溢出 (SEH).md
FineCMS_v5.0.8两处getshell.md
Finecms_v5.4存在CSRF漏洞可修改管理员账户密码.md
GreenCMS v2.3.0603存在CSRF漏洞可获取webshell&增加管理员账户.md
Hucart cms v5.7.4 CSRF漏洞可任意增加管理员账号.md
Joomla-3.4.6-RCE.md
LFCMS 3.7.0存在CSRF漏洞可添加任意用户账户或任意管理员账户.md
LICENSE
MetInfoCMS 5.X版本GETSHELL漏洞合集.md
Metinfo-6.1.2版本存在XSS漏洞&SQL注入漏洞.md
MiniCMS 1.10存在CSRF漏洞可增加管理员账户.md
README.md
S-CMS PHP v3.0存在SQL注入漏洞.md
S-CMS企业建站系统PHP版v3.0后台存在CSRF可添加管理员权限账号.md
ThinkCMF漏洞全集和.md
YzmCMS 3.6存在XSS漏洞.md
Z-Blog 1.5.1.1740存在XSS漏洞.md
cve-2019-17424 nipper-ng_0.11.10-Remote_Buffer_Overflow远程...
freeFTP1.0.8-'PASS'远程缓冲区溢出.md
indexhibit cms v2.1.5 直接编辑php文件getshell.md
joyplus-cms 1.6.0存在CSRF漏洞可增加管理员账户.md
maccms_v10存在CSRF漏洞可增加任意账号.md
rConfig v3.9.2 RCE漏洞.md
solr_rce.md
thinkphp5命令执行.md
thinkphp5框架缺陷导致远程代码执行.md
typecho反序列化漏洞.md
yii2-statemachine v2.x.x存在XSS漏洞.md
五指CMS 4.1.0存在CSRF漏洞可增加管理员账户.md
华为WS331a产品管理页面存在CSRF漏洞.md
天翼创维awifi路由器存在多处未授权访问漏洞.md
构建ASMX绕过限制WAF达到命令执行.md
泛微 e-cology OA 前台SQL注入漏洞.md
泛微OA管理系统RCE漏洞利用脚本.md
致远OA_A8_getshell_0day.md
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

macOS-Kernel-Exploit

DISCLAIMER

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.

General

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.

Writeup

Probably coming soon. If you want to try and exploit it yourself, here are a few things to get you started:

Build

I recommend setting the bootargs to: debug=0x44 kcsuffix=development -v

Note: SMAP needs to be disabled on macs after 2015 (-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 Download: https://developer.apple.com/download/more/

make

Execution

./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:

asciicast

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mstir/Penetration_Testing_POC.git
git@gitee.com:mstir/Penetration_Testing_POC.git
mstir
Penetration_Testing_POC
Penetration_Testing_POC
master

搜索帮助