Suricata alerts from OPNsense in Wazuh 5: syslog, relay and enabling the integration
Suricata alerts from OPNsense in Wazuh 5: eve over syslog, an rsyslog relay writing clean JSON, agent error 1103 and enabling the suricata integration.
12 min readwazuh.blog/ knowledge base
Articles, guides and analyses about Wazuh. Pick a signal, go to the details.
Guides: installation · tuning · tips and tools · Wazuh AI · deployment in your organization
Suricata alerts from OPNsense in Wazuh 5: eve over syslog, an rsyslog relay writing clean JSON, agent error 1103 and enabling the suricata integration.
12 min readWazuh 5.0.0-rc2 in Docker: what changed since rc1, why rc1 must be deployed again, /etc/wazuh-manager, the apid certificate, passwords and agents.
11 min readWazuh Common Schema in Wazuh 5: categories, wazuh-events-v5 and wazuh-findings-v5 streams, templates, ISM retention, queries and 4.x wazuh-alerts-* equivalents.
11 min readWazuh 5.0-rc in Docker: single-node vs multi-node, certificates and wazuh-ca, password changes, volumes, backup, upgrade, building images and removal.
16 min readMigrating from Wazuh 4.x to Wazuh 5.0-rc step by step: index snapshots, agent enrollment import, rewriting the manager and dashboard configuration.
13 min readIs Wazuh 5 a next-gen SIEM? A tour of the 5.0-rc architecture changes versus 4.x: WCS schema, Sigma, findings, CTI, migration limits and a comparison table.
10 min readSigma rules in Wazuh 5: required fields, modifiers, logsource.product, the draft, test and custom spaces, detectors, findings and case statuses.
13 min readInstalling Wazuh 5.0 RC: hardware requirements, ports, the all-in-one installer, Docker, agent enrollment with a token, and the rules for migrating from 4.x.
15 min readPart 10 of the Wazuh 4 training: the osquery module with query packs, Sysmon via eventchannel and the Docker listener, with ossec.conf options and 4.14 rules.
20 min readPart 9 of the Wazuh 4 training: a CDB list in an SSH rule, Active Response commands, firewall-drop with a timeout, a custom script and integrator filters.
18 min readPart 8 of the Wazuh 4 training: Syscollector options, inventory queries via API and indexer, CVE alerts and rootcheck checks with rules 510 and 521.
18 min readWazuh 4 training part 7: FIM modes (scheduled, realtime, whodata), central syscheck configuration, audit fields in alerts and a maintenance window via groups.
17 min readWazuh 4 training part 6: levels 0-16, groups, rule syntax, overriding rule 5706, a custom rule family with correlation and a rule with a time window.
18 min readWazuh 4 training part 5: decoder options, a custom decoder, sibling decoders, the dynamic JSON decoder with Suricata logs and changing a default decoder.
21 min readWazuh 4 training part 4: three analysis phases, retention and archives, SSH brute force with rules 5710 and 5712, alert assessment and rule lookup.
20 min readWazuh 4 training part 3: remote agent upgrade, the agent-upgrade module, agent.conf with filters, verify-agent-conf, remote commands and mass deployment.
19 min readWazuh 4 training part 2: groups before enrollment, MSI deployment variables, agent-auth, the enrollment block, agent status checks and enrollment errors.
18 min readWazuh 4 training part 1: server components, dashboard menu, log_alert_level and enrollment password in ossec.conf, API token, custom dashboard, PDF report.
16 min readStart of a free ten-part Wazuh 4 training: from the server and agents through decoders, rules and FIM to Active Response, Osquery and Sysmon.
7 min readWazuh indices default to three shards and zero replicas. How to add replicas, spread copies across awareness zones and verify it in the OpenSearch 2.19 API.
10 min readHow to spread Wazuh 4.14 agents across cluster workers: NGINX stream, HAProxy with leastconn, the HAProxy helper, Dataplane API and 19 haproxy_helper options.
10 min readThe Wazuh 4.14 ms-graph module pulls Microsoft Graph alerts_v2 and Defender incidents: permissions, ossec.conf options, built-in 995xx rules and a custom rule.
10 min readBuild a correlation rule for repeated requests, scope active response to the resulting rule, and check fields, conditions and timeouts in logtest.
9 min readTurn a management controller syslog sample into decoder fields, a rule and a logtest check, keeping the source format separate from the Wazuh logic.
11 min readRestarting Wazuh agents via the server API: endpoints, parameters, partial error responses, daemon statistics, and agent_control limits in a cluster.
10 min readWazuh localfile block for journald: PCRE2 filters, AND and OR logic, conversion to syslog format and examples with decoders for CRON and Docker.
9 min readDirective 2022/2555: the Article 21(2) measures and the Article 23 reporting deadlines. What Wazuh supports and what a SIEM does not cover.
10 min readCollect OS versions from Wazuh 4.14 agents via Syscollector, the API and the indexer, and compare them with Ubuntu, Debian and Windows end of support dates.
12 min readDeploy rules, decoders and CDB lists from a git repository to a Wazuh 4.14 manager or cluster: PUT /rules/files, logtest, validation, restart, RBAC, rollback.
11 min readUpgrading Wazuh 4.x central components to 4.14.10: version compatibility, the order indexer, manager, dashboard, vendor commands and checks after each stage.
13 min readFive Zabbix 7.0 templates for Wazuh 4.14: data sources, read-only users in API and OpenSearch, agent access through ACLs and upgrading from the old template.
11 min readAnalyst approval before Active Response: PUT /active-response, RBAC on agents, and a single-use approval record with an expiry time, plus a gate script.
10 min readMerge repeating alerts into one incident: frequency and ignore in rules, a fingerprint with a time bucket, an OpenSearch upsert write, and collapse for review.
11 min readHow to rank CVEs from the wazuh-states-vulnerabilities index: indexer export, EPSS from the FIRST API, CISA KEV, a curl and jq script, and metric limits.
10 min readWazuh Vulnerability Detection: the Syscollector inventory, CVE correlation with CTI data, feed-update-interval, Active and Solved statuses and a Vim PoC test.
9 min readHow Wazuh ingests the Sysmon Operational channel as eventchannel: the 60000, 60004 and 61600 rule chain, win.eventdata fields and a custom child rule.
8 min readCorrelation in Wazuh rules: frequency and timeframe, if_matched_sid, same_* and different_* grouping, ignore, and testing event series in wazuh-logtest.
8 min readLocalfile setup for multi-line logs in Wazuh: multi-line with a fixed line count, multiline_regex with match, replace and timeout, plus ignore and restrict.
8 min readWhen the Wazuh manager marks an agent as disconnected: keepalive, agents_disconnection_time and its alert, notify_time, the agent state file, API and wazuh-db.
9 min readHow Wazuh loads rules and decoders: the ruleset block, rule_dir with pattern, rule_exclude, alphabetical order, local_rules.xml, overwrite and manager restart.
8 min readHow the Wazuh agent buffer works, what the client_buffer limits and alerts 202-205 mean, and how to judge the risk of lost events before the manager.
8 min readWazuh 4.14 CDB list attributes in rules, shipped lists, file management through the API and a full example: list file, ossec.conf, rule and logtest.
10 min readConfiguring wazuh-integratord and email in Wazuh: level, rule_id and group filters, custom- scripts, the email_maxperhour limit and email_alerts blocks.
9 min readwazuh-logtest in practice: CLI options (-v, -U, -l), phases 1-3 and firedtimes, the PUT /logtest API with session closing, and rule_test defaults.
10 min readWazuh decoders in practice: tag table, OS_Regex and pcre2 syntax, sibling decoders, dynamic fields, and an example with the expected Phase 2 output in logtest.
10 min readWazuh agent groups: agent_groups and API endpoints, multi-group order, name, os and profile filters in agent.conf, verify-agent-conf, merged.mg and sync checks.
10 min readSyscheck directories attributes with defaults, scan scheduling, whodata on Linux and Windows, syscheck.* alert fields and rules 550, 553 and 554.
14 min readWazuh 4.14 active response: command and active-response options, the script JSON protocol, stateful vs stateless, check_keys and an SSH block via firewall-drop.
11 min readarchives.log, archives.json and alerts.json: the logall, logall_json and log_alert_level options, Filebeat archives, wazuh-archives-* and file rotation.
9 min readEventChannel in Wazuh: localfile, query with XPath and QueryList, Windows Event Log syntax limits, and the win.system and win.eventdata fields used in rules.
10 min readHow to write a custom Wazuh SCA policy: YAML sections, the all, any, none conditions, rule types, deployment via agent.conf, scan schedule and reading results.
12 min readWazuh rule levels 0-16, the log_alert_level and email_alert_level thresholds, the email limit, no_log and alert_by_email, and changing a level with overwrite.
10 min readHow a Wazuh agent enrolls through the enrollment block and agent-auth: authd.pass, certificate checks on both sides, auth options with defaults, and errors.
12 min readConnect external alert analysis to Wazuh through the Integrator: custom- options, script arguments, the queue socket, and a decoder and rules for the result.
10 min readWhen Wazuh loses events: how to read events_dropped and the queues in wazuh-analysisd.state, compute deltas between readings and relate them to CPU load.
9 min readMatching a CVE to inventory software: where the Syscollector version comes from, how to read ranges in CVE JSON 5 and NVD, and when the result is UNKNOWN.
10 min readSyscheck configuration for a WordPress tree, FIM alert fields, rules 550, 553 and 554, and collisions with rule 86600 when JSON keys have generic names.
10 min readAn ISM policy with a delete action on the wazuh-states-* pattern can empty vulnerability state indices. How to check the policy assignment and design retention.
9 min readEvent 4104 in Wazuh: enabling Script Block Logging, the PowerShell/Operational channel, built-in rules 91801-91846, win.* fields and a custom pcre2 child rule.
11 min readWazuh sshd rules: level 0, if_sid, CDB lists and overwrite. How to cut noise without losing the 5712 and 5720 alerts, plus a wazuh-logtest regression set.
11 min readWazuh cluster: the cluster block with defaults, port 1516, cluster_control, the API, analysisd.state, filebeat test output and the limits of each check.
10 min readFrom raw log to Wazuh rule: decoder, local_rules.xml with IDs 100000-120000, three wazuh-logtest phases and overwrite for rule 5710 without editing the ruleset.
10 min readTie together access log, PHP and WordPress application events in Wazuh rules: the 207 code from /batch/v1, rest_route, user creation and correlation.
10 min readHow to test Wazuh web rules for WordPress: wazuh-logtest phases, the -U option, the PUT /logtest API, positive and negative fixtures, and rules 31100 to 31151.
10 min readRoles of the Wazuh agent, server, indexer and dashboard, a port table for 1514, 1515, 9200 and 55000, and quickstart sizing for all-in-one up to 100 agents.
8 min readHow to read a Wazuh JSON alert: rule.level, groups, MITRE, decoder, location and firedtimes, and when to reach for the archives. With a triage checklist.
9 min readChange the query or clear the filters.