Symbolic modelling of remote attestation protocols for device and app integrity on Android
Symbolic modelling of remote attestation protocols for device and app integrity on Android
复制标题
DOI:
10.1145/3579856.3582812
复制
发表时间:
2023-07
期刊:
影响因子:
--
通讯作者:
Abdulla Aldoseri;Tom Chothia;José Moreira;David F. Oswald
中科院分区:
文献类型:
--
作者:
Abdulla Aldoseri;Tom Chothia;José Moreira;David F. Oswald
Ensuring the integrity of a remote app or device is one of the most challenging concerns for the Android ecosystem. Software-based solutions provide limited protection and can usually be circumvented by repacking the mobile app or rooting the device. Newer protocols use trusted hardware to provide stronger remote attestation guarantees, e.g., Google SafetyNet, Samsung Knox (V2 and V3 attestation), and Android Key Attestation. So far, the protocols used by these systems have received relatively little attention. In this paper, we formally model these platforms using the Tamarin Prover and verify their security properties in the symbolic model of cryptography, revealing two vulnerabilities: we found a relay attack against Samsung Knox V2 that allows a malicious app to masquerade as an honest app, and an error in the recommended use case for Android Key Attestation that means that old—possibly out of date—attestations can be replayed. We employed our findings and the modelled platforms to tackle one of the most challenging problems in Android security, namely code protection, proposing and formally modelling a code protection scheme that ensures source code protection for mobile apps using a hardware root of trust.