{"id":"02f7c9c1-1ae8-4c6a-8add-04693807f92f","title":"Potential Access Token Abuse","description":"Detects potential token impersonation and theft. Example, when using \"DuplicateToken(Ex)\" and \"ImpersonateLoggedOnUser\" with the \"LOGON32_LOGON_NEW_CREDENTIALS flag\".","author":"Michaela Adams, Zach Mathis","status":"test","level":"medium","date":"2022-11-06","modified":"2023-04-26","tags":["attack.privilege-escalation","attack.stealth","attack.t1134.001","stp.4u"],"technique_ids":["T1134.001"],"logsource":{"product":"windows","service":"security"},"falsepositives":["Anti-Virus"],"references":["https://www.elastic.co/fr/blog/how-attackers-abuse-access-token-manipulation","https://www.manageengine.com/log-management/cyber-security/access-token-manipulation.html"],"source_path":"rules/windows/builtin/security/account_management/win_security_access_token_abuse.yml","source_sha256":"589834efb8d53a4d0915a528a277c56db7c75dc00828b75f69d45dc7b0d8e909","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/builtin/security/account_management/win_security_access_token_abuse.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Access Token Abuse\nid: 02f7c9c1-1ae8-4c6a-8add-04693807f92f\nstatus: test\ndescription: Detects potential token impersonation and theft. Example, when using \"DuplicateToken(Ex)\" and \"ImpersonateLoggedOnUser\" with the \"LOGON32_LOGON_NEW_CREDENTIALS flag\".\nreferences:\n    - https://www.elastic.co/fr/blog/how-attackers-abuse-access-token-manipulation\n    - https://www.manageengine.com/log-management/cyber-security/access-token-manipulation.html\nauthor: Michaela Adams, Zach Mathis\ndate: 2022-11-06\nmodified: 2023-04-26\ntags:\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1134.001\n    - stp.4u\nlogsource:\n    product: windows\n    service: security\ndetection:\n    selection:\n        EventID: 4624\n        LogonType: 9\n        LogonProcessName: 'Advapi'\n        AuthenticationPackageName: 'Negotiate'\n        ImpersonationLevel: '%%1833' # Impersonation\n    condition: selection\nfalsepositives:\n    - Anti-Virus\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1134.001","id":"T1134.001","name":"Token Impersonation/Theft","page":"techniques/enterprise/T1134.001/"}],"data_path":"data/detection-rules/02f7c9c1-1ae8-4c6a-8add-04693807f92f.json","kind":"sigma"}
