Dot-Com Smashing: Buffer Overflows on the SPARC
summary
Shows how SPARC stack overflows actually overwrite the saved program counter and get control via input7+8, not by overwriting a single return address; SPARC exposes 32 visible registers with register windows (often 8–40 windows) and a save that allocates ~96 bytes. Demonstrates ADB and a SPARC disassembler, a perl dis2h workflow, and hand-crafted shellcode (example shellcode ~64 bytes) converted to bytes. Reproduces an LC_MESSAGES overflow needing ~1,000 bytes to reach a root setuid shell and builds a bind shell via socket syscalls for live testing.
AI-written summary · about
chapters (23)
- 0:00Intro
- 1:50The Spark
- 3:53The registers
- 4:35Things to note
- 4:57Register windows
- 6:28Traps
- 7:14Simple example
- 8:39Defining traps
- 9:17System calls
- 10:15The stack
- 11:04The minimum stack
- 12:48ASCII art
- 14:05Buffer Overflow
- 17:37Spark Disassembly
- 21:24Interactive Debugging
- 21:35SmashMe
- 24:10assembler
- 24:53first example
- 31:11delivery
- 32:14realworld examples
- 33:24stack pointer offset
- 37:24buffer size
- 45:28assembly
