
ELEGANTBOUNCER هي أداة كشف للاستغلالات القائمة على الملفات في الأجهزة المحمولة.

ELEGANTBOUNCER هي أداة كشف للاستغلالات المتنقلة القائمة على الملفات.
إنها تتبع نهجًا مبتكرًا لتحديد التهديدات المتقدمة القائمة على الملفات، مما يلغي الحاجة إلى عينات من الهجمات الفعلية ويتفوق على الأساليب التقليدية القائمة على التعبيرات النمطية أو مؤشرات الاختراق (IOCs). في الوقت الحالي، تستهدف بشكل أساسي تحديد ثغرات الأجهزة المحمولة مثل FORCEDENTRY (CVE-2021-30860) وBLASTPASS (CVE-2023-4863, CVE-2023-41064) وTRIANGULATION (CVE-2023-41990).
| اسم التهديد | CVEs | مدعوم |
|---|---|---|
| FORCEDENTRY | CVE-2021-30860 | ✅ |
| BLASTPASS | CVE-2023-4863, CVE-2023-41064 | ✅ |
| TRIANGULATION | CVE-2023-41990 | ✅ |
| CVE-2025-43300 | CVE-2025-43300 | ✅ |


يوفر وضع 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,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, 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 لإنشاء ملف PDF من الصفر مصمم لاستغلال CVE-2021-30860. العمل قيد التقدم.
ملاحظة: يمكن العثور على عينات جاهزة في مجلد samples/.
استخدم وضع القفل لتقليل سطح الهجوم إذا كنت تعتقد أنك شخصًا مستهدفًا.