# Caring Caribou 汽车 CAN 总线安全探索工具

> Python 编写的汽车安全探索工具，起源于 HEAVENS 研究项目；README 称它是一种无需预先了解目标的工具，可接入任意 CAN 网络并收集其中存在哪些服务的信息。被动模块可将 CAN 流量输出到终端或 candump 格式文件，并列出总线上出现的所有仲裁 ID；UDS（ISO 14229-1）、DoIP（ISO 13400-2）和 XCP 模块则可发现响应诊断请求的 ECU，枚举其支持的服务和子服务，读取数据标识符并查询 XCP 能力。其工具库提供可复用的 ISO-TP（ISO 15765-2）和 UDS 实现，新模块可通过即插即用的模块架构加入。

- 类型：工具
- 目标：协议
- 类别：协议分析工具
- 关联：基础工具
- 来源复核于：2026-10-19
- 收录于：2026-10-31
- 原始资源：<https://github.com/CaringCaribou/caringcaribou>
- 一手来源：<https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/caringcaribou/>
- 记录 JSON：<https://awesomerea.org/resources/caringcaribou/record.json>
- 英文版：[English](https://awesomerea.org/resources/caringcaribou/index.md)

## 使用条件与局限

- 审阅时 GitHub 上的最新版本为 0.6，发布于 2024-03-28；所审阅的 master 分支提交领先 45 个提交，其打包元数据已标为 0.7。README 介绍从源码目录安装；审阅时 PyPI 上没有 caringcaribou 项目。
- 需要 python-can 支持的 CAN 接口，并在 python-can 的 .canrc 配置文件中设置。安装指南在 Linux 上使用 PEAK PCAN-USB 适配器和 SocketCAN（指南要求内核 3.4 或更高，README 则只说需要较新的内核），在 Windows 上建议使用 Linux 虚拟机。README 要求 Python 3.7+；DoIP 模块还需要 doipclient 和 udsoncan 软件包。
- 发现和服务扫描会在所连接的总线或网络上发送诊断请求。其他模块会发送、重放或模糊测试帧，并执行侵入性诊断操作。
- 采用 GPL-3.0 许可。附带的单元测试在虚拟 CAN 总线上针对模拟 ECU 运行。

## 一手来源

1. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/README.md>
2. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/documentation/howtoinstall.md>
3. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/documentation/howtouse.md>
4. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/documentation/dump.md>
5. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/documentation/listener.md>
6. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/documentation/uds.md>
7. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/documentation/doip.md>
8. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/documentation/xcp.md>
9. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/pyproject.toml>
10. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/caringcaribou/tests/mock/mock_ecu.py>
11. <https://github.com/CaringCaribou/caringcaribou/blob/092eff3c2c95bb7952a2a92ac12b6c1c29035b70/LICENSE>
12. <https://github.com/CaringCaribou/caringcaribou/releases/tag/0.6>

## 同分区更多条目：协议

- [protodump Protobuf 定义恢复工具](https://awesomerea.org/zh/resources/protodump/index.md) · 工具
- [CAN Commander CAN 总线逆向工具](https://awesomerea.org/zh/resources/can-commander/index.md) · 工具
- [CAN 负载自动逆向分析流水线](https://awesomerea.org/zh/resources/can-reverse-engineering/index.md) · 工具
- [Deluder 应用流量拦截工具](https://awesomerea.org/zh/resources/deluder/index.md) · 工具
- [PiCCANTE 树莓派 Pico 车辆 CAN 总线工具](https://awesomerea.org/zh/resources/piccante/index.md) · 工具
- [VanBus PSA VAN 总线收发库](https://awesomerea.org/zh/resources/vanbus/index.md) · 工具

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
