2019-01-16 22:36:31 +00:00
|
|
|
title: Cmdkey Cached Credentials Recon
|
2019-11-12 22:12:27 +00:00
|
|
|
id: 07f8bdc2-c9b3-472a-9817-5a670b872f53
|
2019-01-16 22:36:31 +00:00
|
|
|
status: experimental
|
|
|
|
description: Detects usage of cmdkey to look for cached credentials
|
|
|
|
references:
|
2019-03-01 23:14:20 +00:00
|
|
|
- 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
|
2019-01-16 22:36:31 +00:00
|
|
|
author: jmallette
|
2020-01-30 15:07:37 +00:00
|
|
|
date: 2019/01/16
|
2021-07-07 12:45:03 +00:00
|
|
|
modified: 2021/07/07
|
2019-03-05 23:02:37 +00:00
|
|
|
tags:
|
|
|
|
- attack.credential_access
|
2020-06-16 20:46:08 +00:00
|
|
|
- attack.t1003.005
|
2020-08-29 04:39:30 +00:00
|
|
|
- attack.t1003 # an old one
|
2019-01-16 22:36:31 +00:00
|
|
|
logsource:
|
2019-03-01 23:14:20 +00:00
|
|
|
category: process_creation
|
|
|
|
product: windows
|
2019-01-16 22:36:31 +00:00
|
|
|
detection:
|
2019-03-01 23:14:20 +00:00
|
|
|
selection:
|
2020-10-15 20:46:14 +00:00
|
|
|
Image|endswith: '\cmdkey.exe'
|
2021-07-07 12:45:03 +00:00
|
|
|
CommandLine|contains: ' /list'
|
2019-03-01 23:14:20 +00:00
|
|
|
condition: selection
|
2019-01-16 22:36:31 +00:00
|
|
|
fields:
|
2019-03-01 23:14:20 +00:00
|
|
|
- CommandLine
|
|
|
|
- ParentCommandLine
|
|
|
|
- User
|
2019-01-16 22:36:31 +00:00
|
|
|
falsepositives:
|
2021-07-07 12:45:03 +00:00
|
|
|
- Legitimate administrative tasks
|
|
|
|
level: medium
|