Skip to main content
QUICK REVIEW

[Paper Review] HornDroid: Practical and Sound Static Analysis of Android Applications by SMT Solving

Stefano Calzavara, Ilya Grishchenko|arXiv (Cornell University)|Jul 25, 2017
Advanced Malware Detection TechniquesComputer Science13 references14 citations
TL;DR

HornDroid is a sound static analysis tool for Android apps that uses Horn clauses to model program semantics and SMT solving to verify information flow properties. It achieves high precision and performance, outperforming existing tools while providing the first formal proof of soundness for Android static analysis.

ABSTRACT

We present HornDroid, a new tool for the static analysis of information flow properties in Android applications. The core idea underlying HornDroid is to use Horn clauses for soundly abstracting the semantics of Android applications and to express security properties as a set of proof obligations that are automatically discharged by an off-the-shelf SMT solver. This approach makes it possible to fine-tune the analysis in order to achieve a high degree of precision while still using off-the-shelf verification tools, thereby leveraging the recent advances in this field. As a matter of fact, HornDroid outperforms state-of-the-art Android static analysis tools on benchmarks proposed by the community. Moreover, HornDroid is the first static analysis tool for Android to come with a formal proof of soundness, which covers the core of the analysis technique: besides yielding correctness assurances, this proof allowed us to identify some critical corner-cases that affect the soundness guarantees provided by some of the previous static analysis tools for Android.

Motivation & Objective

  • To develop a practical and sound static analysis framework for Android applications that ensures correctness in information flow analysis.
  • To leverage off-the-shelf SMT solvers for automated verification of security properties in Android apps.
  • To improve precision and performance over existing static analysis tools for Android.
  • To formally prove the soundness of the core analysis technique, identifying critical corner cases overlooked by prior tools.

Proposed method

  • Abstract program semantics using Horn clauses to represent control-flow and data-flow behavior in Android apps.
  • Encode security properties as proof obligations expressed in the Horn clause framework.
  • Use off-the-shelf SMT solvers to automatically discharge these proof obligations.
  • Integrate fine-tuning mechanisms to balance precision and performance in the analysis.
  • Construct a formal proof of soundness for the core analysis technique to ensure correctness guarantees.

Experimental results

Research questions

  • RQ1How can static analysis of Android apps be made both precise and scalable using existing verification infrastructure?
  • RQ2Can Horn clauses effectively model the semantics of Android applications for security property verification?
  • RQ3To what extent can SMT solvers be leveraged to automate the verification of information flow properties in Android apps?
  • RQ4What are the critical corner cases that compromise soundness in prior static analysis tools for Android?
  • RQ5Can a formal proof of soundness be constructed for a practical Android static analysis framework?

Key findings

  • HornDroid outperforms state-of-the-art Android static analysis tools on community-proposed benchmarks.
  • The tool is the first to provide a formal proof of soundness for its core analysis technique.
  • The formal proof uncovered critical corner cases that undermine soundness in previous static analysis tools.
  • The use of SMT solving enables high precision while maintaining scalability through off-the-shelf verification technology.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.