chore: update
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
<!-- ModSecurity decoder — non utilisé, remplacé par règles json+location -->
|
||||
<decoder name="waf-modsec-unused">
|
||||
<prematch>UNUSED_MODSEC_PLACEHOLDER_NEVER_MATCHES</prematch>
|
||||
</decoder>
|
||||
@@ -0,0 +1,45 @@
|
||||
<!-- WireGuard Decoders
|
||||
Parent: kernel (built-in, program_name=^kernel)
|
||||
Decoders enfants directs de kernel (Wazuh: 2 niveaux max) -->
|
||||
|
||||
<decoder name="wireguard-handshake-init">
|
||||
<parent>kernel</parent>
|
||||
<prematch>wireguard: wg0: Sending handshake initiation</prematch>
|
||||
<regex type="pcre2">wireguard: wg0: Sending handshake initiation to peer (\d+) \(([\d.]+):\d+\)</regex>
|
||||
<order>id,srcip</order>
|
||||
</decoder>
|
||||
|
||||
<decoder name="wireguard-handshake-resp-sent">
|
||||
<parent>kernel</parent>
|
||||
<prematch>wireguard: wg0: Sending handshake response</prematch>
|
||||
<regex type="pcre2">wireguard: wg0: Sending handshake response to peer (\d+) \(([\d.]+):\d+\)</regex>
|
||||
<order>id,srcip</order>
|
||||
</decoder>
|
||||
|
||||
<decoder name="wireguard-handshake-resp-recv">
|
||||
<parent>kernel</parent>
|
||||
<prematch>wireguard: wg0: Receiving handshake response</prematch>
|
||||
<regex type="pcre2">wireguard: wg0: Receiving handshake response from peer (\d+) \(([\d.]+):\d+\)</regex>
|
||||
<order>id,srcip</order>
|
||||
</decoder>
|
||||
|
||||
<decoder name="wireguard-keepalive">
|
||||
<parent>kernel</parent>
|
||||
<prematch>wireguard: wg0: </prematch>
|
||||
<regex type="pcre2">wireguard: wg0: \S+ keepalive packet \S+ peer (\d+) \(([\d.]+):\d+\)</regex>
|
||||
<order>id,srcip</order>
|
||||
</decoder>
|
||||
|
||||
<decoder name="wireguard-timeout">
|
||||
<parent>kernel</parent>
|
||||
<prematch>wireguard: wg0: Handshake for peer</prematch>
|
||||
<regex type="pcre2">wireguard: wg0: Handshake for peer (\d+)[^(]+\(([\d.]+):\d+\).+retrying \(try (\d+)\)</regex>
|
||||
<order>id,srcip,extra_data</order>
|
||||
</decoder>
|
||||
|
||||
<decoder name="wireguard-roaming">
|
||||
<parent>kernel</parent>
|
||||
<prematch>wireguard: wg0: Peer </prematch>
|
||||
<regex type="pcre2">wireguard: wg0: Peer (\d+).+roaming to ([\d.]+):\d+</regex>
|
||||
<order>id,srcip</order>
|
||||
</decoder>
|
||||
Reference in New Issue
Block a user