There are 6 repositories under edr-evasion topic.
Little user-mode AV/EDR evasion lab for training & learning purposes
PoC Implementation of a fully dynamic call stack spoofer
Contains all the material from the DEF CON 31 workshop "(In)direct Syscalls: A Journey from High to Low".
.NET/PowerShell/VBA Offensive Security Obfuscator
C++ self-Injecting dropper based on various EDR evasion techniques.
pure-python implementation of MemoryModule technique to load dll and unmanaged exe entirely from memory
This are different types of download cradles which should be an inspiration to play and create new download cradles to bypass AV/EPP/EDR in context of download cradle detections.
The following two code samples can be used to understand the difference between direct syscalls and indirect syscalls
Start with shellcode execution using Windows APIs (high level), move on to native APIs (medium level) and finally to direct syscalls (low level).
Depending on the AV/EPP/EDR creating a Taskschedule Job with a default cradle is often flagged
Implementation of Indirect Syscall technique to pop a calc.exe
BadExclusionsNWBO is an evolution from BadExclusions to identify folder custom or undocumented exclusions on AV/EDR
This code example allows you to create a malware.exe sample that can be run in the context of a system service, and could be used for local privilege escalation in the context of an unquoted service path, etc. The payload itself can be remotely hosted, downloaded via the wininet library and then executed via direct system calls.
Nim process hollowing loader
Defense Evasion Techniques Repository. This repository contains a collection of techniques designed to bypass Endpoint Detection and Response (EDR) and Extended Detection and Response (XDR) systems.
PoC arbitrary WPM without a process handle
This POC provides the possibilty to execute x86 shellcode in form of a .bin file based on x86 inline assembly
BadExclusions is a tool to identify folder custom or undocumented exclusions on AV/EDR
Shellcode execution via x86 inline assembly based on MSVC syntax
Unhook DLL via cleaning the DLL 's .text section
Overwrite ntdll.dll's ".text" section to bypass API hooking. Getting the clean dll from disk, Knowndlls folder, a debugged process or a URL
This POC provides the ability to execute x86 shellcode in the form of a .bin file based on x86 inline assembly and execution over fibers
Evade EDR's the simple way, by not touching any of the API's they hook.
Red Teaming Tactics and Techniques
Stack Spoofing PoC
Custom binary file packer/encoder with integrated decoder stub. A pentest-tool for modern EDR evasion.