- 0x01 免责声明
请勿使用本文中所提供的任何技术信息或代码工具进行非法测试和违法行为。若使用者利用本文中技术信息或代码工具对任何计算机系统造成的任何直接或者间接的后果及损失,均由使用者本人负责。本文所提供的技术信息或代码工具仅供于学习,一切不良后果与文章作者无关。使用者应该遵守法律法规,并尊重他人的合法权益。
- 0x02 工具介绍
Spellbound是一个C2(命令和控制)框架,由python开发的,包括一个有效载荷生成器(spellgen)发送到你的目标。Spellbound一次能够处理大约65000个目标(取决于机器性能)。
- 0x03 安装方法
cd spellbound
pip install -r requirements.txt
python app.py
- 0x04 使用方法
需要修改下原代码app.py最后一行
socket_.run(app, debug=True)
修改成以下
socket_.run(app, debug=True, host='0.0.0.0')
启动服务端
python app.py
0.0.0.0:5000
Spellgen有效载荷生成器
Usage: spellgen.py <payload> <IP> <PORT>
payload: spellshell
Fully specialized reverse shell with keylogging and persistance capabilities
Command: whataretheywriting- start writing keystrokes to a file
Command: persist- add your reverse shell to the startup registry
Command: spawn- spawn another instance of the reverse shell
Arguments: <C2C IP> <C2C Port>
payload: powershell
Base64 encoded fileless powershell reverse shell
Arguments: <C2C IP> <C2C Port>
payload: msf
Standard msfvenom generated reverse shell staged payload
Arguments: <STAGER IP> <STAGER Port>
Dependencies: sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 wine64
服务端界面功能如下
- 0x05 下载地址
https://github.com/mhuzaifi0604/spellbound
原文始发于微信公众号(Matrix SEC):【Spellbound】一款基于Flask的C2框架
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论