Detection rules › Splunk

Windows Multiple Users Remotely Failed To Authenticate From Host

Author
Mauricio Velazco, Splunk
Source
upstream

The following analytic identifies a source host failing to authenticate against a remote host with 30 unique users. It leverages Windows Event 4625 with Logon Type 3, indicating remote authentication attempts. This behavior is significant as it may indicate a Password Spraying attack, where an adversary attempts to gain initial access or elevate privileges in an Active Directory environment. If confirmed malicious, this activity could lead to unauthorized access, privilege escalation, and potential compromise of sensitive information. This detection is crucial for real-time security monitoring and threat hunting.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1110.003 Brute Force: Password Spraying

Event coverage

ProviderEvent IDTitle
Security-Auditing4625An account failed to log on.

Stages and Predicates

Stage 1: search

search EventCode=4625 IpAddress!="-" Logon_Type=3

Stage 2: bucket

bucket span=5m _time

Stage 3: stats

stats dc(TargetUserName) AS unique_accounts,AS tried_accounts,AS dest,AS src,AS user BY _time, IpAddress, Computer, action, app, authentication_method, signature, signature_id

Stage 4: rename

rename

Stage 5: where

where unique_accounts>30

Stage 6: search

search `macro`

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
EventCodeeq
  • 4625 corpus 6 (splunk 6)
IpAddressne
  • "-" corpus 2 (splunk 2)
Logon_Typeeq
  • 3 corpus 12 (splunk 7, sigma 5)
unique_accountsgt
  • 30 corpus 8 (splunk 8)

Neighbors

Broader alternatives (more inclusive than this rule)

These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.