CAN Bus Security: SocketCAN, can-utils and ICSim, then the Flipper CAN Add-On
- Courses taught
- 189
- Learners reached
- 854
- Reviews received
- 210
- Courses taught
- 165
- Learners reached
- 418
- Reviews received
- 68
- Leaderboard rank
- #1,377
Requirements
- A Linux system, real or virtual, with internet access to install free tools
- Basic comfort with a command line
- For Module 7 only: a Flipper Zero, the Electronic Cats CAN Bus add-on with OBD-II connector, and a vehicle you own
About this course
This KSEC course teaches how the CAN bus inside a vehicle works and how security researchers observe it, using official documentation and free tools. You build your own lab on Linux with SocketCAN, can-utils and the ICSim instrument cluster simulator, watch and filter traffic, find which identifier drives a gauge, and log and replay frames on the simulator. Then you capture traffic read-only from your own parked vehicle with the Electronic Cats Flipper Add-On: CAN Bus, and finish with how gateways, intrusion detection and AUTOSAR Secure Onboard Communication defend a CAN network.
Sending and replay stay on the simulator. On a real vehicle this course only listens. Immobilisers, keyless entry and theft techniques are not covered.
What you'll learn
- Explain CAN frames, identifiers, arbitration, errors and OBD-II
- Build a free simulator lab with SocketCAN, a virtual CAN interface and ICSim
- Watch, filter and log CAN traffic with candump and cansniffer
- Find and decode the identifier that drives a gauge on the simulator
- Capture traffic read-only from your own parked vehicle with the Flipper CAN add-on
- Describe gateway, intrusion detection and SecOC defences
Who this course is for
- Security researchers and penetration testers new to automotive networks
- Embedded and automotive engineers who want a security view of CAN
- Flipper Zero CAN add-on owners who want the fundamentals behind the tool
Reviews of courses you have completed earn 5 points, whatever the rating. How reviews work
No reviews yet. Be the first once you complete the course.
Course discussion
Ask questions, share notes, and chat with other learners. This thread is part of the OnlySecurity community forum, separate from the in-course Q&A so general discussion does not crowd lesson-specific questions.
Open the thread on the OnlySecurity community to take part.
Curriculum
48 lessons across 11 modules
Course Content
Orientation and safe, legal use
What this course is, and what it is not
The rules: simulator for sending, your own parked vehicle for listening
Your path through the course, and the kit
Quiz: Orientation and safe, legal use
CAN fundamentals
Setup: SocketCAN, can-utils and the ICSim lab
Watching and filtering traffic on ICSim
Finding the signal: reverse engineering on the simulator
Logging and replay, on the simulator only
SavvyCAN: visualising captures
Reading a real bus with the Flipper CAN add-on, read-only
Defence: protecting a CAN network
Maintenance and troubleshooting
Reference
Earn a certificate
Showcase your dedication by completing this course and earning a certificate that highlights your skills.





