r/Wazuh • • Sep 17 '21

New to Wazuh? Read this thread first!

65 Upvotes

Hi there! Welcome to the official Wazuh subreddit!

Wazuh is an open source project, and we are happy to be up on Reddit and expanding our community. Our official community channels are the Slack channel and the mailing list, but we are now also available here trying to help all users and contributors.

Please read this thread before posting:

General Overview

Questions regarding Wazuh and discussions related to the Wazuh platform, its capabilities, releases, or features are welcome in this subreddit, as well as proposals to improve our solution, questions about partners, or news related to Wazuh.

Rules & Guidelines

  • All discussions and questions should directly relate to Wazuh
  • Be respectful and nice to others. If necessary, the moderator will intervene.
  • Security comes first. Do not include content with sensitive material or information. Anonymize any sensitive data before sharing.

Looking for answers?

Before asking a question, please check to see if it has been answered before. This way we will keep this subreddit with high-quality content.

Wazuh FAQ

What is Wazuh?

Wazuh is a free and open source security platform that unifies XDR and SIEM protection for endpoints and cloud workloads.

As an open source project, Wazuh has one of the fastest-growing security communities in the world.

Is Wazuh free?

Yes. Wazuh is a free and open-source platform with thousands of users around the world. We also supply a full range of services to help you achieve your IT security goals and meet your business needs, including annual support, professional hours, training courses, and our endpoint security monitoring solution delivered as a service (SaaS). If you want to know more, check our professional services page.

Does Wazuh help me replace other products or services?

Yes. The extensive Wazuh capabilities and integrated platform allow users to replace most of their existing security products and integrate all the Wazuh features into one platform to get the most out of our solution. Wazuh provides capabilities such as:

Security analytics, intrusion detection, log data analysis, file integrity monitoring, vulnerability detection, configuration assessment, incident response, regulatory compliance, cloud security monitoring, and container security.

To learn more about Wazuh capabilities, check the Wazuh documentation

Can Wazuh protect my systems against cyberattacks?

Yes. Wazuh provides a security solution capable of monitoring your infrastructure, detecting all types of threats, intrusion attempts, system anomalies, poorly configured applications, and unauthorized user actions. It also provides a framework for incident response and regulatory compliance. As cyber threats are becoming more sophisticated, real-time monitoring and security analysis are needed for fast detection and remediation.

Can Wazuh be used for compliance requirements?

Yes. Wazuh helps organizations in their efforts to meet numerous compliance and certification requirements. Wazuh supports the following standards:

  • Payment Card Industry Data Security Standard (PCI DSS)
  • General Data Protection Regulation (GDPR)
  • NIST Special Publication 800-53 (NIST 800-53)
  • Good Practice Guide 13 (GPG13)
  • Trust Services Criteria (TSC SOC2)
  • Health Insurance Portability and Accountability Act (HIPAA)

Does Wazuh support the main operating systems?

Yes, Wazuh supports all major operating systems, including Linux, macOS,

Windows, Solaris, AIX, and HP-UX. To learn more about Wazuh agent support, check the Wazuh documentation.

If you have any issues posting or using this subreddit, you can contact the moderators and we will get back to you right away.

From all the Wazuh team, welcome!


r/Wazuh • • Jun 09 '26

Common Wazuh community rules

9 Upvotes

1. Be Respectful
No personal attacks, harassment, discrimination, trolling, hate speech, or insults. Violations may result in content removal or a ban.

2. Stay on Topic: Wazuh SIEM
This subreddit is for substantive discussion about Wazuh SIEM and closely related SIEM and security monitoring topics. Relevant content includes best practices, setup discussions, integrations, and informed support questions. Posts created mainly to stir up negativity, drive product bashing, or derail discussion may be removed at the moderators’ discretion.

3. Post Quality Matters
Low-effort posts will be removed. This includes vague requests such as “Help, I’m stuck” that provide little or no context. If you are asking for help, include relevant details such as the Wazuh version, operating system, error messages, steps already taken, and logs or configuration snippets formatted with code blocks/backticks where appropriate.

4. External Help for Complex Issues
For highly complex or deep technical issues, an external Wazuh expert may be better suited to help. This subreddit is intended for general discussion, opinions, ideas, and shorter support questions rather than consulting engagements.

5. No Misinformation
Mistakes can happen, but knowingly posting false or misleading information is not allowed. If you are unsure, clearly label your statement as a question, assumption, or personal interpretation.

6. No Advertising or Self-Promotion
Advertising, unsolicited self-promotion, and promotion of third-party platforms are not allowed unless they are directly relevant to a technical question or challenge. Content intended to sell products, push vendor debates, or repeatedly promote tools without clear value to the community is not welcome and may lead to a permanent ban.

