University of Saskatchewan
Measuring alignment of non-SDK Android interface guidelines
Abstract
dc:description.abstractAndroid non-SDK interfaces are APIs that fall outside the scope of the official Android SDK and are typically restricted to prevent their misuse. Google implemented strict guidelines to control access under- standing the risks posed by these non-SDK interfaces. Our study conducts a systematic evaluation of the Android’s official non-SDK interface documentation and the non-SDK interfaces generated by Veridex, a static tool developed by Google to identify the usage, of the non-SDK interfaces in Android applications. In our study, we consider the three latest versions of Android (12, 13, and 14), where we uncovered significant discrepancies that challenged the integrity of the official guidelines intended to secure the Android OS. Through a comprehensive analysis of 613,072 Android APKs, we were able to identify a considerable number of non-SDK interfaces that were either partially or not documented in the official restriction lists. Specifically, through our findings, we were able to identify the presence of 72.13% of non-SDK interfaces in Android version 12, 69.95% non-SDK interfaces in version 13, and 70.61% non-SDK interfaces in version 14 that highlighted inconsistencies between the non-SDK interfaces detected by Veridex in the APKs and the non-SDK interfaces available in the restriction lists. We were also able to observe the presence of contradictory restrictions across the three versions. These contradictions of restrictions were observed between what is detected by Veridex and the restrictions available in the restriction lists. We also observed that some non-SDK interfaces contained restrictions that shifted from ’blocked’ or ’conditionally blocked’ to ’public,system,unsupported’, which suggests contradictions in access control in different Android versions. We also conducted a case study involving APKs containing non-SDK APIs that are not present in the restriction lists to observe if the Android OS detects and blocks these non-SDK APIs during runtime. We observed that these APKs successfully installed and executed on the phones, retrieving critical system information. The adb logs highlighted that a system-level communication was triggered to retrieve these information without any error or warning. These contradictions raise concerns about access control leading to security issues in the Android OS. Based on our analysis, we are able to conclude that there is a pressing need for more rigorous and consistent documentation with proper enforcement of non-SDK interface restrictions. Our study not only provides a detailed assessment of the current state of non-SDK interface management but also signifies the importance of conducting revisions to the current Android security model to address emerging threats effectively. This study we conducted highlights multiple discrepancies and their implications and manages to contribute to the broader discussion on securing the Android OS.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (M.Sc.)
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- University of Saskatchewan
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Silva, George
- Advisor dc:contributor.advisor
-
- Stakhanova, Natalia
- Committee members dc:contributor.committeemember
-
- Derek, Eager
- Debajyoti, Mondal
- ORCID person:identifier.orcid
Subjects
dc:subject × 3Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10388/15930