Connecting Wazuh and Microsoft Defender
How to bring EDR alerts into VamiBlue by upload, by pull, or by push, which permissions to grant, and what the platform does with them.
Choose Watch my systems for alert review or Analyze evidence for file investigations. VamiBlue reads EDR data; it never changes your EDR. Connect an existing deployment: VamiBlue does not install agents on monitored computers. There are three ways in, and you can mix them.
1. Upload an export
Drop the file into a case like any other evidence. VamiBlue recognises it by its field names.
- Wazuh:
alerts.jsonorarchives.jsonfrom the manager (/var/ossec/logs/alerts/), rotated.json.gzfiles, or the response of an indexer search. - Microsoft Defender: alert JSON from the Microsoft Graph security API (
alerts_v2) or the Defender for Endpoint API, and advanced hunting results as CSV or JSON (device, process, network, file, logon and registry tables, plus the alert tables).
Every record becomes an event in the timeline. Alerts rated high or critical become findings with their MITRE techniques. Many failed logins from one address become a brute-force finding, and a success after the failures becomes a critical one. A rule that fires thousands of times at a low level is kept in part, so the timeline stays readable.
2. Pull from the system
Under Watch my systems → Connected sources save the connection once. Use Fetch alerts on the detection page to review recent alerts without creating a case. Alternatively, use Evidence → Import → EDR inside an existing case to import and analyse the last hours.
- Wazuh: the indexer address (OpenSearch, usually port 9200) and an account with read access to
wazuh-alerts-*. Create a dedicated read-only role for it. Keep TLS verification on unless the certificate is self-signed in a lab. - Microsoft Defender: in Microsoft Entra create an app registration, add the application permission `SecurityAlert.Read.All` for Microsoft Graph, grant admin consent, and create a client secret. Enter the tenant ID, the application (client) ID and the secret.
The password and the secret are stored on the VamiBlue server only and are never shown again. Test connection checks the sign-in and the search without importing anything.
3. Push from the system
Under Watch my systems → Connected sources → Push from your EDR create a webhook address. It contains a secret token, so treat it like a password; replacing it invalidates the old one. Alerts arrive in the Alert inbox, without opening a case or starting forensic analysis. Identical source records are deduplicated. Review a record, dismiss it with a reason, or choose Investigate to open a case containing that original record and its receipt hash. The new case uses manual analysis; start it when ready. Existing EDR feed cases remain available, but new webhook deliveries go to the inbox.
- Wazuh: add a custom integration to
ossec.confand a small script that posts the alert file to the address.
<integration> <name>custom-vamiblue</name> <hook_url>https://vamiblue.example/api/edr/hook</hook_url> <level>10</level> <alert_format>json</alert_format> </integration>
#!/usr/bin/env python3
# /var/ossec/integrations/custom-vamiblue.py (owner root:wazuh, mode 750; add a wrapper named custom-vamiblue)
import sys, requests
alert_file, token, hook_url = sys.argv[1], sys.argv[2], sys.argv[3] # set <api_key> to the token in the integration block
requests.post(hook_url, data=open(alert_file, "rb").read(), headers={"X-VB-Token": token}, timeout=15)- Microsoft Defender: an Azure Logic App or a Microsoft Sentinel automation rule with an HTTP action posts the alert JSON to the address.
Collections from Velociraptor and KAPE
Upload the offline collector ZIP of Velociraptor (or a hunt export) or the output folder of KAPE as a ZIP or VHDX. VamiBlue unpacks it and treats every file by its type: event logs, registry hives, prefetch and the other Windows artefacts go to their usual tools. Velociraptor's own result files (results/Windows.System.Pslist.json, Netstat, Services, YARA detections and others) are read directly: processes, connections and services become timeline events, an Office program that starts a shell or a program running from a user-writable folder becomes a finding, and every other artefact is searchable row by row.
From alerts to action
The case overview then shows a response plan: which hosts to isolate, which accounts to reset, which addresses and files to block, what to collect before anything is wiped, and who must be informed. For each action it says how to do it in Defender, in Wazuh and in general, and gives a query that finds the same indicator on your other hosts. VamiBlue only recommends. You carry the actions out and tick them off, and every decision is kept in the chain of custody.