Skip to content

Alon Weinberg - Please Inject Me: A x64 Code Injection

Alon Weinberg

Introduces a novel x64 code injection technique that bypasses modern Windows security controls without process hollowing.

Summary

Novel x64 Process Injection

Alon Weinberg presents a new code injection technique targeting 64-bit Windows that achieves code execution in arbitrary processes while evading common detection mechanisms.

Injection Without Hollowing

Unlike process hollowing (which unmaps the target executable's image), this technique injects shellcode into the target process's existing mapped sections using reflective loading, avoiding suspicious memory allocation patterns flagged by EDR solutions.

WoW64 and NTDLL Abuse

The technique leverages the WoW64 subsystem's heaven's gate mechanism and direct syscall stubs to bypass userland API hooks commonly deployed by AV/EDR to monitor API calls like VirtualAllocEx and WriteProcessMemory.

Detection and Mitigation

Weinberg provides behavioral detection signatures and discusses kernel-level controls (PatchGuard, Kernel Patch Protection) that could mitigate the technique.

Related talks