Skip to content
Crypto Write-up Advanced

How Hackers Control & Steal Vehicles Remotely

The CarLinkBT Android app generates and manages the XXTEA encryption key used for Bluetooth Low Energy commands, and the device accepts commands encrypted with a default key if no dynamic key is set. An attacker within Bluetooth range could mimic the app and send commands to control the vehicle.

versprite.com

Published on versprite.com

The trend of automotive security research began in the 2010s and has resulted in the discovery of several critical security issues within modern vehicles.

The author, on versprite.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 encryption key is generated and managed entirely by the client app, and the device accepts a default key when no dynamic key is set, so a rogue client can mimic the app.

Impact

An attacker within Bluetooth range could mimic the app and send commands to the CarLinkBT module, potentially controlling vehicle functions; the text only implies this and does not demonstrate it.

What the attacker needed

Bluetooth range to the vehicle; Knowledge of the default key from the app

How it was found

  1. Download the CarLinkBT Android APK from APKPure.com.
  2. Convert classes.dex to a JAR using dex2jar.
  3. Decompile the bytecode with Bytecode Viewer and locate the BLEUtilities class.
  4. Analyse the BLE connection and command-writing methods, including key generation and encryption.
  5. Observe that the app generates a random XXTEA key and sends it to the device, but falls back to a default key if no dynamic key is set.

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.

The phone app that controls a car's remote start creates the secret code used to lock and unlock commands, and the car device trusts whatever code the app sends. If no new code is set, the device falls back to a default code that anyone can find by reverse-engineering the app. Someone nearby with a Bluetooth device could then pretend to be the app and send commands to the car.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.