<!-- @(#) $Id$
  -
  -  Official Zeus 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
  -
  -  Contributed by: Chris Buckley <chris at cjbuckley.net>
  -->
  

<!-- For more info:
  - http://www.ossec.net/wiki/index.php/Log_Samples_Zeus
  -->


<group name="zeus,">
  <rule id="31200" level="0">
    <decoded_as>zeus</decoded_as>
    <description>Grouping of Zeus rules.</description>
  </rule>

  <rule id="31201" level="0">
    <if_sid>31200</if_sid>
    <regex>^[\S+ \S+] INFO:|^[\S+ \S+] SSL:</regex>
    <description>Grouping of Zeus informational logs.</description>
  </rule>
  
  <rule id="31202" level="4">
    <if_sid>31200</if_sid>
    <regex>^[\S+ \S+] WARN:</regex>
    <description>Zeus warning log.</description>
  </rule>
  
  <rule id="31203" level="9">
    <if_sid>31200</if_sid>
    <regex>^[\S+ \S+] SERIOUS:</regex>
    <description>Zeus serious log.</description>
  </rule>
  
  <rule id="31204" level="12">
    <if_sid>31200</if_sid>
    <regex>^[\S+ \S+] FATAL:</regex>
    <description>Zeus fatal log.</description>
  </rule>

  <rule id="31205" level="8">
    <if_sid>31202</if_sid>
    <match>admin:Authentication failure</match>
    <description>Admin authentication failed.</description>
    <group>authentication_failed,</group>
  </rule>

  <rule id="31206" level="0">
    <if_sid>31202</if_sid>
    <match>Unknown directive</match>
    <description>Configuration warning (ignored).</description>
  </rule>
  
  <rule id="31251" level="10" frequency="6" timeframe="120">
    <if_matched_sid>31202</if_matched_sid>
    <description>Multiple Zeus warnings.</description>
  </rule>
</group> <!-- zeus, -->


<!-- EOF -->
