Linux Suspicious curl Start with User-Agent Modification Flags
Flags Linux curl invocations that set a custom User-Agent using -A/--user-agent.
- Product
- linux
- Category
- process_creation
- Author
- Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2022-09-15
- Updated
- 2026-07-31
ATT&CK techniques
C2Recon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
Exfiltration
Impact
What it detects
This rule flags Linux process creations where the executable path ends with /curl and the command line includes curl user-agent modification options (-A or --user-agent). Attackers commonly alter the User-Agent string to blend in with legitimate traffic or to influence downstream responses during command-and-control activity. The detection relies on process creation telemetry, specifically the process image path and command-line arguments.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Linux Suspicious curl Start with User-Agent Modification Flags
id: 86d805f4-cbe6-4de7-b1eb-c9d257de3c61
related:
- id: 3286d37a-00fd-41c2-a624-a672dcd34e60
type: derived
- id: b86d356d-6093-443d-971c-9b07db583c68
type: derived
status: test
description: This rule flags Linux process creations where the executable path ends with /curl and the command line includes curl user-agent modification options (-A or --user-agent). Attackers commonly alter the User-Agent string to blend in with legitimate traffic or to influence downstream responses during command-and-control activity. The detection relies on process creation telemetry, specifically the process image path and command-line arguments.
references:
- https://curl.se/docs/manpage.html
- https://github.com/SigmaHQ/sigma/blob/master/rules/linux/process_creation/proc_creation_lnx_susp_curl_useragent.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-09-15
tags:
- attack.command-and-control
- attack.t1071.001
logsource:
category: process_creation
product: linux
detection:
selection:
Image|endswith: /curl
CommandLine|contains:
- " -A "
- " --user-agent "
condition: selection
falsepositives:
- Scripts created by developers and admins
- Administrative activity
level: medium
license: DRL-1.1