Research indexJournal article
Approximating Attack Surfaces with Stack Traces
Theisen, Herzig, Morrison and 2 others
2015 IEEE/ACM 37th IEEE International Conference on Software Engineering1 May 2015
NobleIDark:/48914/w1/20260525/8948BDD0DOI10.1109/icse.2015.148
Approximating Attack Surfaces with Stack Traces
Theisen, Herzig, Morrison and 2 others · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · 2015 · Subscription
NobleIDark:/48914/w1/20260525/8948BDD0DOI10.1109/icse.2015.148
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
Security testing and reviewing efforts are a necessity for software projects, but are time-consuming and expensive to apply. Identifying vulnerable code supports decision-making during all phases of software development. An approach for identifying vulnerable code is to identify its attack surface, the sum of all paths for untrusted data into and out of a system. Identifying the code that lies on the attack surface requires expertise and significant manual effort. This paper proposes an automated technique to empirically approximate attack surfaces through the analysis of stack traces. We hypothesize that stack traces from user-initiated crashes have several desirable attributes for measuring attack surfaces. The goal of this research is to aid software engineers in prioritizing security efforts by approximating the attack surface of a system via stack trace analysis. In a trial on Windows 8, the attack surface approximation selected 48.4% of the binaries and contained 94.6% of known vulnerabilities. Compared with vulnerability prediction models (VPMs) run on the entire codebase, VPMs run on the attack surface approximation improved recall from .07 to .1 for binaries and from .02 to .05 for source files. Precision remained at .5 for binaries, while improving from .5 to .69 for source files.