Automatic Discovery of API-Level Vulnerabilities

Vinod Ganapathy, Sanjit A. Seshia, Somesh Jha, Thomas Reps, Randal E. BryantMinds 2004

Abstract

A system is vulnerable to an API-level attack if its security can be compromised by invoking an allowed sequence of operations from its API. We present a formal framework to model and analyze APIs, and develop an automatic technique based upon bounded model checking to discover API-level vulnerabilities. If a vulnerability exists, our technique produces a trace of API operations demonstrating an attack. Two case studies show the efficacy of our technique. In the first study we present a novel way to analyze printf-family format-string attacks as API-level attacks, and implement a tool to discover them automatically. In the second study, we model a subset of the IBM Common Cryptographic Architecture API, a popular cryptographic key-management API, and automatically detect a previously known vulnerability.
BibTeX
@inproceedings{ganapathy2004automatic,
  author = {Vinod Ganapathy and Sanjit A. Seshia and Somesh Jha and Thomas Reps and Randal E. Bryant},
  title = {{Automatic Discovery of API-Level Vulnerabilities}},
  booktitle = {Minds},
  year = {2004},
}

Loading related content...

Figure