Deep Program Reidentification: A Graph Neural Network Solution

Shen Wang, Zhengzhang Chen, Ding Li, Lu-An Tang, Jingchao Ni, Zhichun Li, Junghwan Rhee, Haifeng Chen, Philip S. YuarXiv 2018

Abstract

Modern cybersecurity faces a significant challenge in masquerading attacks, where malicious software adopts the names of benign processes to evade detection. This paper introduces DeepRe-ID, a novel framework that verifies program identity through behavioral fingerprints rather than easily spoofed metadata. By modeling system interactions as a heterogeneous graph and employing a multi-channel Graph Neural Network (GNN) with attention mechanisms, DeepRe-ID achieves high accuracy in reidentifying programs across version updates and detecting stealthy malware.

Introduction

Intrusion Detection Systems (IDS) traditionally rely on process names or digital signatures to identify software. However, attackers frequently exploit this trust by naming malware excel.exe or powershell.exe. While digital signatures offer security, they suffer from "signature inflation" due to frequent software updates. DeepRe-ID addresses these gaps by focusing on behavioral invariants—stable patterns of interaction with files, network sockets, and other processes—that remain consistent even when a program's binary or version changes.

Methodology: The DeepRe-ID Framework

The proposed system treats program reidentification as a graph classification problem. The architecture is divided into five primary stages:

  1. Behavior Graph Modeling: Captures low-level system events to construct a heterogeneous graph representing interactions between processes, files, and network sockets.
  2. Multi-Channel Transformation: Decomposes the complex heterogeneous graph into multiple homogeneous channels using meta-paths (e.g., Process-to-Process, Process-to-File).
  3. Contextual Graph Encoder (CGE): A deep GNN architecture utilizing propagation and perceptron layers to learn hierarchical representations of program behavior.
  4. Channel-Aware Attention: Learns to weight different behavioral channels based on their importance for identifying specific program classes.
  5. Verification: A final binary classification layer determines if the observed behavior matches the claimed identity.
The DeepRe-ID architecture pipeline, illustrating the flow from raw data collection to final identity verification.

Experimental Setup

The framework was evaluated using a massive enterprise dataset comprising 3 Terabytes of system monitoring data collected from 87 machines over 20 weeks. This dataset includes 300 million event records involving approximately 2,000 processes. Evaluation focused on the 500 most active programs and simulated real-world threats like the WannaCry ransomware and various phishing-based Trojans.

Results and Discussion

DeepRe-ID demonstrated superior performance compared to traditional machine learning baselines, achieving an Accuracy (ACC) of 0.905 and an AUC of 0.908. In attack simulations, it outperformed competitors like XGBoost and MLP by at least 12% in True Positive Rate (TPR) and 10% in False Positive Rate (FPR).

A key finding is the model's robustness to software upgrades. As shown in the t-SNE visualization below, different versions of the same program (e.g., Chrome) cluster together in the embedding space, while remaining distinct from other programs (e.g., Firefox). This confirms that behavioral patterns serve as effective long-term identifiers.

t-SNE visualization of program embeddings, demonstrating that different versions of Chrome cluster together while remaining distinct from Firefox.

Conclusion

DeepRe-ID provides a robust solution for program reidentification by leveraging the stability of system behaviors. While the current implementation is optimized for Windows environments and requires significant computational resources for deep GNN processing, it represents a major step forward in detecting masquerading attacks. Future work will explore cross-platform extensions and defenses against adversarial mimicry attacks.

Summary updated

BibTeX
@misc{wang2018deep,
  author = {Shen Wang and Zhengzhang Chen and Ding Li and Lu-An Tang and Jingchao Ni and Zhichun Li and Junghwan Rhee and Haifeng Chen and Philip S. Yu},
  title = {{Deep Program Reidentification: A Graph Neural Network Solution}},
  year = {2018},
  eprint = {1812.04064},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.04064},
}
Figure