1200KM / sigma-rule
Invoke-Obfuscation Via Stdin - PowerShell Module — Sigma Rule
Sigma rule c72aca44-8d52-45ad-8f81-f96c4d3c755e. Invoke-Obfuscation Via Stdin - PowerShell Module — 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 / 2024-04-05.
{
"product": "windows",
"category": "ps_module",
"definition": "0ad03ef1-f21b-4a79-8ce8-e6900c54b65b"
}Pinned original Sigma rule · Detection Rule License 1.1
Source SHA-256: 42301c224832c2bc5cc3cd8208b0164b66410ccfe6b01de915f455438be7c682
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 - PowerShell Module
id: c72aca44-8d52-45ad-8f81-f96c4d3c755e
related:
- id: 86b896ba-ffa1-4fea-83e3-ee28a4c915c7
type: derived
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: 2024-04-05
tags:
- attack.stealth
- attack.t1027
- attack.execution
- attack.t1059.001
logsource:
product: windows
category: ps_module
definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
selection_4103:
Payload|re: '(?i)(set).*&&\s?set.*(environment|invoke|\$?\{?input).*&&.*"'
condition: selection_4103
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.