A secure CLI + web-based audit logger for vehicle ECUs using ELM327 over CAN.
Built for traceability, regulation readiness (UN R155/R156), and usability.
- ✅ Auto-detects ELM327 or compatible USB/Bluetooth devices
- ✅ CLI probes serial ports and prompts for user selection
- ✅ Verified support for Kali Linux 2023.1+
- ✅ USB access group instructions for Linux
- Support UDS requests (
0x19,0x22) for reading diagnostics - Export logs to CBOR and AUTOSAR XML format
- Secure logging gateway prototype with multi-ECU support
- Integration with ISO 21434 Clause 11/15 requirements
- Optional local SQLite backend for persistence
| Distro | Version | Status |
|---|---|---|
| Ubuntu | 20.04+ | ✅ |
| Debian | 11+ | ✅ |
| Kali Linux | 2023.1+ | ✅ |
| Arch/Manjaro | Rolling | ✅ |
| Fedora/RHEL | 34+ | 🟡 (USB perms fix) |
Python ≥ 3.7 required. Use sudo usermod -aG dialout $USER for USB access on Linux.
pip install -r requirements.txt
python ecu_audit/webapp.pyThen visit: http://localhost:5000
ecu-audit --autoMIT © 2025 Sumit Chouhan