Cybersecurity researchers have discovered that a large number of mobile phone applications contain hardcoded 'backdoor secrets' allowing hackers to access private data or block content provided by users.

"The study's findings: that the apps on mobile phones might have hidden or harmful behaviours about which end users know little to nothing," said study author Zhiqiang Lin from the Ohio State University in the US.

"Typically, mobile apps engage with users by processing and responding to user input. For instance, users often need to type certain words or sentences or click buttons and slide screens. Those inputs prompt an app to perform different actions," Lin added.

Proof of backdoor secrets in apps

For this study, the team evaluated 150,000 apps. They selected the top 100,000 based on the number of downloads from the Google Play store, the top 20,000 from an alternative market, and 30,000 from pre-installed apps on Android smartphones.

Uninstall these Android apps right now
Uninstall these Android apps right nowSophos

They found that 12,706 of those apps, about 8.5 per cent, contained something the research team labelled "backdoor secrets" - hidden behaviours within the app that accept certain types of content to trigger behaviours unknown to regular users.

They also found that some apps have built-in "master passwords," which allow anyone with that password to access the app and any private data contained within it.

And some apps, they found, had secret access keys that could trigger hidden options, including bypassing payment.

"Both users and developers are all at risk if a bad guy has obtained these 'backdoor secrets,'. In fact, motivated attackers could reverse engineer the mobile apps to discover them," Lin said.

Apps pose a threat

According to the study, developers often wrongly assume reverse engineering of their apps is not a legitimate threat.

Infected iOS apps you must remove
Infected iOS apps you must removeWandera

"A key reason why mobile apps contain these 'backdoor secrets' is because developers misplaced the trust," said study lead author Qingchuan Zhao.

To truly secure their apps developers need to perform security-relevant user-input validations and push their secrets on the backend servers.

In addition, the research team have developed an open-source tool, named InputScope, to help developers understand weaknesses in their apps and to demonstrate that the reverse engineering process can be fully automated.

The study was accepted for publication by the 2020 IEEE Symposium on Security and Privacy in May. The conference has been moved online because of the global coronavirus (COVID-19) outbreak.