~/talk

Exploiting Buffer Overflows on RISC-V

links:none on file
slides:none on file

RISC-V stack overflows are demonstrated end-to-end: a vulnerable C program is exploited on a qemu image to overwrite return addresses, spawn a shell, and implement ret2libc/ROP chains. The talk shows how little-endian byte ordering, 2/4‑byte instruction alignment, and 32 general-purpose registers change payload layout, how null bytes force shellcode rewrites, and that ASLR must be disabled for reliable results. Tools and artifacts include objdump -D to find gadgets, a Python payload generator, and live debugging with gdb (fixedenv used to stabilize stack addresses).

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Agenda
  3. 3:23License Fees
  4. 4:39Architecture
  5. 9:47Important registers
  6. 13:03Local variables
  7. 13:40Hacking
  8. 13:56Buffer Overflow
  9. 15:04Approach
  10. 16:36Shell Code
  11. 17:41Buffer Size
  12. 20:43Snail bites
  13. 21:16Using 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:59Outro
~/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.