Skip to main content

Monitor - Excessive Logon Attempts

Summary​

Runs Excessive Logon Attempts every 4 hours on domain controllers whose cPVAL Roles Detected field contains Infrastructure Master, unless cPVAL Enable Excessive Logon Detection is set to Disable. The script counts the failed logon attempts (Security event ID 4625) recorded since its last run, which can indicate a brute-force or password-spraying attack.

The script parameters are left empty in the compound condition, so the threshold and exclusions come from the cPVAL Excessive Logon custom fields. These can be set at the organization, location or device level.

Details​

  • Name: Monitor - Excessive Logon Attempts
  • Description: Runs Excessive Logon Attempts every 4 hours on domain controllers holding the Infrastructure Master role, unless cPVAL Enable Excessive Logon Detection is Disable, and creates a ConnectWise Manage ticket when failed logons reach the threshold.
  • Recommended Agent Policies: Windows Server Policy

Dependencies​

Compound Condition Creation​

Changelog​

2026-11-11​

  • Initial version of the document