Google Restricts Android Accessibility API to Prevent Malware Exploitation
Google Introduces Restrictions on Android Accessibility API
Google has introduced new restrictions on the use of its Android accessibility API, aimed at preventing malware authors from exploiting these features to gain unauthorized access to sensitive user data.
Background
The accessibility API is a set of features that allows apps to read screen content, control user input, and interact with other applications. While these capabilities are intended to support assistive technologies such as screen readers and voice controls, they have also been used by malware developers to intercept sensitive data, including two-factor authentication codes and login credentials.
In recent years, the number of malware frameworks that abuse the accessibility API has grown significantly. For example, the DroidLock malware uses the API to steal personal data and demand a ransom, while the Albiriox malware uses it to install itself and grant remote control to attackers. In another recent case, malware was observed posing as a Google security page while abusing accessibility services to gain unauthorized access to user data.
New Restrictions
To mitigate these threats, Google has introduced new restrictions on the use of the accessibility API. Under the updated rules, only apps that are specifically designed to provide accessibility services are allowed to use the API. Other apps, including password managers and automation tools, are excluded from access when Advanced Protection Mode (APM) is enabled.
APM restricts app installation to trusted sources and limits data transfers over USB, reducing the attack surface but potentially affecting app functionality.
Google’s Efforts to Limit Misuse
Google has been working to limit the misuse of the accessibility API for several years. In 2017, the company required developers to justify their use of accessibility features or face removal from the Play Store. In 2021, it introduced permission declarations for apps targeting Android 12 and later. The latest update marks a further step in Google’s efforts to prevent malware authors from exploiting the accessibility API for malicious purposes.
“The changes are likely to be welcomed by security experts, who have long warned about the risks associated with the accessibility API. However, they may also cause inconvenience to some users who rely on apps that use the API for legitimate purposes.”
Conclusion
As the threat landscape continues to evolve, it is likely that Google will need to continue to adapt its security measures to stay ahead of malware authors.
