A Method for Analyzing Code-Reuse Attacks


Дәйексөз келтіру

Толық мәтін

Ашық рұқсат Ашық рұқсат
Рұқсат жабық Рұқсат берілді
Рұқсат жабық Тек жазылушылар үшін

Аннотация

Nowadays, ensuring software security is of paramount importance. Software failures can have significant consequences, and malicious vulnerability exploitation can inflict immense losses. Large corporations pay particular attention to the investigation of computer security incidents. Code-reuse attacks based on return-oriented programming (ROP) are gaining popularity each year and can bypass even modern operating system protection mechanisms. Unlike ordinary shellcode, where instructions are placed sequentially in memory, a ROP chain consists of multiple small instruction blocks (called gadgets) and uses the stack to chain them together. This makes the analysis of ROP exploits more difficult. The main goal of this work is to simplify reverse engineering of ROP exploits. A method for analyzing code-reuse attacks that allows one to split the chain into gadgets, restore the semantics of each particular gadget, and restore the prototypes and parameter values of the system calls and functions invoked during the execution of the ROP chain is proposed. The semantics of each gadget is determined by its parameterized type. Each gadget type is defined by a postcondition (Boolean predicate) that must always be true after the gadget execution. The proposed method was implemented as a software tool and tested on real-world ROP exploits found on the Internet.

Авторлар туралы

A. Vishnyakov

Ivannikov Institute for System Programming, Russian Academy of Sciences

Хат алмасуға жауапты Автор.
Email: vishnya@ispras.ru
Ресей, Moscow, 109004

A. Nurmukhametov

Ivannikov Institute for System Programming, Russian Academy of Sciences

Хат алмасуға жауапты Автор.
Email: nurmukhametov@ispras.ru
Ресей, Moscow, 109004

Sh. Kurmangaleev

Ivannikov Institute for System Programming, Russian Academy of Sciences

Хат алмасуға жауапты Автор.
Email: kursh@ispras.ru
Ресей, Moscow, 109004

S. Gaisaryan

Ivannikov Institute for System Programming, Russian Academy of Sciences; Moscow State University

Хат алмасуға жауапты Автор.
Email: ssg@ispras.ru
Ресей, Moscow, 109004; Moscow, 119991

Қосымша файлдар

Қосымша файлдар
Әрекет
1. JATS XML

© Pleiades Publishing, Ltd., 2019