Andromeda: Accurate and Scalable Security Analysis of Web Applications

  • Omer Tripp
  • Marco Pistoia
  • Patrick Cousot
  • Radhia Cousot
  • Salvatore Guarnieri
Conference paper

DOI: 10.1007/978-3-642-37057-1_15

Part of the Lecture Notes in Computer Science book series (LNCS, volume 7793)
Cite this paper as:
Tripp O., Pistoia M., Cousot P., Cousot R., Guarnieri S. (2013) Andromeda: Accurate and Scalable Security Analysis of Web Applications. In: Cortellessa V., Varró D. (eds) Fundamental Approaches to Software Engineering. FASE 2013. Lecture Notes in Computer Science, vol 7793. Springer, Berlin, Heidelberg

Abstract

Security auditing of industry-scale software systems mandates automation. Static taint analysis enables deep and exhaustive tracking of suspicious data flows for detection of potential leakage and integrity violations, such as cross-site scripting (XSS), SQL injection (SQLi) and log forging. Research in this area has taken two directions: program slicing and type systems. Both of these approaches suffer from a high rate of false findings, which limits the usability of analysis tools based on these techniques. Attempts to reduce the number of false findings have resulted in analyses that are either (i) unsound, suffering from the dual problem of false negatives, or (ii) too expensive due to their high precision, thereby failing to scale to real-world applications.

In this paper, we investigate a novel approach for enabling precise yet scalable static taint analysis. The key observation informing our approach is that taint analysis is a demand-driven problem, which enables lazy computation of vulnerable information flows, instead of eagerly computing a complete data-flow solution, which is the reason for the traditional dichotomy between scalability and precision. We have implemented our approach in Andromeda, an analysis tool that computes data-flow propagations on demand, in an efficient and accurate manner, and additionally features incremental analysis capabilities. Andromeda is currently in use in a commercial product. It supports applications written in Java, .NET and JavaScript. Our extensive evaluation of Andromeda on a suite of 16 production-level benchmarks shows Andromeda to achieve high accuracy and compare favorably to a state-of-the-art tool that trades soundness for precision.

Keywords

Security Static Analysis Taint Analysis Information Flow Integrity Abstract Interpretation 

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Omer Tripp
    • 1
    • 2
  • Marco Pistoia
    • 3
  • Patrick Cousot
    • 4
  • Radhia Cousot
    • 5
  • Salvatore Guarnieri
    • 6
    • 2
  1. 1.Tel Aviv UniversityIsrael
  2. 2.IBM Software GroupUSA
  3. 3.IBM Thomas J. Watson Research CenterUSA
  4. 4.New York UniversityUSA
  5. 5.École Normale SupérieureFrance
  6. 6.University of WashingtonUSA

Personalised recommendations