Kyle Avery 6ab821a01a bug fixes
2023-09-28 19:37:46 +00:00
2022-08-10 19:06:35 -05:00
2023-09-28 19:37:46 +00:00
2022-08-10 19:06:35 -05:00
2022-08-10 19:06:35 -05:00
2022-08-16 12:55:32 -05:00
2022-08-10 19:06:35 -05:00
2023-09-28 19:37:46 +00:00
2022-08-10 19:06:35 -05:00

AceLdr - Avoid Memory Scanners

A position-independent reflective loader for Cobalt Strike. Zero results from Hunt-Sleeping-Beacons, BeaconHunter, BeaconEye, Patriot, Moneta, PE-sieve, or MalMemDetect. AceLdr Demo

Features

Easy to Use

Import a single CNA script before generating shellcode.

Dynamic Memory Encryption

Creates a new heap for any allocations from Beacon and encrypts entries before sleep.

Code Obfuscation and Encryption

Changes the memory containing CS executable code to non-executable and encrypts it (FOLIAGE).

Return Address Spoofing at Execution

Certain WinAPI calls are executed with a spoofed return address (InternetConnectA, NtWaitForSingleObject, RtlAllocateHeap).

Sleep Without Sleep

Delayed execution using WaitForSingleObjectEx.

RC4 Encryption

All encryption performed with SystemFunction032.

Known Issues

  • Not compatible with loaders that rely on the shellcode thread staying alive.

References

This project would not have been possible without the following:

Other features and inspiration were taken from the following:

S
Description
Automated archival mirror of github.com/kyleavery/AceLdr
Readme MIT 2.3 MiB
Languages
C 99.3%
Python 0.3%
Makefile 0.2%
Assembly 0.2%