IDPS-ESCAPE (Intrusion Detection and Prevention System - Enhanced Security through a Cooperative Anomaly Prediction Engine) is a sub-project of CyFORT implementing a MAPE-K-based (Monitor, Analyze, Plan, Execute, Knowledge) Security Orchestration, Automation, and Response (SOAR) system. Developed in the context of IPCEI-CIS, it targets SMEs, CERT/CSIRT entities, SOC managers, system administrators, security engineers and cloud deployments.

Core components:
Built on: Ansible, OpenSearch, Wazuh, Flowintel and PyFlowintel, Suricata, MISP
We adopt a hybrid detection approach for defense-in-depth against known and emerging threats, combining signature-based engines (Wazuh, Suricata) and machine learning (ML) algorithms for ML-based anomaly detection (AD) through SONAR and RADAR relying on MTAD-GAT (attention mechanism and deep learning) and RRCF (random forest) for streaming data, respectively.
This repository contains complete documentation, user manual, technical specifications, and validation test reports based on the C5-DEC method. See our traceability website for interlinked specifications and the TRB page providing our beta phase validation test execution report.
Table of contents
RADAR provides hybrid detection and intelligent automated response with Ansible-based Infrastructure-as-Code deployment:
Deployment modes:
| Wazuh Manager | Wazuh Agents | Use Case |
|---|---|---|
| Local | Local | Single-node testing/development |
| Local | Remote | Central manager with distributed endpoints |
| Remote | Remote | Fully distributed production |
See RADAR README, scenarios, adversarial ML guidance and developer README.
SONAR provides production-grade anomaly detection:
See SONAR README, scenario guide, architecture and developer README.
We provide a complete Infrastructure-as-Code (IaC) deployment mechanism using Ansible, enabling teams to spin up a fully operational environment automatically and consistently, currently supporting only RADAR. This ensures a reproducible, scalable installation process suitable for production environments, testbeds, or research. We also provide a detailed technical documentation of the manager automation pipeline.
The automated setup includes:
⚠️ Legacy System: ADBox uses MTAD-GAT for research purposes only. Use SONAR for all production deployments.
ADBox is maintained for research continuity with PyTorch-based Graph Attention Networks. See the ADBox manual for legacy documentation.
See our user manual for comprehensive documentation on RADAR, SONAR, and ADBox. Visit our traceability page for interlinked requirements, technical specifications such as architecture diagrams, and test reports (TRB).
Prerequisites:
radar/.env with credentials (see env.example):
http://<manager-ip>:8080/notify)radar/inventory.yaml for remote endpoints (if using --agent remote or --manager remote)# Bootstrap entire stack with Ansible
cd radar
sudo ./build-radar.sh geoip_detection --agent remote --manager local --manager_exists false
See the RADAR getting started page for more details.
What this deploys:
Here we provide a screenshot of a successful run of the Geo IP detection RADAR scenario:
The currently implemented active response sends an email to a designated recipient.

Additionally, if Flowintel is configured, the RADAR active response module creates a case in Flowintel for medium and high risk scenarios.

See RADAR getting started for deployment modes and configuration.
SONAR provides scenario-based anomaly detection with flexible execution modes:
# Install and connect to Wazuh
poetry install --only sonar
# Check Wazuh connection
poetry run sonar check
# Run complete scenario (train + detect)
poetry run sonar scenario --use-case sonar/scenarios/brute_force_detection.yaml
# Debug mode (offline testing with synthetic data)
poetry run sonar scenario --use-case sonar/scenarios/example_scenario.yaml --debug
# Production mode with data shipping to RADAR
poetry run sonar scenario --use-case sonar/scenarios/my_scenario.yaml --ship
See the SONAR documentation for details.
Data shipping for Wazuh and RADAR integration:
What --ship does:
Why shipping matters: Without --ship, anomalies are indexed to a generic index. With --ship, each scenario gets a dedicated data stream (e.g., sonar_anomalies_mvad_brute_force_v1), enabling scenario-specific RADAR rules, dedicated dashboards, and independent data lifecycle policies.
# Ship anomalies to dedicated data stream during detection
poetry run sonar detect --scenario sonar/scenarios/my_scenario.yaml --ship
Benefits:
sonar_anomalies_mvad_brute_force_v1)See the data shipping guide for configuration details and the dashboard tutorial for visualization and instructions explaining how to build such a dashboard (same process for SONAR and ADBox).

Zero infrastructure required - SONAR’s debug mode uses synthetic test data for offline evaluation:
# Install and test with debug mode (no Wazuh, no OpenSearch, no containers)
poetry install --with sonar
poetry run sonar scenario --use-case sonar/scenarios/example_scenario.yaml --debug
What debug mode provides:
| Component | RAM | Storage | CPU |
|---|---|---|---|
| Wazuh Manager | 8 GB minimum | ~15 GB | 4 cores |
| SONAR | 4 GB | ~2 GB (models) | 2 cores |
| RADAR | 2 GB | ~1 GB | 2 cores |
| Wazuh Agents | 512 MB each | ~500 MB each | 1 core |
| Full Stack | 16 GB+ | ~26 GB total | 8+ cores |
.env)Components can run on separate nodes for distributed deployments. See deployment guide for multi-node setups and Docker deployment for containerized options.
Build and run with convenience scripts:
# Build images
./build.sh all # All components
./build.sh sonar # SONAR only
# Run SONAR
./sonar.sh check # Check Wazuh connection
./sonar.sh scenario --use-case sonar/scenarios/example_scenario.yaml --debug
# Run ADBox (legacy)
./adbox.sh -u 1
# Run with custom arguments
./adbox.sh <your-adbox-arguments>
Note: Docker-based execution requires building the images first with build.sh.
# Install dependencies
poetry install --with sonar,radar,adbox,test
# Run tests
poetry run pytest tests/sonartests/ # SONAR
poetry run pytest tests/ # All
./radar/test.sh # RADAR
# SONAR CLI
poetry run sonar check
poetry run sonar scenario --use-case sonar/scenarios/example.yaml --debug
# Docker builds
./build.sh all
See SONAR README and RADAR README for component-specific development guides.
See our traceability page for test reports (TRB) and RADAR test framework for automated experimentation.
See Wiki for detailed roadmap.
Provided for evaluation and testing. While SONAR and RADAR have been deployed in controlled environments, conduct thorough security assessments before production use. Use at your own risk.
Copyright © itrust Abstractions Lab and itrust consulting. Licensed under GNU AGPL v3.0. See AUTHORS for contributors.
Co-funded by the Ministry of the Economy of Luxembourg in the context of the CyFORT project.
Abstractions Lab: info@abstractionslab.lu