Detection rules › Sigma
Alternate PowerShell Hosts - PowerShell Module
Detects alternate PowerShell hosts potentially bypassing detections looking for powershell.exe
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1059.001 Command and Scripting Interpreter: PowerShell |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| PowerShell | 4103 | Payload Context: ContextInfo User Data: UserData. |
Stages and Predicates
Stage 1: selection
ContextInfo|contains: '*'
Stage 2: not 1 of filter_*
or:
ContextInfo|contains: '= C:/Windows/SysWOW64/WindowsPowerShell/v1.0/powershell'
ContextInfo|contains: '= C:/Windows/System32/WindowsPowerShell/v1.0/powershell'
ContextInfo|contains: '= C:\WINDOWS\System32\sdiagnhost.exe -Embedding'
ContextInfo|contains: '= C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell'
ContextInfo|contains: '= C:\Windows\System32\WindowsPowerShell\v1.0\powershell'
ContextInfo|contains: '= \\\?\?\C:Windows\SysWOW64\WindowsPowerShell\v1.0\powershell'
ContextInfo|contains: '= \\\?\?\C:Windows\System32\WindowsPowerShell\v1.0\powershell'
ContextInfo|contains: '= powershell'
ContextInfo|contains: 'C:\Windows\system32\dsac.exe'
ContextInfo|contains: 'C:\Windows\system32\wsmprovhost.exe -Embedding'
ContextInfo|contains: ConfigSyncRun.exe
Payload|contains: 'Failed to update Help for the module'
Payload|contains: Update-Help
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
ContextInfo | match |
|
Payload | match |
|