Sigma rule: PowerShell Execution With Potential Decryption Capabilities
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-92e62b3c2946, updated 2023-12-05T00:00:00.000Z.
Rule
- Title
- PowerShell Execution With Potential Decryption Capabilities
- Status
- test
- Level
- high
- Author
- X__Junior (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-06-30
- Modified
- 2023-12-05
- File
- rules/windows/process_creation/proc_creation_win_powershell_decrypt_pattern.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects PowerShell commands that decrypt an ".LNK" "file to drop the next stage of the malware.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
OriginalFileName:
- 'PowerShell.EXE'
- 'pwsh.dll'
selection_cli_dir:
CommandLine|contains:
- "Get-ChildItem "
- "dir "
- "gci "
- "ls "
selection_cli_gc:
CommandLine|contains:
- "Get-Content "
- "gc "
- 'cat '
- 'type '
- 'ReadAllBytes'
selection_cli_specific:
- CommandLine|contains|all:
- ' ^| '
- '\*.lnk'
- '-Recurse'
- '-Skip '
- CommandLine|contains|all:
- ' -ExpandProperty '
- '\*.lnk'
- 'WriteAllBytes'
- ' .length '
condition: all of selection_*False positives (as the rule lists them)
- Unlikely
Tags
- attack.execution
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_powershell_decrypt_pattern.yml
Sources and licences
SigmaHQ
"PowerShell Execution With Potential Decryption Capabilities" by X__Junior (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_decrypt_pattern.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: PowerShell Execution With Potential Decryption Capabilities",
entity page, dataset version ref-92e62b3c2946, updated 2023-12-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/434c08ba-8406-4d15-8b24-782cb071a691 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 434c08ba-8406-4d15-8b24-782cb071a691, 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.