Skip to main content

Shellcode 101 — Position-Independent Code from Scratch

Date: 15/03/25·Author: deepmalwareshellcodePICwindows-internalsassembly

Shellcode 101 — Position-Independent Code from Scratch

Date: 2025-03-15  ·  Author: deepmalware


Why it matters​

...

Technique overview​

...

Tradecraft notes​

...

Detection considerations​

...

Code​

shellcode.asm
; placeholder
BITS 64
global _start
_start:
; PEB walk
mov rax, [gs:0x60]

References​