mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-08 10:13:57 +00:00
24 lines
641 B
YAML
24 lines
641 B
YAML
|
title: cmdkey Cached Credentials Recon
|
||
|
status: experimental
|
||
|
description: Detects usage of cmdkey to look for cached credentials.
|
||
|
reference:
|
||
|
- https://www.peew.pw/blog/2017/11/26/exploring-cmdkey-an-edge-case-for-privilege-escalation
|
||
|
- https://technet.microsoft.com/en-us/library/cc754243(v=ws.11).aspx
|
||
|
author: jmallette
|
||
|
logsource:
|
||
|
product: windows
|
||
|
service: sysmon
|
||
|
detection:
|
||
|
selection:
|
||
|
EventID: 1
|
||
|
Image: '*\cmdkey.exe'
|
||
|
CommandLine: '* /list *'
|
||
|
condition: selection
|
||
|
fields:
|
||
|
- CommandLine
|
||
|
- ParentCommandLine
|
||
|
- User
|
||
|
falsepositives:
|
||
|
- Legitimate administrative tasks.
|
||
|
level: low
|