Skip to content

souravbaghz/Carpunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Carpunk v2

CAN Injection | Car Hacking Toolkit

What's New:

Carpunk is a CAN Injection Toolkit and an updated version of CANghost. Now it comes with some extra options like enable/disable the interface, basic sniffing, and the best part, it has some CAN Injection related vulnerabilities.

  • It works for both Simulation & Real cars.
  • Two more CAN injection attacks are added.
  • Tested on Ubuntu and Parrot OS.

Things To Note Before Running Carpunk:

  • You have to load your canbus driver yourself, the script makes canbus interface up and down only.
  • Now you have to pass an argument for your canbus interface.
  • Your logs file will be named as carpunk1.log,carpunk2.log and so on if you're using in one shot. If you restart the script then it will create carpunk1.log again and your previously created carpunk1.log will be deleted.
  • Copy your all logs file somewhere else before starting the carpunk script.
  • I am not responsible for any damage to your vehicle and illegal activities with this toolkit. Use at your own risk.

Installation & Usage of CarPunk :

git clone https://github.com/souravbaghz/Carpunk
cd Carpunk
sudo bash carpunk.sh

  • [1] Up The CAN Interface : Enable/UP the CAN Interface.
  • [2] Down The CAN Interface : Make The CAN Interface Down.
  • [3] Start The Basic Sniffing : Start Sniffing Only(get terminal clear as soon as you stop it by ctrl+c).
  • [4] Record The CAN Packets : Capture/Record The CAN Packets Into File(as carpunk1.log- name will be carpunk2.log,carpunk3.log,so on for multiple times).
  • [5] Play The CAN Packets : Replay The CAN Packets Which You Captured Earlier(specify the log-file. e.g: carpunk1.log).
  • [6] CAN Injection DOS Attack : Perform DOS Attack Through CAN Injection.
  • [7] ECU Hard Reset : ECU Hard Reset
  • [0] Exit : To Exit The CarPunk Script.

If You Do Love My Works Then You Can Buy Me A Coffee Now.

Buy Me A Coffee


!#/bin/bash


🤝 Connect with me

Instagram: souravbaghz GitHub souravbaghz Twitter souravbaghz Medium souravbaghz


Thanks To: