r/Wazuh • • 2d ago

Wazuh current version?

2 Upvotes

Wo zum Teufel sehe ich auf Wazuh.com was die aktuelle stable version ist? Hab jetzt alles durchgeklickt. Bin ich blind?


r/Wazuh • • 2d ago

Sequential correlation in Wazuh 4.x: detecting event A followed by event B

4 Upvotes

I've been writing a series about how Wazuh rules work, and I recently published the third part, which focuses on sequential correlation. The previous articles covered how Wazuh rules are connected and how to distinguish atomic conditions from temporal ones, while this one explores detecting events that occur in a specific order.

For instance, an event triggers rule A, followed by another event triggering rule B. We want rule C to detect that sequence, provided both events occur within 60 seconds and share the same source IP. It turns out we can do this with a single Wazuh rule:

<rule id="100575" level="12" timeframe="60">   <if_matched_sid>100570</if_matched_sid>
    <if_sid>100505</if_sid>
    <same_srcip />
    <description>Sequential correlation from $(srcip).</description>
</rule>

The frequency behaviour surprised me most. The rule does not need a frequency, because Wazuh defaults it internally to zero, which allows one previous matching event to satisfy the condition. Yet explicitly setting frequency="0" or frequency="1" is invalid, while frequency="2" produces the same internal value as omitting it.

I went through the Wazuh 4.14.10 source code to understand why, then tested the behaviour against a running manager. One result I did not expect was that A → B → B can trigger the correlation twice, because the earlier A remains eligible for subsequent matches.

I also looked into the distinction between if_sid and if_matched_sid, how Wazuh maintains historical matches, and what happens when events arrive in the wrong order or have different source IPs.

The implementation details and test results are in the article Understanding Wazuh rules, part III: sequential correlation, and the test project is available if anyone wants to reproduce the results.

I'm curious whether anyone here is using similar sequential correlations in production. Have you encountered limitations with Wazuh's built-in correlation, particularly when trying to connect different event types?


r/Wazuh • • 2d ago

Wazuh 4.14.11 has been released!

Thumbnail
documentation.wazuh.com
31 Upvotes

Wazuh 4.14.11 has been released!

See the Release Notes for more details on the changes and enhancements

Thank you for being part of Wazuh!


r/Wazuh • • 2d ago

Turn Quarkus Security Events into Wazuh Alerts

Post image
8 Upvotes

I was sending JSON audit logs from a Quarkus app to Wazuh 4.14.8 when I ran into a field name collision. I’d called one of my fields event_type. Wazuh decoded the JSON, but the records matched Suricata rule 86600 before they reached my custom rules. Renaming the field to audit_event_type fixed it, and I could keep using the built-in JSON decoder.

I wrote up the setup with two examples you can run locally. One shows who was denied an admin export and who later completed one. The other uses same_field to raise an alert after five failed logins from one IP within 60 seconds. The walkthrough includes a sample record you can paste into wazuh-logtest to see which rule matches.

Read the full post here: https://www.the-main-thread.com/p/quarkus-security-events-wazuh-siem


r/Wazuh • • 5d ago

Wazuh Vulnerability Detection Filter on Agent groups

6 Upvotes

Hi,

Trying to figure wazuh out for some Vulnerability Detection as project. Created some groups for the agent. But why dont we can filter on those same groups in webui?

This is the one feature that we want to use because of the amount of clients. Why isnt possible to use it as filter? on the Vulnerability Detection page?

The same with Labels. You can create them, but no way to use them...

Can anybody collibrate?


r/Wazuh • • 8d ago

Official Detecting Linux impact techniques (dd, shred, lvremove, wipefs) with Wazuh: auditd + FIM who-data (rules inside)

Post image
10 Upvotes

Ransomware and wiper attacks on Linux usually finish with destructive actions: overwriting files, stopping backup and security services, deleting LVM and Btrfs snapshots, wiping disks and locking accounts. Much of it runs through tools admins use daily (dd, shred, systemctl, lvremove), which makes it hard to separate from maintenance.

We wrote up how to detect six MITRE ATT&CK Impact techniques (T1485, T1489, T1490, T1529, T1561 and T1531) on Ubuntu 24.04 with Wazuh 4.14.10, using auditd rules, FIM in who-data mode and custom rules. For example, the audit rules for data destruction:

