Grand theft-auto-digital-key-hacking

K
GRAND THEFT AUTO
DIGITAL KEY HACKING
@Kevin2600
@MonkeyKing
Grand theft-auto-digital-key-hacking
Agenda:
. Introduction -- Keyfobs 101
. Structure & Functions -- Anmi-Key
. Analysis & Attack vectors -- Anmi-Key
. A0 -- Physical Access
. A1 -- RF Jamming Attack
. A2 -- Key-Sharing Analysis
. A3 -- BTLE Sniffing & Decryption
Introduction
. Mechanical Key Entry
. Remote Key Entry (Infrared; Fixed; Rolling)
. Passive Key Entry (Transponder RFID)
. Digital Key Entry (Mobile phone as Key)
Car-Keyfobs
New Trend ?
. RKE KeeLoq algorithm cracked (2008)
. Passive Keyless entry Keyfob Relay attack (2012)
. Gone in 60 seconds -- Hijacking with Hitag2 (2012)
. Samy's Rolljam -- Drive it like you hacked it (2015)
. BMW ConnectedDrive -- Telematics hacked (2015)
. Mitsubishi Outlander WIFI Hacked -- PenTestPartners (2016)
. 14 vulnerabilities found in BMW connected cars -- KeenLab (2018)
What Hacked ?
. Dieter Spaar discovered BMW
ConnectedDrive that allowed him
to remotely open the vehicle’s lock
. Simulated a mobile network in a
test environment with OpenBSC
. After triggered by a decrypted
SMS message. The vehicle sent a
simple HTTP GET request to the
server, in order to retrieve unlock
command
New trend New hack - 2015
http://tiny.cc/bmwconnectedrive
. Mitsubishi Outlander PHEV
Top Selling hybrid SUV. Control
of the car by WiFi access point
. Unique SSID (REMOTEnnaaaa)
Easy to locate on wigle.net. The
Wi-Fi PSK is too short to crack
.Controlling protocols are
reverse engineered. Turn
on/off Air-condition; Heating;
Lights and Alarm !!!
New trend New hack - 2016
http://tiny.cc/pentestpartners-Outlander
Structure & Functions -- Anmi
Digital Car key -- Anmi
Features
: Keyless Entrance System
: Keyless Engine Start/Stop
: Bluetooth Low Energy 4.0
: Auto Lock/Unlock Function
: Mobile as Key (Android; Iphone)
: Remote Keys Sharing (20 Users)
Components
Key-Pairing
Car-Models
Internal 1
Internal 2
Internal 3
• B T L E - M o d u l e ( C C 2 6 4 0 ) t o
communicate with mobile APP
through 2.4ghz
• RF-Module(NXP-61X0915) Emits
unlock/lock cmd to the vehicle.
RF-module vary from different car
models
• BTLE-Module (SYD8801) sensor.
2.4GHz BTLE SOC 32-bit ARM
Cortex-M0. Functionality unknown ?
Mystery Sensor ?
Mystery Sensor ?
RF-Module
Oscillator: 13.560Mhz
Math:
13.560MHz / 8000 = 1695hz
13.560MHz * 32 = 433.92Mhz
SDR-HackRF
SDR-GQRX
BTLE-Module
BTLE-Interactive
BTLE-HCI-log
Mobile APP
Mobile APP - Codes
Mobile APP - Codes
Mobile APP - MitMProxy
Mobile APP - MitMProxy
Mobile APP - Server
Say Bye Bye to your Privacy ..
Encryption ?
Super “Secure” ?
Grand theft-auto-digital-key-hacking
A0 -- Physical access
. Anmi-Key by request, always left in the car
. Breaking glass by force. Get the Anmi-Key
to ulock the door
. Desolder the Registered Anmi chip and
Mechanical Key put it into a blank key
. Or use self design board to emits unlock
cmd to the vehicle by RF-module
. Start the engine and run away
Old School way
DEMO
A1 -- RF Jamming
RF-Jammer
RF-Jammer
Does Anmi-Key smart enough
to avoid this ?
One way communication ..
DEMO
What's Next
DRIVE IT LIKE YOU HACKED IT
@SamyKamkar
A2 -- Key-Sharing Analysis
Features
Analysis
What could possibly go wrong ?
Key-Sharing-Wechat
Key-Sharing-Wechat
DEMO
Let's cancel it then ?
DEMO
Let's wait until it expired ?
DEMO
A3 -- BTLE Sniffing & Decryption
Where is the “Secure” Encryption ?
BTLE -- Analysis
BTLE -- Analysis
BTLE -- Analysis
BTLE -- 1st Attempt
BTLE -- Login Steps
Login -- Encryption
BTLE -- Login Protocol
Fetch a random values from Anmi-Key (4 bytes)
Calculate EncryptionCode (Random Value; Secret Key)
Wrap up to make an encrypted login packets
Send to Anmi-Key and Log in (Status 0xAA)
Only 1 byte key needed
Login -- Encryption
Arg6 is a Dword random
from fetch random
SecretKey is a fixed random
Dword number from device
Initialization
Login Packet:
+0 byte channel 0xA1
+1 short len fixed in 0301: 43 00
+3 short crc16
+5 short protocolver 0301
+7 byte usertype
+8 uchar[16] password
+24 uchar[16] enc_md5_username
+40 uchar[16] enc_md5_imei
+56 uchar[6] enc_advertising_key //ascii
+62 uchar[6] enc_date // YYMMDDHHMMSS
+68 uchar enc_openrssi
+69 uchar enc_lockRssi
What we need is to decrypt only 1 byte
Login -- Encryption
What year now ?
Recover “EncryptCode” with a fixed year data: 0x12
Then You can get:
Login -- Encryption
Login – Crafting Packets
Login – Crafting Packets
Error Code 0x66 ???
Login – Firmware Inspection
Flag[1] is set only when Anmi-Key
is fully assembled
Login – Crafting Packets
Login -- Sniffing Packets
Login -- Sniffing Packets
Login -- Encryption
. 1-byte of encryption key
. XOR as the super secure
encryption algorithm
. Easy to recover by sniffing
the BTLE packets
DEMO
Report for CVE ?
Conclusion:
. Security by obscurity !?
. Don’t trust the user input
. New trends come with new hacks
. Test the product properly, before going on market
Question ?
1 of 79

