Reading RELRO, GOT, and PLT on a PIE Lab Binary

Partial vs Full RELRO measured on one toy: readelf FLAGS/GNU_RELRO, objdump of puts@plt, gdb GOT slot before and after bind, /proc maps of .got.plt. Companion to the lazy-binding lab.

June 15, 2020 · 8 min · 1598 words · Jose Adalberto Gutierrez Ochoa

ELF GOT/PLT Lazy Binding, Read From a PIE Lab Binary

Lab walkthrough of lazy PLT binding on a PIE: readelf, objdump, GOT slot before/after the first call, Partial vs Full RELRO.

April 22, 2020 · 4 min · 833 words · Jose Adalberto Gutierrez Ochoa

Kerberos Constrained Delegation Map for Analysts

Lab klist and setspn dumps redacted, constrained-delegation allow-list map — no ticket forging, no S4U abuse.

March 17, 2020 · 6 min · 1240 words · Jose Adalberto Gutierrez Ochoa

SQL Injection Probing Methodology for Analysts

Lab Flask+SQLite app: concatenated vs parameterized queries, SQL logs, WAF noise, ASAN-irrelevant crash on the concat path — no production DB dump.

February 18, 2020 · 6 min · 1215 words · Jose Adalberto Gutierrez Ochoa

Walking Mach-O Load Commands on a Self-Signed arm64 Lab Binary

Full otool -l walk of a self-signed LabSession: mach_header_64, LC_SEGMENT_64 __TEXT/__DATA, LC_LOAD_DYLIB, LC_CODE_SIGNATURE, LC_ENCRYPTION_INFO_64 cryptid=0. size -x, nm, class-dump, lldb. cryptid=1 stops the lab.

January 16, 2020 · 7 min · 1387 words · Jose Adalberto Gutierrez Ochoa

JNI_OnLoad vs Java_* Name Mangling on a Lab APK

Self-built APK where javah-style Java_com_lab_onload_Bridge_* exports sit next to a RegisterNatives table. readelf -s, ARM64 JNIEnv GetObjectClass, crash on an unbounded UTF copy.

December 2, 2019 · 7 min · 1353 words · Jose Adalberto Gutierrez Ochoa

ASLR, PIE Bias, and a Lab Pointer Leak

/proc/self/maps across runs, gdb measurement of PIE load bias, a toy %p leak of a text pointer. Entropy is what remains after the leak — no exploit chain.

November 20, 2019 · 8 min · 1558 words · Jose Adalberto Gutierrez Ochoa

Linux LKM and Syscall Hooking Concepts for Defenders

Lab LKM that logs openat on a VM, insmod/rmmod, dmesg artifacts — module does not hide files or hook the table for concealment.

September 14, 2019 · 6 min · 1196 words · Jose Adalberto Gutierrez Ochoa