Detectionhightest

Potential Privilege Escalation via Local Kerberos Relay over LDAP

Detects a suspicious local successful logon event where the Logon Package is Kerberos, the remote address is set to localhost, and the target user SID is the built-in local Administrator account. This may indicate an attempt to leverage a Kerberos relay attack variant that can be used to elevate privilege locally from a domain joined limited user to local System privileges.

Open in Detection LabConvert ruleBuild Package
Elastic SecurityCreated 2022-04-27Updated 2024-08-13749c9f5e-b353-4b90-a9c1-05243357ca4bwindows
Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: security
Detection Logic
Detection Logic2 selectors
detection:
    selection:
        EventID: 4624
        LogonType: 3
        AuthenticationPackageName: 'Kerberos'
        IpAddress: '127.0.0.1'
        TargetUserSid|startswith: 'S-1-5-21-'
        TargetUserSid|endswith: '-500'
    filter_main_ip_null:
        IpPort: '0'
    condition: selection and not 1 of filter_main_*
False Positives
Unknown

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

Rule Metadata
Rule ID
749c9f5e-b353-4b90-a9c1-05243357ca4b
Status
test
Level
high
Type
Detection
Created
2022-04-27
Modified
2024-08-13
Path
rules/windows/builtin/security/account_management/win_security_susp_privesc_kerberos_relay_over_ldap.yml
Raw Tags
attack.privilege-escalationattack.credential-accessattack.t1548
View on GitHub