Recommended

IPTV CRYSTAL OTT.pdf by
IPTV CRYSTAL OTT.pdfIPTV CRYSTAL OTT.pdf
IPTV CRYSTAL OTT.pdfCrystalIPTV
339 views6 slides
Climate Fresk Key Messages from Climate Clarity by
Climate Fresk Key Messages from Climate ClarityClimate Fresk Key Messages from Climate Clarity
Climate Fresk Key Messages from Climate ClarityClimateClarity
533 views22 slides
Staar 05 america builds an empire/IMPERIALISM by
Staar 05 america builds an empire/IMPERIALISMStaar 05 america builds an empire/IMPERIALISM
Staar 05 america builds an empire/IMPERIALISMrpoolmhs
233 views24 slides
La motivazione nelle metodologie agili by
La motivazione nelle metodologie agiliLa motivazione nelle metodologie agili
La motivazione nelle metodologie agiliStefano Muro
350 views32 slides
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2 by
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2Bhavin Chandarana
1.7K views50 slides
Voice Recognition Car by
Voice Recognition CarVoice Recognition Car
Voice Recognition Carrchovatiya
10.4K views19 slides

More Related Content

Similar to Grand theft-auto-digital-key-hacking

Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER ... by
Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER         ...Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER         ...
Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER ...1000kv technologies
36 views3 slides
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf by
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdfDEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdfWlamir Molinari
21 views49 slides
Alcohol Sensing Alert with Engine Locking Project by
Alcohol Sensing Alert with Engine Locking ProjectAlcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking ProjectDINKAR MALI
12.3K views31 slides
Alcohol Sensing Alert with Engine Locking Project by
Alcohol Sensing Alert with Engine Locking Project Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project DINKAR MALI
742 views31 slides
Alcohol Sensing Alert with Engine Locking Project by
Alcohol Sensing Alert with Engine Locking ProjectAlcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking ProjectDINKAR MALI
709 views31 slides
Alcohol Sensing Alert with Engine Locking Project by
Alcohol Sensing Alert with Engine Locking ProjectAlcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking ProjectDINKAR MALI
526 views31 slides

