Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
MsfMania — Python AV 规避工具 | Kitploit
工具/GitHubGitHub/lepotekil/msfmania
加密/解密工具Payload生成漏洞利用IDS/IPS规避Shellcode后渗透利用渗透测试二进制分析学习与教育红队Shellcode 生成Payload 开发
5157510个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
GitHublepotekil/msfmania

MsfMania

Python AV 规避工具

查看仓库

MsfMania

GitHub stars GitHub forks GitHub issues GitHub last commit GitHub release

Python License Docker Status

MsfMania 是一款基于 Python 的高级 Payload 混淆框架,旨在规避 Windows 系统上的 EDR/AV 检测。它通过动态代码生成、多层加密(RC4)以及二进制元数据伪造,生成高度多态的可执行文件。

⚠️ 仅限教育用途 —— 本工具仅适用于授权的安全测试与研究。


目录

  • 截图
  • 功能特性
  • 环境要求
  • 安装
  • 使用方法
    • 基本帮助
    • 完整示例
  • 免责声明
  • 许可证

截图

功能特性

  • 多态 C 桩代码,支持变量/函数名混淆
  • 本地内存注入(RWX)
  • 使用 4 表 S-box 的 RC4 变体,修改的 KSA/PRGA 算法,可配置密钥长度(1-3 字节)
  • 基于 djb2 哈希与随机盐值的 Payload 完整性校验
  • 加密前进行 zlib 压缩
  • Base64 编码用于混淆
  • 桩代码中递归密钥暴力破解
  • 二进制元数据伪造(版本信息、公司、描述、图标等)
  • 动态注入垃圾代码(C 语言)
  • 可去除调试符号以减小文件体积
  • 使用 MinGW 交叉编译

环境要求

  • 电力
  • 互联网
  • 个人电脑或服务器
  • 操作系统(任意)
  • Docker

安装

  • 克隆本仓库:git clone https://github.com/lepotekil/MsfMania.git
  • 进入 MsfMania 目录:cd MsfMania
  • 构建 MsfMania Docker 镜像:docker build -t msfmania:latest .

使用方法

基本帮助

root@kitploit:~
# docker run --rm -v "$(pwd):/app/output" msfmania:latest
                                                                              
                ███╗   ███╗███████╗███████╗███╗   ███╗ █████╗ ███╗   ██╗██╗ █████╗ 
                ████╗ ████║██╔════╝██╔════╝████╗ ████║██╔══██╗████╗  ██║██║██╔══██╗
                ██╔████╔██║███████╗█████╗  ██╔████╔██║███████║██╔██╗ ██║██║███████║
                ██║╚██╔╝██║╚════██║██╔══╝  ██║╚██╔╝██║██╔══██║██║╚██╗██║██║██╔══██║
                ██║ ╚═╝ ██║███████║██║     ██║ ╚═╝ ██║██║  ██║██║ ╚████║██║██║  ██║
                ╚═╝     ╚═╝╚══════╝╚═╝     ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═╝  ╚═╝                                                                                                                                                                                                                   
            Version : 3.0.1   -   Author : Killian CASAROTTO   -  Updated : 10/14/2025           
    
usage: main.py [-h] -p PAYLOAD -o OUTPUT [-k {1,2,3}] [-s]
               [--spoof-bin TARGET_EXE] [-j JUNKCODES]

options:
  -h, --help            show this help message and exit
  -p, --payload PAYLOAD
                        Select the payload file to use (ex: cobalt64.bin)
  -o, --output OUTPUT   Output path including filename (ex:
                        /path/to/output/payload)
  -k, --keysize {1,2,3}
                        RC4 key size in bytes (1-3)
  -s, --strip           Strip the executable
  --spoof-bin TARGET_EXE
                        Spoof binary metadata from target executable (ex:
                        assets/bins/bitsadmin_11-21H2_KB5032192.exe)
  -j, --junkcodes JUNKCODES
                        Number of junkcodes to inject (default: 0)

完整示例

root@kitploit:~
# docker run --rm -v "$(pwd):/app/output" msfmania:latest python3 main.py -p msfmania/assets/bins/win_x64_msgbox_msfvenom_20251010.bin -o output/payload_test_$(date +%s) --keysize 3 --spoof-bin assets/bins/explorer_11-24H2_KB5065789.exe --junkcodes 1000
                                                                           
                ███╗   ███╗███████╗███████╗███╗   ███╗ █████╗ ███╗   ██╗██╗ █████╗ 
                ████╗ ████║██╔════╝██╔════╝████╗ ████║██╔══██╗████╗  ██║██║██╔══██╗
                ██╔████╔██║███████╗█████╗  ██╔████╔██║███████║██╔██╗ ██║██║███████║
                ██║╚██╔╝██║╚════██║██╔══╝  ██║╚██╔╝██║██╔══██║██║╚██╗██║██║██╔══██║
                ██║ ╚═╝ ██║███████║██║     ██║ ╚═╝ ██║██║  ██║██║ ╚████║██║██║  ██║
                ╚═╝     ╚═╝╚══════╝╚═╝     ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═╝  ╚═╝                                                                                                                                                                                                                   
            Version : 3.0.1   -   Author : Killian CASAROTTO   -  Updated : 10/14/2025           
    
[~] Starting shellcode encryption (key size: 3)
[~] Compressing shellcode (303 bytes)
[+] Shellcode compressed to 284 bytes
[~] Encrypting with modified RC4
[+] Encryption completed: 284 bytes (b64: 380 bytes)
[~] Injecting 1000 junkcodes...
[~] Found 27 injection points in main()
[~] Created 973 additional injection points
[+] Inserted 1000/1000 function calls
[+] 1000 junkcodes injected successfully
[+] Successfully injected 1000 junkcodes
[~] Applying obfuscation...
[+] Obfuscated 145 identifiers
[~] Extracting metadata from: assets/bins/explorer_11-24H2_KB5065789.exe
[+] Extracted metadata:
    Description: Windows Explorer
    Version: 10.0.26100.6725 (WinBuild.160101.0800)
    Company: Microsoft Corporation
    Product: Microsoft® Windows® Operating System
[~] Found 23 icon groups with 181 icons
[+] Extracted 26 unique icon(s) from 181 total
[+] Extracted 26 icon(s)
[~] Compiling to: /app/output/output/payload_test_1760467840.exe
[~] Compiling resource file: /tmp/payload_test_1760467840.rc
[+] Resource file compiled: /tmp/payload_test_1760467840.res
[+] Compilation successful: /app/output/output/payload_test_1760467840.exe
[+] Binary size: 405ko
[+] C source copied to: /app/output/examples/main.c
[*] Deploying to remote server...
[+] Payload deployed successfully

免责声明

⚠️ 重要提醒:本项目仅供教育和授权的安全测试使用。

  • 请仅在您拥有所有权或已获得明确许可的系统上使用本工具
  • 未经授权访问计算机系统属于违法行为
  • 作者不对因使用本工具造成的任何滥用或损害承担责任
  • 请始终遵守当地法律法规

许可证

本项目基于 MIT 许可证发布 — 详情请参阅 LICENSE 文件。

下载工具
MsfMania 工具界面
MsfMania 界面
Payload 执行日志
Payload 执行日志
VirusTotal 检测结果
VirusTotal 检测结果