Sigma rule: Suspicious PowerShell Invocations - Specific - PowerShell Module
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5aac168274d2, updated 2025-02-17T00:00:00.000Z.
Rule
- Title
- Suspicious PowerShell Invocations - Specific - PowerShell Module
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems), Jonhnathan Ribeiro
- Date
- 2017-03-05
- Modified
- 2025-02-17
- File
- rules/windows/powershell/powershell_module/posh_pm_susp_invocation_specific.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects suspicious PowerShell invocation command parameters
Log source
- product
- windows
- category
- ps_module
- definition
- 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
Detection
selection_convert_b64:
ContextInfo|contains|all:
- '-nop'
- ' -w '
- 'hidden'
- ' -c '
- '[Convert]::FromBase64String'
selection_iex:
ContextInfo|contains|all:
- ' -w '
- 'hidden'
- '-noni'
- '-nop'
- ' -c '
- 'iex'
- 'New-Object'
selection_enc:
ContextInfo|contains|all:
- ' -w '
- 'hidden'
- '-ep'
- 'bypass'
- '-Enc'
selection_reg:
ContextInfo|contains|all:
- 'powershell'
- 'reg'
- 'add'
ContextInfo|contains:
- '\software\microsoft\windows\currentversion\run'
- '\software\wow6432node\microsoft\windows\currentversion\run'
- '\software\microsoft\windows\currentversion\policies\explorer\run'
selection_webclient:
ContextInfo|contains|all:
- 'bypass'
- '-noprofile'
- '-windowstyle'
- 'hidden'
- 'new-object'
- 'system.net.webclient'
- '.download'
selection_iex_webclient:
ContextInfo|contains|all:
- 'iex'
- 'New-Object'
- 'Net.WebClient'
- '.Download'
filter_chocolatey:
ContextInfo|contains:
- "(New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1"
- 'Write-ChocolateyWarning'
condition: 1 of selection_* and not 1 of filter_*False positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.t1059.001
MITRE ATT&CK ids this rule names
Related rules
- fce5f582-cc00-41e1-941a-c6fabf0fdb8c (obsolete)
- ae7fbf8e-f3cb-49fd-8db4-5f3bed522c71 (similar)
- 536e2947-3729-478c-9903-745aaffe60d2 (similar)
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/powershell/powershell_module/posh_pm_susp_invocation_specific.yml
Sources and licences
SigmaHQ
"Suspicious PowerShell Invocations - Specific - PowerShell Module" by Florian Roth (Nextron Systems), Jonhnathan Ribeiro (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_module/posh_pm_susp_invocation_specific.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: Suspicious PowerShell Invocations - Specific - PowerShell Module",
entity page, dataset version ref-5aac168274d2, updated 2025-02-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8ff28fdd-e2fa-4dfa-aeda-ef3d61c62090 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8ff28fdd-e2fa-4dfa-aeda-ef3d61c62090, 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.