cPVAL Excessive Logon Threshold
Summary
Sets how many failed logon attempts (Security event ID 4625) since the last run raise the alert in the Excessive Logon Attempts solution. The alert is raised when the count is equal to or greater than this number.
The count is a total for the device, not a limit per user. Failed logons from all users and all sources are added together. Only the failed logons that are left after the built-in filters and the configured exclusions are counted.
| Value | Result |
|---|---|
| Empty | The default threshold of 10 is used. |
5 | Alerts on 5 or more failed logons. Suits an environment where failed logons are rare. |
25 | Alerts on 25 or more failed logons. Suits a busy environment where many users mistype their passwords during the day. |
0, a negative number or text that is not a number | Treated as empty, so the default threshold of 10 is used. |
How the Count Works
Each run of the Excessive Logon Attempts script counts the failed logons recorded since the previous run, using the time saved in cPVAL Excessive Logon LastRunTime. The threshold therefore works together with how often the Monitor - Excessive Logon Attempts compound condition runs the script. For example, a threshold of 10 on a script that runs every hour means 10 or more failed logons in an hour. When the schedule changes, review the threshold as well.
These failed logons are never counted:
- Batch (logon type 4) and service (logon type 5) logons.
- A computer (machine) account failing from its own workstation, such as
PC69$fromPC69. - Failed logons that match any of the exclusion fields:
The script lists the failed logons it counted in its output on every run that counts any, even when the count stays below the threshold. The threshold only decides whether the run raises the alert.
The field can be set at the organization, location or device level. A value set at a lower level overrides the value inherited from a higher level, so a busy domain controller or location can have a higher threshold than the rest of the organization.
Details
| Label | Field Name | Example | Definition Scope | Type | Required | Default Value | Dropdown Options | Editable | Custom Field Tab |
|---|---|---|---|---|---|---|---|---|---|
| cPVAL Excessive Logon Threshold | cpvalExcessiveLogonThreshold | 10 | Organization, Location, Device | Text | False | Yes | Excessive Logon Failures Detection |
Dependencies
- Solution - Excessive Logon Attempts
- Automation - Excessive Logon Attempts
- Custom Field - cPVAL Enable Excessive Logon Detection
Custom Field Creation
Sample Screenshot
Changelog
2026-11-11
- Initial version of the document