Detection rules › Sigma
macOS ESF Suspicious Curl Download
Detect curl execution fetching remote content which is often used by installers or scripts. Requires curl/wget/fetch to be the executing process.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Command & Control | No specific technique |
Rule body yaml
title: macOS ESF Suspicious Curl Download
id: 9d3885a1-0b3e-4e07-bd1d-0897b6f75819
status: experimental
description: Detect curl execution fetching remote content which is often used by
installers or scripts. Requires curl/wget/fetch to be the executing process.
author: Eric Brown - Nebulock, Inc.
date: 2025-10-29
logsource:
product: macos
service: endpointsecurity
level: medium
detection:
selection_event:
esf.event_type: 9
event.action: exec
selection_process:
Image|endswith:
- /curl
- /wget
- /fetch
selection_cmd:
CommandLine|contains:
- http://
- https://
- ftp://
condition: selection_event and selection_process and selection_cmd
falsepositives:
- legitimate software updates or admin usage
tags:
- attack.command_and_control
modified: 2025/01/15
Stages and Predicates
Stage 0: condition
selection_event and selection_process and selection_cmdStage 1: selection_event
selection_event:
esf.event_type: 9
event.action: exec
Stage 2: selection_process
selection_process:
Image|endswith:
- /curl
- /wget
- /fetch
Stage 3: selection_cmd
selection_cmd:
CommandLine|contains:
- http://
- https://
- ftp://
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.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
esf.event_type | eq |
|
event.action | eq |
|