~/talk

Return Oriented Programming, an introduction

slides:none on file

Shows a working 32‑bit x86 exploit that builds shellcode for execve /bin/sh by implementing close, open and execve via syscall numbers in eax and int 0x80, then replaces executable stack code with a chained sequence of existing instructions found in the binary. Uses ropper to auto-find gadgets (about nine key gadgets plus several pops), crafts a Python payload that handles bad bytes and string writes, tests in GDB against the target binary and successfully spawns a shell.

AI-written summary · about

  1. 0:00Introduction to exploitation
  2. 1:03Target application overview
  3. 3:08Understanding shellcode
  4. 5:28Syscalls and registers
  5. 9:03Writing and testing C code
  6. 12:20Developing assembly shellcode
  7. 23:36Return oriented programming
  8. 30:56Using ropper for chains
  9. 34:03Analyzing gadget execution
  10. 36:49Building the ROP chain
  11. 43:35Execution and results
  12. 50:42Q&A and protections
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.