Sigma rule: Suspicious PowerShell Invocations - Generic

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-535989b17afc, updated 2022-04-11T00:00:00.000Z.

SigmaHQ marks this rule as deprecated.

Rule

Title
Suspicious PowerShell Invocations - Generic
Status
deprecated
Level
high
Author
Florian Roth (Nextron Systems)
Date
2017/03/12
Modified
2022/04/11
File
deprecated/windows/powershell_suspicious_invocation_generic.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious PowerShell invocation command parameters

Log source

product
windows
service
powershell

Detection

selection_encoded:
    - ' -enc '
    - ' -EncodedCommand '
selection_hidden:
    - ' -w hidden '
    - ' -window hidden '
    - ' -windowstyle hidden '
selection_noninteractive:
    - ' -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

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/deprecated/windows/powershell_suspicious_invocation_generic.yml

Sources and licences

  • SigmaHQ

    "Suspicious PowerShell Invocations - Generic" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/deprecated/windows/powershell_suspicious_invocation_generic.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious PowerShell Invocations - Generic",
entity page, dataset version ref-535989b17afc, updated 2022-04-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3d304fda-78aa-43ed-975c-d740798a49c1 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3d304fda-78aa-43ed-975c-d740798a49c1, 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.