Sigma rule: Suspicious PowerShell Invocations - Generic - PowerShell Module
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b86a42837ce3, updated 2023-01-03T00:00:00.000Z.
Rule
- Title
- Suspicious PowerShell Invocations - Generic - PowerShell Module
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems)
- Date
- 2017-03-12
- Modified
- 2023-01-03
- File
- rules/windows/powershell/powershell_module/posh_pm_susp_invocation_generic.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects suspicious PowerShell invocation command parameters
Log source
- product
- windows
- category
- ps_module
- definition
- 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
Detection
selection_encoded:
ContextInfo|contains:
- ' -enc '
- ' -EncodedCommand '
- ' -ec '
selection_hidden:
ContextInfo|contains:
- ' -w hidden '
- ' -window hidden '
- ' -windowstyle hidden '
- ' -w 1 '
selection_noninteractive:
ContextInfo|contains:
- ' -noni '
- ' -noninteractive '
condition: all of selection*False positives (as the rule lists them)
- Very special / sneaky PowerShell scripts
Tags
- attack.execution
- attack.t1059.001
MITRE ATT&CK ids this rule names
Related rules
References
- Internal Research
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_generic.yml
Sources and licences
SigmaHQ
"Suspicious PowerShell Invocations - Generic - PowerShell Module" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_module/posh_pm_susp_invocation_generic.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 - Generic - PowerShell Module",
entity page, dataset version ref-b86a42837ce3, updated 2023-01-03T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/bbb80e91-5746-4fbe-8898-122e2cafdbf4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule bbb80e91-5746-4fbe-8898-122e2cafdbf4, 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.