From 21b559c97f2b53bf28345c337bfa187ed29f5535 Mon Sep 17 00:00:00 2001 From: Jonhnathan <26856693+w0rk3r@users.noreply.github.com> Date: Thu, 8 Feb 2024 06:27:16 -0300 Subject: [PATCH] [Rule Tuning] Suspicious Antimalware Scan Interface DLL (#3432) Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> --- rules/windows/defense_evasion_amsi_bypass_dllhijack.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/windows/defense_evasion_amsi_bypass_dllhijack.toml b/rules/windows/defense_evasion_amsi_bypass_dllhijack.toml index 7760b4a98..afaa6c073 100644 --- a/rules/windows/defense_evasion_amsi_bypass_dllhijack.toml +++ b/rules/windows/defense_evasion_amsi_bypass_dllhijack.toml @@ -4,7 +4,7 @@ integration = ["windows", "endpoint"] maturity = "production" min_stack_comments = "New fields added: required_fields, related_integrations, setup" min_stack_version = "8.3.0" -updated_date = "2023/08/30" +updated_date = "2024/02/06" [transform] [[transform.osquery]] @@ -108,7 +108,7 @@ timestamp_override = "event.ingested" type = "eql" query = ''' -file where host.os.type == "windows" and event.action != "deletion" and file.path != null and +file where host.os.type == "windows" and event.type != "deletion" and file.path != null and file.name : ("amsi.dll", "amsi") and not file.path : ("?:\\Windows\\system32\\amsi.dll", "?:\\Windows\\Syswow64\\amsi.dll", "?:\\$WINDOWS.~BT\\NewOS\\Windows\\WinSXS\\*", "?:\\$WINDOWS.~BT\\NewOS\\Windows\\servicing\\LCU\\*", "?:\\$WINDOWS.~BT\\Work\\*\\*", "?:\\Windows\\SoftwareDistribution\\Download\\*") '''