TL;DR
CyberAlly is an AI-driven assistant that combines Large Language Models (LLMs) with Knowledge Graphs to help cybersecurity defenders navigate "alert fatigue." By filtering out redundant logs and providing context-aware mitigation strategies through a Knowledge Graph-Enhanced Retrieval-Augmented Generation (KG-RAG) framework, it transforms raw security data into actionable intelligence for human-AI teaming.
What Problem Does This Paper Address?
Modern Security Operation Centers (SOCs) are drowning in data. Defenders face a constant barrage of system logs and alerts, the vast majority of which are either benign or redundant. This leads to alert fatigue, where critical threats might be missed amidst the noise.
While standard Machine Learning (ML) can filter alerts, these models often lack the contextual awareness needed to explain why an alert matters or how to fix it. Furthermore, there is a significant gap in effectively integrating automated AI suggestions with human expertise in high-stakes environments like maritime critical infrastructure.
Methods
The authors developed CyberAlly, a system integrated into a cyber range (a simulated environment for training) that uses a multi-stage pipeline to support "Blue Teams" (defenders):
- Alert Filtering & Classification: To handle the volume, the system first uses sentence embeddings and cosine similarity to de-duplicate alerts. It then employs a k-Nearest Neighbors (kNN) model to classify the remaining alerts as either benign or suspicious.
- KG-RAG (Knowledge Graph-Enhanced RAG): This is the core innovation. Instead of relying solely on an LLM's internal knowledge, CyberAlly uses LlamaIndex to query two types of knowledge graphs:
- Static Graph: Contains historical data from previous training exercises and general cybersecurity frameworks like MITRE ATT&CK.
- Dynamic Graph: Captures real-time updates from the current exercise, including network architecture changes and ongoing incident tickets.
- Human-AI Interface: The system interacts with defenders via Slack, providing an alert summary, recommended mitigation actions (like specific shell commands), and the reasoning behind those suggestions. It also automates ticket creation in the Cydarm case management system.
Datasets
The researchers collected a custom dataset during a 2-day "Red vs. Blue Team" exercise simulating a shipping port's IT and Operational Technology (OT) systems.
- Volume: Over 60,000 alert messages.
- Diversity: Approximately 2,500 distinct alert types were identified after filtering background noise.
- Ground Truth: The authors constructed a specific ground truth dataset tailored to their environment, noting that existing benchmarks like CyberMetric or CyberBench don't fully capture the nuances of specific infrastructure-based incident responses.
Key Insights and Ideas
- Contextual Grounding: By using Knowledge Graphs (Figure 2), the LLM (GPT-4o) moves beyond generic advice. It understands the specific relationships between servers, firewalls, and historical attack patterns within that specific network.
- Dynamic Adaptation: The inclusion of a dynamic graph allows the AI to stay "in the loop" as the situation evolves, ensuring its suggestions remain relevant as the Blue Team takes defensive actions.
- Explainability: Rather than being a "black box," CyberAlly provides transparent reasoning. This is crucial for building trust in human-AI teaming, allowing defenders to verify the AI's logic before executing a command.
Key Results
- Noise Reduction: The de-duplication process was highly effective. For example, alerts categorized as "Priority 5" were reduced from 1,461 instances to just 78 unique alerts.
- Classification Accuracy: The kNN classifier performed exceptionally well after malicious samples were upsampled to address class imbalance. At a 10x upsampling scale, the model achieved a Precision of 0.9992 and an F1-score of 0.9994.
- Operational Impact: The demonstration showed that CyberAlly could successfully generate shell script-based commands for mitigation, significantly lowering the cognitive load on defenders during a simulated attack.
Limitations and Future Work
While the preliminary results are promising, the authors acknowledge that evaluating LLM outputs in the cybersecurity domain remains difficult due to the scarcity of high-quality, domain-specific datasets.
Future work will focus on gathering more qualitative feedback from practitioners during live exercises to further refine the human-AI collaboration aspect. The authors also aim to explore how this system can be adapted to other critical infrastructure sectors beyond maritime.
Summary updated