Lune

S&P2020Top-tier venue

Throwing Darts in the Dark? Detecting Bots with Limited Data using Neural Data Augmentation

Steve T. K. Jan, Qingying Hao, Tianrui Hu, Jiameng Pu, Sonal Oswal, Gang Wang, Bimal Viswanath

Abstract

Machine learning has been widely applied to building security applications. However, many machine learning models require the continuous supply of representative labeled data for training, which limits the models’ usefulness in practice. In this paper, we use bot detection as an example to explore the use of data synthesis to address this problem. We collected the network traffic from 3 online services in three different months within a year (23 million network requests). We develop a stream-based feature encoding scheme to support machine learning models for detecting advanced bots. The key novelty is that our model detects bots with extremely limited labeled data. We propose a data synthesis method to synthesize unseen (or future) bot behavior distributions. The synthesis method is distribution-aware, using two different generators in a Generative Adversarial Network to synthesize data for the clustered regions and the outlier regions in the feature space. We evaluate this idea and show our method can train a model that outperforms existing methods with only 1% of the labeled data. We show that data synthesis also improves the model’s sustainability over time and speeds up the retraining. Finally, we compare data synthesis and adversarial retraining and show they can work complementary with each other to improve the model generalizability.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

30 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time cites Transcend: Detecting Concept Drift in Malware Classification Models
  • Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive Alarms cites Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection
  • Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive Alarms cites Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis
  • Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive Alarms cites CADE: Detecting and Explaining Concept Drift Samples for Security Applications
  • Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis cites Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection
  • Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speed cites Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection
  • Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speed cites Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis
  • CADE: Detecting and Explaining Concept Drift Samples for Security Applications cites TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time
  • CADE: Detecting and Explaining Concept Drift Samples for Security Applications cites Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection
  • CADE: Detecting and Explaining Concept Drift Samples for Security Applications cites Transcend: Detecting Concept Drift in Malware Classification Models
  • When Does Machine Learning FAIL? Generalized Transferability for Evasion and Poisoning Attacks cites Towards Evaluating the Robustness of Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers30

  1. CADE: Detecting and Explaining Concept Drift Samples for Security ApplicationsLimin Yang, Wenbo Guo, Qingying Hao, Arridhana Ciptadi et al.USENIX Security 2021 · 241 citations
  2. Realtime Robust Malicious Traffic Detection via Frequency Domain AnalysisChuanpu Fu, Qi Li, Meng Shen, Ke XuCCS 2021 · 194 citations
  3. Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-SpeedJinzhu Yan, Haotian Xu, Zhuotao Liu, Qi Li et al.NSDI 2024 · 60 citations
  4. Good Bot, Bad Bot: Characterizing Automated Browsing ActivityXigao Li, Babak Amin Azad, Amir Rahmati, Nick NikiforakisS&P 2021 · 45 citations
  5. Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive AlarmsChuanpu Fu, Qi Li, Ke Xu, Jianping WuCCS 2023 · 30 citations

Builds on13

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Kitsune: An Ensemble of Autoencoders for Online Network Intrusion DetectionYisroel Mirsky, Tomer Doitshman, Yuval Elovici, Asaf ShabtaiNDSS 2018 · 945 citations
  3. TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and TimeFeargus Pendlebury, Fabio Pierazzi, Roberto Jordaney, Johannes Kinder et al.USENIX Security 2019 · 441 citations
  4. Transcend: Detecting Concept Drift in Malware Classification ModelsRoberto Jordaney, Kumar Sharad, Santanu Kumar Dash, Zhi Wang et al.USENIX Security 2017 · 325 citations
  5. When Does Machine Learning FAIL? Generalized Transferability for Evasion and Poisoning AttacksOctavian Suciu, Radu Marginean, Yigitcan Kaya, Hal Daumé III et al.USENIX Security 2018 · 321 citations

Related papers

  1. CND-IDS: Continual Novelty Detection for Intrusion Detection SystemsSean Fuhrman, Onat Güngör, Tajana RosingDAC 2025 · 9 citations
  2. Frequency-Domain Mixing Data Augmentation for Malicious Traffic DetectionYuhao Yan, Bo Lang, Xiangyu LiCCS 2026
  3. Knowledge Enhanced GAN for IoT Traffic GenerationShuodi Hui, Huandong Wang, Zhenhua Wang, Xinghao Yang et al.WWW 2022 · 54 citations
  4. Learning from Few Samples: A Novel Approach for High-Quality Malcode GenerationHaijian Ma, Daizong Liu, Xiaowen Cai, Pan Zhou et al.EMNLP 2025
  5. AdvTG: An Adversarial Traffic Generation Framework to Deceive DL-Based Malicious Traffic Detection ModelsPeishuai Sun, Xiaochun Yun, Shuhao Li, Tao Yin et al.WWW 2025 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines