Visible to the public Detecting ROP with Statistical Learning of Program Characteristics

TitleDetecting ROP with Statistical Learning of Program Characteristics
Publication TypeConference Paper
Year of Publication2017
AuthorsElsabagh, Mohamed, Barbara, Daniel, Fleck, Dan, Stavrou, Angelos
Conference NameProceedings of the Seventh ACM on Conference on Data and Application Security and Privacy
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-4523-1
Keywordsanomaly detection, composability, cyber physical systems, directional statistics, False Data Detection, Human Behavior, program characteristics, pubcrawl, resilience, Resiliency, return oriented programming
Abstract

Return-Oriented Programming (ROP) has emerged as one of the most widely used techniques to exploit software vulnerabilities. Unfortunately, existing ROP protections suffer from a number of shortcomings: they require access to source code and compiler support, focus on specific types of gadgets, depend on accurate disassembly and construction of Control Flow Graphs, or use hardware-dependent (microarchitectural) characteristics. In this paper, we propose EigenROP, a novel system to detect ROP payloads based on unsupervised statistical learning of program characteristics. We study, for the first time, the feasibility and effectiveness of using microarchitecture-independent program characteristics - namely, memory locality, register traffic, and memory reuse distance - for detecting ROP. We propose a novel directional statistics based algorithm to identify deviations from the expected program characteristics during execution. EigenROP works transparently to the protected program, without requiring debug information, source code or disassembly. We implemented a dynamic instrumentation prototype of EigenROP using Intel Pin and measured it against in-the-wild ROP exploits and on payloads generated by the ROP compiler ROPC. Overall, EigenROP achieved significantly higher accuracy than prior anomaly-based solutions. It detected the execution of the ROP gadget chains with 81% accuracy, 80% true positive rate, only 0.8% false positive rate, and incurred comparable overhead to similar Pin-based solutions. This article is summarized in: the morning paper an interesting/influential/important paper from the world of CS every weekday morning, as selected by Adrian Colyer

URLhttps://dl.acm.org/citation.cfm?doid=3029806.3029812
DOI10.1145/3029806.3029812
Citation Keyelsabagh_detecting_2017