Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wazuh/wazuh-ruleset: rename pfsense to pf #575

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<!--
- Pfsense firewall decoders
- pf firewall decoders
- Author Mark Alston
- Updated by Wazuh, Inc.
- Copyright (C) 2015-2019, Wazuh Inc.
- This program is a free software; you can redistribute it and/or modify it under the terms of GPLv2.
-->

<!--
- Will extract src IP, src Port, dst IP, dst Port, Protocol and action from the pfsense logs, when available.
- Will extract src IP, src Port, dst IP, dst Port, Protocol and action from the pf logs, when available.
-->

<!-- PFSENSE
Nov 8 12:37:34 pfSense filterlog: 5,,,1000102433,em0,match,block,in,4,0x0,,128,24677,0,none,17,udp,186,10.9.0.119,10.9.0.255,17500,17600,166
<!-- pf filter
Nov 8 12:37:34 hostname filterlog: 5,,,1000102433,em0,match,block,in,4,0x0,,128,24677,0,none,17,udp,186,10.9.0.119,10.9.0.255,17500,17600,166
-->
<decoder name="pf">
<program_name>filterlog</program_name>
Expand Down
10 changes: 5 additions & 5 deletions rules/0540-pfsense_rules.xml → rules/0540-pf_rules.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!--
- pfSense ruleset
- pf ruleset
- Created by Wazuh, Inc.
- Copyright (C) 2015-2019, Wazuh Inc.
- This program is a free software; you can redistribute it and/or modify it under the terms of GPLv2.
ID: 87700-87799
-->

<group name="pfsense,">
<group name="pf,">
<rule id="87700" level="0">
<decoded_as>pf</decoded_as>
<program_name>filterlog</program_name>
<description>pfSense firewall rules grouped.</description>
<description>pf firewall rules grouped.</description>
</rule>

<!-- We don't log firewall events, because they go
Expand All @@ -20,14 +20,14 @@
<if_sid>87700</if_sid>
<action>block</action>
<options>no_log</options>
<description>pfSense firewall drop event.</description>
<description>pf firewall drop event.</description>
<group>firewall_block,pci_dss_1.4,gpg13_4.12,hipaa_164.312.a.1,nist_800_53_SC.7,</group>
</rule>

<rule id="87702" level="10" frequency="18" timeframe="45" ignore="240">
<if_matched_sid>87701</if_matched_sid>
<same_source_ip />
<description>Multiple pfSense firewall blocks events from same source.</description>
<description>Multiple pf firewall blocks events from same source.</description>
<group>multiple_blocks,pci_dss_1.4,pci_dss_10.6.1,gpg13_4.12,hipaa_164.312.a.1,hipaa_164.312.b,nist_800_53_SC.7,nist_800_53_AU.6,</group>
</rule>
</group>