Skip to content

souravbaghz/Carpunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 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] CAN Interface Up : Enable/UP the CAN Interface.
  • [2] CAN Interface Down : Make The CAN Interface Down.
  • [3] Start the Sniffing : Start Sniffing Only(terminal gets cleared as soon as you stop it by ctrl+c).
  • [4] Record the CAN Frames : 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 Frames : Replay The CAN Packets Which You Captured Earlier(specify the log-file. e.g: carpunk1.log).
  • [6] CAN DOS Attack : Perform DOS Attack using 0x000(lowest) Arbitration ID.
  • [7] ECU Hard Reset : ECU Hard Reset
  • [0] Exit : To Exit The CarPunk Script.

If you like my works, you can buy me a coffee here.

Buy Me A Coffee


!#/bin/bash


🤝 Connect with me

Instagram: souravbaghz GitHub souravbaghz Twitter souravbaghz Medium baudskidninja


Thanks To: