GUARDIUM is an intelligent Wazuh rule optimization framework designed to reduce false positives, improve alert accuracy, and assist SOC teams in maintaining high-quality SIEM detections. GUARDIUM combines rule analysis, threat context, and Large Language Models (LLMs) to automatically evaluate, explain, and optimize Wazuh rules.
-
Wazuh Rule Optimization Automatically analyzes existing Wazuh rules and suggests improvements to reduce noise and false positives.
-
False Positive vs True Positive Analysis Uses contextual reasoning and historical alert patterns to distinguish between false positives and real threats.
-
LLM-Powered Rule Refinement Integrates fine-tuned Large Language Models to rewrite or enhance Wazuh rules without breaking their original structure.
-
Autonomous Detection Levels Supports multi-level detection logic (e.g., heuristic, behavioral, and autonomous threat scoring).
-
Explainable Security Decisions Provides human-readable explanations for why a rule is optimized or flagged as weak.
GUARDIUM is designed as a modular system:
-
Input Layer
- Wazuh rules (XML)
- Wazuh alerts and logs
-
Analysis Engine
- Pattern recognition
- Threat scoring
- Historical event correlation
-
LLM Optimization Layer
- Rule evaluation
- Rule rewriting suggestions
- False positive reasoning
-
Output Layer
- Optimized Wazuh rules
- Explanation reports
- Python 3.10+
- Wazuh Manager
- GPU recommended (for LLM inference)
bash setup.shRun the interactive optimization engine:
python chat.pyYou can:
- Paste Wazuh rules for evaluation
- Submit logs/alerts for false/true positive analysis
- Request optimized versions of existing rules
- SOC teams struggling with alert fatigue
- Blue teams tuning Wazuh rules
- Security researchers studying detection quality
- SIEM environments with high false positive rates
GUARDIUM follows a human-in-the-loop approach:
- Rules are suggested, not automatically enforced
- Analysts maintain full control
- Transparency and explainability are prioritized
- Web-based dashboard
- Direct Wazuh API integration
- Continuous learning from analyst feedback
- Rule performance scoring metrics
This project is released under the MIT License.
UNKNOWNMAN
Cyber Security Enthusiast
- Wazuh Community
- Open-source security researchers
- Authors fellas
- LLM and AI security practitioners
GUARDIUM aims to act as a digital security analyst—reducing noise, improving clarity, and strengthening detection logic.