Skip to main content
QUICK REVIEW

[Paper Review] A Graph-Based Machine Learning Approach for Bot Detection

Abbas Abou Daya, Mohammad A. Salahuddin|arXiv (Cornell University)|Feb 22, 2019
Network Security and Intrusion DetectionComputer Science24 references39 citations
TL;DR

The paper presents a two-phased graph-based bot detection system that uses unsupervised clustering to prune benign hosts and supervised learning to detect bots, achieving robustness to zero-day attacks and scalability across networks.

ABSTRACT

Bot detection using machine learning (ML), with network flow-level features, has been extensively studied in the literature. However, existing flow-based approaches typically incur a high computational overhead and do not completely capture the network communication patterns, which can expose additional aspects of malicious hosts. Recently, bot detection systems which leverage communication graph analysis using ML have gained attention to overcome these limitations. A graph-based approach is rather intuitive, as graphs are true representations of network communications. In this paper, we propose a two-phased, graph-based bot detection system which leverages both unsupervised and supervised ML. The first phase prunes presumable benign hosts, while the second phase achieves bot detection with high precision. Our system detects multiple types of bots and is robust to zero-day attacks. It also accommodates different network topologies and is suitable for large-scale data.

Motivation & Objective

  • Motivate the need for robust bot detection that captures network communication patterns beyond flow-level features.
  • Propose a two-phased ML approach that combines unsupervised clustering with supervised classification for high precision bot detection.
  • Develop graph-based features from network flows to represent host behavior more faithfully than traditional flow features.
  • Demonstrate scalability and robustness, including to zero-day attacks, across large datasets and different topologies.

Proposed method

  • Transform bidirectional network flows into a directed graph with hosts as nodes and flows as weighted edges.
  • Extract graph-based features such as in-degree/out-degree, in-degree/out-degree weight, betweenness centrality, local clustering coefficient, and alpha centrality.
  • Apply feature normalization to incorporate neighborhood relativity and reduce topology sensitivity.
  • Phase 1: apply unsupervised clustering (SOM preferred) to segregate a benign cluster and identify hosts outside it.
  • Phase 2: train supervised classifiers (DT, LR, SVM, FNN) on the subset outside the benign cluster to detect bots with high recall.

Experimental results

Research questions

  • RQ1Can a graph-based representation of network flows improve bot detection over traditional flow-based features?
  • RQ2Does a two-phased learning approach (unsupervised pruning followed by supervised classification) yield higher recall and precision, especially against unknown/zero-day bots?
  • RQ3What graph-based features and normalization strategies best separate benign from bot hosts across diverse topologies?
  • RQ4How do different Phase 1 (UL) and Phase 2 (SL) classifiers perform in terms of training time, recall, precision, and robustness to unseen bot types?

Key findings

  • Graph-based features paired with two-phase ML improve bot detection robustness and scalability.
  • Phase 1 SOM clustering with 100 neurons isolates bots with 92% recall and minimal benign misclassification under normalization.
  • Phase 2 DT classifier achieves 100% bot recall with a single false positive on the pruned dataset, outperforming other SL methods under imbalance.
  • Feature normalization (F-Norm) significantly improves spatial stability and bot/benign separation across networks.
  • The two-phased approach reduces training time (about 47.2 seconds total) and enhances robustness to unknown bot classes compared to stand-alone supervised learning.
  • Normalization markedly improves performance; without F-Norm, Bot Outside Benign cluster ratios deteriorate and bots are harder to detect.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.