Files
blue-team-tools/rules/windows/process_creation/proc_creation_win_cmdkey_recon.yml
T
Nasreddine Bencherchali 3bbeab2a7b Requested Changes
2022-05-17 15:04:26 +01:00

33 lines
910 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, Florian Roth
date: 2019/01/16
modified: 2022/05/16
tags:
- attack.credential_access
- attack.t1003.005
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\cmdkey.exe'
- OriginalFileName: 'cmdkey.exe'
selection_cli:
CommandLine|contains:
- ' /list'
- ' -list'
condition: all of selection*
fields:
- CommandLine
- ParentCommandLine
- User
falsepositives:
- Legitimate administrative tasks
level: high