Generating ROP Payloads from Numbers
Alexandre Moneger explores generating rop payloads from numbers at DEF CON 22, examining digital-rights and practical defenses.
Summary
Architecture and Background
Slides Available here: Extra Materials available here: Generating ROP payloads from numbers Alexandre Moneger CISCO SYSTEMS Is it possible to generate a ROP payload whilst using as few gadgets from the target binary as possible? Is it also possible to build any shellcode in memory regardless of the opcodes in the target binary?
Vulnerability Analysis
An approach to this is to build the ROP payload by summing selected pieces of memory together and copying them to a stack in the process address space. A method and tool will be presented, which allows to stitch together selected numbers found in memory into a payload and execute it.
Exploitation and Demonstrations
Return Oriented Programming is at the core of modern exploitation technics, but the automation of the payload generation can be time consuming. The intent was to write a tool which is able to generate a generic enough ROP payload that it worked in most situations.
Remediation and Defensive Strategies
I will present a new method to generate ROP payloads which relies on very few gadgets within the target binary (sometimes none), nor will rely on string copying particular bytes to build the in memory payload. Alex Moneger Alex Moneger works as a security engineer for Cisco Systems in the Cloud Web Security unit. The fun part of his working hours are spent trying to find efficient ways of detecting anomalous behaviours in http streams, thinking of ways to improve the efficacy of the web scanning process and dealing with whatever http and tls corner cases are thrown at him. His personal security interests are geared towards low level security, such as fuzzing, exploit writing and network security.
Related talks
Main Stage·47 min
Alex Pinto
Alex Pinto explores secure because math: machine learning-based monitoring at DEF CON 22, examining digital-rights and practical defenses.
Main Stage·48 min
Lucas Morris · Michael McAtee
Lucas Morris and Michael McAtee explores shareenum: we wrapped samba so you don't have to at DEF CON 22, examining digital-rights and practical defenses.
Main Stage·44 min
Gregory Pickett
Gregory Pickett explores abusing software defined networks at DEF CON 22, examining digital-rights and practical defenses.


