Return-Oriented Programming in RISC-V

07/29/2020
by   Garrett Gu, et al.
0

RISC-V is an open-source hardware ISA based on the RISC design principles, and has been the subject of some novel ROP mitigation technique proposals due to its open-source nature. However, very little work has actually evaluated whether such an attack is feasible assuming a typical RISC-V implementation. We show that RISC-V ROP can be used to perform Turing complete calculation and arbitrary function calls by leveraging gadgets found in a version of the GNU libc library. Using techniques such as self-modifying ROP chains and algorithmic ROP chain generation, we demonstrate the power of RISC-V ROP by creating a compiler that converts code of arbitrary complexity written in a popular Turing-complete language into RISC-V ROP chains.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/08/2019

Research Note: An Open Source Bluespec Compiler

In this Research Note we report on an open-source compiler for the Blues...
research
11/16/2020

Survey of Methods for Automated Code-Reuse Exploit Generation

This paper provides a survey of methods and tools for automated code-reu...
research
04/08/2022

Taxonomy of Attacks on Open-Source Software Supply Chains

The widespread dependency on open-source software makes it a fruitful ta...
research
11/13/2018

Shall I Compare Thee to a Machine-Written Sonnet? An Approach to Algorithmic Sonnet Generation

We provide code that produces beautiful poetry. Our sonnet-generation al...
research
03/24/2021

RDMA is Turing complete, we just did not know it yet!

It is becoming increasingly popular for distributed systems to exploit n...
research
12/11/2020

Hiding in the Particles: When Return-Oriented Programming Meets Program Obfuscation

Largely known for attack scenarios, code reuse techniques at a closer lo...
research
08/26/2022

An Open-Source P416 Compiler Backend for Reconfigurable Match-Action Table Switches

The P4 language has become the dominant choice for programming the recon...

Please sign up or login with your details

Forgot password? Click here to reset