SigmaHQ/rules/windows/process_creation/win_cmdkey_recon.yml
2021-07-07 14:45:03 +02:00

30 lines
820 B
YAML

title: Cmdkey Cached Credentials Recon
id: 07f8bdc2-c9b3-472a-9817-5a670b872f53
status: experimental
description: Detects usage of cmdkey to look for cached credentials
references:
- 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
date: 2019/01/16
modified: 2021/07/07
tags:
- attack.credential_access
- attack.t1003.005
- attack.t1003 # an old one
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\cmdkey.exe'
CommandLine|contains: ' /list'
condition: selection
fields:
- CommandLine
- ParentCommandLine
- User
falsepositives:
- Legitimate administrative tasks
level: medium