/rules/50_named_rules.xml
https://bitbucket.org/oscarschneider/ossec-rules · XML · 104 lines · 75 code · 15 blank · 14 comment · 0 complexity · 20ba82df00a527fd5630a3ff456a9b7e MD5 · raw file
- <!-- @(#) $Id: named_rules.xml,v 1.22 2010/03/04 20:12:33 dcid Exp $
- - Example of Named 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
- -->
- <group name="syslog,named,">
- <rule id="12100" level="0" noalert="1">
- <decoded_as>named</decoded_as>
- <description>Grouping of the named rules</description>
- </rule>
-
- <rule id="12101" level="12">
- <if_sid>12100</if_sid>
- <match>dropping source port zero packet from</match>
- <description>Invalid DNS packet. Possibility of attack.</description>
- <group>invalid_access,</group>
- </rule>
- <rule id="12102" level="9">
- <if_sid>12100</if_sid>
- <match>denied AXFR from</match>
- <description>Failed attempt to perform a zone transfer.</description>
- <group>access_denied,</group>
- </rule>
- <rule id="12103" level="4">
- <if_sid>12100</if_sid>
- <match>denied update from|unapproved update from</match>
- <description>DNS update denied. </description>
- <description>Generally mis-configuration.</description>
- <info type="link">http://seclists.org/incidents/2000/May/217</info>
- <group>client_misconfig,</group>
- </rule>
- <rule id="12104" level="4">
- <if_sid>12100</if_sid>
- <match>unable to rename log file</match>
- <description>Log permission misconfiguration in Named.</description>
- <group>system_error,</group>
- </rule>
- <rule id="12105" level="4">
- <if_sid>12100</if_sid>
- <match>unexpected RCODE </match>
- <description>Unexpected error while resolving domain.</description>
- </rule>
- <rule id="12106" level="4">
- <if_sid>12100</if_sid>
- <match>refused notify from non-master</match>
- <description>DNS configuration error.</description>
- </rule>
- <rule id="12107" level="0">
- <if_sid>12100</if_sid>
- <regex>update \S+ denied</regex>
- <description>DNS update using RFC2136 Dynamic protocol.</description>
- <!-- <info>http://www.isc.org/index.pl?/sw/bind/FAQ.php</info> dead link, and don't know what the issue is with this -->
- </rule>
- <rule id="12108" level="4">
- <if_sid>12100</if_sid>
- <match>query (cache) denied</match>
- <description>Query cache denied (maybe config error).</description>
- <info type="link">http://www.reedmedia.net/misc/dns/errors.html</info>
- </rule>
-
- <rule id="12109" level="12">
- <if_sid>12100</if_sid>
- <match>exiting (due to fatal error)</match>
- <description>Named fatal error. DNS service going down.</description>
- <group>service_availability,</group>
- </rule>
- <rule id="12110" level="8">
- <regex>^zone \S+ serial number \S+ received from master </regex>
- <regex>\S+ \S ours (\S+)</regex>
- <description>Serial number from master is lower </description>
- <description>than stored.</description>
- <group>system_error,</group>
- </rule>
-
- <rule id="12111" level="8">
- <regex>^transfer of \S+ from \S+ failed while receiving \S+ REFUSED</regex>
- <description>Unable to perform zone transfer.</description>
- <group>system_error,</group>
- </rule>
- <rule id="12112" level="4">
- <regex>^zone \S+: expired</regex>
- <description>Zone transfer error.</description>
- </rule>
-
- </group> <!-- SYSLOG,NAMED -->