Skip to main content

Adversarial testing framework for NIDS

Project description

ANIDSC

Adversarial NIDS Chain

Setting Up environment

install docker

run docker run --gpus all -it --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 --rm -v "path/to/this/folder":/workspace/ANIDSC -v "path/to/datasets":/workspace/datasets -v "path/to/models":/workspace/models kihy/nids_framework

Running the code

The examples folder include example scripts to run this package feature_extraction.py shows how to extract features evaluate_models.py shows how to evaluate NIDS models generate_report.py contains functions to obtain summary

extending the code

To add a new feature extractor, inherit BaseTrafficFeatureExtractor from base_feature_extractor.py To add a new model, inherit BaseOnlineODModel and one of the save mixins from base_model.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anidsc-0.1.0.tar.gz (73.9 kB view details)

Uploaded Source

Built Distribution

ANIDSC-0.1.0-py3-none-any.whl (84.7 kB view details)

Uploaded Python 3

File details

Details for the file anidsc-0.1.0.tar.gz.

File metadata

  • Download URL: anidsc-0.1.0.tar.gz
  • Upload date:
  • Size: 73.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for anidsc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b1727e336f4fe570eed2813be191757439c43c7d65afe1b91a7a9ef1a022d04
MD5 a368d28f8324594f6560baa60ae93360
BLAKE2b-256 5560fe1190c891b6ca95a4454b7e0a11e6d6155deb7340281133388e72ad4563

See more details on using hashes here.

File details

Details for the file ANIDSC-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ANIDSC-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 84.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for ANIDSC-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 902e2f4d05f7defc0003992444ce3265624b3d42db0244033dba518d94140d1f
MD5 e1117609bf7ec2f83be43c6e10a1f819
BLAKE2b-256 6de63447254035d81ddfd9ba0337fbf314609c2e6c355ee8a7b7b733446c8974

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page