new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / debian / ossec-hids / var / ossec / rules / roundcube_rules.xml
diff --git a/debian/ossec-hids/var/ossec/rules/roundcube_rules.xml b/debian/ossec-hids/var/ossec/rules/roundcube_rules.xml
new file mode 100644 (file)
index 0000000..bfa56f5
--- /dev/null
@@ -0,0 +1,44 @@
+<!-- @(#) $Id: ./etc/rules/roundcube_rules.xml, 2011/09/08 dcid Exp $
+
+  -  Official Roundcube rules for OSSEC.
+  -
+  -  Author: Michael Starks
+  -
+  -  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
+  -  Foundation.
+  -
+  -  License details: http://www.ossec.net/en/licensing.html
+  -->
+
+<group name="syslog,roundcube,">
+  <rule id="9400" level="0">
+    <decoded_as>roundcube</decoded_as>
+    <description>Roundcube messages grouped.</description>
+  </rule>
+
+  <rule id="9401" level="6">
+    <if_sid>9400</if_sid>
+    <match>failed (LOGIN)| Login failed | Authentication failed| Failed login </match>
+    <description>Roundcube authentication failed.</description>
+    <group>authentication_failed,</group>
+  </rule>
+
+  <rule id="9402" level="3">
+    <if_sid>9400</if_sid>
+    <match>Successful login</match>
+    <description>Roundcube authentication succeeded.</description>
+    <group>authentication_success,</group>
+  </rule>
+
+  <rule id="9403" level="10" frequency="6" timeframe="120">
+    <if_matched_sid>9401</if_matched_sid>
+    <same_source_ip />
+    <description>Roundcube brute force (multiple failed logins).</description>
+    <group>authentication_failures,</group>
+  </rule>
+</group>
+  
+
+<!-- EOF -->