Skip to content

Commit 20b2108

Browse files
committed
Missing who-data decoders and rules
1 parent 89f3a2f commit 20b2108

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
## [v3.4.0]
55

6+
### Added
7+
8+
- Decoder for syscheck integration with audit.
9+
610
### Changed
711

812
- Removed offset of the `frequency` attribute in rules. ([#145](https://github.com/wazuh/wazuh-ruleset/pull/145))

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
RULESET_VERSION="v3.4.0"
2-
REVISION="3400"
2+
REVISION="3401"

decoders/0200-ossec_decoders.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
<order>extra_data</order>
2121
</decoder>
2222

23+
<!-- ossec: Audit: Detected rules manipulation: Rule removed -->
24+
<decoder name="ossec-syscheck-audit">
25+
<parent>ossec</parent>
26+
<type>ossec</type>
27+
<prematch offset="after_parent">^Audit:</prematch>
28+
<regex offset="after_prematch">^ (\.+)</regex>
29+
<order>extra_data</order>
30+
</decoder>
31+
2332
<decoder name="ossec-agent">
2433
<parent>ossec</parent>
2534
<type>ossec</type>

rules/0015-ossec_rules.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@
107107
<group>rootcheck,gdpr_IV_30.1.g,</group>
108108
</rule>
109109

110+
<rule id="517" level="7">
111+
<if_sid>500</if_sid>
112+
<match>^ossec: Audit:</match>
113+
<description>Syscheck Audit: $(extra_data)</description>
114+
<group>syscheck,gdpr_II_5.1.f,gdpr_IV_35.7.d,</group>
115+
</rule>
116+
110117
<rule id="518" level="9">
111118
<if_sid>514</if_sid>
112119
<match>Adware|Spyware</match>
@@ -199,7 +206,7 @@
199206
<rule id="553" level="7">
200207
<category>ossec</category>
201208
<decoded_as>syscheck_deleted</decoded_as>
202-
<description>File deleted. Unable to retrieve checksum.</description>
209+
<description>File deleted.</description>
203210
<group>syscheck,pci_dss_11.5,gpg13_4.11,gdpr_II_5.1.f,</group>
204211
</rule>
205212

@@ -284,7 +291,7 @@
284291
<if_sid>553</if_sid>
285292
<hostname>syscheck-registry</hostname>
286293
<group>syscheck,pci_dss_11.5,gpg13_4.13,gdpr_II_5.1.f,</group>
287-
<description>Registry Entry Deleted. Unable to Retrieve Checksum</description>
294+
<description>Registry Entry Deleted.</description>
288295
</rule>
289296

290297
<rule id="598" level="5">

0 commit comments

Comments
 (0)