[Paper Review] DroidNative: Semantic-Based Detection of Android Native Code Malware
DroidNative is the first static analysis-based malware detection system for Android that operates at the native code level, using control flow patterns to detect both bytecode and native code malware variants. It achieves a 99.16% detection rate with 1.3% false positive rate and 26.87 sec/sample average detection time, outperforming existing tools in detecting obfuscated malware.
According to the Symantec and F-Secure threat reports, mobile malware development in 2013 and 2014 has continued to focus almost exclusively ~99% on the Android platform. Malware writers are applying stealthy mutations (obfuscations) to create malware variants, thwarting detection by signature based detectors. In addition, the plethora of more sophisticated detectors making use of static analysis techniques to detect such variants operate only at the bytecode level, meaning that malware embedded in native code goes undetected. A recent study shows that 86% of the most popular Android applications contain native code, making this a plausible threat. This paper proposes DroidNative, an Android malware detector that uses specific control flow patterns to reduce the effect of obfuscations, provides automation and platform independence, and as far as we know is the first system that operates at the Android native code level, allowing it to detect malware embedded in both native code and bytecode. When tested with traditional malware variants it achieves a detection rate (DR) of 99.48%, compared to academic and commercial tools' DRs that range from 8.33% -- 93.22%. When tested with a dataset of 2240 samples DroidNative achieves a DR of 99.16%, a false positive rate of 0.4% and an average detection time of 26.87 sec/sample.
Motivation & Objective
- To address the growing threat of Android malware, especially those embedded in native code, which remain undetected by existing bytecode-level analysis tools.
- To overcome the limitations of signature-based and API-call-based detection methods that are evaded by obfuscation techniques.
- To develop a platform-independent, automated malware detection system capable of analyzing both native code and bytecode.
- To reduce the impact of obfuscation on malware detection by focusing on control flow patterns that are resilient to common obfuscation techniques.
- To enable real-time detection by optimizing signature size and processing time through semantic analysis of control flow.
Proposed method
- DroidNative performs static analysis on native code by extracting and analyzing control flow patterns that are semantically meaningful and resilient to obfuscation.
- It uses a domain-specific language called MAIL (Malware Analysis and Inspection Language) to express detection rules, enabling automation and platform independence.
- The system leverages two techniques—ACG (API Call Graph) and SWOD (Semantic Weighted Outlier Detection)—to reduce the impact of obfuscations in malware variants.
- It compiles Android bytecode into native code using the Android Runtime (ART) to enable unified analysis across both bytecode and native code components.
- Control flow patterns are used to generate compact, efficient signatures that maintain high detection accuracy while reducing analysis time.
- The system applies n-fold cross-validation and evaluates performance on a dataset of 2240 Android samples to validate detection accuracy and efficiency.
Experimental results
Research questions
- RQ1Can a static analysis-based malware detection system effectively detect Android malware embedded in native code, where existing tools fail?
- RQ2How effective is control flow pattern analysis in detecting obfuscated malware variants compared to signature-based or API-call-based methods?
- RQ3Can a unified detection framework analyze both native code and bytecode in Android applications with high accuracy and low false positive rates?
- RQ4To what extent can the use of a domain-specific language (MAIL) improve automation and platform independence in malware detection?
- RQ5Can the proposed system achieve real-time performance while maintaining high detection accuracy across diverse malware variants?
Key findings
- DroidNative achieves a 99.16% detection rate on a dataset of 2240 Android samples, significantly outperforming commercial and academic tools that range from 8.33% to 93.22% detection rates.
- The system reports a 1.3% false positive rate, indicating strong precision in distinguishing benign from malicious applications.
- For traditional malware variants, DroidNative achieves a 99.48% detection rate, demonstrating high resilience to obfuscation.
- The average detection time is 26.87 seconds per sample, which is approximately 6.5 times faster than the compared system [50].
- DroidNative is the first known system to perform malware detection at the native code level, enabling detection of malware in both native and bytecode components.
- The use of control flow patterns and the MAIL language enables efficient, automated, and platform-independent malware signature generation with minimal performance overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.