On this page

OSSEC / HIDS Rule 59223

OSSEC / HIDS rule catalog

  • Rule family: OSSEC / HIDS
  • Rule ID: 59223
  • Definition status: Present in current source
  • Alert message / subject: Logon Failure - Account logon time restriction violation
  • Rule level: 5
  • Definition checked: 2026-10-21

Interpretation and response

This event is recorded as “Logon Failure - Account logon time restriction violation”. Review the originating log and the affected host or service to determine whether the activity was expected.

An OSSEC/HIDS event records or correlates activity. Blocking depends on the originating application and any separately configured Active Response policy; an alert alone does not prove that an attack was blocked.

Documentation

The following guidance was migrated from the historical wiki and reviewed against the rule definition. Legacy ASL product names and interface instructions refer to the versions documented then. Use the current metadata above and your installed configuration when interpreting thresholds, notification settings and response behavior.

Description

Windows has detected that a system has attempted to log into the Windows system and the account or group has been configured to only allow logons during specific times, so the logon has been denied.

Associated Windows Event IDs

  • 529
  • 530
  • 531
  • 532
  • 533
  • 534
  • 535
  • 536
  • 537
  • 539
  • 4625

What you should do

This means that the logon has been denied by local policy, specifically that this account or group is not allowed to logon during the time the account attempted to log in. This may an attempt to access a system by an unauthorized user and the access should be investigated.

The platform will track this logon, and if multiple events occur will issue a higher level alert that a brute force attack may be occurring.

Troubleshooting

False Positives

A legitimate event may still trigger this rule. Review the surrounding activity before deciding whether it is malicious.

Tuning Guidance

There is no guidance for tuning this rule, and the rule should not be disabled.

Additional Information

Support

If you are unsure about how to respond to this alert, please contact Atomicorp support. We’re here to help you!

Similar Rules

HIDS_59222 Windows: Remote Logon Failure - Unknown user or bad password

HIDS_59224 Logon Failure - Account currently disabled

HIDS_59225 Logon Failure - Specified account expired

HIDS_59226 Logon Failure - User not allowed to login at this computer

HIDS_59227 Logon Failure - User not granted logon type

HIDS_59228 Logon Failure - Account’s password expired

HIDS_59229 Logon Failure - Internal error

HIDS_59230 Logon Failure - Account locked out

Source and revision

Migrated from HIDS_59223, wiki page 740, revision 6094 (20201020). Documentation review: 2026-10-21. An archived wiki status of Active is not a current deployment status.

For assistance, provide the rule ID, installed product and rule version, and a sanitized event to Atomicorp support .