Skip to content

Dot-Com Smashing: Buffer Overflows on the SPARC

Ghandi

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·57 min

  • DEF CON
  • Red Team
  • Date: Jul 2000
  • Location: Las Vegas

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.

buffer-overflowheap-exploitationshellcode+1