17
Howto Build an Auto Brothel

Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Embed Size (px)

Citation preview

Page 1: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Howto Build an Auto Brothel

Page 2: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

HW – CAN Bus (Cheap)

Page 3: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

HW - Scantools

Page 4: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

HW - Dealership Tools

Page 5: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

SW - SocketCAN

Page 6: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

SW – ICSim (not new but...)

Page 7: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

UDS Server

● http://github.com/zombieCraig/uds-server

$ ./uds-server -hSimulates UDS responsesUsage: ./uds-server [options] <can_interface>

-z Increase fuzz level-v Verbose-l <logfile> Log output to file instead of STDOUT-c Don't fuzz ISOTP Spec, just data-F Disable flow control (Functional Addressing)-V <vin> Specify VIN (Default: WAUZZZ8V9FA149850)

Page 8: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Introducing ODB GW

Page 9: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Howto build your own ODB GW

● 2 x Female J1962 ODB II Ports (~$10)● Project Box (~$5)● At least 2 120 ohm resistors (pennies)● 12V power supply (~$12)

● Total: up to $25

CAN High

CAN Low

PWM +

PWM -

LS CAN High

MS CAN High

LS CAN Low

KWP K-Line

KWP L-Line

+12Vc

Signal GroundChassis Ground

1 2 3

9 10 11 12 13

4 5 6 7

14 15 16

8

Page 10: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Be Any Vehicle

Page 11: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Have Any VIN

./uds-server -v -V "PWN3D OP3N G4R4G3" can0

Page 12: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Work from Anywhere

Page 13: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Quickly Identify I/O ControlsPkt: 244#01 3E

Responding with a generic OK message

Pkt: 244#04 AA 03 02 07

Received GM Read Data by ID Request

+ Medium Rate

Pkt: 244#01 3E

Responding with a generic OK message

Pkt: 244#07 AE 01 03 00 00 00 00

Unhandled mode/sid: Device Control (GM)

Pkt: 244#01 3E

Responding with a generic OK message

Pkt: 101#FE 01 3E 55 55 55 55 55

Pkt: 244#01 3E

Responding with a generic OK message

Pkt: 244#02 AE 00

Unhandled mode/sid: Device Control (GM)

Pkt: 244#01 3E

Responding with a generic OK message

Pkt: 244#01 3E

Responding with a generic OK message

Pkt: 244#02 AA 00

Received GM Read Data by ID Request

+ Stop Data Request

Page 14: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Exploit all the trust

Page 15: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Dealerships == squishy

Page 16: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

Vehicle STDs

Page 17: Howto Build an Auto Brothel - Repairer Driven News€¦ · Howto Build an Auto Brothel. HW – CAN Bus (Cheap) HW ... $ ./uds-server -h Simulates UDS responses ... KWP K-Line KWP

How to participate