14 min read

IVI

Infotainment Security

In-Vehicle Infotainment (IVI) systems run full operating systems (Android, QNX, Linux) and provide numerous attack surfaces including Bluetooth, WiFi, and USB.

Attack Surfaces

Wireless

  • Bluetooth pairing attacks
  • WiFi AP exploitation
  • Cellular modem
  • NFC (if present)

Physical

  • USB ports (malicious devices)
  • SD card (firmware updates)
  • Debug ports (UART, JTAG)
  • App installation

Android Auto And CarPlay: A Display With A Network Path

Both systems project: the phone renders and encodes the interface, the head unit decodes and draws it, and sends back what the driver touched. What crosses the boundary is narrow and directional — an encoded video stream toward the car, input events and display state back to the phone — and Google's head-unit integration guide adds a channel carrying vehicle data the other way, GPS and wheel speed included. On the Apple side the MFi exchange authenticates the car to the phone rather than the reverse: a display does not have to trust its source. That asymmetry is the security model, and it is why the head unit is a display terminal with a network path rather than a general-purpose computer taking orders from the handset. Android Automotive OS is the other case — a full OS in the dash — and is where that description does apply. The model also moved in May 2025: CarPlay Ultra puts the phone's interface on the instrument cluster and gives it climate and radio controls, so the phone's UI is now an input to vehicle functions, through the car's own integration.

Bluetooth Attacks

ivi-bluetooth.sh
# BlueZ 5.55 (2021) dropped hcitool/hciconfig from the default install;
# bluetoothctl is the supported interface on current distros.
bluetoothctl show
bluetoothctl --timeout 15 scan on
bluetoothctl devices
bluetoothctl info <MAC>

# Connect and see which profiles the head unit exposes (A2DP, HFP, PBAP)
bluetoothctl connect <MAC>
busctl tree org.bluez

Bluetooth on an IVI is usually worth probing for the pairing model rather than for a specific CVE: a unit that accepts a fixed PIN, auto-accepts pairing, or exposes PBAP hands-free profile data gives up contacts and call history without any exploit. BlueBorne (CVE-2017-1000251) and KNOB (CVE-2019-9506) still appear on unpatched head units, but the version string is the faster signal. On Android-based units, a debug build or an unlocked bootloader turns the IVI into an ordinary rootable Android device, which is where firmware extraction and app installation become possible.

Pairing Is Not Authorisation

Classic Bluetooth is a stack, and pairing happens at the bottom of it: radio and baseband, the link manager that runs pairing and holds the link key, L2CAP channels multiplexed over that link, then the profiles — hands-free over an RFCOMM serial channel, phonebook and messages over OBEX, media over A2DP. Pairing creates a key and a bond; authorisation is asked per service, later, and the recurring flaw is a unit that reads "bonded" as "authorised for everything the stack exposes". The pairing mode decides who could have made the bond — numeric comparison and passkey entry bind it to a person at both ends, Just Works does not — and a bond is a trust relationship the user established once, which then outlives the session, the rental and often a factory reset. What a tester assesses is whether the unit will pair while moving, whether a bond can be revoked from the vehicle, and which profiles answer without a fresh confirmation on screen.

Wi-Fi: Client, Access Point And The Bridge Between

The head unit is a Wi-Fi client first: it joins a home network, a dealership during service, and whatever open hotspot a driver accepted. Each join leaves a stored profile; a home pre-shared key sits in whatever form the platform stores it. A public network it still auto-joins is the cheaper route: the SSID is a claim, and the portal belongs to whoever runs it.

Some designs run it as an access point instead — for rear-seat displays, phone media, or because wireless projection is a phone joining a network the unit provides. They ship a credential from a label, a serial number or a vendor default, and serve a captive portal to any client reaching the interface. The portal runs for unauthenticated clients: attack surface, not protection.

The case that matters is the bridge. A unit with a Wi-Fi interface and a vehicle-bus interface — or a USB device it exposes — can carry traffic between them through a feature, a setting or an added bridge. That converts physical access into network reach: a short session with the car leaves a persistent host on the owner's network, and the bus is reachable from anywhere that routes to it. Look for an undocumented interface.

Wi-Fi is a different threat model from Bluetooth: pairing is point-to-point and short-range; Wi-Fi is routable, carries through walls and often sits on a network the owner does not control. The projection path above is the legitimate traffic on that link; testing asks what else it carries.

USB: The Device Descriptor Is A Claim

