This is Part 3 of a three-part series on embedded security for our BCU. Part 1 covers the threat model, the root of trust and the boot concept; Part 2 covers updates, the bus and diagnostics; this part covers the code, the debug port, the immobilizer, detection and privacy. The example is the BCU from the foundation series.

New to some of the words in this series (MAC, HSM, freshness, certificates, root of trust)? The two-part vocabulary explains them: Part 1 is the crypto toolbox with pictures, Part 2 is the lookup table for keys, hardware, boot, bus and attacks.

TL;DR

  • The doors that are easy to forget: the code itself, the debug port, the immobilizer, detection and privacy.
  • All crypto is worthless if the code behind it has a memory bug.
  • For the immobilizer, security is the actual function.
  • One table at the end shows which mechanism lives where in the BCU, and what it costs.

Part 1 built the base: TARA, HSM, keys and boot. Part 2 put locks on the three doors that are open by design: updates, the bus and diagnostics. This last part is about the doors that are easy to forget: the code behind all those locks, the debug port, the immobilizer (where security isn’t a protection, it’s the function), noticing an attack, and the data the BCU collects without anybody asking. At the end, everything comes together in one table: which security mechanism lives where in the BCU, and what it costs.

What’s inside

  • Door 6, the code itself: parsers, pointers and other gifts
  • Door 7, the debug port and the ECU lifecycle
  • Door 8, the immobilizer: security as the actual function
  • Door 9, detection and response, and Door 10, privacy
  • Where security lives in the BCU: one table for every mechanism, and the process around it

Read the full article

The rest of this article is free, but not anonymous: tell me who you are and you get access to all members-only articles on this blog. No newsletter, no spam, no selling your data.