Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-30860 — Scan for evidence of CVE-2021-30860 (FORCEDENTRY) exploit | Kitploit
Tools/GitHubGitHub/levilutz/cve-2021-30860
Vulnerability AnalysisExploitationForensicsMobile ForensicsDigital ForensicsIncident Response
GitHublevilutz/cve-2021-30860

CVE-2021-30860

Scan for evidence of CVE-2021-30860 (FORCEDENTRY) exploit

View Repository
112365 years agoNot yet reviewed
Share

CVE-2021-30860

CVE-2021-30860 (FORCEDENTRY) is a known vulnerability in MacOS, iOS, and WatchOS. It allows arbitrary code execution by sending a victim device a "maliciously crafted PDF".

This vulnerability was patched by Apple on September 13, 2021 with the following versions:

  • iOS 14.8
  • OSX Big Sur 11.6, Security Update 2021-005 Catalina
  • WatchOS 7.6.2

However, it has been exploited in the wild since February 2021 or earlier.

Purpose

To detect evidence of past exploit on MacOS computers or iPhones (by scanning a local backup to a Mac). This is not meant to defend against future attack or undo effects of prior attack. This is not meant to detect past exploit on Apple Watches or iPads.

Methods

Two distinct methods are used here to detect evidence of prior exploit.

Initial attack evidence

The well-known attack vector using this vulnerability is sending malicious PDF or PSD files (falsely labelled as GIFs) via SMS. The scripts here scan a Mac's or iPhone backup's received message attachments for ".gif" files whose file signature does not match a GIF's. It's worth noting that receiving the files doesn't necessarily mean a device was compromised, espeically if the file(s) were received after the security update was installed to the device.

Imperfect cleanup

The attacks NSO Group carried out using this vulnerability had at least one bug in their cleanup phase. Evidence is left on an iPhone as an inconsistency in a particular sql database. Citizenlab demonstrated a simple SQL query on this database that can detect the relevant inconsistency.

Requirements

Required for all scans

  • A computer running MacOS 11.0 or higher.
  • A Python 3 installation.

Required only for iPhone scans

  • An unencrypted full local backup of the iPhone in concern.
  • An install of iPhone backup tools, used for scanning iphone backups.

Preparation and Usage

  1. Ensure all requirements met.
  2. Download this repository and navigate to its folder in the terminal.
  3. Run python3 cve_scan.py to scan using default options, or python3 cve_scan.py -h for help.

Examples

  1. Scan this Mac only: python3 cve_scan.py --mode mac
  2. Scan an iPhone backup only: python3 cve_scan.py --mode iphone
  3. Scan an iPhone messages only: python3 cve_scan.py --mode iphone --method attachments
  4. Scan an iPhone datausage db only: python3 cve_scan.py --mode iphone --method datausagedb
  5. Scan the most recent iPhone backup: python3 cve_scan.py --mode iphone --backups newest

References

  • MITRE CVE Page
  • Apple support document
  • Citizenlab Article
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    786
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    429
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    262
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    256

Explore all tools

Browse our collection of tools

View all tools →