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.
Published on systemweakness.com
in this article I will show you the results of my research on two android features :
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
- Connect the target phone to a host machine via USB cable.
- The phone enumerates as a USB modem and exposes a serial interface.
- Send AT commands over the serial connection to perform actions like reading SMS or extracting IMSI.
- 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.