Vulnerabilities

GhostMap Android Flaw: Installing a Crafted App Can Brick Your Phone

Bitdefender found an Android flaw that triggers a persistent crash loop. A proof-of-concept app needs no permissions and never has to be opened.

GhostMap Android Flaw: Installing a Crafted App Can Brick Your Phone

Simply installing a specially crafted app can push an Android phone into a crash loop that makes it unusable. On November 5, Bitdefender published an analysis of the issue, which it calls GhostMap. The researchers demonstrated it with an app that requests no permissions and never has to be launched by the user.

What causes the crash

The root cause is that different Android components interpret the structure of an APK file inconsistently. Crafted data inside the archive leads to an invalid memory read. When a system service reads the app’s resources, the service crashes. Each time it restarts, it can hit the same error again.

In testing, the problem also persisted in Safe Mode. The researchers note that regaining access may require a factory reset, which wipes all local data. Recovering the phone with the ADB tool is possible only in limited cases, for example if the right debugging features were enabled beforehand.

The research began with an analysis of a malicious app that disrupted emulators. That alone does not confirm that attackers are using GhostMap to disable phones.

What we know about a fix

According to the disclosure timeline published by Bitdefender, Google was notified of the issue in August. The researchers say Google classified the report as outside the scope of a security fix and referred it for consideration in a future version update. This is the researchers’ account. BleepingComputer has asked Google for comment.

Until a fix is confirmed to be available, we recommend the following:

  • Limit installing apps from APK files received in messages or downloaded from unknown websites.
  • On company phones, enforce app installation policies through your mobile device management (MDM) system.
  • Check that your data backups are current and that you have a tested procedure for restoring a phone.
  • Do not install proof-of-concept exploits on devices used for work.
  • Follow announcements from your phone manufacturer and keep installing available security updates.

In this case, an app that doesn’t ask for access to your contacts or files is not necessarily safe.

SecurHUB’s take

Company phones should have clear policies for installing apps and for recovering after a failure. Security audits help assess these safeguards and show how much your day-to-day work depends on a single device.

Sources: Bitdefender Labs, BleepingComputer

AuthorSecurHUB Team

Read more

Related articles

Want to know if this affects your company?

A free consultation with one of our experts — no obligation, in full confidence.

Let's talk