Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

Enhancing CAN Bus Security via Lightweight Hardware‑Based Identifier Randomization

Automotive Experiences · Vol. 9 No. 2 (2026) · pp. 507–524

DOI
10.31603/ae.15497
ISSN
2615-6636, 2615-6202
Published
2026-07-19
Publisher
Universitas Muhammadiyah Magelang
Language
en
License
creativecommons.org/licenses/by-nc/4.0

Abstract

The controller area network (CAN) communication protocol used in vehicles relies on fixed message identifiers, which makes it vulnerable against frame injection and replay attacks. This study proposes an efficient lightweight hardware method that randomizes the identifier while preserving the priority rules that control bus arbitration. The design is implemented in a hardware description language (Verilog) and uses a linear feedback shift register (LFSR) as the randomization engine. The upper four bits of the identifier are kept unchanged to retain priority, where the lower seven bits are randomized. The module supports reseeding from a cryptographically secure random source. However, for the baseline statistical evaluation, reseeding was intentionally disabled to measure the intrinsic distribution. The design was evaluated using Xilinx Vivado environment. Statistical analysis was performed on 8,188 randomized ID, achieving a Shannon entropy of 6.999978 bits (maximum 7), and a chi‑square goodness‑of‑fit test that showed no detectable deviation from a uniform distribution ( = 0.2482, -value ≈ 1). Synthesis to a Artix-7 field‑programmable device reported only 15 lookup tables and 23 flip-flops (<0.1% of resources), with a maximum operating frequency of 482 MHz, indicating a minimal hardware footprint. The mechanism was further validated on a physical CAN testbed confirming protection against replay and spoofing attempts, while the mechanism added no measurable bus or timing overhead. These results show that simple, hardware‑level identifier randomization can strengthen in‑vehicle communication while keeping arbitration behaviour intact and without requiring protocol changes.

Keywords

Collaboration network of the authors

4 authors · 4 co-authorship links

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Sidi Mohamed Ben Abdellah University
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Majid Ben YakhelfAffiliation unknown1
Siham MencouSidi Mohamed Ben Abdellah University1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) http://journal.unimma.ac.id/index.php/AutomotiveExperiences/oai, first harvested 8 Nov 2026, last seen 29 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en">Enhancing CAN Bus Security via Lightweight Hardware‑Based Identifier Randomization</dc:title>
	<dc:creator xml:lang="en">Darouiche, Mohammed Saad</dc:creator>
	<dc:creator xml:lang="en">Tazi, Elbachir</dc:creator>
	<dc:subject xml:lang="en">CAN bus</dc:subject>
	<dc:subject xml:lang="en">Identifier randomization</dc:subject>
	<dc:subject xml:lang="en">LFSR</dc:subject>
	<dc:subject xml:lang="en">Statistical analysis</dc:subject>
	<dc:subject xml:lang="en">Cyber security</dc:subject>
	<dc:description xml:lang="en">The controller area network (CAN) communication protocol used in vehicles relies on fixed message identifiers, which makes it vulnerable against frame injection and replay attacks. This study proposes an efficient lightweight hardware method that randomizes the identifier while preserving the priority rules that control bus arbitration. The design is implemented in a hardware description language (Verilog) and uses a linear feedback shift register (LFSR) as the randomization engine. The upper four bits of the identifier are kept unchanged to retain priority, where the lower seven bits are randomized. The module supports reseeding from a cryptographically secure random source. However, for the baseline statistical evaluation, reseeding was intentionally disabled to measure the intrinsic distribution. The design was evaluated using Xilinx Vivado environment. Statistical analysis was performed on 8,188 randomized ID, achieving a Shannon entropy of 6.999978 bits (maximum 7), and a chi‑square goodness‑of‑fit test that showed no detectable deviation from a uniform distribution (  = 0.2482,  -value ≈ 1). Synthesis to a Artix-7 field‑programmable device reported only 15 lookup tables and 23 flip-flops (&amp;lt;0.1% of resources), with a maximum operating frequency of 482 MHz, indicating a minimal hardware footprint. The mechanism was further validated on a physical CAN testbed confirming protection against replay and spoofing attempts, while the mechanism added no measurable bus or timing overhead. These results show that simple, hardware‑level identifier randomization can strengthen in‑vehicle communication while keeping arbitration behaviour intact and without requiring protocol changes.</dc:description>
	<dc:publisher xml:lang="en">Universitas Muhammadiyah Magelang</dc:publisher>
	<dc:date>2026-07-19</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unimma.ac.id/AutomotiveExperiences/article/view/15497</dc:identifier>
	<dc:identifier>10.31603/ae.15497</dc:identifier>
	<dc:source xml:lang="en">Automotive Experiences; Vol. 9 No. 2 (2026); 507-524</dc:source>
	<dc:source>2615-6636</dc:source>
	<dc:source>2615-6202</dc:source>
	<dc:language>en</dc:language>
	<dc:relation>https://journal.unimma.ac.id/AutomotiveExperiences/article/view/15497/7018</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2026 Mohammed Saad Darouiche, Elbachir Tazi</dc:rights>
	<dc:rights xml:lang="en">https://creativecommons.org/licenses/by-nc/4.0</dc:rights>
</oai_dc:dc>