awesome-canbus

awesome-canbus

CAN总线开源工具与资源大全

这个项目收集了丰富的CAN总线开源资源,包括工具、硬件和各类资料。内容涉及逆向工程、测试设备、协议实现和实用程序等多个领域,重点关注汽车嵌入式控制器软件和通信技术。项目汇集了CarHackingTools、Caring Caribou等知名工具,还包括专门针对OBD-II、UDS、J1939等协议的工具。对于研究CAN总线技术的开发者和研究人员而言,这是一个极具参考价值的资源库。

CAN总线汽车安全协议分析嵌入式系统逆向工程Github开源项目

Awesome CAN Bus Awesome

GitHub stars GitHub forks GitHub watchers GitHub contributors GitHub pull-requests merged GitHub latest commit

<p align="center"><img src="https://github.com/iDoka/awesome-canbus/raw/main/media/can_logo.png" alt="CAN logo"/></p> <!--<p align="center"> <img src="https://github.com/iDoka/awesome-canbus/raw/main/media/can_logo.png" alt="CAN logo"/> </p>--> <!-- # :tractor: Awesome Tools, Hardware and Resources for CAN Bus [![GitHub latest commit](https://badgen.net/github/last-commit/iDoka/awesome-canbus)](https://GitHub.com/iDoka/awesome-canbus/commit/) [![GitHub forks](https://badgen.net/github/forks/iDoka/awesome-canbus)](https://GitHub.com/iDoka/awesome-canbus/network/) [![GitHub stars](https://badgen.net/github/stars/iDoka/awesome-canbus)](https://GitHub.com/iDoka/awesome-canbus/stargazers/) [![GitHub watchers](https://badgen.net/github/watchers/iDoka/awesome-canbus/)](https://GitHub.com/iDoka/awesome-canbus/watchers/) [![GitHub contributors](https://img.shields.io/github/contributors/iDoka/badges.svg)](https://GitHub.com/iDoka/badges/graphs/contributors/) [![GitHub contributors](https://badgen.net/github/contributors/iDoka/awesome-canbus)](https://GitHub.com/iDoka/awesome-canbus/graphs/contributors/) [![PR welcome issues still open](https://badgen.net/https/pr-welcome-badge.vercel.app/api/badge/fastify/help)](https://github.com/iDoka/awesome-canbus/) [![GitHub pull-requests](https://img.shields.io/github/issues-pr/iDoka/awesome-canbus.svg)](https://GitHub.com/iDoka/awesome-canbus/pull/) [![GitHub pull-requests merged](https://badgen.net/github/merged-prs/iDoka/awesome-canbus)](https://github.com/iDoka/awesome-canbus/pulls?q=is%3Amerged) [![GitHub latest commit](https://badgen.net/github/last-commit/iDoka/awesome-canbus)](https://GitHub.com/iDoka/awesome-canbus/commit/) -->

:tractor: Awesome Tools, Hardware And Resources For CAN Bus

This curated list helps a reverse engineering CAN bus devices with lightly specializing in automotive embedded controller software and communication understanding.

Note Items marked as "🔝" are highly recommended.

Permanent URL to this list: https://github.com/iDoka/awesome-canbus

Contents

Hacking and Reverse Engineering tools

  • 🔝CarHackingTools - Collection of Common Car Hacking Tools a scripts collection to help jump start car research and hacking.
  • 🔝Caring Caribou - A friendly car security exploration tool for the CAN bus.
  • 🔝CAN_Reverse_Engineering - Automated Payload Reverse Engineering Pipeline for the Controller Area Network (CAN) protocol.
  • 🔝carhacking - Car hacking scripts and docs collection.
  • ReCAN - Reverse engineering of Controller Area Networks.
  • parse_can_logs - Parse CAN logs and visualize data streams on plot.
  • reversegear - Offline Reverse Engineering Tools for Automotive Networks.
  • 🔝CANalyzat0r - Security analysis toolkit for proprietary car protocols.
  • 🔝CANToolz - Black-box CAN network analysis framework.
<!--lint disable double-link-->
  • GVRET - Generalized Electric Vehicle Reverse Engineering Tool (Arduino FW).
<!--lint enable double-link-->
  • UDSim - Unified Diagnostic Services Simulator and Fuzzer (successor of uds-server).
  • uds-server - CAN UDS Simulator and Fuzzer.
  • CANalyse - A vehicle network analysis and attack tool.
  • canhack - A low-level CAN protocol hacking library.
  • canDrive - Tools for hacking your car.
  • Carpunk - CAN injection toolkit and successor of CANghost.
  • CANghost - Automated Script For Hacking Into CAN Bus.
  • canTot - Quick and dirty canbus h4xing framework.
  • CANanalyze - This framework can be used to interact with automotive protocols like CAN/ISOTP/UDS.
  • Scapy - Python-based interactive packet manipulation program & library. Supports CAN/ISOTP/UDS/GMLAN plus many other protocols.
  • CAN-RE-Tool - Reverse engineering tool for systems based on CAN bus communications.
  • 🔝can-explorer - A CAN bus visualization tool to aid in reverse engineering.

Test equipment and simulators

  • ECU-simulator - Tool that simulates some vehicle diagnostic services. It can be used to test OBD-II dongles or tester tools that support the UDS (ISO 14229) and ISO-TP (ISO 15765-2) protocols.
  • ELM327-emulator - ELM327 Emulator for testing software interfacing OBDII via ELM327 adapter supporting multi-ECU simulation.

