Threat Huntmediumexperimental

Potential Kerberos Pre-Authentication Failure for Machine Accounts

Detects Kerberos pre-authentication failures for machine accounts, which may indicate attempts to brute-force service account passwords. This rule helps identify potential Golden dMSA attacks where attackers try multiple password combinations. When hunting, look for multiple 4771 failures for machine accounts in short succession with status code 0x18 (KDC_ERR_PREAUTH_FAILED). Distinguish these from 0x19 (KDC_ERR_PREAUTH_REQUIRED), which indicates that additional pre-authentication is required rather than that a password was incorrect. Hypothesis: An attacker is attempting to identify machine accounts with weak passwords for attacks like Golden dMSA by performing Kerberos pre-authentication brute-force against machine accounts (ending with $). Multiple failures in a short time window from the same source IP or targeting multiple machine accounts suggests credential guessing activity.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Panos Gkatziroulis, Swachchhanda Shrawan Poudel (Nextron Systems)Created Mon Oct 19f932f9f9-a6bd-45e3-9a0d-ca613fe7fc40windows
Hunting Hypothesis

An attacker is attempting to identify machine accounts with weak passwords for attacks like Golden dMSA by performing Kerberos pre-authentication brute-force against machine accounts (ending with $). Multiple failures in a short time window from the same source IP or targeting multiple machine accounts suggests credential guessing activity.

Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: security
Detection Logic
Detection Logic1 selector
detection:
    selection:
        EventID: 4771
        TargetUserName|endswith: '$'
        Status:
            - '0x19' # KDC_ERR_PREAUTH_REQUIRED - additional pre-authentication is required
            - '0x18' # KDC_ERR_PREAUTH_FAILED - pre-authentication information was invalid
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

MITRE ATT&CK

Other

detection.threat-hunting
Rule Metadata
Rule ID
f932f9f9-a6bd-45e3-9a0d-ca613fe7fc40
Status
experimental
Level
medium
Type
Threat Hunt
Created
Mon Oct 19
Path
rules-threat-hunting/windows/builtin/security/win_security_susp_failed_logon_for_service_account.yml
Raw Tags
attack.credential-accessattack.t1110.001detection.threat-hunting
View on GitHub