2014 · 31 citations · 19 references
ComputingComputer ScienceCybersecurityApplication SecurityComputer SecurityProgramming LanguagesApi SecurityControl-flow AnalysisData-flow AnalysisStatic AnalysisStatic Code AnalysisStatic Vulnerability AnalysisApi Vulnerability DetectionAttack Surface CharacterizationConfidentialityContext-sensitive AnalysisIntegrityProgram Taint AnalysisSensitive Information LeakageTaint Detection
Over the past years, widely used platforms such as the Java Class Library have been under constant attack through vulnerabilities that involve a combination of two taint-analysis problems: an integrity problem allowing attackers to trigger sensitive operations within the platform, and a confidentiality problem allowing the attacker to retrieve sensitive information or pointers from the results of those operations. While existing static taint analyses are good at solving either of those problems, we show that they scale prohibitively badly when being applied to situations that require the exploitation of both an integrity and confidentiality problem in combination. The main problem is the huge attack surface of libraries such as the Java Class Library, which exposes thousands of methods potentially controllable by an attacker. In this work we thus present FlowTwist, a novel taint-analysis approach that works inside-out, i.e., tracks data flows from potentially vulnerable calls to the outer level of the API which the attacker might control. This inside-out analysis requires a careful, context-sensitive coordination of both a backward and a forward taint analysis. In this work, we expose a design of the analysis approach based on the IFDS algorithm, and explain several extensions to IFDS that enable not only this coordination but also a helpful reporting of error situations to security analysts. Experiments with the Java Class Library show that, while a simple forward taint-analysis approach does not scale even with much machine power, FlowTwist's algorithm is able to fully analyze the library within 10 minutes.
19
IEEE Security & Privacy · 2004 · 1.5K citations
Precise interprocedural dataflow analysis via graph reachability
Thomas Reps, Susan Horwitz, Mooly Sagiv · 1995 · 1.2K citations
Long Lu, Zhichun Li, Zhenyu Wu et al. · 2012 · 597 citations
An empirical study of cryptographic misuse in android applications
Manuel Egele, David Brumley, Yanick Fratantonio et al. · 2013 · 437 citations