Skip to main content
QUICK REVIEW

[Paper Review] A Heterogeneous Graph Learning Model for Cyber-Attack Detection

Mingqi Lv, Chengyu Dong|arXiv (Cornell University)|Dec 16, 2021
Network Security and Intrusion DetectionComputer Science9 citations
TL;DR

This paper proposes a heterogeneous graph neural network model that learns semantic representations from provenance data to detect stealthy, long-term cyber-attacks. By sampling local subgraphs and leveraging meta-path-based embeddings, the method achieves superior detection performance over learning-based models and competitive results against rule-based systems on real-world datasets.

ABSTRACT

A cyber-attack is a malicious attempt by experienced hackers to breach the target information system. Usually, the cyber-attacks are characterized as hybrid TTPs (Tactics, Techniques, and Procedures) and long-term adversarial behaviors, making the traditional intrusion detection methods ineffective. Most existing cyber-attack detection systems are implemented based on manually designed rules by referring to domain knowledge (e.g., threat models, threat intelligences). However, this process is lack of intelligence and generalization ability. Aiming at this limitation, this paper proposes an intelligent cyber-attack detection method based on provenance data. To effective and efficient detect cyber-attacks from a huge number of system events in the provenance data, we firstly model the provenance data by a heterogeneous graph to capture the rich context information of each system entities (e.g., process, file, socket, etc.), and learns a semantic vector representation for each system entity. Then, we perform online cyber-attack detection by sampling a small and compact local graph from the heterogeneous graph, and classifying the key system entities as malicious or benign. We conducted a series of experiments on two provenance datasets with real cyber-attacks. The experiment results show that the proposed method outperforms other learning based detection models, and has competitive performance against state-of-the-art rule based cyber-attack detection systems.

Motivation & Objective

  • To address the limitations of rule-based cyber-attack detection systems, which rely heavily on expert knowledge and lack generalization across changing environments.
  • To overcome the inefficiency and poor generalization of traditional intrusion detection methods that focus on short-term behaviors and ignore rich contextual information.
  • To develop an intelligent, scalable detection system capable of identifying complex, stealthy, and persistent cyber-attacks using provenance data.
  • To enable effective detection of attacks with hybrid TTPs (Tactics, Techniques, and Procedures) by modeling long-range dependencies across system entities.
  • To reduce reliance on manual rule engineering by learning latent attack patterns directly from system event data through graph representation learning.

Proposed method

  • The method models system provenance data as a heterogeneous graph, where nodes represent system entities (e.g., processes, files, sockets) and edges represent system events (e.g., read, write, fork).
  • It employs meta-path-based graph embedding to capture high-level semantic interactions between different types of entities and events, enabling the model to learn meaningful representations of complex attack behaviors.
  • A local subgraph sampling strategy is used to extract compact, context-rich neighborhoods around candidate system entities for efficient online detection.
  • The model applies graph convolutional networks (GCNs) on the sampled local graphs to propagate and aggregate features, enabling detection of malicious entities even when they are not directly observable.
  • For online inference, the method uses label propagation to infer labels of new, unseen system entities by leveraging learned representations and existing labeled nodes in the graph.
  • The framework is trained end-to-end to classify system entities as malicious or benign based on their local graph context and learned embeddings.

Experimental results

Research questions

  • RQ1Can a heterogeneous graph learning model effectively detect stealthy, long-term cyber-attacks that involve multiple system entities and hybrid TTPs?
  • RQ2How does meta-path-based graph embedding improve the detection of complex attack patterns compared to standard node-level representations?
  • RQ3To what extent can local subgraph sampling and graph convolution enhance detection performance while maintaining computational efficiency?
  • RQ4How does the proposed method compare to state-of-the-art rule-based systems in terms of precision, recall, and adaptability to new attack scenarios?
  • RQ5Can the model generalize to unseen system entities in real-time without retraining, using label propagation on the heterogeneous graph?

Key findings

  • On the Lab dataset, the proposed method achieved 99.35% accuracy, 99.58% recall, and 95.30% macro-F1, significantly outperforming NeighborAvg and LabelProp.
  • On the DARPA dataset, the method achieved 100% recall and 99.24% accuracy, demonstrating strong detection capability for stealthy attacks.
  • The method outperformed other learning-based models in both precision and F1 score, indicating robustness and generalization in detecting diverse attack patterns.
  • Label propagation-based inference on new entities achieved high performance, showing the model’s scalability and adaptability to dynamic system environments.
  • The model’s ability to capture long-range dependencies through higher-order neighborhood propagation enabled detection of attacks where malicious actions were not directly observable at the initial node.
  • The results indicate that the proposed method achieves competitive performance against rule-based systems while reducing dependency on expert knowledge and manual rule creation.

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.