Imported Upstream version 2.7
[ossec-hids.git] / etc / rules / vpn_concentrator_rules.xml
1 <!-- @(#) $Id: ./etc/rules/vpn_concentrator_rules.xml, 2011/09/08 dcid Exp $
2
3   -
4   -  Official Cisco VPN Concentrator rules for OSSEC.
5   -
6   -  Copyright (C) 2009 Trend Micro Inc.
7   -  All rights reserved.
8   -
9   -  This program is a free software; you can redistribute it
10   -  and/or modify it under the terms of the GNU General Public
11   -  License (version 2) as published by the FSF - Free Software
12   -  Foundation.
13   -
14   -  License details: http://www.ossec.net/en/licensing.html
15   -->
16   
17
18 <!-- For more info:
19   - http://www.ossec.net/wiki/index.php/Cisco_VPN_Concentrator
20   -->
21
22
23 <group name="syslog,cisco_vpn,">
24   <rule id="14200" level="0">
25     <decoded_as>cisco-vpn-concentrator</decoded_as>
26     <description>Grouping of Cisco VPN concentrator rules</description>
27   </rule>
28
29   <rule id="14201" level="3">
30     <if_sid>14200</if_sid>
31     <id>^IKE/52$</id>
32     <description>VPN authentication successful.</description>
33     <group>authentication_success,</group>
34   </rule>
35
36   <rule id="14202" level="5">
37     <if_sid>14200</if_sid>
38     <id>^AUTH/5$|^AUTH/9$|^IKE/167$|^PPP/9$|^SSH/33$|^PSH/23$</id>
39     <description>VPN authentication failed.</description>
40     <group>authentication_failed,</group>
41   </rule>
42   
43   <rule id="14203" level="4">
44     <if_sid>14200</if_sid>
45     <id>^HTTP/47$|^SSH/16$</id>
46     <options>alert_by_email</options>
47     <description>VPN Admin authentication successful.</description>
48     <group>authentication_success,</group>
49   </rule>
50   
51   <rule id="14251" level="10" frequency="8" timeframe="240">
52     <if_matched_sid>14202</if_matched_sid>
53     <same_source_ip />
54     <description>Multiple VPN authentication failures.</description>
55     <group>authentication_failures,</group>
56   </rule>
57 </group> <!-- SYSLOG,vpn_concentrator -->
58
59
60 <!-- EOF -->