Skip to main content

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.

ValueResult
EmptyThe default threshold of 10 is used.
5Alerts on 5 or more failed logons. Suits an environment where failed logons are rare.
25Alerts 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 numberTreated 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:

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​

LabelField NameExampleDefinition ScopeTypeRequiredDefault ValueDropdown OptionsEditableCustom Field Tab
cPVAL Excessive Logon ThresholdcpvalExcessiveLogonThreshold10Organization, Location, DeviceTextFalseYesExcessive Logon Failures Detection

Dependencies​

Custom Field Creation​

Sample Screenshot​

Image1

Changelog​

2026-11-11​

  • Initial version of the document