Car keyless entry system attack - Hack In The...

21
Car keyless entry system attack Yingtao Zeng,Qing Yang,Jun Li UnicornTeam,Qihoo360

Transcript of Car keyless entry system attack - Hack In The...

Page 1: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Car keyless entry system attack

Yingtao Zeng,Qing Yang,Jun LiUnicornTeam,Qihoo360

Page 2: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Passive Keyless Entry System

Image source:http://www.nxp.com/documents/leaflet/75017275.pdf

Page 3: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Normal Authentication Flow

Page 4: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Choose the Suitable Antenna

Page 5: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

The 125Khz Carrier Signal

Page 6: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Decode The Data

Page 7: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

The Relay Attack Scenario

Page 8: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

The Relay Attack Scenario

Noticetherearetimingconstraintsenforced!!!

Page 9: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Page 10: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Blue:CC1101Red:EM4095White:AS3933

Page 11: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

CH1 CH1CH2CH2

125Khz

125Khz315Mhz

315Mhz

315Mhz

Page 12: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

DEMO

Page 13: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

DEMO

Page 14: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

DEMO

Page 15: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

COST

• BQ241701.3• CC11011.3*6• EM40950.6• as39330.95• 125KhzAnt 0.95

• 125Khz3DAnt 2.2• atmega3280p0.75*2• 2.5dbAnt 0.41*6• PCBbord 0.7*2• ~20EUR

Page 16: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

ANT2.5DBi~320M

RANGE1

Page 17: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

RANGE2

Page 18: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Real world Attack scenarios

CarisparkedinParkinglot/Roadside/etc

Ownner isinHome/Shoppingmall/Starbuck/etc

Oncethecarisstarted,ifthecarisbeingdrivenoutoftherelayrange,thecarwillonlywarningyouthatthekeyfob cannotbedetected,butitwon’tstoptheengine,sothethief(ie .us;))candriveutill outofgas.

Page 19: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Reference• http://ams.com/eng/Products/Wireless-Connectivity/Wireless-Sensor-Connectivity/AS3933• http://cache.nxp.com/documents/leaflet/75017275.pdf?fsrch=1&sr=1&pageNum=1• http://www.nxp.com/documents/leaflet/75017275.pdf• http://www.ti.com/lit/ds/swrs061i/swrs061i.pdf• https://eprint.iacr.org/2010/332.pdf

Page 20: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

PossibleCountermeasures?Putthekeyfob insideafaradaycage/bagRemove the batteryStricter timing constraintsFor manufactures:take relative positionbetween the car and keyfob into consideration

Page 21: Car keyless entry system attack - Hack In The Boxconference.hitb.org/hitbsecconf2017ams/materials... · Car keyless entry system attack YingtaoZeng,QingYang,JunLi UnicornTeam,Qihoo360.

Q&A