Wazuh support · Open source
Open source Wazuh support:the rules our SOC runs,free on GitHub.
The rules, decoders and lists on our production Wazuh cluster are public on GitHub: more than 4,600 rules in 188 files, with a deployment script that tests the ruleset and rolls it back if anything fails. Our own work is under the MIT licence. Use it, correct it, and call us only if you want a hand.
More than 4,600 rules703 decoders39 listsFor Wazuh 4.xFree to use
Rules are better checked in the open.
Much of this ruleset began with rules that other people published: the SOCFortress ruleset, the detections on the Wazuh engineering blog and thirteen community repositories. Publishing ours puts that work back where others can use it, and lets anyone who runs Wazuh check what we have written.
The repository holds the ruleset our own Wazuh manager runs, synchronised from the live cluster and then cleaned of duplicates. Rules written for an individual client are kept in a separate private repository, and customer and host names in the public comments are replaced with placeholders.
It is written for the Wazuh 4.x rule format and extends the stock 4.14 ruleset. It is not an official Wazuh project, and we are not a Wazuh partner.
- Repository
- github.com/UK-Cyber-Defence/wazuh
- Licence
- MIT for our own content; imported content keeps its own
- Written for
- Wazuh 4.x, extending the stock 4.14 ruleset
- Synchronised
- From our live manager on 30 November 2026
- Figures counted
- 5 December 2026
In numbers
4,676
Rules, in 188 files
703
Decoders, in 54 files
39
Lists: 23 we maintain and 16 seed lists that you keep
359
MITRE ATT&CK techniques and sub-techniques named in the rules
- Rules, in 188 files, Decoders, in 54 files, Lists: 23 we maintain and 16 seed lists that you keep, MITRE ATT&CK techniques and sub-techniques named in the rules: Counted in the repository on 5 December 2026
What is in it
Where the rules come from
| Part | What it adds | Rule IDs |
|---|---|---|
| Our own detections | UK Cyber Defence's own rules, among them Forcepoint, Google Workspace, Microsoft Purview and Proofpoint, 200 data loss prevention rules, and 104 rules for our Zeek network sensor | Many ranges; the README lists each file |
| Hive indicators | 33 rules and six lists of attacker infrastructure recorded by our Hive sensors, regenerated each month and published for anyone to use | 999000 to 999070 |
| Wazuh engineering blog | 465 rules from 63 articles published between December 2024 and November 2026, one file for each article, with the corrections we made noted | 130000 to 136799 |
| SOCFortress | The ruleset much of ours began as, compared rule by rule on 1 December 2026 and brought up to date with 792 further rules, including the Agentic AI Attacks detections | 210000 to 213999, and others |
| Community repositories | 233 rules from 13 permissively licensed repositories: Ubiquiti UniFi, MikroTik, WatchGuard, Cisco Catalyst 1200, Aruba ClearPass, QNAP, FileZilla Server, 1Password, Atlassian Cloud, Proxmox, the Cowrie honeypot, and two Linux vulnerabilities, CVE-2026-43284 (Dirty Frag) and CVE-2026-31431 (Copy Fail) | 220000 to 221307 |
Every imported file names its source and licence in its header, and the repository keeps a written record of each import: what was compared, what was changed and what was rejected. The same records list the faults we found in our own rules along the way, including rules that had never fired, and how each was fixed.
Coverage
What the rules detect
The README in the repository lists every file with its ID range. In outline:
Windows endpoints
Sysmon events mapped to MITRE ATT&CK techniques, with 861 rules for process creation alone, PowerShell script-block detections and Microsoft Defender.
Linux and containers
auditd, Sysmon for Linux, osquery, Tetragon (295 rules), Falco, Kubernetes audit logs and Linux privilege escalation.
Cloud and SaaS
Microsoft 365 (153 rules), Azure, AWS, Google Workspace, Microsoft Purview, 1Password, Atlassian Cloud and Snowflake.
Network and perimeter
Suricata, Zeek, Forcepoint, Cisco Meraki, OPNsense, Azure WAF, Ubiquiti UniFi, MikroTik and WatchGuard.
Email and data loss
Proofpoint, Mimecast, phishing indicators, and 200 data loss prevention rules across Windows, Linux, macOS and cloud platforms.
Malware and threat intelligence
Ransomware and stealer families, YARA results, attacks on AI agents (678 rules), and lists of attacker addresses, payload hosts, file hashes and 30,736 known internet scanners.
Deployment
How to deploy the public ruleset
Stage 01
Clone the repository
On the master node of a Wazuh 4.x cluster, or on a standalone manager. Start with a test manager if you have one.
Stage 02
Declare the lists on every node
Run the declare-lists script on the master and on each worker. A cluster does not copy ossec.conf between nodes, and a rule whose list is not declared is dropped.
Stage 03
Dry run
The deployment script's dry-run option shows what would be installed, changed or removed, without touching the manager.
Stage 04
Deploy on the master
The script backs up the existing rules, decoders and lists, installs only the files that have changed, and never overwrites the allowlists you maintain.
Stage 05
Test, restart and check
It runs wazuh-analysisd in test mode and restarts the manager. If the test fails, a rule that was loading is dropped, or the manager does not come back, it restores the backup.
The commands
The commands, from the README
git clone https://github.com/UK-Cyber-Defence/wazuh.git
# on the master and on each worker
sudo ./wazuh/tools/declare-lists.sh --no-restart lists seed-lists
# on the master only: show what would change
sudo ./wazuh/deploy.sh --dry-run
# on the master only: deploy, test, then restart the manager
sudo ./wazuh/deploy.sh
Each run is logged with UTC timestamps to /var/log/wazuh-ruleset-deploy.log. Backups go to /var/ossec/backup/ruleset-deploy/, where the last twenty are kept, and a lock stops two deployments overlapping. The script refuses to run on a cluster worker, or from a clone with uncommitted changes.
The README is the authority, and it changes as the ruleset does. Read it, and the script, before you run anything as root on a production manager.
Before you deploy
What to know before you deploy it
- Try it on a test manager first. More than 4,600 rules will change what your manager alerts on, and 1,523 of them are at level 12 or above. Decide what your alert threshold and email settings should do with them before the first morning.
- Rules need their log sources. A Proofpoint rule does nothing without Proofpoint logs. Several sets need Sysmon, Suricata or a cloud integration configured first; the README lists what each needs.
- Check your own rule IDs. Wazuh's documentation suggests 100000 to 120000 for custom rules. This ruleset long ago outgrew that range, and its IDs run up to 999956. If you have rules of your own, look for clashes before you deploy.
- Read
retired.txt. It lists superseded files that the script removes from the manager if it finds them. Some carry names from the SOCFortress ruleset, so check the list if you already run those rules. - Some rules change stock behaviour. Rules marked
overwrite="yes"redefine built-in Wazuh rules. They are confined to two files, which the README names. - Allowlist rules stay silent until you enrol. Rules that alert when something is not on an allowlist, such as AWS console logins or USB disks on controlled hosts, fire only for the accounts, hosts or networks you list.
- It is written for Wazuh 4.x. Wazuh 5.0 brings a new detection engine. If you are planning that move, our 5.0 readiness review covers what happens to custom rules.
Free and paid
What is free, and what a support plan adds
| Open source | With a support plan | |
|---|---|---|
| Rules, decoders, lists and scripts | Free | Free |
| Documentation | The README and the import records in the repository | The same, and a runbook of your own deployment |
| A rule that is wrong or noisy | Send a pull request, or tell us | Raise a ticket |
| Response time | None promised | Within 8 business hours; within 4 hours for critical issues on Premium |
| Deployment on your manager | You run the script | An engineer does it with you, as engineering time |
| Tuning to your log sources | Yours to do | Engineering time: a day a month is included on Premium, and Standard pays £735 + VAT a day |
| Cost | Nothing | From £595 + VAT a month |
A thirty-minute call costs nothing, and we will say so if you do not need us. For one-off help without a plan, a Wazuh health check or a few consulting days cover it.
Contributing
Contributing, and the licence
Corrections and new rules are welcome as pull requests. The README sets out the conventions: an ID range of its own for each file, and on every rule a description, group tags and MITRE ATT&CK technique IDs where they apply. Run wazuh-analysisd -t and the repository's duplicate check before you submit.
Our own rules, decoders, lists, scripts and documentation are released under the MIT licence. Content that came from other projects keeps its original licence and credit: the SOCFortress and community rules under the MIT or BSD 3-Clause licences of their sources, and anything that modifies or derives from the stock Wazuh ruleset under the GNU General Public License version 2. The licence texts are in the repository.
Related
More on running Wazuh
Wazuh support plans
Standard and Premium, priced by the size of your deployment, from engineers who run Wazuh every day.
Wazuh health check
A fixed-price review of your deployment, with the fixes in order.
Wazuh consulting
Rule and decoder development, integrations, upgrades and tuning.
How to install Wazuh
Planning, deployment options, enrolment, hardening and the checks that prove alerts work.
Wazuh troubleshooting
The problems we see most often with agents, the indexer and the dashboard, and how to fix them.
Wazuh and Graylog
Running Wazuh at scale with Graylog as the data lake, as our own SOC does.
A Zeek sensor on a Raspberry Pi
How to build our open-source Zeek Pi node, join it to Wazuh, and what it reports on a plant network.
Wazuh rules: how they work
Rule anatomy, levels and IDs, how Wazuh chooses which rule fires, and six faults that stop a rule firing with no error.
Questions
Questions about our open source Wazuh rules
Are your Wazuh rules free to use?
Yes. They are public on GitHub. Our own rules, decoders, lists and scripts are under the MIT licence, which allows commercial use. Content imported from other projects keeps its original licence, and the repository says which is which.
Which version of Wazuh do the rules need?
Wazuh 4.x. They extend the stock 4.14 ruleset and are tested on a 4.14 manager. Wazuh 5.0 brings a new detection engine, and the rules are not written for it.
Is this an official Wazuh ruleset?
No. It is maintained by UK Cyber Defence and is what our own SOC's Wazuh manager runs. It is not a Wazuh Inc. project, and we are not a Wazuh partner.
Do the public rules contain anything about your clients?
No. Rules scoped to an individual client, by agent label, host name, account or address, are kept in a separate private repository. In the public comments, customer and host names are replaced with placeholders.
How often does the repository change?
As our own ruleset does. The Hive indicator lists are regenerated each month, and the commit history on GitHub shows every change with its date.
Can you help us deploy the rules?
Yes. The README covers deployment step by step, and a thirty-minute call costs nothing. For hands-on work, a support plan or a few consulting days cover deployment and tuning to your log sources.
What if a rule is wrong, or too noisy for us?
Send a pull request with the correction, or tell us. There is no response time on the public repository. If you hold a support plan, raise a ticket and it is handled within the plan's response time.
Will deploying the ruleset disturb the rules we already have?
The deployment script backs up your rules, decoders and lists first, tests the result with wazuh-analysisd, and restores the backup if the test fails. It removes only files it installed itself or that its retired list names. It cannot know about ID clashes with rules you wrote, so check those before you deploy.
Open source Wazuh support
Use the rules. Call us if you want a hand.
The repository is free and needs no account with us. If you would rather have an engineer deploy and tune it with you, thirty minutes is enough to see what that would take.

