I know that the OBD-II port can be used to monitor the different parameters of the car for diagnostics. But is it possible to drive the car using the OBD-II port, without hacking or reprogramming the computer system of the car? I've heard that the OBD-II system is open to the customer and there is no security system as such.
3 Answers
I've been writing an OBD-II library recently and I've did a fair bit of reading on the protocol.
It would really depends on the manufacturer of the vehicle. Certain things like drive by wire, electronic steering, etc could be manipulated. It isn't what OBD was designed for, however by accessing the underlying bus you could interact with the low level function of the car.
OBD is more of a querying protocol. Take a look at the ELM-327 Protocol for common commands. Other commands are possible if you know the codes. There's no encryption or hashing so you'd have to sniff the bus and send spoofed messages. These messages would be manufacturer and model specific. My last car has 9 on-board computers that could be queried, including door locks, hazard lights, horn, engine, transmission, entertainment, etc. Have a read of this WIRED article where they took control via the multimedia system.

- 297
- 1
- 2
- 8
Yes, it is possible to control the car with OBDII port but it all depends on how the car was developed that you are using as there is no option to control the car using generic PIDs.
You have to sniff the data and then find the correct command to control what you want to. But I couldn't find any good material about sniffing the OBDII port.

- 11
- 1
While direct access to the diagnostic CAN bus allows to do certain interesting things, you need to be aware that a) your car very likely has more than just one CAN bus and via the OBD2 port you only reach just one of them, and b) there are many more buses in your car and the driving & steering most like does not work via CAN bus commands.

- 4,455
- 3
- 31
- 67