Imported Upstream version 2.5.1
[ossec-hids.git] / etc / rules / zeus_rules.xml
1 <!-- @(#) $Id$
2   -
3   -  Official Zeus rules for OSSEC.
4   -
5   -  Copyright (C) 2009 Trend Micro Inc.
6   -  All rights reserved.
7   -
8   -  This program is a free software; you can redistribute it
9   -  and/or modify it under the terms of the GNU General Public
10   -  License (version 2) as published by the FSF - Free Software
11   -  Foundation.
12   -
13   -  License details: http://www.ossec.net/en/licensing.html
14   -
15   -  Contributed by: Chris Buckley <chris at cjbuckley.net>
16   -->
17   
18
19 <!-- For more info:
20   - http://www.ossec.net/wiki/index.php/Log_Samples_Zeus
21   -->
22
23
24 <group name="zeus,">
25   <rule id="31200" level="0">
26     <decoded_as>zeus</decoded_as>
27     <description>Grouping of Zeus rules.</description>
28   </rule>
29
30   <rule id="31201" level="0">
31     <if_sid>31200</if_sid>
32     <regex>^[\S+ \S+] INFO:|^[\S+ \S+] SSL:</regex>
33     <description>Grouping of Zeus informational logs.</description>
34   </rule>
35   
36   <rule id="31202" level="4">
37     <if_sid>31200</if_sid>
38     <regex>^[\S+ \S+] WARN:</regex>
39     <description>Zeus warning log.</description>
40   </rule>
41   
42   <rule id="31203" level="9">
43     <if_sid>31200</if_sid>
44     <regex>^[\S+ \S+] SERIOUS:</regex>
45     <description>Zeus serious log.</description>
46   </rule>
47   
48   <rule id="31204" level="12">
49     <if_sid>31200</if_sid>
50     <regex>^[\S+ \S+] FATAL:</regex>
51     <description>Zeus fatal log.</description>
52   </rule>
53
54   <rule id="31205" level="8">
55     <if_sid>31202</if_sid>
56     <match>admin:Authentication failure</match>
57     <description>Admin authentication failed.</description>
58     <group>authentication_failed,</group>
59   </rule>
60
61   <rule id="31206" level="0">
62     <if_sid>31202</if_sid>
63     <match>Unknown directive</match>
64     <description>Configuration warning (ignored).</description>
65   </rule>
66   
67   <rule id="31251" level="10" frequency="6" timeframe="120">
68     <if_matched_sid>31202</if_matched_sid>
69     <description>Multiple Zeus warnings.</description>
70   </rule>
71 </group> <!-- zeus, -->
72
73
74 <!-- EOF -->