Why Wazuh Windows Registry monitoring matters for persistence detection
Wazuh Windows Registry monitoring extends Wazuh file integrity monitoring (FIM) to registry keys on Windows endpoints. Out of the box, it watches the Run and RunOnce startup keys without extra configuration, so a security team gets alerts when a program is added to, changed in or removed from the places Windows reads at sign-in. Those keys are a common place for malware and attackers to set up persistence, which is why a team that needs to know when autorun entries change should treat this capability as a baseline rather than an optional extra.
The monitoring runs inside the Wazuh agent installed on each Windows endpoint. The agent performs the scan and reports changes to the Wazuh server, which analyzes them with its decoders and rules and stores the resulting alerts in the Wazuh indexer. The agent therefore has to be enrolled and healthy before registry coverage means anything. Teams should confirm that every Windows host in scope reports to the manager, and that the agent group they use carries the registry settings they expect, because a host without a working agent produces no registry alerts at all.
Run and RunOnce are the starting point, not the full picture. Persistence can also live in other keys, and the default scan frequency is set in seconds, so the gap between a change and its alert depends on configuration. Before go-live, the security team should list which keys matter to its environment, confirm the default scan interval against the Wazuh documentation for its version, and decide whether it needs to see the content of changed values as well as the fact that a change happened. Those decisions determine the configuration work covered in the sections that follow.
Which registry monitoring options fit which goal
This table compares the four ways to scope Wazuh registry monitoring: the default Run and RunOnce keys, added keys, report_changes and registry_ignore. Read each row against the question you need answered, then check the storage and noise trade-offs before enabling more than one option.
| Option | When it fits | Trade-off to plan for |
|---|---|---|
| Default Run and RunOnce monitoring | Baseline detection of programs set to start at logon or boot, with no extra configuration | Covers only the two startup locations, so persistence placed in other keys is not watched |
| Added keys in windows_registry tags | Known keys outside Run and RunOnce that your threat model or baseline requires you to watch | Each key adds scan work and alert volume, and you must confirm the exact key paths on your Windows builds |
| Wildcard patterns with * and ? | Covering a family of similar key paths, such as a set of versioned application keys | Broad patterns can match far more keys than intended, so test the match scope on a sample host first |
| report_changes for value content | Investigations that need to see what a changed value now contains on REG_SZ, REG_MULTI_SZ, REG_DWORD and REG_DWORD_BIG_ENDIAN values | Copies changed data to queue\diff\registry, so storage on agents and the manager grows with change frequency and retention |
| registry_ignore for noisy keys | Keys that change constantly for normal reasons and bury real alerts | Excluding a key removes its visibility entirely, so document each exclusion and review it when the baseline changes |
| Combined scope with report_changes | Monitored keys that are high value and change rarely, where content evidence matters | Storage growth is the main cost driver, so limit this option to a short, justified key list |
How to configure registry monitoring on Windows agents
This sequence takes a Windows agent from version check to a tested, piloted registry monitoring setup, so the team knows which keys alert, which value changes carry content, and which noise is excluded before wider rollout.
Confirm agent version and Windows scope
Check which Wazuh agent version is installed on the Windows endpoints in scope and list the Windows hosts or groups that will receive registry monitoring. Confirm the agent version against the Wazuh release notes and note which hosts are in the pilot. Done when you have a written inventory of agent versions and the Windows groups in scope, and you have confirmed that the version you run supports the registry monitoring documented for your release.
Review default Run and RunOnce coverage
Before adding anything, confirm what Wazuh already watches. Wazuh FIM monitors the Windows Run and RunOnce startup keys without extra configuration, and it rescans on a default frequency of 43200 seconds. Run a controlled test by creating a harmless test value under one of those default keys on a pilot host, then confirm the alert appears in the Wazuh dashboard. Done when the test change is visible, which shows the default coverage works in your environment.
Add keys in windows_registry tags
Define additional keys in windows_registry tags in the agent configuration (ossec.conf) or in the shared agent group configuration that the pilot hosts receive. Keys accept * and ? wildcards, so keep the entries narrow and document why each key is monitored. Confirm the exact syntax and key path format in the Windows registry monitoring documentation for your version. Done when the group configuration is saved, the agents have picked it up, and a test change under an added key produces an alert.
Enable report_changes for selected value types
Turn on report_changes only for keys whose value content needs review. The feature shows changed content for REG_SZ, REG_MULTI_SZ, REG_DWORD and REG_DWORD_BIG_ENDIAN values and copies that data to the queue\diff\registry directory on the agent, which increases storage use. Limit it to a small set of keys and plan disk capacity for the pilot hosts. Done when a change to a monitored string value shows the changed content in the alert and the agent storage growth is within the capacity you planned.
Add registry_ignore entries for known noise
Run the pilot for a period of normal activity, then review which alerts come from expected software updates, vendor agents or application keys that change often. Add those keys to registry_ignore so they stop generating alerts, and keep the list short and documented so that exclusions do not hide real changes. Done when the alert volume from the pilot is reviewed, each ignore entry has a recorded reason, and the remaining alerts are ones the security team will act on.
Roll out to a pilot group
Apply the tested configuration to a pilot group of Windows hosts that represent your main builds, and check the agents report back after the restart or configuration sync. Compare alert counts, storage use on the agents and any performance complaints with the earlier test results. Done when the pilot group reports the expected alerts, the agent storage and performance are acceptable to the endpoint team, and the change is approved for wider rollout.
Verify alerts and document the baseline
Repeat the test changes on pilot hosts after rollout, confirm each alert reaches the dashboard with the expected rule and content, and record the final configuration, ignore list, report_changes scope and the owner of each exclusion. Keep this record with your change control so later reviews can see why each key is monitored. Done when the test matrix passes on every pilot host and the documented baseline is stored where the operations team can find it.
How the setup differs by endpoint fleet and storage constraints
A small fleet with a short list of sensitive keys is the simplest case. The default Run and RunOnce startup keys are monitored without extra configuration, so the main planning work is deciding whether those defaults plus a handful of explicit keys cover what your security team needs. Keep the list short enough that every alert can be reviewed by a person, and record why each added key is there.
- Start from defaults: Confirm that the Run and RunOnce coverage meets your baseline before adding anything.
- Add keys deliberately: Name each extra key in a
<windows_registry>entry and tie it to a threat or control you can explain. - Keep the scan interval in view: The default scan frequency is 43200 seconds, so changes are reported on that cycle unless you change the setting.
- Test on one group first: Apply the change to a single agent group and review the alerts it produces before rolling it out.
- Track ownership: Record who approves each key so that later exclusions are reviewed rather than added quietly.
Before you finish, check that every monitored key appears in your change log with an owner and a reason, and that alert volume on a pilot group is low enough for your team to review by hand.
A large fleet with many user profiles has a different problem. Per-user registry paths, such as those under HKEY_USERS, multiply when a wildcard matches a key in every profile. A pattern that looks narrow on one workstation can expand to many keys per endpoint once thousands of profiles exist, so the scan work and the alert volume both grow with the size of the fleet.
- Count expansions, not patterns: Estimate how many keys each wildcard matches on a representative endpoint with many profiles, then multiply by the fleet size.
- Scope wildcards tightly: Prefer explicit paths for machine-wide keys and reserve
*and?for places where the variation is known. - Split by agent group: Put servers, kiosks and user workstations in separate groups so that a broad pattern is not applied where it has no purpose.
- Plan alert routing: Decide which registry events go to the dashboard and which reach a ticket queue, since per-profile matches can flood a single channel.
- Confirm scan load with the vendor documentation: Ask your team to check how the scan interval and key count interact on your endpoint hardware before setting a fleet-wide pattern.
At the end of this planning, you should have a count of matched keys for each wildcard on a typical profile-heavy endpoint, and a rollout plan that applies broad patterns only to groups where the count is acceptable.
A fleet with strict storage limits has to treat report_changes as a cost decision. When it is enabled, Wazuh shows changed content for supported value types and copies the data to the diff store at queue\diff\registry on the endpoint, which increases storage use. Each changed value that is tracked with content adds to that footprint over time, so the question is which values truly need their contents recorded.
- Limit content tracking to supported types: Content diffs cover REG_SZ, REG_MULTI_SZ, REG_DWORD and REG_DWORD_BIG_ENDIAN values, so scope the setting to keys that hold those types.
- Use
registry_ignorefor noise: Exclude keys that change constantly and carry no security value, so they do not fill the diff store. - Scope report_changes per key: Enable it on the few high-value keys instead of across the whole monitored set.
- Watch the diff directory: Check disk growth on a pilot group over a full reporting period and confirm the trend with your team.
- Document the trade-off: Record which keys have content tracking and which do not, so auditors and responders know what evidence exists.
Before approving a rollout, confirm the free disk margin on the smallest endpoint class, the size of the diff directory after a representative period, and who is responsible for clearing or reviewing it.
Security and operational considerations for registry monitoring
Registry monitoring creates its own administrative and data handling obligations. The cards below cover who controls the configuration, what the diff data exposes, how exclusions are tuned, and how you confirm alerts actually arrive.
Control who changes group configuration
Registry monitoring is defined in the agent configuration, and Wazuh server can push configuration to agent groups centrally. Anyone who can edit a shared group can add or remove <windows_registry> entries across many endpoints at once. Confirm which administrators hold rights to the Wazuh dashboard and API, review changes to group files, and keep the dashboard admin accounts few and named.
Protect the diff store
When report_changes is enabled, the agent copies changed data to queue\diff\registry, and that data can include the content of values that hold credentials, paths or tokens. The store also grows with every change, so storage use rises with the number of keys and the change rate. Decide which keys need content capture, restrict read access to the agent's data directory, and include the diff location in backup and retention planning.
Tune exclusions without blinding detection
Use registry_ignore only for keys that have been reviewed as noise, such as software that rewrites its own cache on every run. Each exclusion removes coverage, so a broad wildcard can hide the exact change an attacker would make. Record the reason for each exclusion, review them after software updates, and prefer narrow key paths over wildcards.
Review persistence alerts with context
Changes to Run and RunOnce keys are a common way software starts automatically, so legitimate installers and updaters will trigger alerts too. Triage should compare the changed value against the installed software, the user session and the process that made the change. Build a short runbook for each alert type so analysts can separate routine installs from unexpected autostart entries.
Keep agents on supported patch releases
Registry monitoring depends on the agent's FIM module behaving as documented, and agent and server versions should match the supported release line. The current line is 4.14, with 4.14.9 released on 14 October 2026. Track the release notes, schedule agent upgrades through a test group first, and confirm each upgrade preserves your registry monitoring settings.
Wazuh release notesVerify alerts reach the indexer
A monitoring rule that never produces an alert looks identical to a quiet endpoint. After you deploy a change, create a harmless test value under a monitored key on one pilot host and confirm the event appears through the agent, the Wazuh server and the Wazuh indexer, then in the dashboard. Repeat the check after upgrades and record the result as evidence that the control works.
How a registry change becomes an alert
The flow starts on the Windows endpoint, where the Wazuh agent's file integrity monitoring (FIM) scans the keys configured in <windows_registry> tags on a schedule. If report_changes is enabled for a value, the agent also copies the changed content to queue\diff\registry, which adds storage use. The agent then sends the event to the Wazuh server, which decodes it and applies rules, and the result is stored in the Wazuh indexer and shown in the Wazuh dashboard. The agent is the trust boundary crossing point, so check what leaves the endpoint and confirm that the scan schedule and key list match what you intend to watch.
Registry change path from the Windows endpoint to the Wazuh dashboard, with the agent as the trust boundary.
Limits to confirm in your environment before rollout
Registry monitoring looks simple on paper, but scan timing, storage, value coverage, wildcard cost, exclusions and version behavior all affect what you actually detect. Confirm each of these against the official documentation and a test endpoint before you roll the configuration out to production Windows fleets.
Scan frequency against detection timing
The default scan frequency for registry monitoring is 43200 seconds, which is 12 hours. A change made just after a scan may not produce an alert until the next scan completes, so a persistence key added during a working day could go unseen for most of a shift. Decide whether that delay is acceptable for your Run and RunOnce keys, and test the actual alert latency on a non-production endpoint before you accept the default.
Registry monitoring docsStorage impact of report_changes
The report_changes option copies changed registry data to the diff store on each endpoint under queue\diff\registry, which increases disk use. Keys that change often, such as those holding timestamps or counters, can grow that store quickly. Measure growth on a representative endpoint over several days, and confirm how the diff store is cleaned up so the agent host does not run short of disk.
Covered registry value types
Content diffs are shown only for REG_SZ, REG_MULTI_SZ, REG_DWORD and REG_DWORD_BIG_ENDIAN values. Other value types, including binary values that some malware uses to store payloads, will still be monitored for presence or change depending on configuration, but you should not expect readable content in the alert. Inventory the value types used by the keys you plan to watch and confirm what each one produces in a test alert.
Wildcard scan cost
Keys are added in windows_registry tags, and the * and ? wildcards expand across matching keys. A broad pattern across HKLM or HKCU can match far more keys than intended and increase scan time on each endpoint. Test each wildcard on a machine with a realistic profile count and software set, and record how long the scan takes before you apply the pattern to the fleet.
registry_ignore on your key set
The registry_ignore setting excludes keys from monitoring, which is the usual way to quiet noisy software that writes to the registry constantly. Exclusions also hide real changes if the pattern is wider than intended. Review each exclusion against the keys you are trying to protect, and confirm with a controlled change that an excluded key produces no alert while a neighboring key still does.
Behavior on the 4.14 line
Wazuh's current release line is 4.14, and patch releases have arrived roughly every one to two months. Registry monitoring behavior, default values and option names can change between versions, so confirm the exact behavior of your deployed agent and manager version in the release notes before you write rules that depend on it. Re-test after each agent upgrade, since fleet agents may not all run the same patch level.
Wazuh release notesWhat buyers ask before outsourcing Wazuh registry monitoring
What drives the effort of setting up Wazuh registry monitoring?
The effort depends on how many Windows endpoints you run, how many registry keys beyond the defaults you need to watch, how much tuning the alerts need, and how much custom rule content you want written. Wazuh monitors the Run and RunOnce startup keys without extra configuration, so a basic setup is mostly verifying those keys are checked on your fleet. Scope grows when you add keys with wildcards, turn on content capture with report_changes, or exclude noisy keys with registry_ignore, because each choice needs testing on real endpoints. Ask any provider to break the quote down by fleet size, key list, tuning rounds and rule work.
Does the self-hosted Wazuh software have a license fee?
No. The self-hosted Wazuh software is open source and is distributed under the GNU General Public License version 2, with an exception that permits linking with the OpenSSL library. Your costs come from the infrastructure you run it on, the staff or partner time to deploy and tune it, and any vendor services you choose to buy. Wazuh Cloud is a separate managed service with its own plans, so confirm with the vendor which option a quote covers before you compare prices. Review the license text in the project repository before you rely on it for your own legal analysis.
How long does a Wazuh registry monitoring rollout take?
The timeline depends on the written scope, so there is no single duration that fits every environment. The main drivers are the number of endpoints being enrolled, whether a Wazuh server already exists, how many keys beyond the defaults must be watched, and how long it takes to review noisy alerts with the people who own them. Changes that affect many endpoints are usually rolled out in groups, and that staging adds time. Ask for a schedule with clear milestones and a list of what must be ready before testing starts.
What does your team need to provide for registry monitoring work?
The work needs a Windows administrator who can confirm group policy, agent groups and change windows, plus access to a set of test endpoints that match your production builds. You also need named alert owners who can say which registry changes are expected and which need investigation. Access to the Wazuh server and dashboard, along with the configuration management process you use for agent settings, must be agreed in advance. Missing alert owners is one of the most common causes of delay, because tuning cannot finish without someone deciding what counts as normal.
Can a Windows or security team set up registry monitoring alone?
Yes, a team with Wazuh and Windows experience can add registry keys to the agent configuration, test them and tune exclusions. The harder part is usually governance: deciding which keys matter, which changes are expected from software updates, and who responds when an alert fires. Teams without recent Wazuh experience often spend time on agent configuration syntax, the storage effect of report_changes, and how to check that a key change was recorded correctly. A partner can cover those steps or act as a second reviewer, and your team keeps ownership of the decisions.
What does a fixed-scope DeployOpen engagement cover for Wazuh registry monitoring?
DeployOpen agrees the scope, deliverables and timeline in writing before work starts, so you know what is included and what is not. For registry monitoring, a written scope typically names the endpoints in scope, the keys to monitor beyond the defaults, the decision on report_changes, the exclusions to apply, and the alert handling process to document. It can also include testing that changes are recorded on test endpoints and a handover of the configuration. Ongoing tuning, upgrades and continuous testing are handled as separate retainers, so ask which items recur after the first deployment.
What are the storage and noise risks I should plan for before enabling content capture?
Turning on report_changes shows changed content for REG_SZ, REG_MULTI_SZ, REG_DWORD and REG_DWORD_BIG_ENDIAN values, and it copies that data to the queue\diff\registry folder on the agent, which increases storage use. Wide wildcard keys can also produce high alert volume if they cover frequently changing areas. Before rollout, confirm the expected change rate on test endpoints, decide which keys need content capture, and set exclusions with registry_ignore for known noise. Ask your provider to show measured storage and alert volume from test endpoints before you approve the production scope.
How DeployOpen scopes and delivers Wazuh registry monitoring
DeployOpen plans, implements, tunes and documents Wazuh registry monitoring inside your own infrastructure, and most of this work is a fixed-scope engagement with the scope, deliverables and timeline agreed in writing before anything is changed. The written scope should name the Windows endpoint groups in play, the registry keys to watch beyond the default Run and RunOnce startup keys, whether report_changes is enabled and on which hosts, the Wazuh server or cluster that receives the events, and who on your side approves changes. A quote follows from that document, so the more precisely your team defines the endpoints and keys up front, the more precisely the quote can reflect the work. Ask for the scope, deliverables and timeline in one document before signing, and confirm which Wazuh release line and agent versions the engagement targets.
A pilot rollout comes first. DeployOpen applies the registry settings to a small agent group, typically a representative set of workstations and servers, and checks what the scheduled scan reports against the default scan frequency of 43200 seconds. The pilot exists to find noise: software that rewrites Run keys on every update, browsers that create per-user entries, and security tools that touch their own keys. Each finding becomes a documented decision, either a registry_ignore exclusion with a stated reason or a retained alert with a named owner. Value reporting, meaning how often each key alerts and whether the alerts are actionable, feeds the decision to widen the rollout. Your team should confirm how it will review pilot alerts, because tuning done without a reviewer tends to hide real changes.
Handover documentation is the deliverable that outlasts the engagement. It should record every monitored key and wildcard pattern, every exclusion with its justification and approver, the report_changes scope and the storage impact of copying changed data to the diff queue, and the agent group mapping. Optional retainer support covers later changes: new keys requested by security, exclusion reviews after software rollouts, agent and server upgrades and periodic checks of alert volume. Ask whether the retainer includes testing of registry alerts after upgrades, and whether the handover includes a runbook your own analysts can follow without DeployOpen.

