Skip to main content

AD Account Lockout Detection

Summary​

The monitoring system is set up to gather data on event ID 4740 that occurred within the last 15 minutes and to generate an alert with the relevant information.

Details​

Suggested "Limit to": Primary Domain Controllers of Each Domain <Distinct Domain Controller Per Client>

Suggested Alert Style: Continuous

Suggested Alert Template: △ Custom - Ticket Creation Computer - Failures Only

Insert the details of the monitor in the table below.

Check ActionServer AddressCheck TypeExecute InfoComparatorIntervalResult
System127.0.0.1Run FileREDACTEDState Based900<Screenshot Below>

Screenshot

Dependencies​

CWM - Automate - Script - Ticket Creation - Computer [Failures Only]

Target​

Domain Controllers
Image
The monitor set should be limited to the <Server Role - AD - Infrastructure Master> search.
Image

Implementation​

Please follow the instructions provided in the implementation article to implement the solution:
Implement - Remote Monitor - AD Account LockOut Detection

Ticketing​

Subject: <AD Account LockOut Detected on %COMPUTERNAME%>

Body:
Here are the details of the user(s) who were locked out:
%RESULT%.

Sample %RESULT%:

EventID : 4740
EventDate : 1/24/2024 7:34:50 AM
Username : TestUser1
Endpoint : DEV-Win11DomainJoined
Domain : provaltestdomain.local
DC : DEV-SERVER-2019$

Changelog​

2025-04-10​

  • Initial version of the document