An empirical study of cryptographic misuse in android applications
The DOI matches its Crossref record; 18 of the 18 references it cites were found in a registry or an index.
Abstract
Developers use cryptographic APIs in Android with the intent of securing data such as passwords and personal information on mobile devices. In this paper, we ask whether developers use the cryptographic APIs in a fashion that provides typical cryptographic notions of security, e.g., IND-CPA security. We develop program analysis techniques to automatically check programs on the Google Play marketplace, and find that 10.327 out of 11,748 applications that use cryptographic APIs -- 88% overall -- make at least one mistake. These numbers show that applications do not use cryptographic APIs in a fashion that maximizes overall security. We then suggest specific remediations based on our analysis towards improving overall cryptographic security in Android applications.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Weiser, M. (1984) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1984.5010248 · Cited by 3,204
Efficiently computing static single assignment form and the control dependence graph
Cytron, R., Ferrante, J., Rosen, B. K., Wegman, M. N., & Zadeck, F. K. (1991) · ACM Transactions on Programming Languages and Systems · doi:10.1145/115372.115320 · Cited by 2,267
TaintDroid: an information-flow tracking system for realtime privacy monitoring on smartphones
Enck, W., Gilbert, P., Chun, B.-G., Cox, L. P., Jung, J., McDaniel, P. D., & Sheth, A. N. (2010) · doi:10.5555/1924943.1924971 · Cited by 2,238
Why Johnny can't encrypt: a usability evaluation of PGP 5.0
Whitten, A., & Tygar, J. D. (1999) · USENIX Security Symposium · Cited by 1,528
Android permissions demystified
Felt, A. P., Chin, E., Hanna, S., Song, D., & Wagner, D. (2011) · Proceedings of the 18th ACM conference on Computer and communications security · doi:10.1145/2046707.2046779 · Cited by 1,291
On lightweight mobile phone application certification
Enck, W., Ongtang, M., & McDaniel, P. (2009) · Proceedings of the 16th ACM conference on Computer and communications security · doi:10.1145/1653662.1653691 · Cited by 921
Hey, You, Get Off of My Market: Detecting Malicious Apps in Official and Alternative Android Markets
Zhou, Y., Wang, Z., Zhou, W., & Jiang, X. (2012) · Network and Distributed System Security Symposium · Cited by 734
Optimization of Object-Oriented Programs Using Static Class Hierarchy Analysis
Dean, J., Grove, D., & Chambers, C. (2007) · Lecture Notes in Computer Science · doi:10.1007/3-540-49538-x_5 · Cited by 610
Apex: extending Android permission model and enforcement with user-defined runtime constraints
Nauman, M., Khan, S., & Zhang, X. (2010) · Proceedings of the 5th ACM Symposium on Information, Computer and Communications Security · doi:10.1145/1755688.1755732 · Cited by 528
Why eve and mallory love android: an analysis of android SSL (in)security
Fahl, S., Harbach, M., Muders, T., Baumgärtner, L., Freisleben, B., & Smith, M. (2012) · Proceedings of the 2012 ACM conference on Computer and communications security · doi:10.1145/2382196.2382205 · Cited by 490
Cited by
Wei, F., Roy, S., Ou, X., & Robby (2014) · Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2660267.2660357 · Cited by 415
SoK: Security Evaluation of Home-Based IoT Deployments
Alrawi, O., Lever, C., Antonakakis, M., & Monrose, F. (2019) · 2019 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2019.00013 · Cited by 391
Static analysis of android apps: A systematic literature review
Li, L., Bissyandé, T. F., Papadakis, M., Rasthofer, S., Bartel, A., Octeau, D., Klein, J., & Traon, L. (2017) · Information and Software Technology · doi:10.1016/j.infsof.2017.04.001 · Cited by 350
Automatic Software Repair: A Survey
Gazzola, L., Micucci, D., & Mariani, L. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2755013 · Cited by 327
Reliable Third-Party Library Detection in Android and its Security Applications
Backes, M., Bugiel, S., & Derr, E. (2016) · Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2976749.2978333 · Cited by 324
Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
Fischer, F., Bottinger, K., Xiao, H., Stransky, C., Acar, Y., Backes, M., & Fahl, S. (2017) · 2017 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2017.31 · Cited by 280
Execute This! Analyzing Unsafe and Malicious Dynamic Code Loading in Android Applications
Poeplau, S., Fratantonio, Y., Bianchi, A., Kruegel, C., & Vigna, G. (2014) · Proceedings 2014 Network and Distributed System Security Symposium · doi:10.14722/ndss.2014.23328 · Cited by 265
Self-citationYou Get Where You're Looking for: The Impact of Information Sources on Code Security
Acar, Y., Backes, M., Fahl, S., Kim, D., Mazurek, M. L., & Stransky, C. (2016) · 2016 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2016.25 · Cited by 252
“examined the use of cryptography – including block ciphers and message authentication codes – in Android applications and found more than 10,000 apps misusing cryptographic primitives in insecure ways [11].”
BackgroundThe Seven Sins: Security Smells in Infrastructure as Code Scripts
Rahman, A., Parnin, C., & Williams, L. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00033 · Cited by 228
“Egele et al. [30] and Kruger et al. [31] in separate studies analyzed use of weak or wrong cryptography algorithms.”
BackgroundJumping through hoops: why do Java developers struggle with cryptography APIs?
Nadi, S., Krüger, S., Mezini, M., & Bodden, E. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884790 · Cited by 218
“When no mode is provided as in the code above, the standard provider defaults to the insecure ECB mode [14] as discussed by S4-P3.”
BackgroundMethodA Taxonomy of Attacks and a Survey of Defence Mechanisms for Semantic Social Engineering Attacks
Heartfield, R., & Loukas, G. (2016) · ACM Computing Surveys · doi:10.1145/2835375 · Cited by 202
Comparing the Usability of Cryptographic APIs
Acar, Y., Backes, M., Fahl, S., Garfinkel, S., Kim, D., Mazurek, M. L., & Stransky, C. (2017) · 2017 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2017.52 · Cited by 198
“Despite this critical importance, cryptographic errors have been well documented for decades, in both production applications and widely used developer libraries [2]–[5].”
Automatic software repair: a survey
Gazzola, L., Micucci, D., & Mariani, L. (2018) · Proceedings of the 40th International Conference on Software Engineering · doi:10.1145/3180155.3182526 · Cited by 163
Mobile malware attacks: Review, taxonomy & future directions
Qamar, A., Karim, A., & Chang, V. (2019) · Future Generation Computer Systems · doi:10.1016/j.future.2019.03.007 · Cited by 162
“In the study of Egele et al. [102] offered a CRYPTOLINT tool that uses static method for examining cryptographic features and hooks common misappropriation of cryptography in android apks.”
MethodThe Privacy and Security Behaviors of Smartphone App Developers
Balebako, R., Marsh, A., Lin, J., Hong, J., & Faith Cranor, L. (2014) · Proceedings 2014 Workshop on Usable Security · doi:10.14722/usec.2014.23006 · Cited by 161
What the App is That? Deception and Countermeasures in the Android User Interface
Bianchi, A., Corbetta, J., Invernizzi, L., Fratantonio, Y., Kruegel, C., & Vigna, G. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.62 · Cited by 147
Self-citationCrySL: An Extensible Approach to Validating the Correct Usage of Cryptographic APIs
Kruger, S., Spath, J., Ali, K., Bodden, E., & Mezini, M. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2948910 · Cited by 112
Iwaya, L. H., Babar, M. A., Rashid, A., & Wijayarathna, C. (2023) · Empirical Software Engineering · doi:10.1007/s10664-022-10236-0 · Cited by 109
Oh, S., Lee, K., Park, S., Kim, D., & Kim, H. (2024) · 2024 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp54263.2024.00046 · Cited by 27
“This is a well-known misuse of cryptographic algorithms, as it is vulnerable to chosen plaintext attacks [48].”
Background(2020) · USENIX Security Symposium · Cited by 27
Enabling Data-Driven API Design with Community Usage Data: A Need-Finding Study
Zhang, T., Hartmann, B., Kim, M., & Glassman, E. L. (2020) · Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems · doi:10.1145/3313831.3376382 · Cited by 25
“Making mistakes in API usage could lead to severe program failures such as runtime exceptions [60] and security vulnerabilities [21, 18, 16].”
Background
Metadata
- Authors
- Egele, M., Brumley, D., Fratantonio, Y., & Kruegel, C.
- Venue
- Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security - CCS '13
- Publisher
- ACM Press
- Published
- 2013
- Pages
- 73-84
- OpenAlex
- W2008810193
- Cited by
- 435
- References
- 18
- FWCI
- 18.86
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.