Skip to content

StackMoonwalk: Advanced Call Stack Tampering and Detection

Alessandro MagnosiArash ParsaAthanasios Tserpelis

Introduces Full Moon and Half Moon call stack spoofing techniques to evade EDR inspection, alongside the Eclipse kernel detection algorithm.

Summary

The Cat-and-Mouse Game of Call Stack Inspection

Modern Endpoint Detection and Response (EDR) sensors analyze thread call stacks during sensitive API calls to identify injected shellcode and unbacked memory execution.

Full Moon and Half Moon Stack Tampering

Alessandro Magnosi, Arash Parsa, and Athanasios Tserpelis present two advanced call stack spoofing techniques that manipulate frame pointer chains to construct unwinding-compliant synthetic stacks.

Defeating Conventional Heuristic Stack Checks

By generating logically valid unwinding sequences, these techniques conceal malicious payload invocation while maintaining thread stability across asynchronous exceptions.

The Eclipse Detection Algorithm

To counter stack spoofing, the authors introduce Eclipse, a detection algorithm extending RtlVirtualUnwind to enforce strict instruction validation and detect tampered execution frames.

Related talks