Skip to main content
QUICK REVIEW

[Paper Review] R-PackDroid: Practical On-Device Detection of Android Ransomware.

Michele Scalas, Davide Maiorca|arXiv (Cornell University)|May 24, 2018
Advanced Malware Detection TechniquesComputer Science16 references3 citations
TL;DR

This paper proposes R-PackDroid, a practical on-device Android ransomware detection system that leverages System API calls—specifically packages, classes, and methods—for accurate and efficient detection. By focusing on low-level system interactions, the approach achieves high accuracy in identifying ransomware and generic malware, with strong resilience to obfuscation and effectiveness against novel threats, outperforming complex ML-based methods in explainability and real-time performance.

ABSTRACT

Ransomware constitutes a significant threat to the Android operating system. It can either lock or encrypt the target devices, and victims are forced to pay ransoms to restore their data. Hence, the prompt detection of such attacks has a priority in comparison to other malicious threats. Previous works on Android malware detection mainly focused on Machine Learning-oriented approaches that were tailored to identifying malware families, without a clear focus on ransomware. More specifically, such approaches resorted to complex information types such as permissions, user-implemented API calls, and native calls. However, this led to significant drawbacks concerning complexity, resilience against obfuscation, and explainability. To overcome these issues, in this paper, we propose and discuss learning-based detection strategies that rely on System API information. These techniques leverage the fact that ransomware attacks heavily resort to System API to perform their actions, and allow distinguishing between generic malware, ransomware and goodware. We tested three different ways of employing System API information, i.e., through packages, classes, and methods, and we compared their performances to other, more complex state-of-the-art approaches. The attained results showed that systems based on System API could detect ransomware and generic malware with very good accuracy, comparable to systems that employed more complex information. Moreover, the proposed systems could accurately detect novel samples in the wild and showed resilience against static obfuscation attempts. Finally, to guarantee early on-device detection, we developed and released on the Android platform a complete ransomware and malware detector (R-PackDroid) that employed one of the methodologies proposed in this paper.

Motivation & Objective

  • To address the critical need for early, on-device detection of Android ransomware, which poses a severe threat due to data encryption and extortion demands.
  • To overcome limitations of existing ML-based Android malware detection techniques that rely on complex features like permissions and API calls, which suffer from poor explainability and vulnerability to obfuscation.
  • To explore whether System API-level information—specifically packages, classes, and methods—can serve as a simpler, more resilient, and effective signal for distinguishing ransomware from goodware and generic malware.
  • To develop and release a fully functional, on-device detection system (R-PackDroid) based on the most effective System API-based detection strategy for real-world deployment.

Proposed method

  • The method analyzes System API calls made by Android applications, focusing on three granular levels: packages, classes, and individual methods, to extract behavioral signatures of malicious activity.
  • Each application is represented as a sequence of System API calls at the selected granularity, forming a feature vector for classification.
  • Three distinct classification models are trained and evaluated: one using only package-level calls, one using class-level calls, and one using method-level calls.
  • The models are trained and tested on a dataset of real-world Android applications, including known ransomware, generic malware, and benign apps, to evaluate detection accuracy and robustness.
  • The system is designed for on-device execution, ensuring low latency and user privacy by avoiding data transmission to external servers.
  • The final detection engine, R-PackDroid, is implemented as a standalone Android application using the most effective API-level approach, with real-time scanning capabilities.

Experimental results

Research questions

  • RQ1Can System API-level information (packages, classes, methods) be used effectively to detect Android ransomware with high accuracy and low complexity?
  • RQ2How does the performance of System API-based detection compare to state-of-the-art ML-based approaches that rely on permissions and complex API call sequences?
  • RQ3To what extent can System API-based detection resist static obfuscation techniques commonly used by malware authors?
  • RQ4Can the proposed system detect previously unseen (zero-day) ransomware samples in the wild with high reliability?
  • RQ5Is it feasible to implement a lightweight, on-device detection system based on System API analysis that ensures low latency and user privacy?

Key findings

  • The System API-based detection approach achieved detection accuracy for ransomware and generic malware that was comparable to more complex state-of-the-art methods relying on permissions and low-level system calls.
  • The method demonstrated strong resilience against static obfuscation attacks, maintaining high detection rates even when malware code was obfuscated to evade detection.
  • The system successfully detected novel ransomware samples not seen during training, indicating good generalization to zero-day threats.
  • The method based on method-level System API calls provided the highest detection accuracy among the three granularity levels tested.
  • The final R-PackDroid implementation successfully enabled real-time, on-device detection without requiring network transmission, ensuring privacy and low latency.
  • The use of System API information significantly improved explainability compared to black-box ML models, as the detection logic is traceable to specific system-level actions.

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.