Destructive USB Devices Are Not Test Tools

USBKill and its clones are destructive, not diagnostic. They dump a capacitor charge onto the USB data and power lines, which typically destroys the head unit's USB controller and sometimes the SoC — a bricked unit, not a finding. Never connect one to hardware you do not own: on a customer or rented vehicle it is criminal damage, and even on lab hardware it ends the test. BadUSB/HID injection gives you the same "malicious USB" result without destroying anything, so use that unless a client has explicitly asked for a destructive test in writing.

A host believes a device's own description before any policy applies. The descriptors declare the class — keyboard, mass storage, network adapter — plus the interfaces, endpoints and power draw, and the head unit enumerates on that basis. A charge-only port sees nothing; one that mounts mass storage hands a filesystem parser a volume it did not create; one that enumerates HID lets a device type into the IVI's own interface, and a composite device presents several at once. The physical-presence assumption is weaker than it sounds: a cabin port is reachable by a passenger, a valet or the next renter, so the property is that an attacker must be in the car, not that they are trusted. What is worth assessing is the enumeration policy — charge only, data after an on-screen confirmation, or data silently.

The update path is the other half of the same port: head units that install an app from a USB stick or accept an SD-card update bundle without signature verification can be made to run attacker code by design. Watch for update files on removable media during a teardown, and check whether the bundle is signed before assuming the mechanism is safe.

CAN Gateway

IVI systems often connect to the CAN bus through a gateway. Compromising the IVI may allow pivoting to vehicle control systems.

What The Head Unit Remembers

The head unit is a computer with a persistent disk, two radios and a person sitting next to it, so it accumulates what a phone accumulates, in a place the owner does not think of as a phone. The pairing table comes first: every bonded handset with the link key that bond created, which is a durable authorisation to reconnect. Above it sit the profile caches — phonebook and message store synchronised over PBAP and MAP, call history with timestamps, and on some units the message bodies themselves. Then the network history: every Wi-Fi profile the unit has joined, including the pre-shared key, and including the ones the previous owner joined. Navigation adds a destination history with home and work saved as named favourites — a shorter route to an address than most contact lists. The microphone feeds a voice assistant that keeps a buffer of recent utterances, sometimes on the unit and sometimes only in the cloud. Media adds an index of whatever was on the last USB stick, filenames included. Projection adds a session cache of the phone's rendered surface, transient by design and not always in practice.

Two of those are not data-at-rest problems, and they are the ones a tracking review cares about. The first is that a head unit is a fixed-location radio. Where it serves an access point it broadcasts an SSID that is a stable identifier for a place, readable from the street by anything doing a Wi-Fi survey, and the BSSID it presents is often the interface's own address rather than a randomised one — verify that on the unit in front of you rather than assuming either way. The second is what a phone does on reconnect: a handset that joins the same car every morning has published, to its own operating system and to anyone watching the association, that it is at that place at that time on a schedule. The pairing record is a link between a device identity and an address, and the address does not move. Whether the unit rotates its BLE address, and whether the phone does, decides how much of that a passive observer can string together; a unit that advertises a fixed address and accepts reconnection from a bonded device is the anchor that turns a rotating phone address back into a place. That is the anti-tracking point, and it is a property of the design rather than of the driver.

The transfer problem follows from the same persistence. A factory reset is a menu item that the unit's own software implements, and it clears what that software was written to clear. Pairings, saved networks and the account binding are three different stores with three different owners, so a reset that wipes the user partition can leave the modem's provisioning, the telematics account link and a stored network profile untouched. Before selling, work through the list rather than the menu: remove every bonded device from the unit's own pairing list, delete saved Wi-Fi profiles one at a time, sign out of the manufacturer account and confirm the vehicle is gone from it, then open the companion app from a second device and check whether the car is still listed. Before buying, run the same list in reverse and treat "it was reset" as a claim rather than evidence — the test is whether the unit offers a pairing to a device you did not bring, and whether its navigation history is empty. The mechanics behind this — probe requests, address randomisation, and what a stable BSSID gives an observer — are on device tracking.

Descriptor And Pairing Practice

Both exercises are passive or read-only, on a head unit you own or a bench unit, with the car parked. Done when you can dump a device descriptor set from the IVI port and explain each field the host acted on — VID and PID, class, interfaces, endpoints and power — and state which enumeration policy the port applied, using a charge-only cable as the control run.

