Dot-Com Smashing: Buffer Overflows on the SPARC
Ghandi explores dot-com smashing: buffer overflows on the sparc at DEF CON 8, examining sparc-architecture and practical defenses.
Summary
Architecture and Background
Ghandi - Dot-Com Smashing: Buffer Overflows on the SPARC The talk/demonstration is intended for audiences familiar with assembly language and/or stack-based buffer overflows on other architectures (most probably Intel).
Vulnerability Analysis
The topics aren't really anything new, I would just like to present them with the focus on a different processor/paradigm than Intel to better define the concepts in use.
Exploitation and Demonstrations
I will be covering SPARC assembly language on a fairly low level.
Remediation and Defensive Strategies
- Introduction to SPARC assembly - RISC, LOAD/STORE architecture - Register windows, Allocating space on the stack - SPARC subroutine calling conventions, How the code we're attacking will look - Leaf procedure optimization, How to write optimized assembly - Unix system calls from assembly language, Overview of traps - Hand assembling instructions, Conversion to hex, Testing hex-encoded instructions in C __asm__ blocks - Using GDB (Gnu Debugger) and ADB (Absolute Debugger), Disassembling compiled code, assembling instructions to hexadecimal (faster than by hand), Patching executables, Examining the stack of a running process, Altering the stack/return address - Hand-crafting shellcode, Basics, Basic shellcode, Intermediate shellcode, Advanced shellcode - Delivering the payload - Bonus topics (time permitting) ghandi is a a Computer Science student beginning work on distributed, interactive environments (ala FreeNet or Stephenson's Metaverse) for an departmental honors project. I also work as a System Administrator at a web startup managing Sun clusters, FreeBSD servers, and Linux workstations.
Related talks
Main Stage·39 min
Jake Labelle
Jake Labelle demystifies IBM z/OS mainframe security, demonstrating how to find and exploit memory corruption buffer overflows in legacy enterprise mainframes.
Main Stage·57 min
Greg Hoglund
Greg Hoglund - Advanced Buffer Overflow Techniques This is a technical talk aimed at people who have already been exposed to buffer overflows and want to learn more.
Main Stage·43 min
Tim 'diff' Becker
Presents an automated framework for generating universal return-oriented programming chains and bypassing ASLR across modern operating system binaries.


