Detectionhightest
Potential AMSI Bypass Via .NET Reflection
Detects Request to "amsiInitFailed" that can be used to disable AMSI Scanning
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
- CommandLine|contains|all:
- 'System.Management.Automation.AmsiUtils'
- 'amsiInitFailed'
- CommandLine|contains|all:
- '[Ref].Assembly.GetType'
- 'SetValue($null,$true)'
- 'NonPublic,Static'
condition: selectionFalse Positives
Unlikely
False positives are unlikely for most environments. High confidence detection.
MITRE ATT&CK
Tactics
Techniques
Related Rules
Similar
Rule not found4f927692-68b5-4267-871b-073c45f4f6fe
Rule Metadata
Rule ID
30edb182-aa75-42c0-b0a9-e998bb29067c
Status
test
Level
high
Type
Detection
Created
2018-08-17
Modified
2023-02-03
Author
Path
rules/windows/process_creation/proc_creation_win_powershell_amsi_init_failed_bypass.yml
Raw Tags
attack.defense-impairmentattack.t1685