diff --git a/decoders/0100-fortigate_decoders.xml b/decoders/0100-fortigate_decoders.xml index f6fcaa2f0..b009fa00e 100644 --- a/decoders/0100-fortigate_decoders.xml +++ b/decoders/0100-fortigate_decoders.xml @@ -33,11 +33,8 @@ Mar 24 12:19:43 date=2011-07-25 time=08: 19:42 devname=Name_of_Device device_id= @@ -55,126 +52,360 @@ Feb 20 12:31:11 date=2011-02-20 time=12: 31:09 devname=Name_of_Device device_id= - date=\S+ time=\.+ devname=\S+ devid=FG\w+ logid=\d+ + date=\S+\.+time=\.+devname=\S+\.+devid=\p*FG\S+\.+logid= syslog + + + fortigate-firewall-v5 + type=utm,subtype=ips|type=utm subtype=ips|type="utm" subtype="ips" + \.*severity="(\S+)"|\.*severity=(\S+),|\.*severity=(\S+) + status + + + + fortigate-firewall-v5 + \.*srcip="(\S+)"|\.*srcip=(\S+),|\.*srcip=(\S+) + srcip + + + + fortigate-firewall-v5 + \.*dstip="(\S+)"|\.*dstip=(\S+),|\.*dstip=(\S+) + dstip + + fortigate-firewall-v5 - type=utm subtype=ips - severity=(\S+) srcip=(\S+) dstip=(\S+) \.*action=(\S+) proto\.+srcport=(\d+) dstport=(\d+) \.*msg=(\.*) - status,srcip,dstip,action,srcport,dstport,extra_data + \.*action="(\S+)"|\.*action=(\S+),|\.*action=(\S+) + action + + fortigate-firewall-v5 + \.*srcport="(\d+)"|\.*srcport=(\d+),|\.*srcport=(\d+) + srcport + + + + fortigate-firewall-v5 + \.*dstport="(\d+)"|\.*dstport=(\d+),|\.*dstport=(\d+) + dstport + + + + fortigate-firewall-v5 + \.*msg="(\.+)"|\.*dstport=(\.+),|\.*dstport=(\.+) + extra_data + + + + + + + + fortigate-firewall-v5 - type=anomaly - severity=(\w+) srcip=(\S+) dstip=(\S+) srcintf=\S+ sessionid=\S+ action=(\w+) proto=\d+ service=(\S+) count=\d+ (attack)="(\.+)" - status, srcip, dstip, action, protocol, id, extra_data + type="anomaly"|type=anomaly + \.*severity="(\S+)"|\.*severity=(\S+),|\.*severity=(\S+) + status - fortigate-firewall-v5 - type=utm subtype=webfilter - level=(\S+) \.+ user="(\.*)" srcip=(\S+) srcport=(\d+) \.+ dstip=(\S+) dstport=(\d+) \.+ hostname="(\.+)" \.+ action=(\w+) - status,srcuser,srcip,srcport,dstip,dstport,url,action + type=utm subtype=webfilter|type=utm,subtype=webfilter|type="utm" subtype="webfilter" + \.*level="(\S+)"|\.*level=(\S+),|\.*level=(\S+) + status + + + + fortigate-firewall-v5 + \.*user="(\.*)"|\.*user=(\.*),|\.*user=(\.*) + srcuser + + + + fortigate-firewall-v5 + \.*srcip="(\S+)"|\.*srcip=(\S+),|\.*srcip=(\S+) + srcip + + + + fortigate-firewall-v5 + \.*srcport="(\d+)"|\.*srcport=(\d+),|\.*srcport=(\d+) + srcport + + + + fortigate-firewall-v5 + \.*dstip="(\S+)"|\.*dstip=(\S+),|\.*dstip=(\S+) + dstip + + + + fortigate-firewall-v5 + \.*dstport="(\d+)"|\.*dstport=(\d+),|\.*dstport=(\d+) + dstport + + + + fortigate-firewall-v5 + \.*hostname="(\.+)"|\.*hostname=(\.+),|\.*hostname=(\.+) + url + + + + fortigate-firewall-v5 + \.*action="(\S+)"|\.*action=(\S+),|\.*action=(\S+) + action -date=2016-06-16 time=09:03:03 devname=Device_Name devid=FGTXXXX9999999999 logid=9999999999 type=event subtype=system level=information vd="root" logdesc="Object attribute configured" user="admin" ui="GUI(4.3.5.8)" action=Edit cfgtid=2162751 cfgpath="firewall.service.custom" cfgobj="Custom-TCP_10443" cfgattr="protocol[TCP/UDP/SCTP->TCP/UDP/SCTP]udp-portrange[->]sctp-portrange[->]" msg="Edit firewall.service.custom Custom-TCP_10443" + + fortigate-firewall-v5 + type=utm subtype=app-ctrl|type=utm,subtype=app-ctrl|type="utm" subtype="app-ctrl" + \.*level="(\S+)"|\.*level=(\S+),|\.*level=(\S+) + status + -date=2016-06-16 time=09:03:03 devname=Device_Name devid=FGTXXXX9999999999 logid=9999999999 type=event subtype=system level=information vd="root" logdesc="Object attribute configured" user="admin" ui="GUI(4.3.5.8)" action=Add cfgtid=2162750 cfgpath="firewall.service.custom" cfgobj="Custom-TCP_10443" cfgattr="" msg="Add firewall.service.custom Custom-TCP_10443" + + fortigate-firewall-v5 + \.*user="(\.*)"|\.*user=(\.*),|\.*user=(\.*) + srcuser + -date=2016-06-16 time=08:41:14 devname=Mobipay_Firewall devid=FGTXXXX9999999999 logid=0100044546 type=event subtype=system level=information vd="root" logdesc="Attribute configured" user="a@b.com.na" ui="GUI(10.42.8.253)" action=Edit cfgtid=2162733 cfgpath="log.threat-weight" cfgattr="failed-connection[low->medium]" msg="Edit log.threat-weight " + + fortigate-firewall-v5 + \.*srcip="(\S+)"|\.*srcip=(\S+),|\.*srcip=(\S+) + srcip + -date=2016-06-16 time=08:48:28 devname=Device_Name devid=FGTXXXX9999999999 logid=0100032003 type=event subtype=system level=information vd="root" logdesc="Admin logout successful" sn=1466062693 user="a@b.com.na" ui=https(4.3.5.253) action=logout status=success duration=615 state="Config-Changed" reason=exit msg="Administrator a@b.com.na logged out from https(2.3.8.1)" + + fortigate-firewall-v5 + \.*srcport="(\d+)"|\.*srcport=(\d+),|\.*srcport=(\d+) + srcport + + + + fortigate-firewall-v5 + \.*dstip="(\S+)"|\.*dstip=(\S+),|\.*dstip=(\S+) + dstip + + + + fortigate-firewall-v5 + \.*dstport="(\d+)"|\.*dstport=(\d+),|\.*dstport=(\d+) + dstport + + + + fortigate-firewall-v5 + \.*action="(\S+)"|\.*action=(\S+),|\.*action=(\S+) + action + + + + fortigate-firewall-v5 + \.*hostname="(\.+)"|\.*hostname=(\.+),|\.*hostname=(\.+) + url + + + + + + fortigate-firewall-v5 + type=event subtype=system level=information|type=event,subtype=system,level=information|type="event" subtype="system" level="information" + \.*user="(\S+)"|\.*user(\S+) + srcuser + + + + fortigate-firewall-v5 + ui=\p*\w+\((\S+)\)\p* + srcip + + + + fortigate-firewall-v5 + \.*action="(\S+)"|\.*action=(\S+) + action + + + + fortigate-firewall-v5 + \.*cfgtid="(\d+)"|\.*cfgtid=(\d+) + id + + + + fortigate-firewall-v5 + \.*cfgattr="(\.*)"|\.*cfgattr=(\.*) + url + + + + fortigate-firewall-v5 + \.*ip="(\S+)"|\.*ip=(\S+) + src_ip + + fortigate-firewall-v5 - type=event subtype=system level=information - user="(\S+)" ui=\p*\w+\((\S+)\)\p* action=(\S+) - srcuser,srcip,action + \.*srcip="(\S+)"|\.*srcip=(\S+) + src_ip fortigate-firewall-v5 - cfgtid=(\d+) \.*cfgattr=(\.*) msg=(\.*) - id,url,extra_data + \.*status="(\S+)"|\.*status=(\S+) + status fortigate-firewall-v5 - status=(\S+) \.*msg=(\.*) - status,extra_data + msg="(\.*)"|,msg=(\.*) + extra_data + + + + fortigate-firewall-v5 - type=event subtype=system level=alert vd="\S+" logdesc="\.+" sn=\S+ - user="(\S+)" ui=\w+\((\S+)\) action=(\S+) status=(\S+) reason="\.+" msg="(\.+)"$ - user,srcip,action,status,extra_data + type=event subtype=system level=alert|type=event,subtype=system,level=alert|type="event" subtype="system" level="alert" + \.*user="(\S+)"|\.*user=(\S+),|\.*user=(\S+) + srcuser - - + fortigate-firewall-v5 - type=event subtype=system level=alert vd="\S+" logdesc="\.+" user= - "(\.+)" ui=\w+\((\S+)\) msg="(\.+)" - user,srcip,extra_data + \.*action="(\S+)"|\.*action=(\S+),|\.*action=(\S+) + action - - + + fortigate-firewall-v5 + \.*status="(\S+)"|\.*status=(\S+),|\.*status=(\S+) + status + + + fortigate-firewall-v5 - type=event subtype=system level=alert vd="\S+" logdesc="\.+" ui= - (\S+) action=(\S+) status=(\S+) reason=\S+ msg="(\.+)" - srcip,action,status,extra_data + \.*msg="(\.+)"|\.*msg=(\.+),|\.*msg=(\.+) + extra_data fortigate-firewall-v5 type=event subtype=vpn level=\S+ vd="\.+" logdesc="\.+" msg="\.+" action= logdesc="(\.+)" msg=\.+ action=(\.*) remip=(\S+) locip=(\S+) \.+ status=(\S+) extra_data,action,dstip,srcip,status +--> + + + + + fortigate-firewall-v5 + type=event subtype=vpn|type="event" subtype="vpn"|type=event,subtype=vpn + \.*logdesc="(\.+)" + extra_data + + + + fortigate-firewall-v5 + \.*action="(\S+)"|\.*action=(\S+),|\.*action=(\S+) + action + + + + fortigate-firewall-v5 + \.*remip="(\S+)"|\.*remip=(\S+),|\.*remip=(\S+) + dstip + + + + fortigate-firewall-v5 + \.*locip="(\S+)"|\.*locip=(\S+),|\.*locip=(\S+) + srcip + + + + fortigate-firewall-v5 + \.*status="(\S+)"|\.*status=(\S+),|\.*status=(\S+) + status + fortigate-firewall-v5 @@ -185,12 +416,124 @@ date=2016-06-16 time=08:49:26 devname=Device_Name devid=FGTXXXX9999999999 logid= fortigate-firewall-v5 - type=traffic - srcip=(\S+) srcport=(\d+) \.+ dstip=(\S+) dstport=(\d+) \.+ appcat="(\.+)" apprisk=(\w+) applist= - srcip,srcport,dstip,dstport,protocol,status + type=traffic|type="traffic" + \.*level="(\S+)"|\.*level=(\S+),|\.*level=(\S+) + level + + + fortigate-firewall-v5 + \.*srcip="(\S+)"|\.*srcip=(\S+),|\.*srcip=(\S+) + srcip + + + + fortigate-firewall-v5 + \.*srcport="(\d+)"|\.*srcport=(\d+),|\.*srcport=(\d+) + srcport + + + + fortigate-firewall-v5 + \.*dstip="(\S+)"|\.*dstip=(\S+),|\.*dstip=(\S+) + dstip + + + + fortigate-firewall-v5 + \.*dstport="(\d+)"|\.*dstport=(\d+),|\.*dstport=(\d+) + dstport + + + + fortigate-firewall-v5 + \.*action="(\S+)"|\.*action=(\S+),|\.*action=(\S+) + action + + + + fortigate-firewall-v5 + \.*appcat="(\.+)"|\.*appcat=(\.+),|\.*appcat=(\.+) + protocol + + + + fortigate-firewall-v5 + \.*apprisk="(\S+)"|\.*apprisk=(\S+),|\.*apprisk=(\S+) + status + + + + + fortigate-firewall-v5 + type=utm subtype=virus|type=utm,subtype=virus|type="utm" subtype="virus" + \.*eventtype="(\S+)"|\.*eventtype=(\S+),|\.*eventtype=(\S+) + protocol + + + + fortigate-firewall-v5 + \.*level="(\S+)"|\.*level=(\S+),|\.*level=(\S+) + status + + + + fortigate-firewall-v5 + \.*action="(\S+)"|\.*action=(\S+),|\.*action=(\S+) + action + + + + fortigate-firewall-v5 + \.*user="(\.*)"|\.*user=(\.*),|\.*user=(\.*) + srcuser + + + + fortigate-firewall-v5 + \.*srcip="(\S+)"|\.*srcip=(\S+),|\.*srcip=(\S+) + srcip + + + + fortigate-firewall-v5 + \.*dstip="(\S+)"|\.*dstip=(\S+),|\.*dstip=(\S+) + dstip + + + + fortigate-firewall-v5 + \.*srcport="(\d+)"|\.*srcport=(\d+),|\.*srcport=(\d+) + srcport + + + + fortigate-firewall-v5 + \.*dstport="(\d+)"|\.*dstport=(\d+),|\.*dstport=(\d+) + dstport + + + + fortigate-firewall-v5 + \.*filename="(\.+)"|\.*filename=(\.+),|\.*filename=(\.+) + fortigate.file_infected + + + + fortigate-firewall-v5 + \.*virus="(\.+)"|\.*virus=(\.+),|\.*virus=(\.+) + fortigate.virus_found + + + + fortigate-firewall-v5 + \.*url="(\.+)"|\.*url=(\.+),|\.*url=(\.+) + url + + diff --git a/rules/0390-fortigate_rules.xml b/rules/0390-fortigate_rules.xml index dff862f69..b478b39ec 100644 --- a/rules/0390-fortigate_rules.xml +++ b/rules/0390-fortigate_rules.xml @@ -122,6 +122,23 @@ ID: 81600 - 80799 pci_dss_10.6.1,gpg13_4.13,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + 81603 + Add + Fortigate: Firewall configuration changes + pci_dss_1.4,gpg13_4.13,hipaa_164.312.a.1,nist_800_53_SC.7, + + + + 81631 + + Fortigate: Multiple Firewall edit events from same source. + pci_dss_1.4,pci_dss_10.6.1,gpg13_4.13,gdpr_IV_35.7.d,hipaa_164.312.a.1,hipaa_164.312.b,nist_800_53_SC.7,nist_800_53_AU.6, + + - + 81603 - type=traffic - high + type=traffic|type="traffic" Fortigate: Traffic to be aware of. pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, @@ -181,7 +197,7 @@ ID: 81600 - 80799 - + 81603 warning blocked @@ -201,7 +217,7 @@ ID: 81600 - 80799 --> 81603 - level=information + level=information|level="information" tunnel-up Fortigate: VPN User connected. authentication_success,pci_dss_10.2.5,gpg13_7.1,gdpr_IV_32.2,hipaa_164.312.b,nist_800_53_AU.14,nist_800_53_AC.7, @@ -219,7 +235,7 @@ ID: 81600 - 80799 --> 81603 - level=information + level=information|level="information" tunnel-down Fortigate: VPN User disconnected. pci_dss_10.2.5,gpg13_7.1,gdpr_IV_32.2,hipaa_164.312.b,nist_800_53_AU.14,nist_800_53_AC.7, @@ -262,7 +278,7 @@ ID: 81600 - 80799 attack detected Fortigate Attack Detected - attack,gdpr_IV_35.7.d, + attack,pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, @@ -270,7 +286,90 @@ ID: 81600 - 80799 attack dropped Fortigate Attack Dropped - attack,gdpr_IV_35.7.d, + attack,pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + + 81603 + attack + clear_session + Fortigate Attack: Session cleared. + attack,pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + + + 81603 + subtype="app-ctrl"|subtype=app-ctrl + pass + Fortigate: App passed by firewall. + pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + + 81603 + subtype="app-ctrl"|subtype=app-ctrl + block + Fortigate: App blocked by firewall. + firewall_drop,pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + + 81620 + + Fortigate: Multiple URL blocked from same source. + multiple_drops,pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + + 81603 + type="event" subtype="vpn" level="notice"|type=event subtype=vpn level=notice|type=event,subtype=vpn,level=notice + Fortigate: VPN related information + + + + 81603 + type="event" subtype="vpn" level="error"|type=event subtype=vpn level=error|type=event,subtype=vpn,level=error + Fortigate: VPN related error + + + + + + 81603 + subtype=virus|subtype="virus" + Fortigate: Virus detected. + pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + + 81638 + blocked + Fortigate: Blocked URL because a virus was detected. + firewall_drop,pci_dss_10.6.1,gdpr_IV_35.7.d,hipaa_164.312.b,nist_800_53_AU.6, + + + + + + 81603 + notice + passthrough + Fortigate: URL belongs to an allowed category. + + + +