From 87168d66ea9dfbf6a58d8c973754a61ed7e5b751 Mon Sep 17 00:00:00 2001 From: Joren Date: Fri, 16 May 2025 10:26:18 +0200 Subject: [PATCH] Add rules.xml --- rules.xml | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 rules.xml diff --git a/rules.xml b/rules.xml new file mode 100644 index 0000000..f2efc22 --- /dev/null +++ b/rules.xml @@ -0,0 +1,73 @@ + + + + + + cgfw-firewall-activity + DROP|DENY|REJECT + Blocked traffic detected: srcIP=$(srcip) -> dstIP=$(dstip) protocol=$(L4Protocol) rule=$(FirewallRule) user=$(User) + + + + + cgfw-firewall-activity + ALLOW + Allowed traffic detected: srcIP=$(srcip) -> dstIP=$(dstip) protocol=$(L4Protocol) rule=$(FirewallRule) user=$(User) + + + + + cgfw-firewall-activity + [1-9][0-9]{7,} + High bandwidth usage detected: srcIP=$(srcip) -> dstIP=$(dstip) sentBytes=$(SentBytes) application=$(Application) + + + + + cgfw-firewall-activity + [1-9][0-9]{5,} + Large number of packets sent: srcIP=$(srcip) -> dstIP=$(dstip) sentPackets=$(SentPackets) application=$(Application) + + + + + cgfw-firewall-activity + FTP|Telnet + Unauthorized protocol detected: srcIP=$(srcip) -> dstIP=$(dstip) protocol=$(L4Protocol) user=$(User) + + + + + cgfw-firewall-activity + BLOCKED-ACCESS + Unauthorized access attempt detected: srcIP=$(srcip) -> dstIP=$(dstip) rule=$(FirewallRule) user=$(User) + + + + + cgfw-firewall-activity + Malware|Phishing|Proxy Avoidance + Traffic to high-risk URL category detected: srcIP=$(srcip) -> dstIP=$(dstip) category=$(URLCategory) content=$(Content) + + + + + cgfw-firewall-activity + Internal + External + Internal to external traffic: srcIP=$(srcip) -> dstIP=$(dstip) interface=$(SourceInterface) -> $(DestinationInterface) user=$(User) + + + + + cgfw-firewall-activity + [3-9][0-9]{3,} + Suspicious long session duration: srcIP=$(srcip) -> dstIP=$(dstip) duration=$(Duration) seconds application=$(Application) + + + + + cgfw-firewall-activity + Barracuda Firewall general event: srcIP=$(srcip) -> dstIP=$(dstip) protocol=$(L4Protocol) rule=$(FirewallRule) application=$(Application) + +