mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Updated SOH analytics
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: Windows DLL Search Order Hijacking Hunt
|
||||
id: 79c7d0fc-60c7-41be-a616-ccda752efe89
|
||||
version: 1
|
||||
date: '2022-08-18'
|
||||
version: 2
|
||||
date: '2022-12-31'
|
||||
author: Michael Haag, Splunk
|
||||
type: Hunting
|
||||
datamodel:
|
||||
@@ -12,7 +12,7 @@ description: The following hunting analytic is an experimental query built again
|
||||
The lookup is comprised of Microsoft native libraries identified within the Hijacklibs.net project.
|
||||
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
|
||||
as lastTime values(Processes.process_name) as process_name from datamodel=Endpoint.Processes where Processes.dest!=unknown
|
||||
Processes.user!=unknown NOT (Processes.process_path IN ("*\\system32\\*", "*\\syswow64\\*","*\\winsxs\\*")) by Processes.dest Processes.user Processes.parent_process_name Processes.process_name Processes.process_path
|
||||
Processes.user!=unknown NOT (Processes.process_path IN ("*\\system32\\*", "*\\syswow64\\*","*\\winsxs\\*","*\\wbem\\*")) by Processes.dest Processes.user Processes.parent_process_name Processes.process_name Processes.process_path
|
||||
| `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
|
||||
| `drop_dm_object_name(Processes)`
|
||||
| lookup hijacklibs library AS process_name OUTPUT islibrary | search islibrary = True
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Windows DLL Search Order Hijacking Hunt with Sysmon
|
||||
id: 79c7d1fc-64c7-91be-a616-ccda752efe81
|
||||
version: 1
|
||||
date: '2022-08-18'
|
||||
version: 2
|
||||
date: '2022-12-31'
|
||||
author: Michael Haag, Splunk
|
||||
type: Hunting
|
||||
datamodel:
|
||||
@@ -10,7 +10,7 @@ description: The following hunting analytic is an experimental query built again
|
||||
This analytic will deprecate once this is fixed.
|
||||
This hunting analytic identifies known libraries in Windows that may be used in a DLL search order hijack or DLL Sideloading setting. This may require recompiling the DLL, moving the DLL or moving the vulnerable process. The query looks for any running out of system32 or syswow64. Some libraries natively run out of other application paths and will need to be added to the exclusion as needed.
|
||||
The lookup is comprised of Microsoft native libraries identified within the Hijacklibs.net project.
|
||||
search: '`sysmon` EventCode=7 NOT (process_path IN ("*\\system32\\*", "*\\syswow64\\*","*\\winsxs\\*"))
|
||||
search: '`sysmon` EventCode=7 NOT (process_path IN ("*\\system32\\*", "*\\syswow64\\*","*\\winsxs\\*","*\\wbem\\*"))
|
||||
| lookup hijacklibs library AS process_name OUTPUT islibrary | search islibrary = True | rename Computer as dest process_name AS ImageLoaded process_path AS Module_Path
|
||||
| stats values(parent_process_name) count by _time dest ImageLoaded Module_Path
|
||||
| `windows_dll_search_order_hijacking_hunt_with_sysmon_filter`'
|
||||
|
||||
Reference in New Issue
Block a user