CANalyse : A Vehicle Network Analysis And Attack Tool

CANalyse is a tool built to analyze the log files to find out unique datasets automatically and able to connect to simple user interfaces such as Telegram. Basically, while using this tool the attacker can provide a bot-ID and use the tool over the internet through telegram-bot. CANalyse is made to be placed inside a raspberry-PI and able to exploit the vehicle through a telegram bot by recording and analysing the network traffic/data logs, like a hardware backdoor planted in a car.

A prerequisite to using this tool is that the Hardware implant is already installed in the car and capable of communicating with the Network/communication channels inside the vehicle.

Explained here

Tool Layout

Requirements

  • Python3
  • pip3
  • library requirements are listed requirements.txt file.

Installation of CANalyse

git clone https://github.com/KartheekLade/CANalyse.git
cd CANalyse
pip3 install -r requirements.txt

Usage

cd CANalyse/
python3 canalyse_tool.py

Troubleshooting

  • If the tool dumps “No such device” error or you can’t view any traffic, check if the interface & communication channel in settings.
  • if the auto installation of required libraries didn’t work try running with sudo once or install them manually.
  • If you are not able to execute commands properly, do check the ” menu “.

Next Updates (In process)

  • A secondary refinery proccess to get more concentrated payload, which will be optional to users.
  • Making a common settings in CLI and Bot.
  • Ability to record and download multiple files.

Note

  • Code is constantly being updated for fixing the bugs, Errorhandling and smooth experience. If you face any problems send a DM or raise a issue, We (I and the contributors) will be happy to help as much as we can.
  • Thanks (❤️) to developers who created python-can and other libraries used in this tool.

Warning

  • This tool is purely for learning and educational purposes only. I and the contributors are not responsibale for any harmful actions.
  • Don’t Use/Share your Public bot Name/ID, it’s advised to use a random name.
R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

1 day ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

1 day ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

2 days ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

2 days ago