USB Descriptor Dump Against A Head Unit Custom Lab easy
lsusb -v before and after connecting a known deviceRead the class claim, interfaces, endpoints and bMaxPowerCharge-only cable as the negative controlRecord whether enumeration needed an on-screen confirmation
Bluetooth Profile Inventory Custom Lab medium
bluetoothctl scan and info against the head unitNote the pairing mode, numeric comparison or Just WorksAsk which profiles answer without a fresh confirmationCheck whether the bond can be revoked from the vehicle

Evidence Collection

The head unit is a general-purpose computer in a cabin, so the evidence is an identity plus the exact interface the claim rests on. Record:

Unit identity: Head-unit make, model, and firmware or build string, from the settings screen, the engineering menu, or the update file. "An Android head unit" is not an identity and cannot be matched to an advisory.

Radio identifiers: The Bluetooth adapter address, the profiles the unit exposed (A2DP, HFP, PBAP), and the Wi-Fi role: client, access point, or both, with the SSID and BSSID where it served a network.

USB descriptor dump: The full descriptor set as captured rather than summarised: VID and PID, device class, interfaces, endpoints and power draw, from lsusb -v. The class claim is the subject of the finding.

Enumeration policy observed: Which of the three the port applied: charge only, data after an on-screen confirmation, or data silently — with the cable and the port used for each run, and the control run that establishes the baseline.

Update media, if one was found: File name, size, hash and the signature state of any USB or SD bundle present in the car. An unsigned bundle is a finding only if the unit installs it, so say which of the two happened.

Reach, demonstrated: Whether the unit routes between its Wi-Fi interface and a vehicle-bus interface, and how that was established. A claim of pivoting without a captured path is a hypothesis, not a finding.

False Positive Identification

  • A device that enumerates but is never mounted: HID enumeration with no keystroke reaching the interface, or mass storage that appears and is not automounted. Report which stage happened rather than that USB input works.
  • A profile that needs a fresh confirmation: A2DP pairing that succeeds while PBAP refuses on the screen. A bond is not authorisation for everything the stack exposes.
  • An access point that belongs to a phone: A hotspot in the cabin is not the head unit serving an access point. Match the BSSID to the unit before attributing a captive portal to it.
  • A stored network from a previous owner: A remembered SSID and a stored pre-shared key are a data-at-rest question, not a live bridge. Do not report reach you did not demonstrate.
  • A debug header you cannot read: A UART or JTAG footprint on the board is an exposure only where it is unprotected. Note read-out protection and stop there rather than describing an extraction you did not perform.
  • Wi-Fi that carries only projection: The legitimate traffic on that link is encoded video and input events. A port scan of the phone side says nothing about the vehicle network behind the head unit.

Infotainment Checklist

Radio

  • ☐ Fingerprint the firmware before testing: a build string is the difference between an advisory and a guess at a CVE.
  • ☐ Record the pairing mode in use, numeric comparison, passkey entry or Just Works, and whether a bond can be revoked from the vehicle.
  • ☐ Check whether the unit will pair while moving, and which profiles answer without a fresh on-screen confirmation.
  • ☐ Map the Wi-Fi role: stored client profiles, any access point it serves, and whether either reaches a vehicle-bus interface.

USB and update media

  • ☐ Dump descriptors before and after connecting a known device, so the baseline is the unit rather than your own laptop.
  • ☐ Test the enumeration policy with a charge-only cable as the control, then a data device, and note the on-screen difference.
  • ☐ Inspect any USB or SD update media found in the car, and check whether the bundle is signed before assuming the mechanism is safe.
  • ☐ Do not connect a destructive device: USBKill and its clones end the test and, on hardware you do not own, are criminal damage.

Remediation

Two of these are software defects with a CWE; the rest are defaults and policy.

Update path

  • • Verify the signature of a USB or SD bundle before the installer runs, against a key the unit holds rather than one travelling on the media.
  • • Verify first and install second: refusing an unsigned image must leave the installed one untouched, since erase-then-reject is a dead head unit.
  • • Bind the bundle to the unit part number and installed version so a correctly signed image for another model is still refused.

Port and pairing policy

  • • Default USB ports to charge only, and require an on-screen confirmation before data or HID enumeration.
  • • Authorise Bluetooth per service rather than treating a bond as blanket permission for every profile.
  • • Keep debug headers protected or removed on production boards, and ship release builds rather than debuggable ones.

CWE References: CWE-347, CWE-494