Imported Upstream version 2.7
[ossec-hids.git] / etc / rules / smbd_rules.xml
index 62148dd..87ddf3d 100755 (executable)
@@ -1,4 +1,5 @@
-<!-- @(#) $Id: smbd_rules.xml,v 1.10 2009/06/24 17:06:19 dcid Exp $
+<!-- @(#) $Id: ./etc/rules/smbd_rules.xml, 2011/09/08 dcid Exp $
+
   -  Official SMB rules for OSSEC.
   -
   -  Copyright (C) 2009 Trend Micro Inc.
@@ -6,7 +7,7 @@
   -
   -  This program is a free software; you can redistribute it
   -  and/or modify it under the terms of the GNU General Public
-  -  License (version 3) as published by the FSF - Free Software
+  -  License (version 2) as published by the FSF - Free Software
   -  Foundation.
   -
   -  License details: http://www.ossec.net/en/licensing.html
@@ -18,7 +19,7 @@
 
 <group name="syslog,smbd,">
   <rule id="13100" level="0" noalert="1">
-    <match>^smbd</match>
+    <decoded_as>smbd</decoded_as>
     <description>Grouping for the smbd rules.</description>
   </rule>
   
     <match>Unable to connect to CUPS server</match>
     <description>Samba network problems (unable to connect).</description>
   </rule> 
+
+  <rule id="13106" level="0" noalert="1">
+    <decoded_as>nmbd</decoded_as>
+  </rule>
+
+  <rule id="13108" level="1">
+    <if_sid>13100</if_sid>
+    <match>smbd is already running</match>
+    <description>An attempt has been made to start smbd but the process is already running.</description>
+  </rule>
+
+  <rule id="13109" level="1">
+    <if_sid>13106</if_sid>
+    <match>nmbd is already running</match>
+    <description>An attempt has been made to start nmbd but the process is already running.</description>
+  </rule>
+
+  <rule id="13110" level="2">
+    <if_sid>13100</if_sid>
+    <match>Connection denied from</match>
+    <description>Connection was denied.</description>
+  </rule>
+
+  <rule id="13111" level="3">
+    <if_sid>13100</if_sid>
+    <match>Socket is not connected</match>
+    <description>Socket is not connected, write failed.</description>
+  </rule>
+
+  <rule id="13112" level="3">
+    <decoded_as>iptables</decoded_as>
+    <match>gvfsd-smb</match>
+    <regex>segfault at \S+ ip \S+ sp \S+ error \d+ in</regex>
+    <description>Segfault in gvfs-smb.</description>
+  </rule>
+
+
+
 </group> <!-- SYSLOG,SMBD, -->