Skip to main content
QUICK REVIEW

[Paper Review] Interpreting GNN-based IDS Detections Using Provenance Graph Structural Features

Kunal Mukherjee, Joshua Wiedemeier|arXiv (Cornell University)|Jun 1, 2023
Machine Learning in Materials ScienceMaterials Science4 citations
TL;DR

This paper proposes ProvExplainer, a framework that enhances transparency in GNN-based intrusion detection systems (IDS) by using interpretable graph structural features to explain model decisions. It trains simple, explainable models like decision trees to mimic GNN predictions with up to 99% fidelity, enabling human-readable, system-level explanations of malware detections and improving accountability in security operations.

ABSTRACT

Advanced cyber threats (e.g., Fileless Malware and Advanced Persistent Threat (APT)) have driven the adoption of provenance-based security solutions. These solutions employ Machine Learning (ML) models for behavioral modeling and critical security tasks such as malware and anomaly detection. However, the opacity of ML-based security models limits their broader adoption, as the lack of transparency in their decision-making processes restricts explainability and verifiability. We tailored our solution towards Graph Neural Network (GNN)-based security solutions since recent studies employ GNNs to comprehensively digest system provenance graphs for security-critical tasks. To enhance the explainability of GNN-based security models, we introduce PROVEXPLAINER, a framework offering instance-level security-aware explanations using an interpretable surrogate model. PROVEXPLAINER's interpretable feature space consists of discriminant subgraph patterns and graph structural features, which can be directly mapped to the system provenance problem space, making the explanations human interpretable. We show how PROVEXPLAINER synergizes with current state-of-the-art (SOTA) GNN explainers to deliver domain and instance-specific explanations. We measure the explanation quality using the Fidelity+/Fidelity- metric as used by traditional GNN explanation literature, we incorporate the precision/recall metric, where we consider the accuracy of the explanation against the ground truth, and we designed a human actionability metric based on graph traversal distance. On real-world Fileless and APT datasets, PROVEXPLAINER achieves up to 29%/27%/25%/1.4x higher Fidelity+, precision, recall, and actionability (where higher values are better), and 12% lower Fidelity- (where lower values are better) when compared against SOTA GNN explainers.

Motivation & Objective

  • Address the lack of transparency and actionable explanations in black-box GNN-based intrusion detection systems (IDS) used in system provenance analysis.
  • Overcome the challenge of interpreting complex GNN decision boundaries by mapping them to human-understandable, problem-space actions in system provenance graphs.
  • Develop a model-agnostic framework that enables high-fidelity surrogate modeling using interpretable graph structural features grounded in security domain knowledge.
  • Improve trust and accountability in security systems by providing descriptive, logical explanations for GNN-based detections that align with real-world system behaviors.
  • Enable domain experts to verify, debug, and respond to alerts with confidence by linking model predictions to observable system-level actions and subgraph patterns.

Proposed method

  • Replicate GNN decision boundaries using surrogate models, specifically decision trees (DTs), trained on graph structural features derived from classical graph theory and enhanced with security domain insights.
  • Design a set of interpretable graph structural features—such as centrality measures, clustering coefficients, and subgraph pattern indicators—that correspond directly to known malicious behaviors (e.g., drive-by-download, process chain anomalies).
  • Use a black-box querying mechanism to extract predictions from the GNN model, enabling the surrogate model to learn the GNN’s decision boundary without requiring access to its internal weights.
  • Optimize feature engineering through data-driven analysis of system provenance datasets, focusing on features that are robust to benign workload drift and adversarial manipulation.
  • Integrate the surrogate explanations with subgraph explanation techniques (e.g., SubgraphX) to enhance local interpretability by highlighting influential substructures in the graph.
  • Develop a behavioral query language prototype that maps natural language descriptions of system behavior into graph features for program classification and anomaly detection.

Experimental results

Research questions

  • RQ1Can interpretable graph structural features effectively capture the decision logic of complex GNN-based IDS models in system provenance analysis?
  • RQ2To what extent can simple, explainable models like decision trees achieve high fidelity in mimicking GNN predictions using these engineered features?
  • RQ3How well can the resulting explanations be mapped to real-world system-level actions and malicious behaviors known in cybersecurity?
  • RQ4Can the framework support both global and local interpretability by combining global surrogate models with subgraph-level explanation techniques?
  • RQ5How robust are the explanations to benign variations in system behavior, such as software updates or workload drift?

Key findings

  • ProvExplainer enabled decision tree surrogate models to achieve 95% fidelity to the original GNN model on general program classification tasks using general-purpose graph structural features.
  • With a task-specific feature package tailored for malware detection, the fidelity of the surrogate models reached 99%, demonstrating high alignment with the GNN’s decision boundary.
  • Case studies on five real-world malware samples across three families confirmed that the explanations generated by ProvExplainer accurately highlighted malicious subgraph patterns such as process chains and file/socket interactions.
  • The framework successfully mapped abstract GNN decisions to concrete, human-readable descriptions of system-level actions, such as low process closeness centrality and non-zero socket degree centrality, which are indicative of malicious behavior.
  • The use of graph features grounded in security semantics allowed domain experts to interpret and validate detection results with confidence, improving triage and response workflows.
  • ProvExplainer is model-agnostic and works with any black-box provenance-based IDS, enabling explanation generation without requiring architectural access to the underlying GNN model.

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.