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
MongoBleed-DFIR-Triage-Script-CVE-2025-14847 — The script focuses on safe artifact acquisition first, followed by optional on-host analysis, and produces a portable, hashed forensic archive suitable for offline investigation on a forensic workstation. | Kitploit
Tools/GitHubGitHub/jemhadar/mongobleed-dfir-triage-script-cve-2025-14847
Container SecurityVulnerability AnalysisForensicsDigital ForensicsThreat IntelligenceIncident ResponseDatabase SecurityLog Analysis
Share
GitHub
jemhadar/mongobleed-dfir-triage-script-cve-2025-14847

MongoBleed-DFIR-Triage-Script-CVE-2025-14847

The script focuses on safe artifact acquisition first, followed by optional on-host analysis, and produces a portable, hashed forensic archive suitable for offline investigation on a forensic workstation.

View Repository
5910 months agoNot yet reviewed

CVE-2025-14847

Eric Capuano1 posted an excellent blog regarding MongoBleed (CVE-2025-14847) and indicators to look out for. PoC by Joe Desimone2 shows exactly how the memory leak exploit works and Kevin Beaumont3 has an excellent write-up on the vulnerability (see reference section for links).

MongoBleed Triage Script

The script focuses on safe artifact acquisition first, followed by optional on-host analysis, and produces a portable, hashed forensic archive suitable for offline investigation on a forensic workstation.**

PoC Displaying Memory Leak

image

Triage Script Run

image

Table of Contents

  • Purpose
  • What the Script Does
  • Time-Scoped Log Filtering
  • Optional On-Host Analysis
  • Output
  • Design Principles
  • Important Notes
  • Intended Audience
  • References
  • License

Purpose

MongoBleed exploitation leaves minimal persistent artifacts and often relies on high-velocity unauthenticated connections and metadata enumeration.

This script helps responders:
  • Scope exposure starting from PoC disclosure
  • Identify suspicious connection velocity
  • Detect metadata exfiltration indicators
  • Preserve host and Docker-based MongoDB evidence
  • Package artifacts in a forensically sound format

What the Script Does

Evidence Collection (Always Runs)

  • Collects MongoDB configuration and version information
  • Copies MongoDB logs from host systems
  • Enumerates Docker containers running MongoDB
  • Extracts container logs, configs, socket state, and FD listings
  • Captures system context (hostname, kernel, timestamps)

Time-Scoped Log Filtering

  • Uses a fixed start time (2024-12-24) corresponding to public PoC release
  • Uses a dynamic end time (execution time)
  • Filters logs strictly within the incident window

Optional On-Host Analysis

If jq is installed:

  • Extracts connection and metadata events from MongoDB logs
  • Aggregates connections by source IP
  • Calculates:
    • Total connections
    • Metadata request ratio
    • Connection velocity (per minute)
  • Flags high-confidence exploitation patterns

If jq is not installed:

  • Skips analysis safely
  • Preserves all raw artifacts for offline analysis
  • Forensic Packaging
  • Creates a compressed .tar.gz archive of all collected artifacts
  • Generates SHA256 and MD5 hashes
  • Produces a single immutable evidence package ready for transfer

Output

The script produces:

  • A structured artifact directory
  • A compressed forensic archive
  • Cryptographic hashes for integrity verification
  • All analysis can be reproduced offline without re-running the script on the affected host.
  • Post-Execution Layout (Authoritative) image

Design Principles

  • Collection-first (analysis is never required on the target)
  • Non-destructive (read-only operations)
  • Defensible (timestamped, hashed, reproducible)
  • Docker-aware
  • Minimal dependencies

Important Notes

  • This script is intended for incident response and forensic triage
  • It does not modify MongoDB state
  • Detection is based on behavioral indicators, not signatures
  • Absence of findings does not guarantee absence of compromise

Intended Audience

  • Incident Responders
  • DFIR Analysts
  • SOC Engineers
  • Cloud Security Teams
  • Digital Forensic Examiners

References

License

  • Use, modify, and adapt responsibly. Attribution appreciated.

Footnotes

  1. Original Research: Hunting MongoBleed (CVE-2025-14847) by Eric Capuano ↩

  2. MongoBleed PoC by Joe Desimone ↩

  3. MongoDB Security Incident by Kevin Beaumont ↩

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.

    871
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    548
  • 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.

    383
  • 4

    redforge

    cybersecurity91/redforge

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

    361
  • 5

    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.

    305
  • 6

    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.

    280

Explore all tools

Browse our collection of tools

View all tools →