## T1485 Data Destruction

-w /usr/bin/shred -p x -k impact_destruction

-w /usr/bin/dd -p x -k impact_destruction

One caveat: administrators also use dd if=/dev/zero to create swap files and disk images, so the dd rule may need tuning by audit.auid or with a CDB list of maintenance endpoints.

Full write-up with all audit rules, detection rules and attack simulations: https://wazuh.com/blog/detecting-common-linux-impact-techniques-with-wazuh/?utm_source=reddit&utm_medium=social&utm_campaign=blog_2026-11-19


r/Wazuh • • 9d ago

How do you actually get alerted fast from wazuh and react when some new critical CVE drops?

Thumbnail reddit.com
4 Upvotes

r/Wazuh • • 9d ago

Wazuh - Java4shell vulnerability

10 Upvotes

Hi

Is there a solution to fix or mitigation for Java4Shell (CVE-2026-114948) with the indexer?


r/Wazuh • • 9d ago

What are your advice on using wazuh agent for offsite connection or remote connection?

2 Upvotes

I would like to implement Wazuh to monitor device on offsite or remote environment.
My dilemma was on establishing a secure connection from the agent to the server.
What would your advice for these kind of setup.


r/Wazuh • • 15d ago

Pulling Microsoft SQL execution logs on to Wazuh Dashboard

1 Upvotes

Has anyone setup audit feature in Microsoft sql server and pushed that data into wazuh dashboard

Getting logs on sql commands execution like insert, delete, create etc.

Any kind of writeups or guides are appreciated


r/Wazuh • • 15d ago

Detecting APT repository tampering on Ubuntu with Wazuh

Thumbnail
wazuh.com
13 Upvotes

r/Wazuh • • 18d ago

Wazuh password spraying

9 Upvotes

I wrote up how I detect password spraying in Wazuh. The built-in brute-force rules count failures on one account, so a spray (one password, many accounts) never trips them. This rule counts failed logons from the same IP with a different username each time:

<rule id="100400" level="12" frequency="8" timeframe="60">  
  <if_matched_sid>60122</if_matched_sid>  
  <same_field>win.eventdata.ipAddress</same_field>  
  <different_field>win.eventdata.targetUserName</different_field>  
  <description>Possible password spraying from $(win.eventdata.ipAddress)</description>  
</rule>

