2018-06-09 00:15:06 +02:00
|
|
|
---
|
2021-01-10 16:04:52 +01:00
|
|
|
Name: Cmdkey.exe
|
2018-09-24 01:50:14 +02:00
|
|
|
Description: creates, lists, and deletes stored user names and passwords or credentials.
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
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
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\cmdkey.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\cmdkey.exe
|
2018-09-24 01:50:14 +02:00
|
|
|
Detection:
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_cmdkey_recon.yml
|
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:
|
2021-01-10 16:04:52 +01:00
|
|
|
- Person:
|
2018-09-24 01:50:14 +02:00
|
|
|
Handle:
|