2023-02-03 20:17:09 +01:00
|
|
|
title: Potential Reconnaissance For Cached Credentials Via Cmdkey.EXE
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 07f8bdc2-c9b3-472a-9817-5a670b872f53
|
2019-01-16 23:36:31 +01:00
|
|
|
status: experimental
|
2023-02-03 20:17:09 +01:00
|
|
|
description: Detects usage of cmdkey to look for cached credentials on the system
|
2019-01-16 23:36:31 +01:00
|
|
|
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
|
2023-02-01 11:14:59 +01:00
|
|
|
author: jmallette, Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
|
2020-01-30 16:07:37 +01:00
|
|
|
date: 2019/01/16
|
2023-02-03 20:17:09 +01:00
|
|
|
modified: 2023/02/03
|
2019-03-06 00:02:37 +01:00
|
|
|
tags:
|
|
|
|
|
- attack.credential_access
|
2020-06-16 14:46:08 -06:00
|
|
|
- attack.t1003.005
|
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:
|
2022-05-16 22:02:41 +01:00
|
|
|
selection_img:
|
|
|
|
|
- Image|endswith: '\cmdkey.exe'
|
2022-05-17 15:04:26 +01:00
|
|
|
- OriginalFileName: 'cmdkey.exe'
|
2022-05-16 22:02:41 +01:00
|
|
|
selection_cli:
|
2022-04-21 09:12:13 +02:00
|
|
|
CommandLine|contains:
|
2022-06-11 12:58:14 +02:00
|
|
|
- ' /l'
|
|
|
|
|
- ' -l'
|
2022-05-16 22:02:41 +01:00
|
|
|
condition: all of 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:
|
2021-07-07 14:45:03 +02:00
|
|
|
- Legitimate administrative tasks
|
2022-04-21 09:12:13 +02:00
|
|
|
level: high
|