Similar to Grand theft-auto-digital-key-hacking(20)

Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER ... by 1000kv technologies
Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER         ...Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER         ...
Bm 09 FINGER PRINT BASED PHYSICAL ACCESS CONTROL VEHICLE IMMOBILIZER ...
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf by Wlamir Molinari
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdfDEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf
Wlamir Molinari21 views
Alcohol Sensing Alert with Engine Locking Project by DINKAR MALI
Alcohol Sensing Alert with Engine Locking ProjectAlcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project
DINKAR MALI12.3K views
Alcohol Sensing Alert with Engine Locking Project by DINKAR MALI
Alcohol Sensing Alert with Engine Locking Project Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project
DINKAR MALI742 views
Alcohol Sensing Alert with Engine Locking Project by DINKAR MALI
Alcohol Sensing Alert with Engine Locking ProjectAlcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project
DINKAR MALI709 views
Alcohol Sensing Alert with Engine Locking Project by DINKAR MALI
Alcohol Sensing Alert with Engine Locking ProjectAlcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project
DINKAR MALI526 views
Gsm anti theft by Ashu0711
Gsm anti theftGsm anti theft
Gsm anti theft
Ashu07114.7K views
Al kcar 4 in 1 car remote control decoder by Jamie Jung
Al kcar 4 in 1 car remote control decoderAl kcar 4 in 1 car remote control decoder
Al kcar 4 in 1 car remote control decoder
Jamie Jung263 views
Smart_Car_Parking_Using_IoT.pptx by Snowflake08
Smart_Car_Parking_Using_IoT.pptxSmart_Car_Parking_Using_IoT.pptx
Smart_Car_Parking_Using_IoT.pptx
Snowflake089 views
Password based door lock system using 8051 microcontroller final report by Chinaraja Baratam
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final report
Chinaraja Baratam55.6K views
Elm wifi by Obd Ready
Elm wifiElm wifi
Elm wifi
Obd Ready299 views
SMART SECURITY SYSTEM TO PREVENT THEFT USING GSM ppt..ppt by abdulkareem104286
SMART SECURITY SYSTEM TO PREVENT THEFT USING GSM ppt..pptSMART SECURITY SYSTEM TO PREVENT THEFT USING GSM ppt..ppt
SMART SECURITY SYSTEM TO PREVENT THEFT USING GSM ppt..ppt
Design and implementation of real time security guard robot using GSM/CDMA ne... by Claude Ndayisenga
Design and implementation of real time security guard robot using GSM/CDMA ne...Design and implementation of real time security guard robot using GSM/CDMA ne...
Design and implementation of real time security guard robot using GSM/CDMA ne...
Claude Ndayisenga2.3K views
Advanced car security system by Ami Goswami
Advanced car security systemAdvanced car security system
Advanced car security system
Ami Goswami3.2K views
RFID based smart shopping cart and billing system by laharipothula
RFID based smart shopping cart and billing systemRFID based smart shopping cart and billing system
RFID based smart shopping cart and billing system
laharipothula18.9K views
Rf bases door lock system by Sikander Bodh
Rf bases door lock systemRf bases door lock system
Rf bases door lock system
Sikander Bodh5.7K views

Grand theft-auto-digital-key-hacking