Sigma rule: Potential Data Exfiltration Via Curl.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7ccd173ba6ea, updated 2023-05-02T00:00:00.000Z.

Rule

Title
Potential Data Exfiltration Via Curl.EXE
Status
test
Level
medium
Author
Florian Roth (Nextron Systems), Cedric MAURUGEON (Update)
Date
2020-07-03
Modified
2023-05-02
File
rules-threat-hunting/windows/process_creation/proc_creation_win_curl_fileupload.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of the "curl" process with "upload" flags. Which might indicate potential data exfiltration

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\curl.exe'
    - Product: 'The curl executable'
selection_cli:
    - CommandLine|contains:
          - ' --form' # Also covers the "--form-string"
          - ' --upload-file '
          - ' --data '
          - ' --data-' # For flags like: "--data-ascii", "--data-binary", "--data-raw", "--data-urlencode"
    - CommandLine|re: '\s-[FTd]\s' # We use regex to ensure a case sensitive argument detection
filter_optional_localhost:
    CommandLine|contains:
        - '://localhost'
        - '://127.0.0.1'
condition: all of selection_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Scripts created by developers and admins

Tags

  • attack.exfiltration
  • attack.command-and-control
  • attack.t1567
  • attack.t1105
  • detection.threat-hunting

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_curl_fileupload.yml

Sources and licences

  • SigmaHQ

    "Potential Data Exfiltration Via Curl.EXE" by Florian Roth (Nextron Systems), Cedric MAURUGEON (Update) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_curl_fileupload.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Data Exfiltration Via Curl.EXE",
entity page, dataset version ref-7ccd173ba6ea, updated 2023-05-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/00bca14a-df4e-4649-9054-3f2aa676bc04 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 00bca14a-df4e-4649-9054-3f2aa676bc04, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.