├── LICENSE ├── README.md ├── bars ├── distribution_transformer.py ├── optimizing_noise.py └── smoothing.py ├── images ├── overview_certification_stage.png └── overview_training_stage.png ├── requirements_acid.txt ├── requirements_bars.txt ├── requirements_cade.txt ├── requirements_kitsune.txt ├── smoothed_acid ├── classifier │ ├── classifier.py │ └── subnet.py ├── data │ └── ids18.zip ├── main.py ├── save │ └── ids18 │ │ ├── certify │ │ ├── certification_results │ │ ├── certified_accuracy_robustness_radius_curve.png │ │ ├── checkpoint-distribution-transformer │ │ └── t │ │ └── train │ │ ├── checkpoint-encoder_list │ │ ├── checkpoint-kernel_net_list │ │ └── checkpoint-kernel_weight └── utils.py ├── smoothed_cade ├── classifier │ ├── autoencoder.py │ └── detect.py ├── data │ ├── newhulk.zip │ └── newinfiltration.zip ├── main.py ├── save │ └── newinfiltration │ │ ├── certify │ │ ├── certification_results │ │ ├── certified_accuracy_robustness_radius_curve.png │ │ ├── checkpoint-distribution-transformer │ │ └── t │ │ └── train │ │ ├── checkpoint-decoder │ │ ├── checkpoint-encoder │ │ └── checkpoint-param └── utils.py └── smoothed_kitsune ├── classifier ├── autoencoder.py ├── corClust.py ├── detect.py └── preprocess.py ├── data ├── mirai.zip └── ssdp.zip ├── main.py ├── save └── mirai │ ├── certify │ ├── certification_results │ ├── certified_accuracy_robustness_radius_curve.png │ ├── checkpoint-distribution-transformer │ └── t │ └── train │ ├── checkpoint-ae-0 │ ├── checkpoint-ae-1 │ ├── checkpoint-ae-10 │ ├── checkpoint-ae-11 │ ├── checkpoint-ae-12 │ ├── checkpoint-ae-13 │ ├── checkpoint-ae-14 │ ├── checkpoint-ae-15 │ ├── checkpoint-ae-16 │ ├── checkpoint-ae-17 │ ├── checkpoint-ae-18 │ ├── checkpoint-ae-19 │ ├── checkpoint-ae-2 │ ├── checkpoint-ae-20 │ ├── checkpoint-ae-21 │ ├── checkpoint-ae-22 │ ├── checkpoint-ae-23 │ ├── checkpoint-ae-24 │ ├── checkpoint-ae-25 │ ├── checkpoint-ae-3 │ ├── checkpoint-ae-4 │ ├── checkpoint-ae-5 │ ├── checkpoint-ae-6 │ ├── checkpoint-ae-7 │ ├── checkpoint-ae-8 │ ├── checkpoint-ae-9 │ ├── checkpoint-fm │ └── checkpoint-norm └── utils.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/README.md -------------------------------------------------------------------------------- /bars/distribution_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/bars/distribution_transformer.py -------------------------------------------------------------------------------- /bars/optimizing_noise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/bars/optimizing_noise.py -------------------------------------------------------------------------------- /bars/smoothing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/bars/smoothing.py -------------------------------------------------------------------------------- /images/overview_certification_stage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/images/overview_certification_stage.png -------------------------------------------------------------------------------- /images/overview_training_stage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/images/overview_training_stage.png -------------------------------------------------------------------------------- /requirements_acid.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/requirements_acid.txt -------------------------------------------------------------------------------- /requirements_bars.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/requirements_bars.txt -------------------------------------------------------------------------------- /requirements_cade.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/requirements_cade.txt -------------------------------------------------------------------------------- /requirements_kitsune.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/requirements_kitsune.txt -------------------------------------------------------------------------------- /smoothed_acid/classifier/classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/classifier/classifier.py -------------------------------------------------------------------------------- /smoothed_acid/classifier/subnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/classifier/subnet.py -------------------------------------------------------------------------------- /smoothed_acid/data/ids18.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/data/ids18.zip -------------------------------------------------------------------------------- /smoothed_acid/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/main.py -------------------------------------------------------------------------------- /smoothed_acid/save/ids18/certify/certification_results: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/save/ids18/certify/certification_results -------------------------------------------------------------------------------- /smoothed_acid/save/ids18/certify/certified_accuracy_robustness_radius_curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/save/ids18/certify/certified_accuracy_robustness_radius_curve.png -------------------------------------------------------------------------------- /smoothed_acid/save/ids18/certify/checkpoint-distribution-transformer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/save/ids18/certify/checkpoint-distribution-transformer -------------------------------------------------------------------------------- /smoothed_acid/save/ids18/certify/t: -------------------------------------------------------------------------------- 1 | 9.765625e-02 -------------------------------------------------------------------------------- /smoothed_acid/save/ids18/train/checkpoint-encoder_list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/save/ids18/train/checkpoint-encoder_list -------------------------------------------------------------------------------- /smoothed_acid/save/ids18/train/checkpoint-kernel_net_list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/save/ids18/train/checkpoint-kernel_net_list -------------------------------------------------------------------------------- /smoothed_acid/save/ids18/train/checkpoint-kernel_weight: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/save/ids18/train/checkpoint-kernel_weight -------------------------------------------------------------------------------- /smoothed_acid/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_acid/utils.py -------------------------------------------------------------------------------- /smoothed_cade/classifier/autoencoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/classifier/autoencoder.py -------------------------------------------------------------------------------- /smoothed_cade/classifier/detect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/classifier/detect.py -------------------------------------------------------------------------------- /smoothed_cade/data/newhulk.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/data/newhulk.zip -------------------------------------------------------------------------------- /smoothed_cade/data/newinfiltration.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/data/newinfiltration.zip -------------------------------------------------------------------------------- /smoothed_cade/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/main.py -------------------------------------------------------------------------------- /smoothed_cade/save/newinfiltration/certify/certification_results: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/save/newinfiltration/certify/certification_results -------------------------------------------------------------------------------- /smoothed_cade/save/newinfiltration/certify/certified_accuracy_robustness_radius_curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/save/newinfiltration/certify/certified_accuracy_robustness_radius_curve.png -------------------------------------------------------------------------------- /smoothed_cade/save/newinfiltration/certify/checkpoint-distribution-transformer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/save/newinfiltration/certify/checkpoint-distribution-transformer -------------------------------------------------------------------------------- /smoothed_cade/save/newinfiltration/certify/t: -------------------------------------------------------------------------------- 1 | 2.398437e-01 -------------------------------------------------------------------------------- /smoothed_cade/save/newinfiltration/train/checkpoint-decoder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/save/newinfiltration/train/checkpoint-decoder -------------------------------------------------------------------------------- /smoothed_cade/save/newinfiltration/train/checkpoint-encoder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/save/newinfiltration/train/checkpoint-encoder -------------------------------------------------------------------------------- /smoothed_cade/save/newinfiltration/train/checkpoint-param: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/save/newinfiltration/train/checkpoint-param -------------------------------------------------------------------------------- /smoothed_cade/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_cade/utils.py -------------------------------------------------------------------------------- /smoothed_kitsune/classifier/autoencoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/classifier/autoencoder.py -------------------------------------------------------------------------------- /smoothed_kitsune/classifier/corClust.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/classifier/corClust.py -------------------------------------------------------------------------------- /smoothed_kitsune/classifier/detect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/classifier/detect.py -------------------------------------------------------------------------------- /smoothed_kitsune/classifier/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/classifier/preprocess.py -------------------------------------------------------------------------------- /smoothed_kitsune/data/mirai.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/data/mirai.zip -------------------------------------------------------------------------------- /smoothed_kitsune/data/ssdp.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/data/ssdp.zip -------------------------------------------------------------------------------- /smoothed_kitsune/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/main.py -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/certify/certification_results: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/certify/certification_results -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/certify/certified_accuracy_robustness_radius_curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/certify/certified_accuracy_robustness_radius_curve.png -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/certify/checkpoint-distribution-transformer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/certify/checkpoint-distribution-transformer -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/certify/t: -------------------------------------------------------------------------------- 1 | 4.679687e-01 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-0 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-1 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-10 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-11 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-12 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-13: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-13 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-14: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-14 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-15 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-16: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-16 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-17: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-17 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-18: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-18 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-19: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-19 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-2 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-20: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-20 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-21: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-21 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-22: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-22 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-23: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-23 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-24: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-24 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-25: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-25 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-3 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-4 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-5 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-6 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-7 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-8 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-ae-9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-ae-9 -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-fm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-fm -------------------------------------------------------------------------------- /smoothed_kitsune/save/mirai/train/checkpoint-norm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/save/mirai/train/checkpoint-norm -------------------------------------------------------------------------------- /smoothed_kitsune/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KaiWangGitHub/BARS/HEAD/smoothed_kitsune/utils.py --------------------------------------------------------------------------------