Sigma rule: File Download From IP URL Via Curl.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-48f85fcf850d, updated 2023-10-18T00:00:00.000Z.

Rule

Title
File Download From IP URL Via Curl.EXE
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-10-18
File
rules/windows/process_creation/proc_creation_win_curl_download_direct_ip_exec.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects file downloads directly from IP address URL using curl.exe

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\curl.exe'
    - OriginalFileName: 'curl.exe'
selection_ip:
    CommandLine|re: '://[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'
selection_http:
    CommandLine|contains: 'http'
selection_flag:
    CommandLine|contains:
        - ' -O'  # covers the alias for --remote-name and --output
        - '--remote-name'
        - '--output'
filter_main_ext:
    # Note: This filter exists to avoid duplication with 5cb299fc-5fb1-4d07-b989-0644c68b6043
    CommandLine|endswith:
        - '.bat'
        - '.bat"'
        - '.dat'
        - '.dat"'
        - '.dll'
        - '.dll"'
        - '.exe'
        - '.exe"'
        - '.gif'
        - '.gif"'
        - '.hta'
        - '.hta"'
        - '.jpeg'
        - '.jpeg"'
        - '.log'
        - '.log"'
        - '.msi'
        - '.msi"'
        - '.png'
        - '.png"'
        - '.ps1'
        - '.ps1"'
        - '.psm1'
        - '.psm1"'
        - '.vbe'
        - '.vbe"'
        - '.vbs'
        - '.vbs"'
        - ".bat'"
        - ".dat'"
        - ".dll'"
        - ".exe'"
        - ".gif'"
        - ".hta'"
        - ".jpeg'"
        - ".log'"
        - ".msi'"
        - ".png'"
        - ".ps1'"
        - ".psm1'"
        - ".vbe'"
        - ".vbs'"
condition: all of selection_* and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution

Related rules

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/windows/process_creation/proc_creation_win_curl_download_direct_ip_exec.yml

Sources and licences

  • SigmaHQ

    "File Download From IP URL Via Curl.EXE" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_curl_download_direct_ip_exec.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: File Download From IP URL Via Curl.EXE",
entity page, dataset version ref-48f85fcf850d, updated 2023-10-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9cc85849-3b02-4cb5-b371-3a1ff54f2218 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9cc85849-3b02-4cb5-b371-3a1ff54f2218, 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.