On-Device Patching Framework for Android Applications

posted in #IT Security, Mobile & Cloud on the 21.12.2021

Patching existing Android packages has a broad range of applications, ranging from fixing security vulnerabilities to instrumenting potential malware, or extending some software’s functionality.

However, existing solutions support solely patching an applications’s program code, which only represents one part of an Android app. Additionally, patch developers are usually only enabled to patch concrete applications, or at least concrete classes known at the time of patch development. These limitations counteract the frequent need to modify classes based on their inheritance tree, or go beyond manipulation of the control flow, e.g. by adding resources or altering a package’s manifest file.

This project saw the development of a fully-functional patching framework consisting of a development kit for the convenient creation of application-agnostic patches, as well as a complete deployment pipeline that is performant enough for integration into mobile applications.

Downloads

File Description File size
pdf Project Report (DE) Version 1.0 (German Only)
337 KB