boku7/BokuLoader
FreeCobalt Strike User-Defined Reflective Loader written in Assembly & C for advanced evasion capabilities. By: @0xBoku & @s4ntiago_p
About boku7/BokuLoader
BokuLoader is an open-source proof-of-concept User-Defined Reflective Loader (UDRL) for Cobalt Strike, written in Assembly and C. It aims to recreate, integrate, and enhance Cobalt Strike's evasion features. The project supports multiple Malleable PE evasion features including allocator types (HeapAlloc, MapViewOfFile, VirtualAlloc), DLL name specification, obfuscation for HTTP/S beacons, entry point RVA, cleanup, userwx, and sleep_mask. It also implements custom evasion techniques such as reflective call stack spoofing via synthetic frames, indirect NT syscalls using HellsGate/HalosGate techniques, memory protection changes via indirect syscall to NtProtectVirtualMemory, NOHEADERCOPY, Caesar cipher string obfuscation, and import name stomping. BokuLoader is intended for red teams to develop their own in-house Cobalt Strike UDRLs and requires thorough testing before operational use.
Key Features
Pros & Cons
- Open source and actively maintained by the community
- Enhances Cobalt Strike's evasion capabilities with custom techniques
- Supports a wide range of Malleable PE evasion features
- Modular design allows for customization and integration
- Detailed documentation of supported and unsupported features
- Not all Cobalt Strike evasion features are supported (e.g., SMB/TCP obfuscation)
- Requires thorough testing across different environments before operational use
- Compilation results may vary by OS version, compiler, and Java version
- Primarily a proof-of-concept; not intended as a production-ready loader