Wazuh ruleset is used to detect attacks, intrusions, software misuse, configuration problems, application errors, malware, rootkits, system anomalies or security policy violations.
The ruleset includes compliance mapping with PCI DSS v3.1 and CIS.
├── wazuh-ruleset
│ ├── decoders # OSSEC decoders created/updated by Wazuh
│ ├── rules # OSSEC rules created/updated by Wazuh
│ ├── rootchecks # OSSEC rootchecks created/updated by Wazuh
│ ├── scap_content # OVAL, XCCDF, DS created/updated by Wazuh
│ ├── lists # CDB lists created/updated by Wazuh
|
│ ├── tools
|
│ ├── README.md
│ ├── VERSION
│ ├── update_ruleset.py # Install/update ruleset
Full documentation at documentation.wazuh.com
stable
branch on correspond to the last OSSEC Ruleset stable version.master
branch contains the latest code, be aware of possible bugs on this branch.development
branch includes all the new features we are adding and testing.
If you have created new rules, decoders or rootchecks and you would like to contribute to our repository, please fork our Github repository and submit a pull request. To make a pull request for new rules and decoders, follow these instructions:
-
If your rules and decoders are related to existent ones in the ruleset, you should add them at the end of the corresponding file. If they are made for a new application or device that Wazuh does not currently support, you should create a new
XML
following the title format. For example, if the lastXML
file is0620-last-xml_rules.xml
, the next one should be named0625-new_integration.xml
. Please, make sure your rules do not use an existentrule id
. -
Make sure to create your
test.ini
file. You may find examples under thewazuh/wazuh-ruleset/tools/rules-testing/tests
folder. Then add it to the repository along with the rest of the tests. -
Create the pull request
If you are not familiar with Github, you can also share them through our users mailing list, to which you can subscribe by sending an email to [email protected]
. As well do not hesitate to request new rules or rootchecks that you would like to see running in Wazuh and our team will do our best to make it happen.