Enabling the forensic study of application-level encrypted data in Android via a Frida-based decryption framework

Cosimo Anglano, Massimo Canonico, Andrea Cepollina, Davide Freggiaro, Alderico Gallo, Marco Guazzone

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The forensic study of mobile apps that use application-level encryption requires the decryption of the data they generate. Such a decryption requires the knowledge of the encryption algorithm and key. Determining them requires, however, a quite complex analysis that is time-consuming, error prone, and often beyond the reach of many forensic examiners. In this paper, we tackle this problem by devising a framework able to automate the decryption of these data when third-party encryption libraries or platforms are used. Our framework is based on the use of dynamic instrumentation of app's binary code by means of hooking, which enables it to export the plaintext of data after they have been decrypted by the app, as well as the corresponding encryption key and parameters. This framework has been conceived to be used only with test devices used for forensic study purposes, and not with devices that need to be forensically analyzed. We describe the architecture of the framework as well as the implementation of its components and of the hooks supporting three prominent and popular encryption libraries, namely SQLCipher, Realm and Jetpack Security. Also, we validate our framework by comparing its decryption results against those published in the literature for Wickr Me, Signal, Threema, and Element.

Original languageEnglish
Title of host publicationARES 2023 - 18th International Conference on Availability, Reliability and Security, Proceedings
PublisherAssociation for Computing Machinery
ISBN (Electronic)9798400707728
DOIs
Publication statusPublished - 29 Aug 2023
Event18th International Conference on Availability, Reliability and Security, ARES 2023 - Benevento, Italy
Duration: 29 Aug 20231 Sept 2023

Publication series

NameACM International Conference Proceeding Series

Conference

Conference18th International Conference on Availability, Reliability and Security, ARES 2023
Country/TerritoryItaly
CityBenevento
Period29/08/231/09/23

Fingerprint

Dive into the research topics of 'Enabling the forensic study of application-level encrypted data in Android via a Frida-based decryption framework'. Together they form a unique fingerprint.

Cite this