ICMP-Ghost: Fileless C2 with ICMP & DNS Tunneling in Pure x64 Assembly | Suricata Bypassed

ICMP-Ghost v3.6.3 hardens DNS tunneling with 5-domain rotation, RFC 4648 Base32 encoding, and A record QTYPE — eliminating static fingerprinting for rule-based NDR systems like Suricata and Snort.

July 20, 2026 · 20 min · JM00NJ

BYOVD vs User-Space Injection: EDR Evasion Comparison | SROP + process_vm_writev vs Kernel Driver Exploit

BYOVD loads a signed vulnerable driver, exploits it for arbitrary kernel R/W, and terminates EDR at Ring 0 — Windows-only, noisy at driver load time, requires admin. User-space injection (Phantom Evasion Loader) uses SROP frames via sys_rt_sigreturn to fire ptrace without a direct ptrace syscall sequence, writes payload in a single process_vm_writev call (syscall 311), redirects RIP into target process — implant runs inside cron’s address space with cron’s identity. Linux-only. Results: 0/65 VirusTotal static, SROP and process_vm_writev invisible to Hatching Triage behavioral sandbox, only ptrace attach entry detected.

April 29, 2026 · 7 min · JM00NJ

CFG Flattening with CMOV: Antivirus & EDR Evasion via Control Flow Obfuscation in x64 Assembly

Static analysis tools and AI-driven EDRs map malicious behavior through branching instructions — JMP, JZ, JNZ form the edges of a Control Flow Graph that heuristic engines traverse. CMOV-based CFG flattening removes all conditional branches, collapsing the graph to a single flat node sequence that defeats both signature-based and ML-based detection. Full x64 Assembly implementation: branch-free syscall obfuscation, CMOV patterns for JZ/JNZ/JLE replacement, and empirical bypass results against NGAV and Ghidra CFG analysis.

April 15, 2026 · 13 min · JM00NJ

Phantom Evasion Loader: SROP + process_vm_writev Direct Cross-Memory Shellcode Injection | EDR & Falco Bypass in x64 Assembly

Standard ptrace injection generates detectable syscall sequences that EDR hooks intercept. Phantom Evasion Loader routes ptrace through SROP frames: crafting a fake sigcontext on the stack and firing sys_rt_sigreturn (syscall 15) causes the kernel to restore arbitrary register state — ptrace fires through the signal return path, invisible to direct syscall monitors. process_vm_writev (syscall 311) writes the full payload in one cross-process memory operation instead of 204 PTRACE_POKEDATA events. QWORD XOR decryption runs in-memory before injection. Results: 0/65 VirusTotal static, SROP + process_vm_writev invisible to Hatching Triage behavioral sandbox.

April 13, 2026 · 7 min · JM00NJ

Position Independent Code (PIC) in x64 Assembly: Stack Anchor Technique, Sectionless Shellcode & ASLR-Safe Payloads

Standard Assembly code with absolute addresses breaks under ASLR — fixed addresses become invalid at runtime. PIC solves this via RIP-relative addressing: all memory references computed as offsets from the current instruction pointer. The Stack Anchor technique carves a 32KB R/W region (sub rsp,0x8000 + and rsp,-16 + mov rbp,rsp), providing writable storage without .data or .bss sections. Read-only templates in .text are copied to the stack via rep movsb for runtime modification. Result: a single position-independent code block deployable anywhere in memory — standard for shellcode, injection payloads, and fileless implants.

April 3, 2026 · 5 min · JM00NJ
DigitalOcean Referral Badge