Detectionmediumtest

Potential Access Token Abuse

Detects potential token impersonation and theft. Example, when using "DuplicateToken(Ex)" and "ImpersonateLoggedOnUser" with the "LOGON32_LOGON_NEW_CREDENTIALS flag".

Open in Detection LabConvert ruleBuild Package
Michaela Adams, Zach MathisCreated 2022-11-06Updated 2023-04-2602f7c9c1-1ae8-4c6a-8add-04693807f92fwindows
Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: security
Detection Logic
Detection Logic1 selector
detection:
    selection:
        EventID: 4624
        LogonType: 9
        LogonProcessName: 'Advapi'
        AuthenticationPackageName: 'Negotiate'
        ImpersonationLevel: '%%1833' # Impersonation
    condition: selection
False Positives

Anti-Virus

Rule Metadata
Rule ID
02f7c9c1-1ae8-4c6a-8add-04693807f92f
Status
test
Level
medium
Type
Detection
Created
2022-11-06
Modified
2023-04-26
Path
rules/windows/builtin/security/account_management/win_security_access_token_abuse.yml
Raw Tags
attack.privilege-escalationattack.stealthattack.t1134.001stp.4u
View on GitHub