OSSEC / HIDS Rule Documentation
Documentation for the OSSEC/HIDS rules previously described in the Atomicorp wiki. This is an initial selection, with more rules to follow. OSSEC rule IDs have their own namespace; the WAF rule catalog documents ModSecurity rules separately.
| Rule ID | Alert message / subject | Level |
|---|---|---|
| 11 | Anomalous increase in log events | |
| 501 | New ossec agent connected. | 3 |
| 502 | Ossec server started. | 3 |
| 503 | Ossec agent started. | 3 |
| 504 | Ossec agent disconnected. | 3 |
| 506 | Ossec agent key updated | 3 |
| 510 | Host-based anomaly detection event (rootcheck). | 6 |
| 512 | Windows Audit event. | 3 |
| 514 | Windows application monitor event. | 2 |
| 516 | System Audit event. | 3 |
| 531 | Partition usage reached 90%+ (disk space monitor). | 7 |
| 533 | Listened ports status (netstat) changed (new port opened or closed). | 7 |
| 536 | Partition usage reached 80%+ (disk space monitor). | 7 |
| 550 | Integrity checksum changed. | 7 |
| 551 | Integrity checksum changed again (2nd time). | 1 |
| 552 | Integrity checksum changed again (3rd time). | 1 |
| 553 | File deleted. Unable to retrieve checksum. | 7 |
| 554 | File added to the system. | 5 |
| 591 | Log file rotated. | 3 |
| 592 | Log file size reduced. | 8 |
| 593 | Microsoft Event log cleared. | 9 |
| 607 | Active response: $(script) - $(type) | 3 |
| 1002 | Unknown problem somewhere in the system. | 2 |
| 1003 | Non standard syslog message (size too large). | 13 |
| 1006 | Syslogd restarted. | 5 |
| 1007 | File system full. | 7 |
| 2501 | User authentication failure. | 5 |
| 2502 | User missed the password more than one time | 10 |
| 2932 | New Yum/DNF package installed. | 7 |
| 2933 | Yum/DNF package updated. | 7 |
| 2934 | Yum/DNF package deleted. | 7 |
| 2945 | rsyslog may be dropping messages due to rate-limiting. | 4 |
| 2960 | User added to group. | 2 |
| 3301 | Postfix: Message rejected by postfix configuration (554: permanent problems with the remote server). | 6 |
| 3302 | Postfix: Rejected by access list (Requested action not taken). | 6 |
| 3305 | Postfix: Recipient address must contain FQDN (504: Command parameter not implemented). | 5 |
| 3306 | Postfix: IP Address black-listed by anti-spam (blocked). | 6 |
| 3333 | Postfix stopped. | 7 |
| 3334 | Postfix started. | 3 |
| 3335 | Postfix: too many errors after RCPT from unkown | 6 |
| 3337 | Spamhaus blocklist event | |
| 3351 | Postfix: Multiple relaying attempts of spam. | 6 |
| 3355 | Postfix: Multiple attempts to send e-mail to invalid recipient or from unknown sender domain. | 10 |
| 3356 | Postfix: Multiple attempts to send e-mail from black-listed IP address (blocked). | 10 |
| 3357 | Multiple rapid SASL authentication failures. | 10 |
| 3358 | Multiple SASL authentication failures. | 10 |
| 3359 | Multiple SASL authentication failures. | 10 |
| 3360 | Multiple SASL authentication failures. | 10 |
| 3379 | Postfix: (Fast 5/10s) Multiple attempts to send e-mail with EHLO failure | 6 |
| 3381 | Postfix: (Medium 5/60s) Multiple attempts to send e-mail with EHLO failure | 6 |
| 3396 | Postfix: hostname verification failed | 3 |
| 3398 | Postfix: Illegal address from unknown sender | 6 |
| 3901 | New courier (imap/pop3) connection. | 3 |
| 3910 | Courier brute force (multiple failed logins from the same IP). | 10 |
| 3911 | Multiple connection attempts to courier from same source. | 10 |
| 3912 | Multiple failed logins, 6 failures in 60 seconds from the same IP. | 10 |
| 3913 | Multiple failed logins, 10 failures in 1 hour from the same IP. | 10 |
| 4103 | Advanced portscan event | |
| 4151 | Firewall: Multiple drop events from same source. | 7 |
| 5108 | System running out of memory. Availability of the system is in risk. | 12 |
| 5114 | Error inserting module. | 7 |
| 5302 | User missed the password to change UID to root. | 9 |
| 5402 | Successful sudo to ROOT executed | 4 |
| 5405 | Unauthorized user attempted to use sudo. | 5 |
| 5501 | Login session opened. | 3 |
| 5502 | Login session closed. | 3 |
| 5503 | User login failed. | 5 |
| 5551 | Multiple failed logins in a small period of time. | 10 |
| 5555 | User changed password. | 3 |
| 5556 | Multiple failed logins in a long period of time. | 10 |
| 5559 | Password check failed. | 5 |
| 5701 | Possible attack on the ssh server (or version gathering). | 8 |
| 5702 | Reverse lookup error (bad ISP or attack). | 5 |
| 5703 | Possible breakin attempt (high number of reverse lookup errors). | 10 |
| 5706 | SSH insecure connection attempt (scan). | 5 |
| 5710 | Attempt to login using a non-existent user | 5 |
| 5712 | SSHD brute force trying to get access to the system. | 10 |
| 5715 | SSHD authentication success. | 3 |
| 5716 | SSHD authentication failed. | 5 |
| 5719 | Multiple access attempts using a denied user. | 10 |
| 5720 | Multiple SSHD authentication failures. | 10 |
| 5758 | SSH: Maximum authentication attempts exceeded. | 6 |
| 5905 | Failed adding user to the system | 8 |
| 7501 | McAfee Windows AV informational event. | 2 |
| 9701 | Dovecot Authentication Success. | 3 |
| 9705 | Dovecot Invalid User Login Attempt. | 5 |
| 9707 | Dovecot Aborted Login. | 5 |
| 9951 | vpopmail: brute force (multiple failed logins). | 10 |
| 9952 | vpopmail: brute force (email harvesting). | 10 |
| 9953 | vpopmail: brute force (empty password). | 10 |
| 11203 | proftpd: Attempt to login using a non-existent user. | 5 |
| 11209 | proftpd: Attempt to bypass firewall that can't adequately keep state of FTP traffic. | 14 |
| 11252 | proftpd: Multiple connection attempts from same source. | 10 |
| 11255 | proftpd: Attempt to log in to a forbidden account. | 7 |
| 11257 | proftpd: cannot connect to the clamd daemon. (Daemon not running?) | 7 |
| 11306 | pure-ftpd: FTP brute force (multiple failed logins). | 10 |
| 12145 | zone transfer denied | 1 |
| 12149 | Bind: Multiple query (cache) failures. | 6 |
| 12150 | Bind DoS attack. (CVE-2011-4313) | 12 |
| 17505 | Plesk console login failure | 5 |
| 18100 | Group of windows rules. | 0 |
| 18103 | Windows error event. | 5 |
| 18105 | Windows audit failure event. | 4 |
| 18130 | Windows: Logon Failure - Unknown user or bad password. | 5 |
| 18141 | Unexpected Windows shutdown. | 7 |
| 18145 | Windows: Service startup type was changed. | 3 |
| 18146 | Windows: Application Uninstalled. | 5 |
| 18147 | Windows: Application Installed. | 5 |
| 18149 | Windows User Logoff. | 3 |
| 18152 | Multiple Windows Logon Failures. | 10 |
| 18153 | Multiple Windows audit failure events. | 10 |
| 18154 | Multiple Windows error events. | 10 |
| 18161 | Windows Filtering Platform has blocked a connection | 2 |
| 18162 | Windows Filtering Platform has blocked a connection multiple times (Standard: 60/10) | 6 |
| 18180 | MS SQL Server Logon Failure. | 5 |
| 18183 | Microsoft: Multiple MS SQL Server Logon Failures from the same source. | 10 |
| 18258 | Windows: TS Gateway login failure. | 5 |
| 18259 | Windows: TS Gateway user disconnected. | 3 |
| 18301 | Windows Application Event (455): Error writing to EDB log file. | 4 |
| 18303 | Windows Application Event (82): The RPC server is unavailable. | 4 |
| 18305 | Windows Application Event (1002): Application Hang. | 5 |
| 18306 | Windows Application Event (1002): Application Hang occurred 7 or more times within 24 hrs - Check application. | 9 |
| 18600 | Windows System Rules Group. | 0 |
| 18601 | Windows System Event (7038): A service was unable to log on with the currently configured password. Check the health and configurations of the service. | 5 |
| 18602 | Windows System Event (7038): A service was unable to log on with the currently configured password MULTIPLE TIMES. Check the health and configurations of the service. | 7 |
| 19002 | SCA summary: $(sca.policy): Score less than 90% ($(sca.score)) | 4 |
| 19003 | SCA summary: $(sca.policy): Score less than 80% ($(sca.score)) | 5 |
| 19004 | SCA summary: $(sca.policy): Score less than 50% ($(sca.score)) | 7 |
| 19005 | SCA summary: $(sca.policy): Score less than 30% ($(sca.score)) | 9 |
| 19007 | $(sca.policy): $(sca.check.title) | 7 |
| 19008 | $(sca.policy): $(sca.check.title) | 3 |
| 19009 | $(sca.policy): $(sca.check.title) | 3 |
| 19010 | $(sca.policy): $(sca.check.title): Status changed from failed to passed | 3 |
| 19011 | $(sca.policy): $(sca.check.title): Status changed from passed to failed | 9 |
| 19012 | $(sca.policy): $(sca.check.title): Status changed from passed to 'not applicable' | 5 |
| 19013 | $(sca.policy): $(sca.check.title): Status changed from failed to 'not applicable' | 5 |
| 19014 | $(sca.policy): $(sca.check.title): Status changed from 'not applicable' to failed | 9 |
| 19015 | $(sca.policy): $(sca.check.title): Status changed from 'not applicable' to passed | 3 |
| 20100 | First time this IDS alert is generated. | 8 |
| 20101 | IDS event. | 7 |
| 20151 | Multiple IDS events from same source ip. | 10 |
| 20152 | Multiple IDS alerts for same id. | 10 |
| 20162 | Multiple IDS alerts for same id (ignoring now this id). | 11 |
| 23503 | $(vulnerability.cve) affects $(vulnerability.package.name) | 5 |
| 23504 | $(vulnerability.cve) affects $(vulnerability.package.name) | 7 |
| 23505 | $(vulnerability.cve) affects $(vulnerability.package.name) | 10 |
| 23506 | $(vulnerability.cve) affects $(vulnerability.package.name) | 13 |
| 30104 | Apache: segmentation fault. | 12 |
| 30105 | Apache: Attempt to access forbidden file or directory. | 5 |
| 30112 | Apache: Attempt to access an non-existent file (those are reported on the access.log). | 0 |
| 30113 | Invalid method in request | 7 |
| 30114 | mod_qos invalid request detected | 6 |
| 30117 | Apache: Invalid URI, file name too long. | 10 |
| 30122 | Multiple Invalid method requests from the same IP | 10 |
| 30155 | Multiple attempts to access a non-existent file. | 10 |
| 30195 | Multiple access forbidden file or directory events from the same IP. | 10 |
| 30220 | Invalid Apache connection attempt - Possible Apache DOS attack | 10 |
| 30221 | Multiple invalid Apache connection attempts - Possible DOS attack | 12 |
| 30302 | Self Healing: Critical vulnerability in PHP detected, attempting to remove dangerous exec stack bits from PHP modules. | 8 |
| 30618 | Apache: PHP Notice in Apache log | 1 |
| 31102 | Possible DoS Consumption Attack | 10 |
| 31151 | Multiple web server 4xx errors | |
| 38001 | Failed mail authenticatication attempt | 5 |
| 40106 | Buffer overflow attempt (probably on yppasswd). | 12 |
| 40111 | Multiple authentication failures. | 10 |
| 40112 | Multiple authentication failures followed by a success. | 12 |
| 40114 | Multiple authentication failures. (Slow Brute Force) | 10 |
| 40703 | Systemd: Service has entered a failed state, and likely has not started. | 5 |
| 50106 | MySQL: authentication failure. | 9 |
| 50180 | MySQL: Multiple errors. | 10 |
| 52502 | ClamAV: Virus detected | 8 |
| 52504 | Clamd: Warning | 7 |
| 52506 | Clamd database updated | 3 |
| 52507 | ClamAV database update | 3 |
| 52508 | ClamAV database updated | 1 |
| 52510 | Connection to update server refused | 1 |
| 52511 | Real-Time Anti-virus | 1 |
| 57390 | SSH: Multiple successful ssh logins from same user and different ip. | 6 |
| 59202 | Windows Security error event | 5 |
| 59203 | Windows audit success event | 0 |
| 59204 | Windows audit failure event | 3 |
| 59205 | Windows Logon Failure | 3 |
| 59207 | Microsoft: Failed attempt to perform a privileged service. | 0 |
| 59208 | Session reconnected/disconnected to winstation | 3 |
| 59209 | User account enabled or created | 8 |
| 59210 | User account changed | 5 |
| 59211 | User account disabled or deleted | 8 |
| 59213 | Group Account Changed | 5 |
| 59215 | User account locked out (multiple login errors) | 9 |
| 59221 | Computer account added/changed/deleted | 5 |
| 59222 | Windows: Remote Logon Failure - Unknown user or bad password | 5 |
| 59223 | Logon Failure - Account logon time restriction violation | 5 |
| 59224 | Logon Failure - Account currently disabled | 5 |
| 59225 | Logon Failure - Specified account expired | 5 |
| 59226 | Logon Failure - User not allowed to login at this computer | 7 |
| 59227 | Logon Failure - User not granted logon type | 5 |
| 59228 | Logon Failure - Account's password expired | 5 |
| 59229 | Logon Failure - Internal error | 5 |
| 59230 | Logon Failure - Account locked out | 7 |
| 59233 | User account unlocked | 5 |
| 59238 | Group Account Created | 5 |
| 59239 | Group Account Deleted | 5 |
| 59240 | Security Enabled Global Group Created | 5 |
| 59241 | Security Enabled Global Group Member Added $(win.eventdata.memberSid) | 5 |
| 59242 | Security Enabled Global Group Member Removed $(win.eventdata.memberSid) | 5 |
| 59243 | Security Enabled Local Group Created $(win.eventdata.memberSid) | 5 |
| 59244 | Security Enabled Local Group Member Added $(win.eventdata.memberSid) | 5 |
| 59245 | Security Enabled Local Group Member Removed $(win.eventdata.memberSid) | 5 |
| 59246 | Security Enabled Local Group Deleted | 5 |
| 59247 | Security Enabled Local Group Changed | 5 |
| 59248 | Security Enabled Global Group Changed | 5 |
| 59249 | Security Enabled Universal Group Created | 5 |
| 59250 | Security Enabled Universal Group Changed | 5 |
| 59251 | Security Enabled Universal Group Member Added | 5 |
| 59252 | Security Enabled Universal Group Member Removed | 5 |
| 59300 | IIS NetworkCleartext Logon Success | 3 |
| 59302 | Security Enabled Global Group Deleted $(win.eventdata.memberSid) | 5 |
| 59304 | Multiple Windows Logon Failures | 8 |
| 59306 | Multiple Windows error Security events | 10 |
| 59309 | An IPsec Main Mode negotiation failed | 8 |
| 59326 | Windows: Local Logon Failure - Unknown user or bad password | 5 |
| 59327 | Windows: Network Logon Failure | 4 |
| 59328 | Windows: Network Logon Failure - User does not exist | 5 |
| 59330 | Windows: Network Logon Failure - Password expired | 5 |
| 59334 | Windows: Auditing, multiple attempts to access an audited object by the same user (8/240) | 7 |
| 59335 | Windows: Code Integrity determined that the page hashes of an image file are not valid | 6 |
| 60026 | Trusted Path Execution policy violation. An untrusted user attempted to execute an untrusted application. | 8 |
| 60027 | Denied a RWX mmap event. An application just attmpted to use the mprotect function to bypass memory protection functions in the kernel. | 8 |
| 60032 | Place holder for all grsec generic events | 0 |
| 60034 | Operating System denied resource overstep | 7 |
| 60035 | Grsecurity has detected a segmentation fault on the system. | 5 |
| 60056 | Atomicorp: IP found on Threat Category 1 Atomicorp RBL - DOS bots | 7 |
| 60057 | Atomicorp: IP found on Threat Category 2 Atomicorp RBL - Spammers | 7 |
| 60058 | Atomicorp: IP found on Threat Category 3 Atomicorp RBL - Brute Force attackers | 7 |
| 60059 | Atomicorp: IP found on Threat Category 4 Atomicorp RBL - Known Attackers | 7 |
| 60117 | Access attempt blocked by Mod Security RBL. | 6 |
| 60118 | Access attempt blocked by Mod Security. | 5 |
| 60119 | Multiple attempts blocked by Mod Security. | 7 |
| 60126 | HTTP Authorization failed | 5 |
| 60128 | HTTP 403 Forbidden. This is not a WAF event, the web server has refused to complete the transaction | 5 |
| 60138 | Request Entity Too Large | 5 |
| 60141 | Requested range not satisfied | 5 |
| 60158 | Wordpress Login attempt failure | 5 |
| 60159 | Wordpress brute force (fast) login failures | 8 |
| 60167 | Drupal Login attempt failure | 5 |
| 60205 | Possible DoS attack - Configured thresholds exceeded | 7 |
| 60227 | Denied memory-protection operation | |
| 60249 | Connection dropped by apache due to slow connection | 5 |
| 60313 | PHPBB Login attempt failure - invalid username | 5 |
| 60334 | PaX: Crashing bruteforce prevention initiated | 11 |
| 60602 | Windows Application error event | 9 |
| 60608 | Summary event of the report's signatures | 4 |
| 60610 | Windows Installer began an installation process | 3 |
| 60612 | Application Installed $(win.eventdata.data) | 3 |
| 60635 | Windows installer reconfigured the product | 3 |
| 60642 | Software Protection service scheduled successfully | 3 |
| 60702 | The VSS service is shutting down due to idle timeout | 5 |
| 60790 | The registry file is still in use by other applications or services | 4 |
| 60798 | The database engine attached a database | 3 |
| 60805 | The database engine is starting a new instance | 3 |
| 60807 | The database engine is initiating recovery steps | 3 |
| 60808 | The database engine is replaying log file | 3 |
| 60809 | The database engine has completed recovery steps | 3 |
| 60816 | An attempt to open the file for read only access failed with system error | 5 |
| 60817 | Index cleanup of database initiated | 3 |
| 60819 | The version store for this instance has reached its maximum size | 5 |
| 60902 | Failed to start MS DTC via the MS DTC Proxy DLL | 5 |
| 60904 | MS DTC TIP Gateway illegal transition | 8 |
| 60905 | MS DTC TIP Gateway invalid value | 5 |
| 60906 | MS DTC TIP Gateway encountered error calling CoCreateInstance | 5 |
| 60910 | Very Slow Wordpress brute force login failures from same IP source. | 10 |
| 61026 | An application has attempted to set the stack executable, this is either an attack or a very vulnerable application. | 8 |
| 61027 | Denied a RWX mprotect event. An application just attmpted to use the mprotect function to bypass memory protection functions in the kernel. | 8 |
| 61028 | Denied an untrusted non system library binary from hooking an application. | 7 |
| 61060 | The Open Procedure for service Remote Access failed | 5 |
| 61102 | Windows System error event | 5 |
| 61104 | Service startup type was changed | 3 |
| 61110 | Multiple System error events | 10 |
| 61129 | The browser was unable to retrieve a list of domains from the browser master on the network | 5 |
| 61130 | The value for the parameter to the browser service was illegal | 8 |
| 61138 | New Windows Service Created | 5 |
| 62816 | Internal Server Error. The server encountered an unexpected condition which prevented it from fulfilling the request. | 5 |
| 62818 | Bad Gateway. The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. | 5 |
| 62819 | Service Unavailable. The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. | 5 |
| 63317 | Cpanel WHM root Login success | 6 |
| 64210 | Suspicious activity detected - HTTP Request Missing a Host Header | 7 |
| 67128 | XML parser error: Possible XML attack | 11 |
| 80701 | Auditd: Start / Resume | 1 |
| 80703 | Auditd: End | 10 |
| 80705 | Auditd: Configuration changed | 3 |
| 80711 | Auditd: process ended abnormally | 10 |
| 80717 | Auditd: Role-Based Access Control (RBAC) failure detected. | 8 |
| 80730 | Auditd: SELinux permission check | 3 |
| 81101 | Attached USB Storage | 3 |
| 81521 | OpenSCAP: $(oscap.check.title) (passed) | 1 |
| 81522 | OpenSCAP: $(oscap.check.title) (not checked) | 1 |
| 81528 | OpenSCAP: $(oscap.check.title) (not selected) | 1 |
| 81529 | OpenSCAP: $(oscap.check.title) (not passed) | 5 |
| 81530 | OpenSCAP: $(oscap.check.title) (not passed) | 5 |
| 81531 | OpenSCAP: $(oscap.check.title) (not passed) | 7 |
| 81541 | OpenSCAP Report overview: Score less than 90 | 4 |
| 81542 | OpenSCAP Report overview: Score less than 80 | 5 |
| 81543 | OpenSCAP Report overview: Score less than 50 | 5 |
| 81544 | OpenSCAP Report overview: Score less than 30 | 7 |
| 83200 | The audit log was cleared | 5 |
| 83201 | The Internet Explorer log file was cleared | 5 |
| 171002 | Exim authentication failure. | 5 |
| 171003 | Multiple rapid Exim authentication failures. | 10 |
| 171004 | Multiple rapid Exim authentication failures. | 10 |
| 171005 | Multiple rapid Exim authentication failures. | 10 |
| 171006 | Multiple rapid Exim authentication failures. | 10 |
| 171010 | Multiple Rejected MAIL: Access Denied in 30 seconds from the same source. | 7 |
| 171011 | SMTP Server rejected RCPT | 3 |
| 171303 | Known brute force attacker. | 12 |
| 300061 | WAF anti-spam log integration |