├── .gitignore ├── EGraphSAGE.py ├── README.md ├── adversarial_feature.py ├── adversarial_structure.py ├── all_experiments.sh ├── baseline_test_egraphsage.py ├── baseline_test_linegraph.py ├── batch_test_linegraphsage.py ├── batch_train_linegraphsage.py ├── case_study ├── argus.conf ├── instructions.md └── out.argus ├── datasets ├── CTU │ └── data.zip └── ToN-IoT │ └── .gitignore ├── plot.ipynb ├── preprocessed_data ├── CTU │ └── .gitignore └── ToN_IoT │ └── .gitignore ├── preprocessing.py ├── preprocessing_ToN.py ├── randomforest.ipynb ├── results ├── CTU │ ├── models │ │ ├── egraphsage │ │ │ └── .gitignore │ │ └── linegraphsage │ │ │ └── .gitignore │ └── scores │ │ ├── egraphsage │ │ └── .gitignore │ │ ├── linegraphsage │ │ └── .gitignore │ │ └── rf │ │ └── .gitignore └── ToN_IoT │ ├── models │ ├── egraphsage │ │ └── .gitignore │ └── linegraphsage │ │ └── .gitignore │ └── scores │ ├── egraphsage │ └── .gitignore │ ├── linegraphsage │ └── .gitignore │ └── rf │ └── .gitignore ├── test_egraphsage.py ├── train_egraphsage.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/.gitignore -------------------------------------------------------------------------------- /EGraphSAGE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/EGraphSAGE.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/README.md -------------------------------------------------------------------------------- /adversarial_feature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/adversarial_feature.py -------------------------------------------------------------------------------- /adversarial_structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/adversarial_structure.py -------------------------------------------------------------------------------- /all_experiments.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/all_experiments.sh -------------------------------------------------------------------------------- /baseline_test_egraphsage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/baseline_test_egraphsage.py -------------------------------------------------------------------------------- /baseline_test_linegraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/baseline_test_linegraph.py -------------------------------------------------------------------------------- /batch_test_linegraphsage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/batch_test_linegraphsage.py -------------------------------------------------------------------------------- /batch_train_linegraphsage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/batch_train_linegraphsage.py -------------------------------------------------------------------------------- /case_study/argus.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/case_study/argus.conf -------------------------------------------------------------------------------- /case_study/instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/case_study/instructions.md -------------------------------------------------------------------------------- /case_study/out.argus: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/case_study/out.argus -------------------------------------------------------------------------------- /datasets/CTU/data.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/datasets/CTU/data.zip -------------------------------------------------------------------------------- /datasets/ToN-IoT/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plot.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/plot.ipynb -------------------------------------------------------------------------------- /preprocessed_data/CTU/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /preprocessed_data/ToN_IoT/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /preprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/preprocessing.py -------------------------------------------------------------------------------- /preprocessing_ToN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/preprocessing_ToN.py -------------------------------------------------------------------------------- /randomforest.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/randomforest.ipynb -------------------------------------------------------------------------------- /results/CTU/models/egraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/CTU/models/linegraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/CTU/scores/egraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/CTU/scores/linegraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/CTU/scores/rf/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/ToN_IoT/models/egraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/ToN_IoT/models/linegraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/ToN_IoT/scores/egraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/ToN_IoT/scores/linegraphsage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/ToN_IoT/scores/rf/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_egraphsage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/test_egraphsage.py -------------------------------------------------------------------------------- /train_egraphsage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/train_egraphsage.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreaventuri01/Structural_attacks_GNN_NIDS/HEAD/utils.py --------------------------------------------------------------------------------