Protocols

OBD-II tools

  • DDT4All - Tool to create your own ECU parameters screens and connect to a CAN network with a cheap ELM327 interface.
  • ELM327SLCAN - ELM327 based vehicle's CAN bus sniffer.
  • Arduino-OBD2-Async - Arduino OBD library with asynchronous data requesting.
  • CAN-Shark - Working with OBD PIDs from Arduino + MCP2515 shield.
  • OBD2-Scantool - A python scantool to read OBD2 info from cars.
  • O2OO - OBD-II compliant car diagnostic tool. It reads sensor data from a car into an sqlite database.
  • freediag - Free diagnostic software for OBD-II compliant motor vehicles.
  • pyvit - Python Vehicle Interface Toolkit (archived).

UDS

ISO 14229 Standard

  • python-UDSonCAN - Python implementation of UDS ISO-14229 standard.
  • uds-c - Unified Diagnostics Service (UDS) and OBD-II C Library.
  • iso14229 - C implementation of UDS ISO-14229 server and client for embedded systems.

ISO-TP

ISO 15765-2 Standard

  • isotp-c - An implementation of the ISO-TP (ISO15765-2) CAN protocol in C.
  • python-can-IsoTP - Python implementation of the ISO-TP (ISO15765-2) CAN protocol.
  • CanTp - Implementation of the CanTp module (ISO 15765-2), according to AUTOSAR specification v4.4.0.
  • aioisotp - ISO-TP implemenation for asyncio Python.

J1939 Tools

SAE J1939 Standard

  • J1939-CANBUS - Supported Engines CAT, Perkins, Wartsalla, MTU, VOLVO.
  • J1939-Framework - Framework to work with J1939 Frames used in CAN bus in bus, car and trucks industries.
  • python-j1939 - SAE J1939 support dependent on python-can package. Provides codec and filtering by PGN but not full SPN decoding.
  • can-utils with J1939 support - Fork of can-utils with a few additional tools for J1939.
  • test-can-j1939 - How to use CAN J1939 on linux.
  • libj1939 - Library to work with J1939 Frames (intended to be used in microcontrollers).
  • Pretty-J1939 - Python libs and scripts for pretty-printing J1939 logs.
  • TruckDevil - A tool and framework for interacting with and assessing ECUs that use J1939 for communications on the CANBUS.
  • python-can-j1939 - Package provides SAE J1939 support for Python developers.
  • Open-SAE-J1939 - SAE J1939 protocol free to use for embedded systems or PC with CAN-bus.
  • embr::j1939 - Lean, portable J1939 library for embedded MCUs.

J2534 Tools

SAE J2534 Standard

<!--lint disable no-repeat-punctuation-->
  • JCanalog - Easy To Use J2534 Vehicle Logger (left for history).
<!--lint enable no-repeat-punctuation-->

Utils

Common

  • 🔝cantools - Collection of CLI tools for the CAN bus network.
  • BUSMASTER - An Open Source Software tool to simulate, analyze and test data bus systems such as CAN.
  • signalbroker-server - Tool to read and write CAN/LIN/flexray and other buses using gRPC which allows usage of preferred language.
  • CANiBUS - CAN Device Vehicle Research Server (OpenGarages.org).

Linux related

  • 🔝Linux CAN Utils - Linux-CAN / SocketCAN user space useful utils.
  • CAN support in Linux - Linux kernel support for CAN hardware interfaces.
  • SocketCAN - Linux kernel support (kernel >= 2.6).
  • J1939 - Linux kernel support (kernel >= 5.4) also see can-j1939 kernel module.
  • elmcan - Linux SocketCAN kernel driver for ELM327 based devices (kernel >= 6.0).
  • can-isotp - Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol (part of the Linux kernel >= 5.10).
  • gs_usb - Linux/Windows CAN driver based on WCID for Geschwister Schneider USB/CAN devices and candleLight USB CAN interfaces.

GUI Tools

  • CANdevStudio from GENIVI - CAN simulation software using a drag-and-drop style GUI with interconnected functional blocks.
  • CANAL-View - Qt GUI for TouCAN USB to CAN bus converter.
  • wxCAN-Sniffer - CAN bus sniffer (PC side) with animation and chart.
  • CANLogger - CAN bus logger and analyzer tool.
  • Seeed-USB-CAN-Analyzer - Closed source binary for noname Chinese USB-CAN adapter.
  • CANtact-app - Desktop application for CANtact hardware interface.
  • SavvyCAN - Cross-platform Qt based GUI analysis tool. Supports SocketCAN compatible interfaces.
  • openCanSuite - Set of tools for analyzing, simulating and visualizing a CAN system.
  • Plotter and Scanner from SmartGauges - Scanning and visualizing tool for automotive systems.
  • ICSim - Instrument Cluster Simulator for SocketCAN by OpenGarages.
  • CANgaroo - Qt-based CAN bus analyzer software.

编辑推荐精选

Trae

Trae

字节跳动发布的AI编程神器IDE

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

热门AI助手AI对话AI工具聊天机器人
Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

openai-agents-python

openai-agents-python

OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。

openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。

下拉加载更多