MCPcopy Create free account
hub / github.com/Sh0ckFR/Lockbit3.0-MpClient-Defender-PoC

github.com/Sh0ckFR/Lockbit3.0-MpClient-Defender-PoC @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
59 symbols 61 edges 2 files 0 documented · 0% updated 3y ago★ 177

Browse by type

Functions 59 Types & classes 0
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Lockbit3.0-MpClient-Defender-PoC

Lockbit3.0 Microsoft Defender MpClient.dll DLL Hijacking PoC

Based on: LockBit ransomware abuses Windows Defender to load Cobalt Strike

https://www.bleepingcomputer.com/news/security/lockbit-ransomware-abuses-windows-defender-to-load-cobalt-strike/

How to test by yourself

  • Create a new directory, copy C:\Program Files\Windows Defender\MpCmdRun.exe or C:\Program Files\Windows Defender\NisSrv.exe in this new directory
  • Copy mpclient-mpcmdrun.dll or mpclient-nissrv.dll (depends of the binary that you want to test) and rename the dll mpclient.dll.
  • Run the executable.

How to compile

  • Install https://releases.llvm.org/download.html
  • Reboot your computer

If you want to try MpCmdRun.exe:

clang++ dllmain-mpcmdrun.cpp -o mpclient.dll -shared

If you want to try NisSrv.exe:

clang++ dllmain-NisSrv.cpp -o mpclient.dll -shared

Yara Rule

Check the file lockbit3mpclientdefender.yar

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 59

Languages

C++100%

Modules by API surface

dllmain-mpcmdrun.cpp46 symbols
dllmain-NisSrv.cpp13 symbols

For agents

$ claude mcp add Lockbit3.0-MpClient-Defender-PoC \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page