Linux Proxy Socks Curl
The following analytic detects the use of the `curl` command with proxy-related arguments such as `-x`, `socks`, `--preproxy`, and `--proxy`. This detection leverages data from Endpoint Detection and Response (EDR)…
Description
The following analytic detects the use of the `curl` command with proxy-related arguments such as `-x`, `socks`, `--preproxy`, and `--proxy`. This detection leverages data from Endpoint Detection and Response (EDR) agents, focusing on command-line executions and process details. This activity is significant as it may indicate an adversary attempting to use a proxy to evade network monitoring and obscure their actions. If confirmed malicious, this behavior could allow attackers to bypass security controls, making it difficult to track their activities and potentially leading to unauthorized data access or exfiltration.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- sysmon_for_linux_eventid_1
Known benign triggers
- False positives may be present based on proxy usage internally. Filter as needed.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| curl.se/docs/manpage.html | 12from 2 sources |
| en.wikipedia.org/wiki/SOCKS | Only this detection cites it |
| gtfobins.github.io/gtfobins/curl/ | 6from 3 sources |
| oxylabs.io/blog/curl-with-proxy | Only this detection cites it |
| reqbin.com/req/c-ddxflki5/curl-proxy-server#:~:text=To%20use%20a%20proxy%20with,be%20URL%20decoded%20by%20Curl. | Only this detection cites it |
| www.offensive-security.com/metasploit-unleashed/proxytunnels/ | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- bd596c22-ad1e-44fc-b242-817253ce8b08
- Tagged by the source as
- Ingress Tool TransferLinux Living Off The LandEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Published
- Aug 26, 2026
- Version
- 1