Sigma rule: Private Keys Reconnaissance Via CommandLine Tools
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-f51d88e5b3fe, updated 2023-03-06T00:00:00.000Z.
Rule
- Title
- Private Keys Reconnaissance Via CommandLine Tools
- Status
- test
- Level
- medium
- Author
- frack113, Nasreddine Bencherchali (Nextron Systems)
- Date
- 2021-07-20
- Modified
- 2023-03-06
- File
- rules/windows/process_creation/proc_creation_win_susp_private_keys_recon.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Adversaries may search for private key certificate files on compromised systems for insecurely stored credential
Log source
- product
- windows
- category
- process_creation
Detection
selection_cmd_img:
- Image|endswith: '\cmd.exe'
- OriginalFileName: 'Cmd.Exe'
selection_cmd_cli:
CommandLine|contains: 'dir '
selection_pwsh_img:
- Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
- OriginalFileName:
- 'PowerShell.EXE'
- 'pwsh.dll'
selection_pwsh_cli:
CommandLine|contains: 'Get-ChildItem '
selection_findstr:
- Image|endswith: '\findstr.exe'
- OriginalFileName: 'FINDSTR.EXE'
selection_ext:
CommandLine|contains:
- '.key'
- '.pgp'
- '.gpg'
- '.ppk'
- '.p12'
- '.pem'
- '.pfx'
- '.cer'
- '.p7b'
- '.asc'
condition: selection_ext and (all of selection_cmd_* or all of selection_pwsh_* or selection_findstr)False positives (as the rule lists them)
- Unknown
Tags
- attack.credential-access
- attack.t1552.004
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_private_keys_recon.yml
Sources and licences
SigmaHQ
"Private Keys Reconnaissance Via CommandLine Tools" by frack113, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_private_keys_recon.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Private Keys Reconnaissance Via CommandLine Tools",
entity page, dataset version ref-f51d88e5b3fe, updated 2023-03-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/213d6a77-3d55-4ce8-ba74-fcfef741974e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 213d6a77-3d55-4ce8-ba74-fcfef741974e, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.