Skip to content
Mobile Write-up Intermediate

Is your android a backdoor ? Part 1/2

The article describes how Android devices expose AT command interfaces over USB and Bluetooth, allowing an attacker with physical or paired access to send modem commands. These commands can read SMS, calls, IMSI, and potentially enable ADB, gain root, or install monitoring apps, depending on vendor implementation.

JANBAR MOHAMMED Follow

Published on systemweakness.com

in this article I will show you the results of my research on two android features :

JANBAR MOHAMMED, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Android firmware exposes a USB serial (ACM) interface and accepts AT commands without proper authentication or restriction, and the Bluetooth stack also accepts AT commands from paired devices.

Impact

An attacker with physical USB access or a paired Bluetooth connection could read SMS and calls, extract the IMSI for tracking, and on some vendors execute dangerous commands such as enabling ADB, gaining root, or installing monitoring apps; the article notes that some commands require the phone to be unlocked once.

What the attacker needed

Physical USB access to the phone; phone unlocked at least once for some commands; or Bluetooth pairing with the victim device

The fix

The article does not state a fix, but suggests that manufacturers should not expose AT command interfaces without authentication or control.

How it was found

  1. Connect the target phone to a host machine via USB cable.
  2. The phone enumerates as a USB modem and exposes a serial interface.
  3. Send AT commands over the serial connection to perform actions like reading SMS or extracting IMSI.
  4. For Bluetooth, pair the host with the victim device, then send AT commands over the data channel.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

AT commands are simple text instructions used to control modems, like dialling a number or reading messages. The article says many Android phones automatically accept these commands when plugged into a computer or paired over Bluetooth, so someone with access could read your texts or calls. It is like leaving a service port open that anyone nearby can talk to.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.