Information Fusion for Anomaly Detection with the Dendritic Cell Algorithm

Julie Greensmith, Uwe Aickelin, Gianni Tedesco

Abstract

Dendritic cells are antigen presenting cells that provide a vital link between the innate and adaptive immune system, providing the initial detection of pathogenic invaders. Research into this family of cells has revealed that they perform information fusion which directs immune responses. We have derived a Dendritic Cell Algorithm based on the functionality of these cells, by modelling the biological signals and differentiation pathways to build a control mechanism for an artificial immune system. We present algorithmic details in addition to experimental results, when the algorithm was applied to anomaly detection for the detection of port scans. The results show the Dendritic Cell Algorithm is successful at detecting port scans.

Introduction

Traditional Intrusion Detection Systems (IDS) primarily rely on signature-based detection, which functions similarly to a "most wanted" list. While effective against known threats, this approach often fails to detect "zero-day" exploits or modified attack patterns. Anomaly detection offers a promising alternative by identifying deviations from "normal" behavior. However, defining "normal" in dynamic network environments is challenging and frequently leads to high false-positive rates.

This paper introduces the Dendritic Cell Algorithm (DCA), a bio-inspired approach to anomaly detection based on the "Danger Theory" of the human immune system. Unlike traditional models that focus solely on distinguishing "self" from "non-self," the DCA leverages information fusion to interpret environmental signals, mimicking the way dendritic cells (DCs) act as gatekeepers for the immune response.

The Dendritic Cell Algorithm (DCA)

The DCA is modeled on the maturation process of biological dendritic cells. These cells sample antigens (identifiers of potential threats) and environmental signals to determine the appropriate immune response.

Signal Fusion and Maturation

The algorithm processes three primary categories of input signals:

  1. PAMPs (Pathogen-Associated Molecular Patterns): High-confidence indicators of abnormality.
  2. Danger Signals: Indicators of potential damage or system stress (e.g., spikes in network traffic).
  3. Safe Signals: Indicators of normal, steady-state behavior.

As artificial DCs sample these signals, they compute a weighted sum to transition into one of two states: semi-mature (indicating a safe context) or mature (indicating an anomalous context).

Dendritic cell maturation pathways based on environmental signals.

The final output is the Mature Context Antigen Value (MCAV), a score between 0 and 1 assigned to each antigen. An MCAV closer to 1 suggests a high probability that the associated process is anomalous.

System Architecture

The DCA was implemented using libtissue, a C-based framework designed for simulating artificial immune systems. The architecture separates the data collection (clients) from the processing environment (server).

Architecture of the DCA implementation using the libtissue framework.

In this setup, "antigen stores" track identifiers like Process IDs (PIDs), while "signal stores" collect system metrics mapped to PAMPs, danger, or safe signals.

Experimental Evaluation

To test the DCA, the researchers evaluated its ability to detect malicious port scans. The experimental setup included:

  • Attack Sessions: A 70-second session where a user executes an nmap ICMP "ping" scan.
  • Normal Sessions: Benign activity involving SSH logins and file transfers via scp.
  • Antigens: The PIDs of programs such as nmap, sshd, bash, and scp.

Results

The DCA demonstrated high accuracy in identifying malicious activity. The nmap process consistently yielded a high MCAV of approximately 0.82, clearly flagging it as anomalous. In contrast, benign processes like the bash shell received a very low MCAV of 0.02.

Sensitivity analysis revealed that the algorithm is robust; its performance remained stable across variations in population size and antigen storage capacity, provided the signal mappings (Safe vs. Danger) were correctly defined.

Conclusion

The Dendritic Cell Algorithm provides a robust framework for anomaly detection by shifting the focus from simple pattern matching to multi-sensor information fusion. By incorporating environmental "context," the DCA achieves high detection rates with minimal false positives. Future work will focus on automating signal selection and testing the algorithm against more stealthy, low-volume network attacks.

Summary updated

Abstract

Dendritic cells are antigen presenting cells that provide a vital link between the innate and adaptive immune system, providing the initial detection of pathogenic invaders. Research into this family of cells has revealed that they perform information fusion which directs immune responses. We have derived a Dendritic Cell Algorithm based on the functionality of these cells, by modelling the biological signals and differentiation pathways to build a control mechanism for an artificial immune system. We present algorithmic details in addition to experimental results, when the algorithm was applied to anomaly detection for the detection of port scans. The results show the Dendritic Cell Algorithm is sucessful at detecting port scans.
BibTeX
@article{greensmith2010information,
  author = {Julie Greensmith and Uwe Aickelin and Gianni Tedesco},
  title = {{Information Fusion for Anomaly Detection with the Dendritic Cell Algorithm}},
  journal = {Information Fusion},
  year = {2010},
  url = {https://openreview.net/forum?id=SpQIZxlPT5},
}
Figure