Tested it against DC with nxc. The post also covers Kerberos sprays (4771 with 0x18, and 4768 with 0x6 for usernames that don't exist), alerting on a successful logon right after a spray.

One thing I haven't solved well: slow sprays spread over several IPs, since per-IP counting never fills up. How are you handling those?
https://vedrandojcinovic.com/blog/detecting-password-spraying-wazuh/


r/Wazuh • • 18d ago

Wazuh 4.14.9 – Persistent API error 3099 (Invalid credentials), lost RBAC permissions and agent group assignments after recovery attempts

6 Upvotes

Hi everyone,

I’m looking for help recovering our Wazuh environment after a series of issues with the Manager database and configuration recovery attempts.

Environment

  • Wazuh version: 4.14.9
  • Deployment: Single-node installation (Manager, Indexer, Dashboard)
  • OpenSearch Indexer / Dashboard: 2.19.6
  • Operating system: Ubuntu
  • Hostname: wazuh

Initial problems

We initially encountered issues with the Wazuh Manager database, including global.db locks and multiple wazuh-db processes running simultaneously.

During troubleshooting and recovery attempts, the situation became significantly worse. We lost a substantial part of our Wazuh configuration:

  • Agents disappeared from the Dashboard.
  • Agent groups disappeared.
  • Assignments of agents to their respective groups were lost or altered.
  • Group configurations and associated settings were lost or modified.
  • Administrative permissions in the Dashboard were lost.
  • API authentication started failing with error 3099 – Invalid credentials.

Our goal is to recover the complete original state of the environment, not simply restore access to the Dashboard.

API authentication issue

The Dashboard uses the API account wazuh-wui, configured in:

/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml

The Wazuh API RBAC database is located at:

/var/ossec/api/configuration/security/rbac.db

We verified that the users table contains:

  • wazuh
  • wazuh-wui

Both accounts have allow_run_as=1.

Direct authentication against the API:

POST https://127.0.0.1:55000/security/user/authenticate?raw=true

returns:

{
  "title": "Unauthorized",
  "detail": "Invalid credentials"
}

We used the Wazuh RBAC utility:

/var/ossec/bin/rbac_control change-password

We changed the passwords for the default RBAC users. However, this did not permanently resolve the authentication issue, and error 3099 continues to occur.

OpenSearch Security checks

We have checked the OpenSearch Security configuration:

  • Users have the backend role admin in internal_users.yml.
  • The all_access role maps the backend role admin.
  • The custom role all_access_admini_[COMPANY NAME] exists, but its current role mapping contains no users or backend roles.

We also have:

  • An RBAC database backup from October 19, 2026.
  • The current RBAC database from October 21, 2026.

What we need to recover

We need to restore the entire environment to its original state, including:

  • All previously existing agents.
  • All original agent groups.
  • The original assignments of agents to their respective groups.
  • The original group configurations and associated files.
  • Full administrative permissions for all intended users.
  • Working Wazuh API authentication and Dashboard functionality.
  • Existing agent IDs and authentication keys.

We want to avoid losing any further data or configuration. We have already experienced significant configuration loss during the recovery process.

Questions

  1. What is the recommended procedure to recover the missing agents, groups and group assignments?
  2. How can we safely restore the original RBAC configuration and administrative permissions?
  3. Could the persistent 3099 – Invalid credentials error be related to the RBAC database or the Dashboard API credentials?
  4. Is restoring the October 19 RBAC database backup sufficient, or do we also need to restore other configuration files?
  5. Is there a safe way to recover the original environment without reinstalling Wazuh or resetting the entire configuration?

Has anyone experienced a similar situation with Wazuh 4.14.9?

Any advice, troubleshooting steps or recommendations for a safe recovery procedure would be greatly appreciated.


r/Wazuh • • 19d ago

Wazuh Agents Disconeccted After Upgrading Manager to 4.14.9 — Connection Reset and SSL Error (5)

4 Upvotes

Hi everyone,

I'm currently experiencing an issue with my Wazuh deployment where multiple agents are showing as Disconnected, even though the Wazuh Manager service is running and listening on the correct ports.

I've been troubleshooting this for several days and would appreciate some guidance.

I'm using a distributed Wazuh deployment:

  • VM 1: Wazuh Indexer (4.14.9)
  • VM 2: Wazuh Manager and Dashboard (4.14.9)
  • Agent versions: Some agents are still running Wazuh 4.10.1
  • Agent operating systems: Ubuntu Linux, Fedora Linux, and Windows
  • Manager RAM: Approximately 10 GB
  • Swap: Disabled
  • Communication protocol: TCP 1514

I recently upgraded the Wazuh central components to version 4.14.9. I also downgraded Filebeat to version 7.10.2-2 after encountering compatibility issues.

The problem is that several Wazuh agents are showing as Disconnected in the Manager.

Some devices are intentionally powered off, but two agents that remained powered on also became disconnected:

  • Agent 003: Ubuntu Linux, Wazuh Agent 4.10.1
  • Agent 006: Fedora Linux

My questions

  1. Could the version difference between Wazuh Manager 4.14.9 and Wazuh Agent 4.10.1 cause these intermittent disconnections?
  2. What commonly causes SSL error (5) and Connection refused by the manager during agent key enrollment?
  3. Could insufficient RAM or the absence of swap cause wazuh-remoted to become unresponsive even while the Manager service remains active?
  4. Could agent authentication keys become invalid or inconsistent after upgrading the central components?
  5. What additional logs or commands would help identify why agents briefly reconnect and then disconnect again?

I would prefer to diagnose the root cause before re-enrolling or reinstalling all the agents.

Any suggestions would be greatly appreciated. Thanks in advance!


r/Wazuh • • 20d ago

Azure Ubuntu → On-Prem Wazuh 4.14.8 over Tailscale: verified SSH detection without exposing the SIEM

5 Upvotes

I recently completed a small lab connecting an Azure Ubuntu 24.04 VM to a Wazuh Manager running locally on VMware.

My goal was to collect SSH authentication events from Azure without exposing the Wazuh Manager to the public internet.

Environment:

  • Azure Ubuntu 24.04 with Wazuh Agent 4.14.8
  • Local Wazuh Manager 4.14.8 on VMware
  • Tailscale private network
  • TCP 1514 for agent communication and 1515 for enrollment
  • SSH event collection through systemd-journald

What I tested:

The Azure agent registered successfully as Agent 002.

I generated one controlled SSH login attempt with a nonexistent username against the Azure VM's loopback interface.

The event reached the local Wazuh Manager and triggered Rule 5710, Level 5.

I also confirmed the alert in Wazuh Dashboard under Threat Hunting.

After validation, I tested private SSH access through Tailscale, removed the temporary public SSH NSG rule, and deallocated the Azure VM.

One interesting detail: Tailscale connectivity was working through a DERP relay rather than a direct peer-to-peer connection. That was sufficient for this low-volume lab.

This is not production monitoring or evidence of a real attack — just a verified end-to-end integration test.

Question for others running Wazuh across cloud and on-prem environments:

How do you handle monitoring and alerting when the VPN connection drops or an agent becomes disconnected? Do you rely on Wazuh's built-in agent status monitoring, or use a separate health-check mechanism?


r/Wazuh • • 20d ago

".opendistro-ism-config" index is duplicated (a copy of this shard is already allocated to this node) in Wazuh 4.14.10

1 Upvotes

Hello.

I created a retention policy in Wazuh 4.14.10 following this guide:
https://documentation.wazuh.com/current/user-manual/wazuh-indexer-cluster/index-lifecycle-management.html

After this I have now the cluster in Yellow state, because I have another ".opendistro-ism-config" index and it's in Unassigned state (""explanation": "a copy of this shard is already allocated to this node [[.opendistro-ism-config][0]").

How can I solve?

Thank you!
Best.


r/Wazuh • • 20d ago

Wazuh Dashboard Check Timeout Issues

Post image
6 Upvotes

Hi respected Wazuh members and everyone in the Wazuh community,

I would like to ask for your advice regarding an issue with my Wazuh environment.

My Wazuh Dashboard frequently displays health check timeout alerts. Additionally, when I try to filter or query data, the dashboard sometimes gets stuck on the loading health check screen and eventually times out.

I have tried capturing and reviewing logs on the indexer and dashboard servers, but I haven't found any obvious errors that could explain the issue.

Has anyone experienced a similar issue? What could be the possible causes, and what steps would you recommend to troubleshoot and resolve it?

I would really appreciate any advice or suggestions.

Thank you!


r/Wazuh • • 22d ago

Wazuh 4.14.10 has been released!

39 Upvotes

You can see more about the changes and enhancements included in the Release Notes.

Thank you for being part of Wazuh!


r/Wazuh • • 22d ago

Wazuh agent queue flooded

2 Upvotes

Hi ,

on both DCs we get:

Wazuh Notification.

2026 Nov 06 08:09:55

 

Received From: (DC1) any->wazuh-agent

Rule: 204 fired (level 12) -> "Agent event queue is flooded. Check the agent configuration."

Portion of the log(s):

 

wazuh: Agent buffer: 'flooded'.

level: flooded

I defined in agent.conf for Dcs the following:

<agent_config os="Windows">

<client_buffer>

<disabled>no</disabled>

<queue_size>100000</queue_size>

<!-- max. 100000 -->

<events_per_second>1000</events_per_second>

<!-- max. 1000 -->

</client_buffer>

</agent_config>

 Any idea to deal with this problem?


r/Wazuh • • 22d ago

Detecting threats in an air-gapped environment with Wazuh

Thumbnail
wazuh.com
23 Upvotes

r/Wazuh • • 23d ago

Wazuh 5.0 RC2: How should we handle brute-force detections and other multi-event correlations?

19 Upvotes

Hi everyone,

I’ve been doing some initial testing with Wazuh 5.0 RC2 and reading through the documentation to understand the new detection workflow, especially Sigma rules, findings, and Alerting monitors.

One thing I’m trying to figure out is how to migrate detections that depend on multiple occurrences of another rule.

What I was doing before v5

In Wazuh 4.x, I could have a first rule detecting an individual event, such as a WordPress login attempt, and then a correlation rule detecting repeated matches using mechanisms like if_matched_sid, frequency, timeframe, and a same-source-IP condition.

For example:

  • Rule A: Detect a WordPress login attempt.
  • Rule B: Detect at least 5 matches of Rule A within 60 seconds, from the same source IP against the same website.
  • Rule B generates its own alert identifying the activity as a possible brute-force attack.

The important part for me is having a separate, higher-level detection representing the repeated activity, rather than only seeing the individual attempts.

What I’m trying to understand in v5

From my initial testing and reading, my understanding is that:

  • Sigma rules match individual normalized events and generate findings.
  • An Alerting monitor could count matching events or findings over a time window and trigger an alert when a threshold is reached.
  • However, that Alerting alert would not necessarily become a new Wazuh finding representing the brute-force detection.

I may be misunderstanding the intended workflow, so please correct me if that’s the case.

For reference, these are the documentation pages I’ve been looking at:

What is the intended approach?

For a detection like “5 WordPress login attempts within 1 minute, grouped by source IP and target website”:

  1. Is there a native way in RC2 to generate a dedicated brute-force finding from multiple matching events or findings?
  2. Are Sigma correlation rules, such as event_count correlations, supported or planned?
  3. Is the intended replacement for the old frequency/timeframe rules an Alerting monitor? If so, how should we handle the distinction between findings and Alerting alerts during investigations?
  4. Is there a recommended migration pattern for existing 4.x multi-event correlation rules?

Ideally, I’d like to keep both the individual attempt findings and a higher-level brute-force finding, with enough context to investigate the related activity.

Has anyone already implemented this in RC2? I’d be interested in examples or clarification on the intended architecture, particularly whether I’m missing an existing feature or whether this is currently a limitation.

Thanks!


r/Wazuh • • 24d ago

[Ruleset] Dual-Version Wazuh Detections (4.14 & 5.0 RC) for php2shell (CISA KEV)

Thumbnail github.com
8 Upvotes

With php2shell (CVE-2026-109618) officially added to the CISA KEV catalog, active exploitation in the wild is confirmed. Standard out-of-the-box web rules often generate excessive noise or fail to isolate specific POST payload behaviors, leading to high false-positive rates in high-throughput environments.

I’ve published a dedicated ruleset to NixWarden-Wazuh-Rules designed for immediate production use on current setups while remaining forward-compatible with the upcoming Wazuh architecture.

Key Technical Details:

  • Dual-Engine Compatibility: Includes pre-configured builds for Wazuh 4.14 (stable XML) and Wazuh 5.0 RC syntax.
  • Low-FP Payload Analysis: Targets specific web-access log indicators and payload execution signatures rather than generic HTTP string matching.
  • Defense-in-Depth Fallback: In addition to L7 HTTP log analysis, detection logic links to system-level segfault events (dmesg / kernel rule 1010) to retain visibility even if user-space application logging drops or fails.
  • Namespace Alignment: Occupies Rule ID range 100200–100250 (Web Application Security).
  • MITRE ATT&CK Mapping: T1190 (Exploit Public-Facing Application), T1505.003 (Web Shell) and others.

GitHub Repository:

https://github.com/nix-warden/NixWarden-Wazuh-Rules.git

Feedback, edge-case testing, and PRs for further FP tuning are welcome.


r/Wazuh • • 24d ago

Best tutorial for wazuh

20 Upvotes

I’m working for a small medium sized company and have been tasked with setting up wazuh in our environment. Does anyone know good tutorials to get me up to speed on setting up and using Wazuh?


r/Wazuh • • 24d ago

Wazuh modulesd keep on stopping, currently on version 4.14.9

1 Upvotes

API page shows could not get authorization token 500 and it is randomly happening. If I try to disable vulnerability detection it is working without any issues. Control status is usually apid is running but modulesd is not. When I try to start wazuh-control, modulesd will run after a few days it will stop again. Any insights?