You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
CANtropy: Time Series Feature Extraction-Based Intrusion Detection Systems for Controller Area Networks
This repository provides the python implementation of CANtropy, a manual feature engineering-based lightweight CAN IDS. For each signal, CANtropy explores a comprehensive set of features from both temporal and statistical domains and selects only the effective subset of features in the detection pipeline to ensure scalability. Later, CANtropy uses a lightweight unsupervised anomaly detection model based on principal component analysis, to learn the mutual dependencies of the features and detect abnormal patterns in the sequence of CAN messages. The evaluation results on the advanced SynCAN dataset show that CANtropy provides a comprehensive defense against diverse types of cyberattacks.
cd srcchmod +x download_syncan_dataset.sh./download_syncan_dataset.shchmod +x download_road_dataset.sh./download_road_dataset.sh
Create Symbolic Link (Optional)
If you have the the datasets downloaded (or want to download) outside of the repo, you can create a symbolic link to show the those dataset folders wihtin the repository. To create symbolic link from the repository's directory:
cd <directory_to_cantropy>ln -s <directory_to_syncan_dataset>/ datasets/ln -s <directory_to_road_dataset>/ datasets/
For example, if/home/workspace/can-ids-datasets/ folder contains the SynCAN and ROAD dataset, you can follow:
cd cantropyln -s /home/workspace/can-ids-datasets/syncan datasetsln -s /home/workspace/can-ids-datasets/road datasets
@inproceedings{shahriar2023cantropy,title={CANtropy: Time series feature extraction-based intrusion detection systems for controller area networks},author={Shahriar, Md Hasan and Lou, Wenjing and Hou, Y Thomas},booktitle={Proceedings of Symposium on Vehicles Security and Privacy (VehicleSec)},pages={1--8},year={2023},doi={https://dx.doi.org/10.14722/vehiclesec.2023.23090}}
About
CANtropy: Time Series Feature Extraction-Based Intrusion Detection Systems for Controller Area Networks