Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-62215_Windows_Kernel_PE — This PoC demonstrates a race condition in the Windows kernel leading to a double-free vulnerability, allowing local privilege escalation to SYSTEM. The exploit uses multithreaded handle manipulation and heap spraying to trigger the flaw under controlled conditions. | Kitploit
Tools/GitHubGitHub/abrewer251/cve-2025-62215_windows_kernel_pe
Privilege EscalationVulnerability AnalysisExploitationCTFLearning & EducationBinary Exploitation
GitHubabrewer251/cve-2025-62215_windows_kernel_pe

CVE-2025-62215_Windows_Kernel_PE

This PoC demonstrates a race condition in the Windows kernel leading to a double-free vulnerability, allowing local privilege escalation to SYSTEM. The exploit uses multithreaded handle manipulation and heap spraying to trigger the flaw under controlled conditions.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
19269 months agoNot yet reviewed

CVE-2025-62215 Exploit PoC

Original code credit: https://github.com/dexterm300

🧨 Description

This repository contains a proof-of-concept exploit for CVE-2025-62215, a race condition vulnerability in the Windows kernel that can be triggered via concurrent manipulation of kernel object handles. Under specific conditions, this results in a double-free, which can be exploited for local privilege escalation to SYSTEM.

The exploit works by:

  • Creating multiple threads that rapidly open and close kernel object handles
  • Exploiting a timing window to trigger double-free conditions
  • Using heap spraying to manipulate memory layout
  • Detecting elevated privileges using a monitor thread

⚠️ Disclaimer

This code is provided for educational and authorized security testing purposes only. Running this on production systems or without explicit permission is strictly prohibited.


🛠️ Features

  • Multithreaded race condition trigger
  • Heap spray for layout control
  • Privilege check using access token elevation
  • Test mode for safer execution
  • Thread-safe logging and graceful shutdown
  • Minimal dependencies; builds cleanly with cl.exe (MSVC)

🧪 Requirements

  • Windows 10/11 (x64)
  • MSVC (cl.exe) compiler with Debug CRT (/MDd)
  • Administrator rights for full privilege escalation
  • ntdll.dll for direct syscall bindings

🛠️ Build Instructions

🪟 Visual Studio (Recommended)

  1. Open in Visual Studio
  2. Set configuration to Debug x64
  3. Build and run with elevated privileges

🔧 Command Line (PowerShell or Developer CMD)

May need to install C++ build tools: https://visualstudio.microsoft.com/visual-cpp-build-tools/ & "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\VsDevCmd.bat"

root@kitploit:~
cl.exe poc.cpp /Od /ZI /RTC1 /MDd /link /OUT:unicorn.exe

[*] Starting CVE-2025-62215 exploitation...
[*] Performing heap spray...
[+] Allocated 100 heap chunks
[*] Spawning 8 threads to trigger race condition...
[*] Waiting for race condition...
[+] SUCCESS: Privilege escalation detected!
[+] EXPLOITATION SUCCESSFUL!
[+] Privileges escalated to SYSTEM
Download Tool