Sigma rule: Invoke-Obfuscation STDIN+ Launcher - System

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

Rule

Title
Invoke-Obfuscation STDIN+ Launcher - System
Status
test
Level
high
Author
Jonathan Cheong, oscd.community
Date
2020-10-15
Modified
2022-11-29
File
rules/windows/builtin/system/service_control_manager/win_system_invoke_obfuscation_stdin_services.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects Obfuscated use of stdin to execute PowerShell

Log source

product
windows
service
system

Detection

selection_main:
    Provider_Name: 'Service Control Manager'
    EventID: 7045
    # ImagePath|re: 'cmd.{0,5}(?:\/c|\/r).+powershell.+(?:\$\{?input\}?|noexit).+\"'
    # Example 1: c:\windows\sYstEm32\CmD.eXE /C"echO\Invoke-Expression (New-Object Net.WebClient).DownloadString | POwersHELl -NoEXiT -"
    # Example 2: c:\WiNDOws\sysTEm32\cmd.EXe /C " ECHo Invoke-Expression (New-Object Net.WebClient).DownloadString | POwersHELl -nol ${EXEcUtIONCONTeXT}.INvOkEComMANd.InvOKEScRIPt( $InpUt )"
    ImagePath|contains|all:
        - 'cmd'
        - 'powershell'
    ImagePath|contains:
        - '/c'
        - '/r'
selection_other:
    - ImagePath|contains: 'noexit'
    - ImagePath|contains|all:
          - 'input'
          - '$'
condition: all of 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/builtin/system/service_control_manager/win_system_invoke_obfuscation_stdin_services.yml

Sources and licences

  • SigmaHQ

    "Invoke-Obfuscation STDIN+ Launcher - System" by Jonathan Cheong, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/system/service_control_manager/win_system_invoke_obfuscation_stdin_services.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 STDIN+ Launcher - System",
entity page, dataset version ref-7f043f9893b8, updated 2022-11-29T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/72862bf2-0eb1-11eb-adc1-0242ac120002 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 72862bf2-0eb1-11eb-adc1-0242ac120002, 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.