Skip to content

Commit 7b15acf

Browse files
Samirbousw0rk3r
andauthored
Update defense_evasion_amsi_bypass_powershell.toml (#4477)
Co-authored-by: Jonhnathan <[email protected]>
1 parent 0340335 commit 7b15acf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rules/windows/defense_evasion_amsi_bypass_powershell.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2023/01/17"
33
integration = ["windows"]
44
maturity = "production"
5-
updated_date = "2025/02/03"
5+
updated_date = "2025/02/21"
66
min_stack_version = "8.14.0"
77
min_stack_comments = "Breaking change at 8.14.0 for the Windows Integration."
88

@@ -131,9 +131,7 @@ event.category:"process" and host.os.type:windows and
131131
"AllocHGlobal((9076" or
132132
"[cHAr](65)+[cHaR]([byTe]0x6d)+[ChaR]([ByTe]0x73)+[CHaR]([BYte]0x69"
133133
) or
134-
powershell.file.script_block_text:("[System.Runtime.InteropServices.Marshal]::Copy" and "VirtualProtect") or
135134
powershell.file.script_block_text:("[Ref].Assembly.GetType(('System.Management.Automation" and ".SetValue(") or
136-
powershell.file.script_block_text:("::AllocHGlobal((" and ("System.Management.Automation.$([" or "System.$([cHAr]" or "[cHaR]([byTe]")) or
137135
powershell.file.script_block_text:("::AllocHGlobal((" and ".SetValue(" and "-replace" and ".NoRMALiZe(")
138136
) and
139137
not powershell.file.script_block_text : (

0 commit comments

Comments
 (0)