Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

elegant-bouncer

> 编程语言
Open source

ELEGANTBOUNCER is a detection tool for file-based mobile exploits.

177 stars0 likes0 views
WebsiteGitHub

About

ELEGANTBOUNCER is a detection tool for file-based mobile exploits.

ELEGANTBOUNCER

ELEGANTBOUNCER is a detection tool for file-based mobile exploits.

It employs an innovative approach for advanced file-based threat identification, eliminating the need for in-the-wild samples and outperforming traditional methods based on regular expressions or IOCs. At present, it primarily targets the identification of mobile vulnerabilities such as FORCEDENTRY (CVE-2021-30860), BLASTPASS (CVE-2023-4863, CVE-2023-41064), and TRIANGULATION (CVE-2023-41990).

Support Table

Threat Name CVEs Supported
FORCEDENTRY CVE-2021-30860 :white_check_mark:
BLASTPASS CVE-2023-4863, CVE-2023-41064 :white_check_mark:
TRIANGULATION CVE-2023-41990 :white_check_mark:
CVE-2025-43300 CVE-2025-43300 :white_check_mark:

Learn more

  • FORCEDENTRY
  • BLASTPASS

Terminal User Interface

The TUI mode provides real-time visualization of parallel scanning operations, showing all active worker threads simultaneously. Enable it with the --tui flag when scanning directories.

Getting started

…

Scanning Files and Folders

Single File Scan

Use --scan to assess a single file for known vulnerabilities:

bash
elegantbouncer --scan suspicious_file.pdf

Folder Scan

Scan all supported files in a directory:

bash
elegantbouncer --scan /path/to/folder

Recursive Folder Scan

Use -r flag to recursively scan all subdirectories:

bash
elegantbouncer --scan /path/to/folder -r

Custom File Extensions

Specify which file types to scan using the -e flag:

bash
# 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

Default Extensions

By default, the tool scans files with these extensions:

  • Documents: pdf
  • Images: gif, webp, jpg, jpeg, png, tif, tiff, dng
  • Fonts: ttf, otf

Example Output

When scanning a directory, the tool provides:

  • Real-time progress updates
  • Immediate threat detection notifications
  • Summary table with all vulnerability types
  • Detailed infected files table with:
    • File path
    • Threat name
    • Associated CVE IDs
…

iOS Backup Analysis

Extract iOS Backup Structure

Reconstruct an iOS backup to its readable folder structure:

bash
# 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

Scan Messaging App Attachments

Scan iOS backup for malicious attachments in messaging apps:

bash
# 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

This feature detects threats in attachments from:

  • iMessage - SMS/MMS database attachments
  • WhatsApp - Media files from chats
  • Viber - Shared files and media
  • Signal - Attachments folder (database is encrypted)
  • Telegram - Cached media files

create-forcedentry

Use --create-forcedentry to generate a PDF from the ground up designed to exploit CVE-2021-30860. Work in progress.

Note: Pre-made samples can be found in the samples/ directory.

Recommendations

Use Lockdown Mode to decrease your attack surface if you think you are a person of interest.

Acknowledgements

  • Hamid K. (@Hamid-K) for the original implementation of messaging app scanning and iOS backup reconstruction
  • Valentin Pashkov, Mikhail Vinogradov, Georgy Kucherin (@kucher1n), Leonid Bezvershenko (@bzvr_), and Boris Larin (@oct0xor) of Kaspersky
  • Apple Security Engineering and Architecture (SEAR)
  • Bill Marczack
  • Jeff for helping me understand FORCEDENTRY
  • Valentina for suggesting this target
  • Ian Beer and Samuel Groß of Google Project Zero for their amazing write-up on the sample shared by Citizen Lab with them.
  • @mistymntncop for our exchanges and his work on CVE-2023-4863
  • Ben Hawkes

References

  • Detecting CVE-2025-43300: A Deep Dive into Apple's DNG Processing Vulnerability
  • Researching Triangulation: Detecting CVE-2023-41990 with single byte signatures.
  • Researching FORCEDENTRY: Detecting the Exploit With No Samples
  • Researching BLASTPASS: Detecting the exploit inside a WebP file - Part 1
  • Researching BLASTPASS: Analysing the Apple & Google WebP POC file - Part 2

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustforensicsmobile

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言