obrisane nepotrebne datoteke od zadnjeg builda
[ossec-hids.git] / etc / rules / pam_rules.xml
old mode 100755 (executable)
new mode 100644 (file)
index f70a813..87444e2
@@ -1,4 +1,5 @@
-<!-- @(#) $Id$
+<!-- @(#) $Id: ./etc/rules/pam_rules.xml, 2012/07/23 dcid Exp $
+
   -  Official Unix Pam rules for OSSEC.
   -
   -  Copyright (C) 2009 Trend Micro Inc.
@@ -41,7 +42,7 @@
  
   <rule id="5504" level="5">
     <if_sid>5500</if_sid>
-    <match>check pass; user unknown</match>
+    <match>check pass; user unknown|error retrieving information about user</match>
     <description>Attempt to login with an invalid user.</description>
     <group>invalid_login</group>
   </rule> 
     <description>Ignoring Annoying Ubuntu/debian cron login events.</description>
   </rule>
 
+  <rule id="5523" level="0">
+    <if_sid>5504</if_sid>
+    <regex>^pam_unix\S+: check pass; user unknown$</regex>
+    <description>Ignoring events with a user or a password.</description>
+  </rule>
+
   <rule id="5551" level="10" frequency="6" timeframe="180">
     <if_matched_sid>5503</if_matched_sid>
     <same_source_ip />
     <group>authentication_failures,</group>
   </rule>
 
+  <rule id="5552" level="0">
+    <if_sid>5500</if_sid>
+    <match>gdm:auth): conversation failed</match>
+    <description>PAM and gdm are not playing nicely.</description>
+  </rule>
+
+   <rule id="5553" level="4">
+    <program_name>login</program_name>
+    <match>cannot open shared object file: No such file or directory</match>
+    <description>PAM misconfiguration.</description>
+  </rule>
+
+  <rule id="5554" level="4">
+    <program_name>login</program_name>
+    <match>illegal module type: </match>
+    <description>PAM misconfiguration.</description>
+  </rule>
+
+  <rule id="5555" level="3">
+    <match>: password changed for</match>
+    <description>User changed password.</description>
+  </rule>
+
+  <rule id="5556" level="0">
+    <decoded_as>unix_chkpwd</decoded_as>
+    <description>unix_chkpwd grouping.</description>
+  </rule>
+
+  <rule id="5557" level="5">
+    <if_sid>5556</if_sid>
+    <match>password check failed </match>
+    <description>Password check failed.</description>
+    <group>authentication_failure</group>
+  </rule>
+
+
 </group> <!-- SYSLOG,pam -->