Slash Boxes

SoylentNews is people

Submission Preview

Link to Story

RETGUARD: a Return-Oriented Programming Defense from OpenBSD

Accepted submission by canopic jug at 2017-09-12 17:22:01

Return-oriented programming (ROP) is now a common technique for compromising systems via a stack-smashing vulnerability. Although restrictions on executing code on the stack have mostly put an end to many simple stack-smashing attacks, that does not mean that they are no longer a threat. There are various schemes in use for defeating ROP attacks. A new mechanism called "RETGUARD" is being implemented in OpenBSD [] and is notable for its relative simplicity. It makes use of a simple return-address transformation to disrupt ROP chains to hinder their execution and takes the form of a patch to the LLVM compiler adding a new flag.

Original Submission