fixing failed detections

This commit is contained in:
Bhavin Patel
2025-04-01 12:55:52 -07:00
parent 7ae5e1a2fe
commit 488debfe2b
4 changed files with 12 additions and 8 deletions
@@ -42,7 +42,7 @@ drilldown_searches:
earliest_offset: $info_min_time$
latest_offset: $info_max_time$
rba:
message: Remote system discovery with PowerView on $dest$ by $user$
message: Remote system discovery with PowerView on $dest$ by $user_id$
risk_objects:
- field: dest
type: system
@@ -47,7 +47,7 @@ drilldown_searches:
latest_offset: $info_max_time$
rba:
message: A suspicious powershell process $process_name$ that tries to create a remote
thread on target process $TargetImage$ with eventcode $EventCode$ in host $dest$
thread on target process $TargetImage$ on host $dest$
risk_objects:
- field: dest
type: system
@@ -42,7 +42,7 @@ drilldown_searches:
earliest_offset: $info_min_time$
latest_offset: $info_max_time$
rba:
message: Remote system discovery enumeration with adsisearcher on $dest$ by $user$
message: Remote system discovery enumeration with adsisearcher on $dest$ by $user_id$
risk_objects:
- field: dest
type: system
@@ -15,10 +15,14 @@ description: The following analytic detects an application attempting to connect
within the network.
data_source:
- Sysmon EventID 11
search: '`sysmon` EventCode=11 TargetFilename = "*\\Windows\\SchCache\\*" TargetFilename
= "*.sch*" NOT (Image IN ("*\\Windows\\system32\\mmc.exe")) | stats count min(_time)
as firstTime max(_time) as lastTime by action dest file_name file_path process_guid
process_id user_id vendor_product Image | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
search: |-
`sysmon` EventCode=11 TargetFilename = "*\\Windows\\SchCache\\*" TargetFilename
= "*.sch*" NOT (Image IN ("*\\Windows\\system32\\mmc.exe"))
| stats count min(_time)
as firstTime max(_time) as lastTime by action dest file_name file_path process_guid
process_id user_id vendor_product process_name
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `schcache_change_by_app_connect_and_create_adsi_object_filter`'
how_to_implement: To successfully implement this search, you need to be ingesting
logs with the process name, parent process, and command-line executions from your
@@ -44,7 +48,7 @@ drilldown_searches:
earliest_offset: $info_min_time$
latest_offset: $info_max_time$
rba:
message: process $Image$ create a file $TargetFilename$ in host $dest$
message: Process $process_name$ created a file $file_name$ on host $dest$
risk_objects:
- field: dest
type: system