1200KM / sigma-rule
Invoke-Obfuscation Via Stdin - System — Sigma Rule
Sigma rule 487c7524-f892-4054-b263-8a0ace63fc25. Invoke-Obfuscation Via Stdin - System — Sigma Rule. Detects Obfuscated Powershell via Stdin in Scripts
Rule metadata and linked tags
Author: Nikita Nazarov, oscd.community. Source status: test; severity: high. Source dates: 2020-10-12 / 2022-11-29.
{
"product": "windows",
"service": "system"
}Pinned original Sigma rule · Detection Rule License 1.1
Source SHA-256: 499990b0f06c96c08b6bd84da2a5a5ebadc0dd98d8cc7d82482cde4f4190b99e
Detection logic
Original source YAML. Source-tag agreement is not proof of complete semantic coverage. This rule has not been compiled for a SIEM backend or validated against live telemetry here.
title: Invoke-Obfuscation Via Stdin - System
id: 487c7524-f892-4054-b263-8a0ace63fc25
status: test
description: Detects Obfuscated Powershell via Stdin in Scripts
references:
- https://github.com/SigmaHQ/sigma/issues/1009 # (Task28)
author: Nikita Nazarov, oscd.community
date: 2020-10-12
modified: 2022-11-29
tags:
- attack.stealth
- attack.t1027
- attack.execution
- attack.t1059.001
logsource:
product: windows
service: system
detection:
selection:
Provider_Name: 'Service Control Manager'
EventID: 7045
# ImagePath|re: '(?i)(set).*&&\s?set.*(environment|invoke|\${?input).*&&.*"'
ImagePath|contains|all:
- 'set'
- '&&'
ImagePath|contains:
- 'environment'
- 'invoke'
- 'input'
condition: selection
falsepositives:
- Unknown
level: high
False positives
- Unknown
Source references
Connected ecosystem references
Exact source-tagged techniques
Telemetry review
Read the original logsource above, then inspect the linked detection workspaces for technique-level sensor context. No per-rule telemetry equivalence is inferred.
Pinned research references. No browser attack runner, live simulation result or validated detector is asserted. Source mappings and validation limits are preserved. ATT&CK / Atomic provenance · Detection provenance.