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-2024-30088__Windows-TOCTOU-exploit — This is a modified version of the original CVE-2024-30088 exploit, adapted to work in non-interactive environments (WinRM). | Kitploit
Tools/GitHubGitHub/th3g3ntl3m4n84/cve-2024-30088__windows-toctou-exploit
Privilege EscalationExploitationPost-ExploitationPenetration Testing
GitHubth3g3ntl3m4n84/cve-2024-30088__windows-toctou-exploit

CVE-2024-30088__Windows-TOCTOU-exploit

This is a modified version of the original CVE-2024-30088 exploit, adapted to work in non-interactive environments (WinRM).

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
14 months agoNot yet reviewed

CVE-2024-30088 – WinRM Adapted PoC

📌 Summary

This is a modified version of the original CVE-2024-30088 exploit, adapted to work in non-interactive environments (WinRM).

The original PoC spawns an interactive cmd.exe, which does not work over WinRM. This version focuses on non-interactive execution and stability.


🔧 Changes from Original PoC

  • Replaced CREATE_NEW_CONSOLE with CREATE_NO_WINDOW

  • Added WaitForSingleObject() to ensure synchronous execution

  • Added verbose logging (printf + fflush) for visibility over WinRM

  • Removed interactive pauses (getchar)

  • Hardcoded execution of external binary:

    root@kitploit:~
    C:\temp\shellz.exe
    

    via PowerShell:

    root@kitploit:~
    powershell.exe -c Start-Process C:\temp\shellz.exe
    

⚙️ Compile

Using Visual Studio (x64):

root@kitploit:~
msbuild poc.sln /p:Configuration=Release /p:Platform=x64

🚀 Usage

Upload the compiled binary and execute via WinRM:

root@kitploit:~
.\poc.exe

Download Tool