Splunk unknown stable spl

Windows Unusual Count Of Users Failed To Authenticate From Process

The following analytic identifies a source process failing to authenticate multiple users, potentially indicating a Password Spraying attack. It leverages Windows Event 4625, which logs failed logon attempts, and uses statistical analysis to detect anomalies. This activity is significant as it may represent an adversary attempting to gain initial access or elevate privileges within an Active Directory environment. If confirmed malicious, the attacker could compromise multiple accounts, leading to unauthorized access, data exfiltration, or further lateral movement within the network.

View Source

Detection Logic

`wineventlog_security`  EventCode=4625 Logon_Type=2 ProcessName!="-"
| bucket span=2m _time
| stats dc(TargetUserName) AS unique_accounts values(TargetUserName) as user values(dest) as dest values(src) as src
    BY _time, ProcessName, SubjectUserName,
       Computer, action, app,
       authentication_method, signature, signature_id
| eventstats avg(unique_accounts) as comp_avg , stdev(unique_accounts) as comp_std
    BY ProcessName, SubjectUserName, Computer
| eval upperBound=(comp_avg+comp_std*3)
| eval isOutlier=if(unique_accounts > 10 and unique_accounts >= upperBound, 1, 0)
| search isOutlier=1
| `windows_unusual_count_of_users_failed_to_authenticate_from_process_filter`

False Positives

  • A process failing to authenticate with multiple users is not a common behavior for legitimate user sessions. Possible false positive scenarios include but are not limited to vulnerability scanners and missconfigured systems.

Field Validations

Loading…

Comments (0)

Loading comments...