depresen.

[ /dev/bits ]

Bits & Knowledge

Technical writing, CTF challenge breakdowns, reverse engineering notes, and curated binary analysis resources.

Technical Writing & Research Articles

CTF Challenge Solutions

IIT Bombay CTF [ RE ] [ FINALIST ]
2024 · 45 min read

Custom VM Reverse Engineering Challenge

Reversed a custom stack-based virtual machine implementation. Identified instruction set through dynamic analysis, reconstructed bytecode disassembler, and extracted the flag from protected bytecode.

[Ghidra] [GDB] [Python] [pwntools]
flag{vm_d1s4ss3mbly_c0mpl3t3}
H7TEX CTF [ PWN ] [ 21st PLACE ]
2024 · 35 min read

Heap Exploitation — Use-After-Free Chain

Exploited a use-after-free vulnerability in a custom allocator to achieve arbitrary write. Chained tcache poisoning with a format string leak to bypass ASLR and gain shell.

[pwntools] [GDB / pwndbg] [ROPgadget]
flag{tc4ch3_p01s0n_2024}
PicoCTF [ RE ] [ SOLVED ]
2024 · 20 min read

Reverse Engineering — Anti-Debug Bypass

Bypassed ptrace-based anti-debugging and timing checks in a stripped x86-64 binary. Located flag decryption routine through control flow analysis and runtime instrumentation.

[Ghidra] [strace] [GDB]
flag{ptr4c3_tr4c3m3_byp4ss}

Curated Binary Analysis & Security Tools

// REVERSE ENGINEERING TOOLCHAIN

Ghidra

NSA open-source SRE framework for static binary analysis. Multi-target disassembly, decompiler, and Python/Java scripting engine.

>> ghidra-sre.org

Binary Ninja

Modern binary analysis platform with HLIL/MLIL intermediate representations. Clean Python API for automated decompilation analysis.

>> binary.ninja

Cutter (rizin)

Modern Qt GUI frontend powered by the rizin reverse engineering framework. Native cross-platform binary disassembler and decompiler.

>> cutter.re
// EXPLOITATION & LOW-LEVEL DEBUGGING

pwntools

De-facto Python CTF framework for rapid exploit development. Automates network sockets, ELF metadata parsing, shellcraft, and cyclic patterns.

>> pwntools.com

GDB + pwndbg

GDB plug-in tailored for binary exploitation: heap layout visualization (bins/tcache), ROP gadget searches, register context, and stack views.

>> pwndbg.re

ROPgadget

Fast gadget extraction engine across x86, x64, ARM binaries. Facilitates automated ROP chain synthesis and badchar sanitization.

>> github.com/ROPgadget
// LINUX SYSTEMS & KERNEL INTERNALS

Bootlin Elixir Kernel

Hyper-fast indexed source code cross-referencer for every Linux kernel version. Immediate definition jumps for structs, syscalls, and drivers.

>> elixir.bootlin.com

man7.org Linux Syscalls

The definitive source for Linux manual pages. Covers syscall signatures, return values, kernel error codes, and POSIX standards.

>> man7.org

bpftrace & eBPF

High-level tracing language for Linux eBPF. Dynamic kernel and userspace instrumentation without recompiling code or restarting processes.

>> github.com/bpftrace