Skip to content

Commit 5204e68

Browse files
committed
updating detection
1 parent 06b4947 commit 5204e68

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

detections/endpoint/windows_installutil_remote_network_connection.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Windows InstallUtil Remote Network Connection
22
id: 4fbf9270-43da-11ec-9486-acde48001122
3-
version: 11
3+
version: 11
44
date: '2025-02-22'
55
author: Michael Haag, Splunk
66
status: production
@@ -24,14 +24,15 @@ search: |-
2424
| `drop_dm_object_name(Processes)`
2525
| `security_content_ctime(firstTime)`
2626
| `security_content_ctime(lastTime)`
27-
| join process_id
27+
| join process_id dest
2828
[| tstats `security_content_summariesonly`
2929
count FROM datamodel=Network_Traffic.All_Traffic where All_Traffic.dest_port !=
30-
0 by All_Traffic.process_id All_Traffic.dest All_Traffic.dest_port
30+
0 by All_Traffic.process_id All_Traffic.dest All_Traffic.dest_port All_Traffic.src
3131
| `drop_dm_object_name(All_Traffic)`
32-
| rename dest as C2 ]
33-
| table _time user dest parent_process_name process_name process_path process process_id dest_port C2
34-
| stats count min(_time) as firstTime max(_time) as lastTime values(process) as process values(C2) as command_and_control by user dest process_name process_id dest_port parent_process_name
32+
| rename dest as command_and_control
33+
| rename src as dest]
34+
| table _time user src dest parent_process_name process_name process_path process process_id dest_port command_and_control
35+
| stats count min(_time) as firstTime max(_time) as lastTime values(process) as process values(command_and_control) as command_and_control by user dest process_name process_id dest_port parent_process_name
3536
| `security_content_ctime(firstTime)`
3637
| `security_content_ctime(lastTime)`| `windows_installutil_remote_network_connection_filter`
3738
how_to_implement: The detection is based on data that originates from Endpoint Detection
@@ -77,6 +78,8 @@ rba:
7778
type: parent_process_name
7879
- field: process_name
7980
type: process_name
81+
- field: command_and_control
82+
type: ip_address
8083
tags:
8184
analytic_story:
8285
- Living Off The Land

0 commit comments

Comments
 (0)