A practical deep-dive into Linux stack overflow protections — how canaries, NX, ASLR, PIE, and RELRO actually work, what they stop, what they don't, and what breaks when you enable them.
Linux
Posts under System / Linux.
Other topics
Featured in this category
A detailed look at the system calls behind malloc — brk/sbrk for heap growth, mmap for large allocations and thread arenas, and the internal kernel data structures for process memory.
A deep dive into how Linux dynamically links shared libraries at runtime — PIC, GOT, PLT, lazy binding, gdb tracing, and the real cost of -fPIC.
A practical deep-dive into Linux glibc (ptmalloc2) heap memory management — arenas, chunks, bins, tcache, and how each structure becomes an attack surface.
A practical guide to Linux cgroups — from V1's multiple hierarchies to V2's unified model, with real gotchas for CPU throttling, OOM behavior, and production debugging.
Understand ELF files from sections and segments to relocations and dynamic linking, with practical examples for debugging Linux binaries and loader issues.
All posts in this category
All posts in reverse chronological order.
Stack Overflow Protection Mechanisms: Canaries, NX, ASLR, and Beyond
A practical deep-dive into Linux stack overflow protections — how canaries, NX, ASLR, PIE, and RELRO actually work, what they stop, what they don't, and what breaks when you enable them.
Linux Memory Allocation Syscalls: brk, mmap, and How malloc Talks to the Kernel
A detailed look at the system calls behind malloc — brk/sbrk for heap growth, mmap for large allocations and thread arenas, and the internal kernel data structures for process memory.
Dynamic Linking and Lazy Binding in Linux: GOT, PLT, and How dlopen Works
A deep dive into how Linux dynamically links shared libraries at runtime — PIC, GOT, PLT, lazy binding, gdb tracing, and the real cost of -fPIC.
Deep Dive into Linux Heap Memory Management: From Basics to Core Exploitation
A practical deep-dive into Linux glibc (ptmalloc2) heap memory management — arenas, chunks, bins, tcache, and how each structure becomes an attack surface.
Linux CGroup Deep Dive: Migrating from V1 Chaos to V2 Architecture
A practical guide to Linux cgroups — from V1's multiple hierarchies to V2's unified model, with real gotchas for CPU throttling, OOM behavior, and production debugging.
ELF Explained: Sections, Segments, Relocations, and Dynamic Linking
Understand ELF files from sections and segments to relocations and dynamic linking, with practical examples for debugging Linux binaries and loader issues.
Linux Function Calls and Stack Frames
Understand calling conventions, stack frames, call/ret behavior, debugging observation, and security implications from the assembly view.