MS17-010(永恒之蓝) Python Exploit

2018 年 3 月 17 日 黑客工具箱 c

文件如下:

  • BUG.txt MS17-010 bug detail and some analysis

  • checker.py Script for finding accessible named pipe

  • eternalblue_exploit7.py Eternalblue exploit for windows 7/2008

  • eternalblue_exploit8.py Eternalblue exploit for windows 8/2012 x64

  • eternalblue_poc.py Eternalblue PoC for buffer overflow bug

  • eternalblue_kshellcode_x64.asm x64 kernel shellcode for my Eternalblue exploit. This shellcode should work on Windows Vista and later

  • eternalblue_kshellcode_x86.asm x86 kernel shellcode for my Eternalblue exploit. This shellcode should work on Windows Vista and later

  • eternalblue_sc_merge.py Script for merging eternalblue x86 and x64 shellcode. Eternalblue exploit, that support both x86 and x64, with merged shellcode has no need to detect a target architecture

  • eternalchampion_leak.py Eternalchampion PoC for leaking info part

  • eternalchampion_poc.py Eternalchampion PoC for controlling RIP

  • eternalchampion_poc2.py Eternalchampion PoC for getting code execution

  • eternalromance_leak.py Eternalromance PoC for leaking info part

  • eternalromance_poc.py Eternalromance PoC for OOB write

  • eternalromance_poc2.py Eternalromance PoC for controlling a transaction which leading to arbitrary read/write

  • eternalsynergy_leak.py Eternalsynergy PoC for leaking info part

  • eternalsynergy_poc.py Eternalsynergy PoC for demonstrating heap spraying with large paged pool

  • infoleak_uninit.py PoC for leaking info from uninitialized transaction data buffer

  • mysmb.py Extended Impacket SMB class for easier to exploit MS17-010 bugs

  • npp_control.py PoC for controlling nonpaged pool allocation with session setup command

  • zzz_exploit.py Exploit for Windows 2000 and later (requires access to named pipe)


正常zzz_exploit.py就包含了所有的系统,不过默认执行的payload只是在c盘写了一个文件


需要修改 972行

在smbconn下加上

service_exec(conn, r'cmd /c copy c:\pwned.txt c:\pwned_exec.txt')


把后面执行的cmd改成自己需要执行的命令即可,因为他是创建一个服务去执行命令,可能会出现错误


地址:https://github.com/worawit/MS17-010/

登录查看更多
0

相关内容

shellcode是一段不依赖于上下文的可执行机器码。
一份简明有趣的Python学习教程,42页pdf
专知会员服务
77+阅读 · 2020年6月22日
【实用书】Python技术手册,第三版767页pdf
专知会员服务
239+阅读 · 2020年5月21日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
160+阅读 · 2019年10月12日
【新书】Python编程基础,669页pdf
专知会员服务
196+阅读 · 2019年10月10日
机器学习入门的经验与建议
专知会员服务
94+阅读 · 2019年10月10日
用 Python 开发 Excel 宏脚本的神器
私募工场
26+阅读 · 2019年9月8日
后渗透利用msf关闭防火墙
黑白之道
8+阅读 · 2019年8月24日
已删除
AI掘金志
7+阅读 · 2019年7月8日
Github项目推荐 | RecQ - Python推荐系统框架
AI研习社
8+阅读 · 2019年1月23日
去哪儿网开源DNS管理系统OpenDnsdb
运维帮
21+阅读 · 2019年1月22日
Ray RLlib: Scalable 降龙十八掌
CreateAMind
9+阅读 · 2018年12月28日
一份数据科学家必备的技能清单(附资源)
THU数据派
7+阅读 · 2018年5月29日
实战 | 用Python做图像处理(二)
七月在线实验室
17+阅读 · 2018年5月25日
CVE-2018-7600 - Drupal 7.x 远程代码执行exp
黑客工具箱
14+阅读 · 2018年4月17日
教你用Python来玩跳一跳
七月在线实验室
6+阅读 · 2018年1月2日
Arxiv
92+阅读 · 2020年2月28日
Learning to Importance Sample in Primary Sample Space
Arxiv
3+阅读 · 2018年3月13日
VIP会员
相关资讯
用 Python 开发 Excel 宏脚本的神器
私募工场
26+阅读 · 2019年9月8日
后渗透利用msf关闭防火墙
黑白之道
8+阅读 · 2019年8月24日
已删除
AI掘金志
7+阅读 · 2019年7月8日
Github项目推荐 | RecQ - Python推荐系统框架
AI研习社
8+阅读 · 2019年1月23日
去哪儿网开源DNS管理系统OpenDnsdb
运维帮
21+阅读 · 2019年1月22日
Ray RLlib: Scalable 降龙十八掌
CreateAMind
9+阅读 · 2018年12月28日
一份数据科学家必备的技能清单(附资源)
THU数据派
7+阅读 · 2018年5月29日
实战 | 用Python做图像处理(二)
七月在线实验室
17+阅读 · 2018年5月25日
CVE-2018-7600 - Drupal 7.x 远程代码执行exp
黑客工具箱
14+阅读 · 2018年4月17日
教你用Python来玩跳一跳
七月在线实验室
6+阅读 · 2018年1月2日
Top
微信扫码咨询专知VIP会员