2019-01-16 23:36:31 +01:00
|
|
|
title: Cmdkey Cached Credentials Recon
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 07f8bdc2-c9b3-472a-9817-5a670b872f53
|
2019-01-16 23:36:31 +01:00
|
|
|
status: experimental
|
|
|
|
|
description: Detects usage of cmdkey to look for cached credentials
|
|
|
|
|
references:
|
2019-03-02 00:14:20 +01: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 23:36:31 +01:00
|
|
|
author: jmallette
|
2019-03-06 00:02:37 +01:00
|
|
|
tags:
|
|
|
|
|
- attack.credential_access
|
|
|
|
|
- attack.t1003
|
2019-01-16 23:36:31 +01:00
|
|
|
logsource:
|
2019-03-02 00:14:20 +01:00
|
|
|
category: process_creation
|
|
|
|
|
product: windows
|
2019-01-16 23:36:31 +01:00
|
|
|
detection:
|
2019-03-02 00:14:20 +01:00
|
|
|
selection:
|
|
|
|
|
Image: '*\cmdkey.exe'
|
|
|
|
|
CommandLine: '* /list *'
|
|
|
|
|
condition: selection
|
2019-01-16 23:36:31 +01:00
|
|
|
fields:
|
2019-03-02 00:14:20 +01:00
|
|
|
- CommandLine
|
|
|
|
|
- ParentCommandLine
|
|
|
|
|
- User
|
2019-01-16 23:36:31 +01:00
|
|
|
falsepositives:
|
2019-03-02 00:14:20 +01:00
|
|
|
- Legitimate administrative tasks.
|
2019-01-16 23:36:31 +01:00
|
|
|
level: low
|