~/talk

Exploiting Buffer Overflows on RISC-V

Talkat KubeCon + CloudNativeCon China 2019 · on Monday, 2019-06-24· [security]
links:none on file
slides:none on file

Hands-on demonstration of overflowing a RISC‑V stack buffer to overwrite return addresses, build inline assembler shellcode, and perform ret2libc/ROP chains that successfully spawn a shell. Uses QEMU emulation and standard tooling: objdump to find symbols, gdb to trace crashes, a small Python script to generate exploit payloads and a fixed-env helper to stabilize stack layout. Notes that RISC‑V is little‑endian with 32 registers, gadgets count in the 1000+ range, demos require ASLR disabled and work under emulation though hardware is becoming available.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Agenda
  3. 5:24RISCV Architecture
  4. 9:47Important registers
  5. 12:40How a buffer works
  6. 13:04Local variables
  7. 13:40Hacking
  8. 13:57Buffer Overflow
  9. 15:04Approach
  10. 16:36Shell Code
  11. 17:41Buffer Size
  12. 20:43Snail bites
  13. 21:17Using odd numbers
  14. 21:48Using larger numbers
  15. 22:14Writable stack
  16. 22:41Shellcode
  17. 22:55Overwrite Buffer
  18. 23:26Program nominee
  19. 24:52Object dump
  20. 25:50Fill the buffer
  21. 26:57Fix the stack
  22. 28:10Questions
  23. 31:19Userspace
  24. 35:59Summary
~/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.