A curated collection of low-level systems engineering case studies focused on binary analysis, memory corruption mechanics, and automation scripting within sandboxed Linux environments.
All work was performed in sandboxed lab environments as part of academic coursework in computer security.
This repository is organized into distinct technical case studies, each containing standalone scripts, custom configurations, and detailed investigation logs:
01-reverse-engineering-case-study/: Static binary analysis, decompilation, and byte-level instruction patching of anx86_64ELF executable to bypass logic validation controls.02-buffer-overflow-exploitation/: Stack memory boundary analysis, custom x86 assembly shellcode development, and automation scripting to execute privilege escalation testing.
| Domain | Technologies & Methodologies Applied |
|---|---|
| Reverse Engineering | Ghidra (NSA Suite), Static Analysis, Decompilation, Assembly Listings |
| Exploit Development | C, Intel x86 Assembly, Shellcode Injection, NOP Sled Alignment |
| Automation & Scripting | Bash Shell Scripting, Linux Process Control, Return Code Validation |
| Systems Security | Linux OS Kernel Protections, Privilege Models (RUID/EUID/SUID), GDB |
- Utilized Ghidra to decompile an obfuscated
x86_64binary, mapping code logic pathways to isolate critical verification subroutines. - Executed a 100% successful verification bypass by altering little-endian destination memory address offsets directly within a hex editor, routing execution variables to validate universally.
- Preserved application architecture integrity while injecting custom embedded attribution headers into the functional executable.
- Engineered a standalone Proof-of-Concept (PoC) script in C that targets a stack-based buffer overflow vulnerability, precisely calculating payload spacing across memory boundaries.
- Bypassed modern Linux privilege isolation layers by synthesizing custom x86 assembly shellcode (
setreuid(0,0)) to align process user IDs and maintain persistent root terminal access. - Authored an automated brute-force Bash utility to dynamically monitor stack memory address boundaries, reducing troubleshooting and alignment cycles by over 80% compared to manual discovery.
Note: Master structural templates, academic grading worksheets, server-side baseline source files, and university-owned framing materials have been intentionally omitted from this public repository to maintain strict compliance with institutional academic integrity policies. All scripts, reports, and binary modifications contained herein represent original engineering deliverables.