Adversaries may execute their own malicious payloads by hijacking the way an operating system run applications. Hijacking execution flow can be for the purposes of persistence since this hijacked execution may reoccur at later points in time.
On Android, adversaries may overwrite the standard OS API library with a malicious alternative to hook into core functions to achieve persistence. By doing this, the adversary’s code will be executed every time the overwritten API function is called by an app on the infected device.
Device attestation could detect unauthorized operating system modifications.
|M1004||System Partition Integrity||
Android Verified Boot can detect unauthorized modifications made to the system partition, which could lead to execution flow hijacking.
Mobile threat defense agents could detect unauthorized operating system modifications by using attestation.