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

Adam Janovsky, Davide Maiorca, Dominik Macko, Vashek Matyas, Giorgio Giacinto

2022

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. 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 603937 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.

Download


Paper Citation


in Harvard Style

Janovsky A., Maiorca D., Macko D., Matyas V. and Giacinto G. (2022). A Longitudinal Study of Cryptographic API: A Decade of Android Malware. In Proceedings of the 19th International Conference on Security and Cryptography - Volume 1: SECRYPT, ISBN 978-989-758-590-6, pages 121-133. DOI: 10.5220/0011265300003283


in Bibtex Style

@conference{secrypt22,
author={Adam Janovsky and Davide Maiorca and Dominik Macko and Vashek Matyas and Giorgio Giacinto},
title={A Longitudinal Study of Cryptographic API: A Decade of Android Malware},
booktitle={Proceedings of the 19th International Conference on Security and Cryptography - Volume 1: SECRYPT,},
year={2022},
pages={121-133},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0011265300003283},
isbn={978-989-758-590-6},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 19th International Conference on Security and Cryptography - Volume 1: SECRYPT,
TI - A Longitudinal Study of Cryptographic API: A Decade of Android Malware
SN - 978-989-758-590-6
AU - Janovsky A.
AU - Maiorca D.
AU - Macko D.
AU - Matyas V.
AU - Giacinto G.
PY - 2022
SP - 121
EP - 133
DO - 10.5220/0011265300003283