Giter Club home page Giter Club logo

fde's Introduction

Thwarting Cybersecurity Attacks with Explainable Concept Drift

This code provides the implementation details of a Feature Drift Explanation (FDE) module responsible for identifying drifts in a Deep Learning (DL) regression problem. The use case relates to a cyber-security attack that targets the readings of specific sensors supplying data for a 1-dimensional Convolutional Neural Network (1D-CNN) that predicts CO2 concentrations to aid Heating, Ventilation, and Air Conditioning (HVAC) systems in their activations. As such, finding the compromised sensors via FDE allows for a targeted mitigation strategy that potentially reduces the HVAC system's energy consumption and maintains the occupant's comfort.

The code documentation aligns with the content of the manuscript, which is accepted as part of the International Wireless Communications and Mobile Computing Conference 2024 conference. The pre-print for this manuscript can be found using the following link: https://arxiv.org/abs/2403.13023

Before running the code available in the FDE_Notebook.ipynb, it is imperative to retrieve the data used for this paper. This can be achieved using the following steps:

  1. Download the data used for this work, which can be found using this link: https://zenodo.org/record/3774723#.ZGEhAHbMKUl. In this repository, the authors provided the prepare.py file to generate continuous chunks of data (60 minutes). This produces two files: 1) continuous_sections_60_train.pickle and 2) continuous_sections_60_test.pickle.
  2. Create the data folder in the root directory, which is on the same level as FDE_Notebook.ipynb. Move the two generated files, continuous_sections_60_train.pickle and continuous_sections_60_test.pickle to this directory.

This concludes the steps required before running the FDE_Notebook.ipyb notebook. This notebook includes extensive explanation about the steps involved in the FDE process.

We also included a models directory. In that directory, two models, which were used to generate the paper's results, are available:

  • cnn_model.pt: the 1D-CNN model used for CO2 level predictions.
  • ae_full_model.pt: the auto-encoder used for retrieving the activations' latent representation.

Contact-Info

Please feel free to contact me for any questions or research opportunities.

fde's People

Contributors

ibrahimshaer avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ibrahimshaer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.