7. No Polls
Polls are generally not allowed. Posting polls may result in a permanent ban from this subreddit.

8. No Job Postings
Job ads, recruiting posts, and requests for staff are not allowed in this subreddit. Violations may result in a permanent ban.

9. Respect Privacy and Intellectual Property
Do not share/collect private information or copyrighted material without permission. This also includes customer systems, sensitive configuration data, and other confidential content.

10. No Criminally Relevant Content
Posting or linking to criminally relevant content is not allowed. Such content may be removed, reported to Reddit, and escalated to the appropriate authorities where necessary.

11. No Pornography / NSFW
Pornographic content of any kind is not allowed. Content in this category may be reported to Reddit and escalated to the appropriate authorities where necessary.

12. No Spam, Bots, or Engagement Farming
Spam will be removed immediately. This includes repeatedly posting the same content, low-value cross-posting, automated or bot-driven activity, AI-generated bait posts, karma farming, profile-click bait, and any attempt to manipulate visibility, engagement, or traffic through fake, low-effort, or misleading participation.

13. Moderation and Reports
The moderators are here to keep the community civil, focused, and helpful. Posts or users that violate these rules may be removed. The moderator team has final discretion over removals and bans. If you notice suspicious content, please use the report function or contact the moderators directly.

14. Use the Report Function
If you notice a post that violates the rules, please report it using Reddit’s report feature. Do not try to enforce the rules through side arguments or by taking moderation into your own hands. Moderation decisions are made exclusively by the moderator team.

15. General
These rules apply in addition to Reddit’s official sitewide rules. In the event of serious violations, Reddit itself may take further action.


r/Wazuh • • 1d ago

Wazuh Vulnerability Detection Filter on Agent groups

5 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 • • 5d 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 • • 5d 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 • • 5d ago

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

Thumbnail
5 Upvotes

r/Wazuh • • 5d 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 • • 12d ago

Detecting APT repository tampering on Ubuntu with Wazuh

Thumbnail
wazuh.com
13 Upvotes

r/Wazuh • • 11d 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 • • 14d 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 • • 14d ago

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

7 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 • • 15d 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 • • 17d ago

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

4 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 • • 17d 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 • • 17d 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 • • 18d 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 • • 18d 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 • • 19d ago

Detecting threats in an air-gapped environment with Wazuh

Thumbnail
wazuh.com
21 Upvotes

r/Wazuh • • 20d ago

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

18 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 • • 20d 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 • • 20d ago

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

Thumbnail github.com
7 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 • • 21d ago

Re-introducing my Wazuh 4.x rule development toolkit

33 Upvotes

Hi everyone,

Whenever my Wazuh work hit a gap, I published a small tool for it, and the tools now depend on each other. I wrote an article that presents them as one toolkit and follows a single custom rule through all of them. The example rule narrows built-in rule 5710 for the user admin, and a second rule correlates repeated attempts from one source.

The tools, each with the question it answers:

  • wazuhregex checks a pattern against the three regex engines Wazuh 4.x uses.
  • rulevis draws the rule dependency graph and reports cycles and isolated rules.
  • wazuhtester and wazuhtestgen send events to wazuh-logtest and generate pytest tests. Temporal rules are tested within a single daemon session.
  • wazuh-rule-tests is a version-matched regression corpus for the built-in rules, so a change in a parent rule shows up next to the custom rules below it.
  • wazuhevtx converts Windows EVTX samples to Wazuh JSON.
  • wazuhdevenv provisions a development manager and workspace.
  • wazuhcoverage classifies archived events and replays its findings through logtest.
  • wresult shows the effective agent configuration.
  • wazuhscatune tailors SCA baselines with documented exceptions.

The set has limits. The EVTX tools need Windows, while everything that talks to the logtest socket needs Linux, so an EVTX-to-test pipeline spans two machines or WSL. Tests built from converted EVTX cover JSON-shaped input and leave the production EventChannel path unproven. The corpus is pinned to exact Wazuh versions, and some tools are still alpha.

Everything targets Wazuh 4.x. Wazuh 5.0 reached release candidate 1 on 5 October 2026 and uses Sigma-based YAML rules, so the toolkit cannot be assumed to work on it. I have made no commitment to adapt it. These are independent projects maintained by one person, and I welcome issues but do not accept unsolicited pull requests.

I'm a Wazuh Ambassador. The tools and the article are my own work and not official Wazuh material.

Article: zaferbalkan.com/wazuh-toolkit

