
Lockbit3.0 Microsoft Defender MpClient.dll DLL Hijacking PoC
Lockbit3.0 Microsoft Defender MpClient.dll DLL Hijacking PoC
Based on: LockBit ransomware abuses Windows Defender to load Cobalt Strike
C:\Program Files\Windows Defender\MpCmdRun.exe or C:\Program Files\Windows Defender\NisSrv.exe in this new directorympclient-mpcmdrun.dll or mpclient-nissrv.dll (depends of the binary that you want to test) and rename the dll mpclient.dll.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
Check the file lockbit3mpclientdefender.yar