BokuLoader - A Proof-Of-Concep... Note

BokuLoader - A Proof-Of-Concept Cobalt Strike Reflective Loader Which Aims To Recreate, Integrate, And Enhance Cobalt Strike's Evasion Features!

The BokuLoader project aims to recreate and enhance Cobalt Strike's evasion features with a User-Defined Reflective Loader (UDRL). It integrates reflective callstack spoofing, indirect NT syscalls, and other evasion techniques. While it supports most Malleable PE evasion features, it lacks some and uses custom implementations for others. Before using BokuLoader, testing is recommended to ensure evasion features function as intended.BokuLoader's unique evasion features include synthetic callstack frames, indirect NT syscalls via HellsGate and HalosGate, and indirect system calls for memory protection changes. It also obfuscates strings and imports, and does not copy beacon DLL headers, leaving the first 0x1000 bytes as nulls.It supports various memory allocators, DLL module stomping, HTTP/S beacons, entry point RVA, and userwx settings. While it does not support stomppe or checksum features, it provides experimental compile_time, image_size_x64, and rich_header options.BokuLoader is based on Stephen Fewer's Reflective Loader project and uses the Cobalt Strike User-Defined Reflective Loader documentation for additional information. It contains hardcoded strings that can be used for signature detection.Detectable aspects of BokuLoader include specific assembly instructions, indirect syscalls, and modifications to the virtual beacon DLL header. Detection guidance is provided to assist in identifying these characteristics.The source code is available within the repository for creating memory signatures and submitting detection guidance through pull requests. BokuLoader builds upon the work of various researchers, including LoudSunRun, SilentMoonwalk, Vulcan Raven, and Reenz0h, who contributed to the development of reflective call stack spoofing, reflective loaders, and the HellsGate technique.