From da26a79fa75b8596990c171e5d8fada0aeb2b32d Mon Sep 17 00:00:00 2001 From: Michael Haag <5632822+MHaggis@users.noreply.github.com> Date: Tue, 9 Nov 2021 15:17:11 -0700 Subject: [PATCH] missing OR --- .../endpoint/regsvr32_with_known_silent_switch_cmdline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detections/endpoint/regsvr32_with_known_silent_switch_cmdline.yml b/detections/endpoint/regsvr32_with_known_silent_switch_cmdline.yml index 1f7f1b18b7..b509720cda 100644 --- a/detections/endpoint/regsvr32_with_known_silent_switch_cmdline.yml +++ b/detections/endpoint/regsvr32_with_known_silent_switch_cmdline.yml @@ -11,7 +11,7 @@ description: this search is to detect a suspicious regsvr32 commandline "-s" to dll that will download the 2nd stage loader that will download and decrypt the config payload. search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time) - as lastTime from datamodel=Endpoint.Processes where `process_regsvr32` AND (Processes.process=*-s* Processes.process=*/s*) + as lastTime from datamodel=Endpoint.Processes where `process_regsvr32` AND (Processes.process=*-s* OR Processes.process=*/s*) by Processes.process_name Processes.process Processes.parent_process_name Processes.original_file_name Processes.parent_process Processes.process_id Processes.parent_process_id Processes.dest Processes.user | `drop_dm_object_name(Processes)` | `security_content_ctime(firstTime)`