7 matches found
ShellGhost
ShellGhost 一种基于内存的规避技术,使 shellcode 从进程开始到结束均不可见。 动机 我想分享这个 shellcode 自注入 POC,以展示一些可能对红队有用的 AV/EDR 规避概念。就在几周前,我想出了一种自定义的内存规避技术,我称之为 ShellGhost。这项技术源于对 一段从进程开始到结束执行‘不可见’ shellcode 的代码 的需求。 处理线程执行流 ShellGhost 依赖于向量异常处理与软件断点的结合 ,以循环方式停止线程执行,用 RC4 加密的 shellcode 指令替换已执行的断点,解密指令,并在恢复内存保护至 RX 后恢复执行。当后续的...
ThreadStackSpoofer
线程栈欺骗 / 调用栈欺骗概念验证 一种高级内存驻留规避技术的概念验证实现,用于欺骗线程调用栈。该技术可绕过基于线程的内存检查规则,在进程内存中更好地隐藏 shellcode。 简介 本示例实现了 线程栈欺骗 技术,旨在规避恶意软件分析师、AV 和 EDR 通过检查线程调用栈中 shellcode 帧的引用。其核心思路是隐藏线程调用栈中指向 shellcode 的引用,从而伪装包含恶意代码的内存分配。 本实现与我的 ShellcodeFluctuation 一起,为红队工具提供了与商业 C2 产品相媲美的示例,让我们在红队工具中不落下风。💪 实现已变更...
moneta
/ \ / | / \ / \ / \ / / \ \ / Y | \ /| | / | //| | / | / / / / / Moneta v1.0 | Forrest Orr | 2020 REQUIRED -m |region|referenced|ioc -p |PID OPTIONAL -v detail|debug|surface -d --option from-base|statistics --filter unsigned-module|clr-prvx|clr-heap|metadata-modules --address --region-size -m...
ShellcodeFluctuation
Shellcode Fluctuation PoC Una implementación de prueba de concepto para otra técnica de evasión en memoria que cifra y descifra cíclicamente el contenido del shellcode para luego hacerlo fluctuar entre la protección de memoria RW o NoAccess y RX. Cuando nuestro shellcode reside en páginas de...
CS-MemoryEvasion
MemoryEvasion Un cargador de evasión de memoria de Cobalt Strike para redteamers, compatible con payloads x86/x64 stager/stagerless con perfil probado en windows7/10, winserver 2012 ¿Cómo evita? Engancha las funciones Sleep, CreateProcessA, CreateHeap y GetProcessHeap antes de que el shellcode se...
Exploit for CVE-2023-36880
Mirage is a PoC memory evasion technique that relies on a vulnerable VBS enclave to hide shellcode within VTL1. It is a PoC exploit for CVE-2023-36880. The code performs the following steps: 1. Loads a vulnerable version of the "prefsenclavex64.dll" enclave 2. Call the vulnerable "SealSettings"...
Carbon Black Report: A Case Study on Threat Hunting
There are certain seminal experiences you’ll remember all your life — your first kiss, your college graduation, the smell of your favorite home-cooked meal — and then hundreds of mini-experiences that helped you reach each milestone that in short order disappeared from view. The memories you carr...