Grand Theft Auto - A peek of BLE relay attack
The BLE-based passive entry systems of several modern vehicles, including Tesla Model 3 and Y, do not enforce link-layer encryption, allowing a relay attack that extends the key's range over the Internet. An attacker can unlock and start the vehicle even when the victim is far away.
About 7 years ago, security researcher Stawomir Jasek released a tool called Gattacker. It aims to use as a Man-in-the-Middle and analysis tool for BLE devices.
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 vehicle's BLE passive entry system does not enforce link-layer encryption or pairing, so the challenge-response messages can be relayed without modification.
Impact
An attacker could unlock and start vulnerable vehicles without the owner's presence, even from a different city, as long as the relay devices have Internet access; however, some vendors with PIN codes or link-layer encryption blocked the attack.
What the attacker needed
Victim's phone within BLE range of attacker device; attacker device within BLE range of vehicle; Internet-connected relay devices; vehicle does not enforce BLE link-layer encryption
The fix
Vendors should enable BLE link-layer pairing and encryption, and users should use PIN to Drive where available.
How it was found
- Set up Gattacker on two laptops connected via a local Wi-Fi network.
- Relay the BLE traffic between the Tesla Model 3 and its paired phone.
- Observe that the car doors unlock.
- Repeat the test on a Tesla Model Y and observe the doors unlock.
- Set up a publicly accessible VPN server and run Gattacker on Raspberry Pis.
- Relay the traffic over the Internet across the city and observe the car door unlock.
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.
A relay attack is like two people passing messages back and forth so that a car thinks the key is nearby when it is actually far away. The car and phone use Bluetooth Low Energy (BLE) to talk, but because the connection is not encrypted at the link layer, an attacker can copy and forward the messages. This lets the attacker unlock and start the car without the real key being present.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.