Skip to content

Commit de7f76d

Browse files
authored
Merge pull request #3349 from 0xC0FFEEEE/curl_proxy_fix
0xC0FFEEEE - Improve Linux Proxy Socks Curl Detection
2 parents c9ef436 + 85de981 commit de7f76d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

detections/endpoint/linux_proxy_socks_curl.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Linux Proxy Socks Curl
22
id: bd596c22-ad1e-44fc-b242-817253ce8b08
3-
version: 6
4-
date: '2024-11-13'
5-
author: Michael Haag, Splunk
3+
version: 7
4+
date: '2025-02-19'
5+
author: Michael Haag, Splunk, 0xC0FFEEEE, Github Community
66
status: production
77
type: TTP
88
description: The following analytic detects the use of the `curl` command with proxy-related
@@ -21,7 +21,7 @@ search: '| tstats `security_content_summariesonly` count min(_time) as firstTime
2121
"*--preproxy *", "--proxy*") by Processes.dest Processes.user Processes.parent_process_name
2222
Processes.process_name Processes.process Processes.process_id Processes.parent_process_id
2323
| `drop_dm_object_name(Processes)` | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
24-
| `linux_proxy_socks_curl_filter`'
24+
| where match(process, "-x\s") OR match(process, "(?i)socks\d\w?:\/\/|--(pre)?proxy") | `linux_proxy_socks_curl_filter`'
2525
how_to_implement: The detection is based on data that originates from Endpoint Detection
2626
and Response (EDR) agents. These agents are designed to provide security-related
2727
telemetry from the endpoints where the agent is installed. To implement this search,

0 commit comments

Comments
 (0)