
ELEGANTBOUNCER は、ファイルベースのモバイルエクスプロイトを検出するツールです。

ELEGANTBOUNCERは、ファイルベースのモバイルエクスプロイトを検出するツールです。
高度なファイルベースの脅威識別のために革新的なアプローチを採用しており、実際の攻撃で発見されたサンプルを必要とせず、正規表現やIOCに基づく従来の手法を上回る性能を発揮します。現在は主に、FORCEDENTRY(CVE-2021-30860)、BLASTPASS(CVE-2023-4863、CVE-2023-41064)、TRIANGULATION(CVE-2023-41990)などのモバイル脆弱性の識別を対象としています。
| 脅威名 | CVE | サポート |
|---|---|---|
| FORCEDENTRY | CVE-2021-30860 | ✅ |
| BLASTPASS | CVE-2023-4863, CVE-2023-41064 | ✅ |
| TRIANGULATION | CVE-2023-41990 | ✅ |
| CVE-2025-43300 | CVE-2025-43300 | ✅ |
| CVE-2025-21043 | CVE-2025-21043 | ✅ |
| CVE-2026-32741 | CVE-2026-32741 | ✅ |
| HEIF mask underfill | CVEなし (libheif <= 1.21.2) | ✅ |
| CVE-2026-32882 | CVE-2026-32882, CVE-2025-68431 | ✅ |
| CVE-2026-86950 | CVE-2026-86950 | ✅ |


TUIモードでは、並列スキャン操作をリアルタイムで可視化し、アクティブなワーカースレッドをすべて同時に表示します。ディレクトリをスキャンする際に--tuiフラグを指定すると有効になります。
elegant-bouncer v0.2
ELEGANTBOUNCER Detection Tool
Detection tool for file-based mobile exploits.
A utility designed to detect the presence of known mobile APTs in commonly distributed files.
Usage: elegant-bouncer [OPTIONS] <Input path>
Arguments:
<Input path>
Path to the input file or folder
Options:
-v, --verbose
Print extra output while parsing
-s, --scan
Assess a given file or folder, checking for known vulnerabilities
-c, --create-forcedentry
Create a FORCEDENTRY-like PDF
-r, --recursive
Recursively scan subfolders
-m, --messaging
Scan messaging app databases for attachments (iOS backup format)
--ios-extract
Extract/reconstruct iOS backup to readable folder structure
-o, --output <OUTPUT>
Output directory for iOS backup extraction
-f, --force
Force overwrite of output directory if not empty
-e, --extensions <EXTENSIONS>
File extensions to scan (comma-separated, e.g., "pdf,webp,ttf")
Default: pdf,gif,webp,jpg,jpeg,png,tif,tiff,dng,heic,heif,hif,avif,ttf,otf
-h, --help
Print help information (use `-h` for a summary)
-V, --version
Print version information
既知の脆弱性について単一のファイルを評価するには、--scan を使用します:
elegantbouncer --scan suspicious_file.pdf
ディレクトリ内のサポートされているすべてのファイルをスキャンします:
elegantbouncer --scan /path/to/folder
-r フラグを使用して、すべてのサブディレクトリを再帰的にスキャンします:
elegantbouncer --scan /path/to/folder -r
-e フラグを使用して、スキャンするファイルタイプを指定します:
# Scan only PDF and DNG files
elegantbouncer --scan /path/to/folder -e pdf,dng
# Scan only image files recursively
elegantbouncer --scan /path/to/folder -r -e jpg,jpeg,png,webp,gif
デフォルトでは、ツールは以下の拡張子を持つファイルをスキャンします:
ディレクトリをスキャンする際、ツールは以下を提供します:
[+] Scanning directory: /path/to/documents
[+] Recursive mode enabled
[+] Extensions: pdf, gif, webp, jpg, jpeg, png, tif, tiff, dng, heic, heif, hif, avif, ttf, otf
[1] Scanning: /path/to/documents/invoice.pdf
[2] Scanning: /path/to/documents/photo.jpg
[3] Scanning: /path/to/documents/malicious.webp
└─ THREAT found: BLASTPASS
[4] Scanning: /path/to/documents/report.pdf
└─ THREAT found: FORCEDENTRY
[+] Scanned 4 files
[+] Summary Results:
╭────────────────┬───────────────────────────────┬──────────────────────────────────────────────────────────────────────────┬──────────╮
│ name │ cve_ids │ description │ detected │
├────────────────┼───────────────────────────────┼──────────────────────────────────────────────────────────────────────────┼──────────┤
│ FORCEDENTRY │ CVE-2021-30860 │ Malicious JBIG2 PDF shared over iMessage │ Yes │
│ BLASTPASS │ CVE-2023-4863, CVE-2023-41064 │ Malicious WebP presumably shared over iMessage and other mediums │ Yes │
│ TRIANGULATION │ CVE-2023-41990 │ Maliciously crafted TrueType font embedded in PDFs shared over iMessage │ No │
│ CVE-2025-43300 │ CVE-2025-43300 │ Malicious DNG with JPEG Lossless compression exploiting RawCamera.bundle │ No │
╰────────────────┴───────────────────────────────┴──────────────────────────────────────────────────────────────────────────┴──────────╯
[!] Infected Files Details:
╭────────────────────────────────┬─────────────┬───────────────────────────────╮
│ path │ threat_name │ cve_ids │
├────────────────────────────────┼─────────────┼───────────────────────────────┤
│ /path/to/documents/report.pdf │ FORCEDENTRY │ CVE-2021-30860 │
│ /path/to/documents/malicious.webp │ BLASTPASS │ CVE-2023-4863, CVE-2023-41064 │
╰────────────────────────────────┴─────────────┴───────────────────────────────╯
iOSバックアップを読み取り可能なフォルダ構造に再構築します:
# Extract backup to default location (creates _reconstructed folder)
elegantbouncer --ios-extract /path/to/ios/backup
# Extract to specific output directory
elegantbouncer --ios-extract /path/to/ios/backup -o /path/to/output
# Force overwrite if output directory exists
elegantbouncer --ios-extract /path/to/ios/backup -o /path/to/output --force
iOS バックアップ内のメッセージングアプリの悪意ある添付ファイルをスキャンします:
# Scan messaging databases (iMessage, WhatsApp, Viber, Signal, Telegram)
elegantbouncer --scan --messaging /path/to/ios/backup
# Combine with extraction for complete analysis
elegantbouncer --ios-extract /path/to/ios/backup -o /tmp/extracted
elegantbouncer --scan --messaging /tmp/extracted
この機能は以下の添付ファイル内の脅威を検出します:
--create-forcedentry を使用すると、CVE-2021-30860 を悪用するためにゼロから設計された PDF を生成できます。作業中です。
注: 事前に作成されたサンプルは samples/ ディレクトリにあります。
自分が標的となる人物である可能性があると考える場合は、ロックダウンモードを使用して攻撃対象領域を減らしてください。