August 2026
Intermediate
258 pages
5h 8m
English
This chapter details how Linux malware executes and hides within processes using shell scripts, ELF binaries, LD_PRELOAD, ptrace‑based injection, and reflective loading via memfd_create. Readers walk through step-by-step development of injection techniques, understand process memory mapping, and implement a simple loader that runs shellcode from memory—laying the groundwork for rootkits and stealth persistence. This chapter teaches various techniques for executing and injecting malicious code on Linux, focusing on shellcode, ELF manipulation, and process injection without relying on traditional binary execution methods. All examples are designed for safe red team simulation and malware lab development. ...
Read now
Unlock full access