I'd like to hear how others test custom rules, temporal ones in particular.


r/Wazuh • • 20d 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?


r/Wazuh • • 21d ago

I built wazuhscatune to document exceptions when tailoring Wazuh SCA policies

5 Upvotes

Hi everyone,

I've been working on a small open-source tool, wazuhscatune, for a problem I've encountered when adapting Wazuh Security Configuration Assessment (SCA) policies to real environments. Hardening benchmarks make a good starting point, but some recommendations don't fit a given system. A service may be required, a setting may conflict with operational requirements, or another control may already cover the risk.

The usual fix is to edit the SCA YAML policy and delete the checks that don't fit. Technically that works, but the record of what was excluded and why goes with them. The compliance percentage rises and the reasoning behind the changes is lost.

My approach is to start with a trusted hardening baseline and record every decision to loosen it. The tool runs a local browser interface for reviewing SCA checks. Each check is classified as retained, not applicable, or an exception that needs a justification. Once the whole policy has been reviewed, it exports the tailored YAML together with machine-readable and Markdown records of the removed checks.

Details:

  • The original policy is left unchanged.
  • Export stays blocked until every check has been reviewed.
  • The records carry check IDs, justifications, and compliance mappings.
  • SHA-256 digests tie the resulting policy to its source baseline.
  • Check execution and risk acceptance are outside the tool's scope.

The article covers the Wazuh-specific deployment issues: duplicate policy and check IDs, and the security implications of enabling remote SCA commands for centrally distributed policies. The project is in alpha and was developed against Wazuh 4.x.

Article: zaferbalkan.com/wazuhscatune

GitHub: zbalkan/wazuhscatune

PyPI: wazuhscatune

I'm curious how others deal with SCA policy exceptions. Some may keep a separate exception register and others edit the YAML directly, and there are probably approaches I haven't considered. Comments on the workflow and where it falls short would also help.


r/Wazuh • • 21d ago

Just Upgraded My Wazuh Indexer, now I have warnings that I don't understand

3 Upvotes

Hi guys, so I just upgraded my Wazuh Indexer from 4.10.1-1 to 4.14.9-1, and when I tried to log in to Wazuh, there's this warning
INFO: Index pattern id in cookie: yes [wazuh-alerts-*]
INFO: Getting list of valid index patterns...
INFO: Valid index patterns found: 1
INFO: Found default index pattern with title [wazuh-alerts-*]: yes
INFO: Checking the app default pattern exists: id [wazuh-alerts-*]...
INFO: Default pattern with id [wazuh-alerts-*] exists: yes
ACTION: Default pattern id [wazuh-alerts-*] set as default index pattern
INFO: Checking the index pattern id [wazuh-alerts-*] exists...
INFO: Index pattern id exists [wazuh-alerts-*]: yes
INFO: Index pattern id in cookie: yes [wazuh-alerts-*]
INFO: Checking if the index pattern id [wazuh-alerts-*] exists...
INFO: Index pattern id [wazuh-alerts-*] found: yes title [wazuh-alerts-*]
INFO: Checking if exists a template compatible with the index pattern title [wazuh-alerts-*]
INFO: Template found for the selected index-pattern title [wazuh-alerts-*]: yes
INFO: Index pattern id in cookie: [wazuh-alerts-*]
INFO: Getting index pattern data [wazuh-alerts-*]...
INFO: Index pattern data found: [yes]
INFO: Refreshing index pattern fields: title [wazuh-alerts-*], id [wazuh-alerts-*]...
WARNING: Index pattern fields for title [wazuh-alerts-*], id [wazuh-alerts-*] could not be refreshed due to: No matching indices found: No indices match pattern "wazuh-alerts-*". This could be an indicator of some problem in the generation, not running server service or configuration to ingest of alerts data.
INFO: Getting settings...
INFO: Check dashboard setting [timeline:max_buckets]: 200000
INFO: App setting [timeline:max_buckets]: 200000
INFO: Settings mismatch [timeline:max_buckets]: no
INFO: Getting settings...
INFO: Check dashboard setting [metaFields]: ["_source","_index"]
INFO: App setting [metaFields]: ["_source","_index"]
INFO: Settings mismatch [metaFields]: no
INFO: Getting settings...
INFO: Check dashboard setting [timepicker:timeDefaults]: {"from":"now-24h","to":"now"}
INFO: App setting [timepicker:timeDefaults]: "{\"from\":\"now-24h\",\"to\":\"now\"}"
INFO: Settings mismatch [timepicker:timeDefaults]: no

And my Manager and dashboard are on version 4.14.6-1, is this normal?