new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / debian / ossec-hids / var / ossec / rules / vpn_concentrator_rules.xml
diff --git a/debian/ossec-hids/var/ossec/rules/vpn_concentrator_rules.xml b/debian/ossec-hids/var/ossec/rules/vpn_concentrator_rules.xml
new file mode 100644 (file)
index 0000000..aab0d98
--- /dev/null
@@ -0,0 +1,60 @@
+<!-- @(#) $Id: ./etc/rules/vpn_concentrator_rules.xml, 2011/09/08 dcid Exp $
+
+  -
+  -  Official Cisco VPN Concentrator rules for OSSEC.
+  -
+  -  Copyright (C) 2009 Trend Micro Inc.
+  -  All rights reserved.
+  -
+  -  This program is a free software; you can redistribute it
+  -  and/or modify it under the terms of the GNU General Public
+  -  License (version 2) as published by the FSF - Free Software
+  -  Foundation.
+  -
+  -  License details: http://www.ossec.net/en/licensing.html
+  -->
+  
+
+<!-- For more info:
+  - http://www.ossec.net/wiki/index.php/Cisco_VPN_Concentrator
+  -->
+
+
+<group name="syslog,cisco_vpn,">
+  <rule id="14200" level="0">
+    <decoded_as>cisco-vpn-concentrator</decoded_as>
+    <description>Grouping of Cisco VPN concentrator rules</description>
+  </rule>
+
+  <rule id="14201" level="3">
+    <if_sid>14200</if_sid>
+    <id>^IKE/52$</id>
+    <description>VPN authentication successful.</description>
+    <group>authentication_success,</group>
+  </rule>
+
+  <rule id="14202" level="5">
+    <if_sid>14200</if_sid>
+    <id>^AUTH/5$|^AUTH/9$|^IKE/167$|^PPP/9$|^SSH/33$|^PSH/23$</id>
+    <description>VPN authentication failed.</description>
+    <group>authentication_failed,</group>
+  </rule>
+  
+  <rule id="14203" level="4">
+    <if_sid>14200</if_sid>
+    <id>^HTTP/47$|^SSH/16$</id>
+    <options>alert_by_email</options>
+    <description>VPN Admin authentication successful.</description>
+    <group>authentication_success,</group>
+  </rule>
+  
+  <rule id="14251" level="10" frequency="8" timeframe="240">
+    <if_matched_sid>14202</if_matched_sid>
+    <same_source_ip />
+    <description>Multiple VPN authentication failures.</description>
+    <group>authentication_failures,</group>
+  </rule>
+</group> <!-- SYSLOG,vpn_concentrator -->
+
+
+<!-- EOF -->