Paper record
W2577540292Harvesting Runtime Values in Android Applications That Feature Anti-Analysis Techniques
Siegfried Rasthofer, Steven Arzt, Marc Miltenberger, Eric Bodden
- Year
- 2016
- Venue
- Network and Distributed System Security Symposium
- References
- 41
- Cited by
- 165
Details and counts from OpenAlex.
Abstract
It is generally challenging to tell apart malware \nfrom benign applications. To make this decision, human analysts \nare frequently interested in runtime values: targets of reflective \nmethod calls, URLs to which data is sent, target telephone \nnumbers of SMS messages, and many more. However, obfuscation \nand string encryption, used by malware as well as goodware, often \nnot only render human inspections, but also static analyses ineffective. In addition, malware frequently tricks dynamic analyses \nby detecting the execution environment emulated by the analysis \ntool and then refraining from malicious behavior. \nIn this work we therefore present HARVESTER, an approach \nto fully automatically extract runtime values from Android \napplications. HARVESTER is designed to extract values even from \nhighly obfuscated state-of-the-art malware samples that obfuscate \nmethod calls using reflection, hide sensitive values in native code, \nload code dynamically and apply anti-analysis techniques. The \napproach combines program slicing with code generation and \ndynamic execution. \nExperiments on 16,799 current malware samples show that \nHARVESTER fully automatically extracts many sensitive values, \nwith perfect precision. The process usually takes less than three \nminutes and does not require human interaction. In particular, \nit goes without simulating UI inputs. Two case studies further \nshow that by integrating the extracted values back into the app, \nHARVESTER can increase the recall of existing static and dynamic \nanalysis tools such as FlowDroid and TaintDroid.