2018-06-09 00:15:06 +02:00
|
|
|
---
|
2018-09-24 01:50:14 +02:00
|
|
|
Name: Cmdkey.exe
|
|
|
|
Description: creates, lists, and deletes stored user names and passwords or credentials.
|
|
|
|
Author: 'Oddvar Moe'
|
2018-06-09 00:15:06 +02:00
|
|
|
Created: '2018-05-25'
|
|
|
|
Commands:
|
|
|
|
- Command: cmdkey /list
|
2018-09-24 01:50:14 +02:00
|
|
|
Description: List cached credentials
|
|
|
|
Usecase: Get credential information from host
|
|
|
|
Category: Credentials
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1078
|
|
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1078
|
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
2018-06-09 00:15:06 +02:00
|
|
|
Full Path:
|
2018-09-24 01:50:14 +02:00
|
|
|
- path: C:\Windows\System32\cmdkey.exe
|
|
|
|
- path: C:\Windows\SysWOW64\cmdkey.exe
|
|
|
|
Code Sample:
|
|
|
|
- Code:
|
|
|
|
Detection:
|
|
|
|
- IOC: Usage of this command could be and IOC
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 01:50:14 +02:00
|
|
|
- Link: https://www.peew.pw/blog/2017/11/26/exploring-cmdkey-an-edge-case-for-privilege-escalation
|
|
|
|
- Link: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmdkey
|
|
|
|
Acknowledgement:
|
|
|
|
- Person:
|
|
|
|
Handle:
|
|
|
|
---
|