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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CallstackSpoofingPOC — 基于多种 EDR 规避技术的 C++ 自注入型投放器。 | Kitploit
工具/GitHubGitHub/pard0p/callstackspoofingpoc
IDS/IPS规避红队Payload 开发对抗性攻击
GitHubpard0p/callstackspoofingpoc

CallstackSpoofingPOC

基于多种 EDR 规避技术的 C++ 自注入型投放器。

查看仓库
442692年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

调用栈欺骗 + 间接系统调用 POC

这个项目由一个简单的 C++ 自注入 Dropper 组成,专注于 EDR 规避 POC。为了实现它,我结合使用了 Windows Thread Pooling 来隐藏调用栈,并使用 indirect syscalls 来避免 NTDLL 中的挂钩。

2023-10-08-23-22-35-Trim

image

image

image

image

从图片中可以看出,在 Cordyceps 代码中,它执行了一次跳转到 ntdll,以利用其中的一条 syscall 指令。这应被视为恶意行为;然而,在执行 ntdll 中的返回后,我们会返回到位于 ntdll 内的 tpWorker 代码。因此,从杀毒软件(AV)的角度来看,ntdll 似乎是在调用 ntdll 的另一部分,这并不被认为是恶意的。

未来升级:

  • 实现一种自动搜索 syscall 编号的机制。
  • 内存中的 payload 解密。

编译方法:

root@kitploit:~
nasm -f win64 .\Assembly.asm -o .\Assembly.obj
g++ -o poc.exe main.cpp Assembly.obj

参考资料:

https://0xdarkvortex.dev/hiding-in-plainsight/

https://redops.at/en/blog/direct-syscalls-vs-indirect-syscalls

https://captmeelo.com/redteam/maldev/2022/05/10/ntcreateuserprocess.html

https://klezvirus.github.io/RedTeaming/AV_Evasion/StackSpoofing/

https://medium.com/@sruthk/cracking-assembly-fastcall-calling-convention-in-x64-c6d77b51ea86

下载工具