Skip to content

Commit b849dd2

Browse files
authored
Update windows_sensitive_registry_hive_dump_via_commandline.yml
Need extra backslash to escape registry path backslash in SPL
1 parent d11917e commit b849dd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detections/endpoint/windows_sensitive_registry_hive_dump_via_commandline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ data_source:
2020
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
2121
as lastTime from datamodel=Endpoint.Processes where ((`process_reg` Processes.process
2222
IN ("*save*", "*export*")) OR (`process_regedit` Processes.process IN ("*/E *",
23-
"*-E *"))) AND Processes.process IN ("*HKEY_LOCAL_MACHINE\SAM*", "*HKEY_LOCAL_MACHINE\System*",
24-
"*HKEY_LOCAL_MACHINE\Security*", "*HKLM\SAM*", "*HKLM\System*", "*HKLM\Security*")
23+
"*-E *"))) AND Processes.process IN ("*HKEY_LOCAL_MACHINE\\SAM*", "*HKEY_LOCAL_MACHINE\\System*",
24+
"*HKEY_LOCAL_MACHINE\\Security*", "*HKLM\\SAM*", "*HKLM\\System*", "*HKLM\\Security*")
2525
by Processes.action Processes.dest Processes.original_file_name
2626
Processes.parent_process Processes.parent_process_exec Processes.parent_process_guid
2727
Processes.parent_process_id Processes.parent_process_name Processes.parent_process_path

0 commit comments

Comments
 (0)