A Longitudinal Study of Cryptographic API: a Decade of Android Malware

Adam Janovsky, Davide Maiorca, Dominik Macko, Vashek Matyas, Giorgio Giacinto
5/11/2022
cs.CR

Official code: adamjanovsky/AndroidMalwareCrypto (5 stars, Jupyter Notebook, MIT, last commit 2023-05-23).

Abstract

Cryptography has been extensively used in Android applications to guarantee secure communications, conceal critical data from reverse engineering, or ensure mobile users' privacy. Various system-based and third-party libraries for Android provide cryptographic functionalities, and previous works mainly explored the misuse of cryptographic API in benign applications.

Show full abstract

However, the role of cryptographic API has not yet been explored in Android malware. This paper performs a comprehensive, longitudinal analysis of cryptographic API in Android malware. In particular, we analyzed $603\,937$ Android applications (half of them malicious, half benign) released between $2012$ and $2020$, gathering more than 1 million cryptographic API expressions. Our results reveal intriguing trends and insights on how and why cryptography is employed in Android malware. For instance, we point out the widespread use of weak hash functions and the late transition from insecure DES to AES. Additionally, we show that cryptography-related characteristics can help to improve the performance of learning-based systems in detecting malicious applications.

View on arXivView PDF

Code Implementations(1)

MIT

The analysis of cryptography in Android malicious applications

50Jupyter Notebook, PythonJul 9, 20193 years agoMIT
cryptographydata-sciencemalware-analysis

Similar Papers

Cite this paper

@article{janovsky2022longitudinal,
  title  = {A Longitudinal Study of Cryptographic API: a Decade of Android Malware},
  author = {Adam Janovsky and Davide Maiorca and Dominik Macko and Vashek Matyas and Giorgio Giacinto},
  year   = {2022},
  eprint = {2205.05573},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.05573}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.05573.svg)](https://codeofpaper.com/paper/2205.05573)

Discussion