GitHub - Zain-Naqvi-tech/ARM-baremetal-CAN-IDS: A bare-metal multi-ECU automotive CAN network simulation and Intrusion Detection System (IDS) built on the ARM Cortex-M4 (MSP432E401Y)

CAN Bus Intrusion Detection System

Platform: ARM Cortex-M4 MSP432E401Y Toolchain: Keil MDK v5 (firmware), Python (host dashboard) Language: Bare-metal C + Python


Overview

A two-node car network and a firmware intrusion detection system that catches five classes of attack in real time. Everything from raw registers on an MSP432E401Y. No CAN library, no vendor HAL.

CAN has almost no built-in security. Any node can claim to be any other node. That is the actual problem automotive security teams work on, not a toy. I wanted proof that I can read a thousand-page reference manual, bring a peripheral up from nothing, and reason about real attacks.


The short version


Hardware and Bring-Up

image.png