Sigma rule: Invoke-Obfuscation Via Stdin

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d5de2c51cf80, updated 2026-03-16T00:00:00.000Z.

Rule

Title
Invoke-Obfuscation Via Stdin
Status
test
Level
high
Author
Nikita Nazarov, oscd.community
Date
2020-10-12
Modified
2026-03-16
File
rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_via_stdin.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects Obfuscated Powershell via Stdin in Scripts

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|re: '(?i)(?:set).*&&\s?set.*(?:environment|invoke|\$\{?input).*&&.*"'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1027
  • attack.execution
  • attack.t1059.001

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_hktl_invoke_obfuscation_via_stdin.yml

Sources and licences

  • SigmaHQ

    "Invoke-Obfuscation Via Stdin" by Nikita Nazarov, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_via_stdin.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: Invoke-Obfuscation Via Stdin",
entity page, dataset version ref-d5de2c51cf80, updated 2026-03-16T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9c14c9fa-1a63-4a64-8e57-d19280559490 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9c14c9fa-1a63-4a64-8e57-d19280559490, 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.