Detectionhightest

Invoke-Obfuscation STDIN+ Launcher - PowerShell Module

Detects Obfuscated use of stdin to execute PowerShell

Open in Detection LabConvert ruleBuild Package
Jonathan Cheong, oscd.communityCreated 2020-10-15Updated 2024-04-059ac8b09b-45de-4a07-9da1-0de8c09304a3windows
Log Source
WindowsPowerShell Module
ProductWindows← raw: windows
CategoryPowerShell Module← raw: ps_module

Definition

0ad03ef1-f21b-4a79-8ce8-e6900c54b65b

Detection Logic
Detection Logic1 selector
detection:
    selection_4103:
        Payload|re: 'cmd.{0,5}(?:/c|/r).+powershell.+(?:\$\{?input\}?|noexit).+"'
    condition: selection_4103
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
9ac8b09b-45de-4a07-9da1-0de8c09304a3
Status
test
Level
high
Type
Detection
Created
2020-10-15
Modified
2024-04-05
Path
rules/windows/powershell/powershell_module/posh_pm_invoke_obfuscation_stdin.yml
Raw Tags
attack.stealthattack.t1027attack.executionattack.t1059.001
View on GitHub