LIN-MM: Multiplexed Message Authentication Code for Local Interconnect Network message authentication in road vehicles

Franco Oberti, Ernesto Sanchez, Alessandro Savino, Filippo Parisi, Mirco Brero, Stefano Di CarloarXiv 2022 · DOI

TL;DR

LIN-MM introduces a novel way to secure automotive Local Interconnect Networks (LIN) by multiplexing a 64-bit Message Authentication Code (MAC) directly onto the physical electrical signal. By using On-Off Keying (OOK) modulation, the system provides robust, NIST-compliant security without sacrificing payload space or breaking backward compatibility with legacy hardware.

What Problem Does This Paper Address?

The Local Interconnect Network (LIN) is a ubiquitous, low-cost communication protocol used in vehicles for non-critical systems like mirrors, climate control, and window wipers. However, as vehicles become more interconnected, LIN has become a target for cyberattacks, including message spoofing and Man-in-the-Middle (MitM) attacks.

The fundamental challenge in securing LIN is its extremely limited bandwidth and payload size—just 8 bytes per frame. Implementing a robust 64-bit MAC (the minimum length recommended by NIST) would consume the entire data payload, leaving no room for actual sensor or actuator data. Current workarounds often use truncated 32-bit MACs, which fail to meet modern automotive security standards and introduce significant processing latency.

Methods

The authors propose LIN-MM (Multiplexed MAC), which shifts the authentication data from the data link layer to the physical layer.

Key Techniques:

  • Signal Modulation (OOK): Instead of embedding the MAC bits inside the 8-byte data frame, LIN-MM uses On-Off Keying. A 100 kHz carrier signal is superimposed onto the standard LIN electrical signal. When a MAC bit is '1', the carrier is "On"; when it is '0', the carrier is "Off".
  • Physical Layer Multiplexing: This allows the 64-bit MAC bitstream to be transmitted concurrently with the standard LIN bitstream.
  • Slave Architecture: The slave node uses a custom carrier generator (see Figure 8) that switches between a carrier wave and ground based on the MAC bitstream.
Fig. 8: LIN-MM Carrier Generator Block-Scheme
  • Master Demodulation: The master node uses a demodulation block consisting of a pass-band filter to isolate the 100 kHz carrier, a threshold comparator to digitize it, and a digital counter to reconstruct the MAC bits.

Datasets

The researchers evaluated their proposal using an LTSpice prototype implementation. They simulated a Master-Slave architecture to validate the electrical feasibility and signal integrity of the multiplexed communication. No external public datasets were used, as the focus was on hardware-level protocol modification and signal analysis.

Key Insights and Ideas

  • Frequency Domain Separation: By choosing a 100 kHz carrier for a 20 kbit/s LIN signal, the authors ensure the two signals can be easily separated via filtering. Standard LIN transceivers naturally filter out high-frequency noise, meaning legacy nodes simply ignore the MAC carrier, ensuring full backward compatibility.
  • Latency Elimination: Because the MAC is sent at the same time as the data, the "authentication latency" is reduced to just one LIN bit period (the time needed for the digital counter to verify the carrier pulses).
  • Payload Preservation: This is the first approach that allows for a full 64-bit MAC without reducing the available 8-byte data payload, solving a major trade-off in automotive embedded security.

Key Results

  • Security: Successfully supports a 64-bit MAC based on AES-128 (CMAC), meeting modern security standards.
  • Performance: The MAC bitstream is reconstructed just 50µs after the payload is received. This is a massive improvement over traditional payload-embedded methods, which can take up to 190ms.
  • Hardware Overhead: The authors estimate a mere 2% cost overhead compared to standard LIN transceiver hardware, making it commercially viable for low-cost automotive components.
  • Resiliency: The system effectively mitigates spoofing, MitM, and response collision attacks by ensuring the authenticity of slave responses.

Limitations and Future Work

  • Header Vulnerability: LIN-MM currently only protects the Response phase of a LIN frame. The Header (sent by the Master) remains unprotected and vulnerable to collision attacks that could redirect requests or isolate nodes.
  • Denial of Service (DoS): Like most physical-layer additions, LIN-MM cannot prevent an attacker from simply flooding the bus with dominant bits to kill communication entirely.
  • Key Management: The system requires a pre-shared secret key between the Master and Slaves, necessitating a robust key management infrastructure that isn't fully detailed in this paper.
  • Future Work: The authors are developing a "Type-B" version of the architecture specifically designed to provide integrity for the LIN Header frame.

Summary updated

BibTeX
@misc{oberti2022lin,
  author = {Franco Oberti and Ernesto Sanchez and Alessandro Savino and Filippo Parisi and Mirco Brero and Stefano Di Carlo},
  title = {{LIN-MM: Multiplexed Message Authentication Code for Local Interconnect Network message authentication in road vehicles}},
  year = {2022},
  eprint = {2206.02602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.02602},
}
Figure