Introduction To Return Oriented Exploitation On ARM64
summary
A clear demo shows a working ARM64 ROP exploit against an artificial binary that has a 64‑byte heap buffer and a neighboring function pointer overwritten by freads of up to 512 bytes. The payload overwrites the pointer with an address of a stack pivot gadget that moves x5 into sp, then uses a gadget that loads x3 and x4 from the fake stack and another that moves x4 into x0, finally branching to the secret function which validates the 0x4141414f code and prints success.
AI-written summary · about
chapters (16)
- 0:00Introduction to the talk
- 1:30Why target ARM devices
- 2:12ARM v7 architecture basics
- 3:38ARM64 architecture differences
- 5:04Code differences between ARM v7 and ARM64
- 6:49What is Return Oriented Programming
- 8:54How ROP gadgets work
- 10:21Chaining ROP gadgets on the stack
- 12:30Challenges with complex ROP chains
- 13:55Stack pivoting technique explained
- 17:27Practical stack pivoting in ARM64
- 18:32Demo program introduction
- 21:42Exploit plan and gadget selection
- 24:10Breaking down the exploit payload
- 26:36Live demo and success message
- 27:18Resources and further learning
