Detection rules › Sigma

Curl Download And Execute Combination

Status
test
Severity
high
Log source
product windows, category process_creation
Author
Sreeman, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Adversaries can use curl to download payloads remotely and execute them. Curl is included by default in Windows 10 build 17063 and later.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Curl Download And Execute Combination
id: 21dd6d38-2b18-4453-9404-a0fe4a0cc288
status: test
description: Adversaries can use curl to download payloads remotely and execute them. Curl is included by default in Windows 10 build 17063 and later.
references:
    - https://medium.com/@reegun/curl-exe-is-the-new-rundll32-exe-lolbin-3f79c5f35983 # Dead Link
author: Sreeman, Nasreddine Bencherchali (Nextron Systems)
date: 2020-01-13
modified: 2024-03-05
tags:
    - attack.stealth
    - attack.t1218
    - attack.command-and-control
    - attack.t1105
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|windash: ' -c '
        CommandLine|contains|all:
            - 'curl '
            - 'http'
            - '-o'
            - '&'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains|windash: ' -c '
    CommandLine|contains|all:
        - 'curl '
        - 'http'
        - '-o'
        - '&'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • -c transforms: windash corpus 14 (sigma 13, elastic 1)
  • &
  • -o corpus 3 (sigma 3)
  • curl corpus 12 (sigma 11, chronicle 1)
  • http corpus 39 (sigma 34, elastic 2, chronicle 2, splunk 1)