Skip to content

feat(windows): detect multiple unknown-user failed logons from single source IP#5880

Open
Tom3306 wants to merge 1 commit intoSigmaHQ:masterfrom
Tom3306:tom3306-windows-unknown-user-burst
Open

feat(windows): detect multiple unknown-user failed logons from single source IP#5880
Tom3306 wants to merge 1 commit intoSigmaHQ:masterfrom
Tom3306:tom3306-windows-unknown-user-burst

Conversation

@Tom3306
Copy link

@Tom3306 Tom3306 commented Feb 22, 2026

PR Title:
feat(windows): detect multiple unknown-user failed logons from single source IP

PR Body:

Summary

This PR adds a Windows Security rule to detect repeated failed logons (EventID=4625) where the username does not exist (Status=0xC0000064) from the same source IP within a short period.

Why

This pattern is commonly associated with username enumeration and early brute-force attempts. The rule is intentionally conservative and marked status: test pending environment validation.

Rule Details

  • Logsource: product: windows, service: security
  • Core filters:
    • EventID: 4625
    • Status: 0xC0000064
    • LogonType: 2, 3, 10
  • Excludes localhost/unknown IP values.
  • Aggregation: count(TargetUserName) by IpAddress > 5 over 10m

False Positives

  • Vulnerability scanning tools
  • Misconfigured authentication scripts
  • Authorized red-team/pentest activity

Validation

  • Added anonymized positive/negative sample logs
  • Added expected outcomes and validation plan

Checklist

  • Rule passes Sigma lint/format checks
  • ATT&CK tags verified
  • Field names align with Sigma conventions
  • Sample data reviewed and anonymized
  • Detection logic tested in target backend
  • Maintainer feedback addressed

@github-actions github-actions bot added Rules Review Needed The PR requires review Windows Pull request add/update windows related rules labels Feb 22, 2026
@Tom3306 Tom3306 marked this pull request as ready for review February 22, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review Needed The PR requires review Rules Windows Pull request add/update windows related rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant