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
MongoDeepDive β€” Context-Aware Memory Leak Scanner & Exploit for CVE-2025-14847. | Kitploit
Tools/GitHubGitHub/tunahantekeoglu/mongodeepdive
Vulnerability ScannersExploitationInformation GatheringPenetration TestingRed TeamingDatabase Security
GitHubtunahantekeoglu/mongodeepdive

MongoDeepDive

Context-Aware Memory Leak Scanner & Exploit for CVE-2025-14847.

View Repository
4510 months agoNot yet reviewed
Share

🌊 MongoDeepDive

Context-Aware MongoDB Wire Protocol Exploit (CVE-2025-14847) > Advanced Heuristics Analyzer for Red Team Operations

Python License Security

πŸ’€ Overview

MongoDeepDive is a high-performance, asynchronous vulnerability scanner and forensic analyzer designed to detect uninitialized memory leaks in MongoDB servers affected by CVE-2025-14847.

Unlike standard PoC scripts that merely check for response size, MongoDeepDive employs Shannon Entropy analysis and heuristic filtering to distinguish between empty memory padding (garbage) and high-value secrets (e.g., Private Keys, AWS Tokens, Passwords).

This tool is engineered for Security Architects and Red Teamers who need actionable intelligence, not just noise.

πŸ“Ί Demo Output

────────────────────────── MongoDeepDive - Tunahan Tekeoğlu ──────────────────────────
Scanning... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:02

[+] VULNERABLE: 192.168.1.15:27017 | Response Size: 65552 bytes
    └── SECRETS FOUND: 3 critical blocks extracted
       ➜ SECRET_EXPOSED (AWS_KEY)
       ➜ HIGH_ENTROPY (Key/Encrypted)
       ➜ SECRET_EXPOSED (DB_URI)

[+] VULNERABLE: 192.168.1.18:27017 | Response Size: 65552 bytes
    └── Leak confirmed, but memory content is currently empty/low-entropy.

Scan Complete. Report saved to mongo_audit.json

πŸš€ Key Features

  • 🧠 Heuristic Intelligence: Real-time entropy calculation to identify encrypted data or keys within leaked memory chunks.
  • ⚑ High-Performance AsyncIO: Scans hundreds of targets simultaneously with minimal resource footprint.
  • πŸ›‘οΈ Smart Filtering: Automatically removes null bytes and filters out low-entropy "junk" data.
  • βš—οΈ Hybrid Analysis: Reports both the raw leak size (Scanner Mode) and the analyzed content (Forensic Mode).
  • πŸ‘» Stealth Mode: Includes a --safe flag for throttled, production-safe scanning.
  • JSON Export: Structured output for easy integration with vulnerability management platforms.

πŸ“¦ Installation

# Clone the repository
git clone https://github.com/tunahantekeoglu/MongoDeepDive.git

# Enter the directory
cd MongoDeepDive

# Install dependencies
pip install -r requirements.txt

(Note: Requires rich library for CLI visualization)

πŸ› οΈ Usage

1. Mass Scanning (List Mode)

Scan a list of targets with high concurrency and generate a JSON report:

python3 mongo_deep_dive.py -l targets.txt -o report.json -c 50

2. Deep Extraction (Single Target)

Aggressively siphon memory from a confirmed target to hunt for secrets (e.g., sending 1000 packets):

python3 mongo_deep_dive.py -t 192.168.1.10 -n 1000

3. Production / Stealth Mode

Enable throttling to avoid network saturation or service instability on legacy systems:

python3 mongo_deep_dive.py -l targets.txt --safe

🧠 How It Works

  1. Payload Injection: Sends a malformed OP_COMPRESSED packet with a spoofed uncompressed size.
  2. Memory Leak: The vulnerable server allocates memory based on the spoofed size but fails to initialize it, returning raw heap data.
  3. Entropy Analysis: The tool calculates the Shannon Entropy of the returned bytes.
  • Entropy > 4.5: Likely Encrypted Data, Keys, or Compressed Strings.
  • Entropy < 3.0: Likely Padding, Logs, or Null Bytes.
  1. Pattern Matching: Regex filters are applied to identify specific patterns like AKIA... (AWS Keys) or eyJ... (JWTs).

⚠️ Disclaimer

For Educational and Authorized Testing Purposes Only.

This tool is intended for security research, authorized Red Team engagements, and vulnerability assessment. The author takes no responsibility for the misuse of this code. Accessing computer systems without permission is illegal.


Author: Tunahan Tekeoğlu

Get in touch with me! πŸš€

Instagram
Twitter
LinkedIn

Or You Can Send Me an Email πŸ“©

Email

To Read My Articles About Cyber Security

Medium


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.

    933
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    551
  • 3

    redforge

    cybersecurity91/redforge

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

    354
  • 4

    ARTEX

    baarai/artex

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

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

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

    289

Explore all tools

Browse our collection of tools

View all tools β†’