Full SigmaHQ catalog

Author
frack113, Nasreddine Bencherchali (Nextron Systems)
Rule ID
b1ec66c6-f4d1-4b5c-96dd-af28ccae7727
Collection
Core
Log source
windows / process_creation
Severity
medium
Maturity
test
First published
2023-02-03
Updated
2024-03-05
MITRE ATT&CK
T1003.005

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\cmdkey.exe'
        - OriginalFileName: 'cmdkey.exe'
    selection_cli_generic:
        CommandLine|contains|windash: ' -g' # Generic
    selection_cli_user:
        CommandLine|contains|windash: ' -u' # User
    selection_cli_password:
        CommandLine|contains|windash: ' -p' # Password
    condition: all of selection_*
falsepositives:
    - Legitimate usage for administration purposes