Abstract
Insider threats—malicious actions taken by individuals with legitimate access—account for nearly one-third of all cybercrime. Detecting these threats is a significant challenge due to the massive volume of enterprise logs and the scarcity of labeled attack data. We present RedChronos, a novel system that utilizes Large Language Models (LLMs) to automate log analysis. RedChronos features a Query-Aware Weighted Voting mechanism to aggregate insights from multiple models and a Genetic Algorithm to iteratively evolve and optimize prompts. Our evaluation shows that RedChronos achieves state-of-the-art detection rates (up to 0.993 on CERT v5.2) and reduces manual security review workloads by 90% in real-world deployments.
Introduction
The "insider threat" is one of the most difficult security challenges to solve because the actors already possess authorized access to internal systems. Traditional detection methods often struggle with high false-positive rates and a lack of interpretability. While Large Language Models (LLMs) offer advanced reasoning capabilities that could address these issues, they are prone to hallucinations and are highly sensitive to prompt engineering. RedChronos addresses these limitations by creating a self-evolving framework that optimizes LLM performance for threat detection.
System Architecture
RedChronos is designed as a multi-stage pipeline that filters and evaluates log data before dispatching it to an ensemble of LLMs.
The system consists of three primary components:
- Pipeline System: Includes a Gate for initial security checks, a Filter to isolate relevant logs, and an Evaluation stage to score confidence.
- LLM Gate & Model Dispatch: Manages a fleet of diverse LLMs (e.g., DeepSeek, Qwen, Llama) and applies weighted voting logic.
- Audit System: Facilitates human-in-the-loop review by security engineers and experts.
Methodology
Query-Aware Weighted Voting
To mitigate individual model biases and hallucinations, RedChronos employs a weighted ensemble approach. The system calculates a "Model Score" based on historical performance metrics: Precision, Detection Rate, Accuracy, and False Positive Rate. Only models exceeding a performance threshold (typically 80 points) contribute to the final decision. Their votes are weighted by their reliability, ensuring that the most accurate models have the greatest influence on the final alert.
Semantic Expansion-based Genetic Algorithm
A core innovation of RedChronos is its ability to automatically optimize its own prompts. Recognizing that different models respond differently to the same instructions, the system treats prompts as "DNA" in a genetic algorithm.
The evolutionary process follows these steps:
- Initialization: Start with a "seed prompt."
- Evaluation: Test the prompt against a known dataset to identify failures (e.g., false positives).
- Mutation: Use an LLM to analyze errors and "mutate" the prompt by rewriting rules to address specific weaknesses.
- Selection: Retain the highest-performing prompts for the next generation.
Experimental Evaluation
The system was evaluated using the industry-standard CERT (v4.2 and v5.2) datasets and a real-world dataset of 10,000 alert logs from the Xiaohongshu Security Operation Center (SOC).
Key Results
RedChronos demonstrated superior performance compared to existing state-of-the-art methods like Audit-LLM and LogGPT:
- Detection Rate (DR): Achieved 0.987 on CERT 4.2 and 0.993 on CERT 5.2.
- False Positive Rate (FPR): Maintained a low FPR of 0.019 to 0.022, significantly reducing alert fatigue.
- Operational Efficiency: In the Xiaohongshu SOC deployment, RedChronos reduced the volume of logs requiring manual human intervention by 90%.
Conclusion
RedChronos represents a significant advancement in automated insider threat detection. By combining a robust multi-model voting mechanism with an evolutionary prompt optimization engine, the system achieves high accuracy while drastically reducing the manual burden on security teams. Future work will focus on optimizing LLM inference latency and implementing dynamic weighting based on real-time feedback loops.
Summary updated