Possible In-Memory Download And Compile Of Payloads (via process_creation)

This rule detects potential in-memory downloading and compiling of applets using curl and osacompile as seen used by XCSSET malware

SigmamediummacOSv1
sigma
title: Possible In-Memory Download And Compile Of Payloads (via process_creation)
id: fac7b281-83ec-52d8-a00d-e138062eb2e7
status: stable
description: This rule detects potential in-memory downloading and compiling of applets using curl and osacompile as seen used by XCSSET malware
references:
    - https://attack.mitre.org/techniques/T1105/
    - https://attack.mitre.org/techniques/T1059/007/
    - https://redcanary.com/blog/mac-application-bundles/
author: Huntrule Team
date: 2026-05-05
tags:
    - attack.command-and-control
    - attack.execution
    - attack.t1059.007
    - attack.t1105
logsource:
    category: process_creation
    product: macos
detection:
    selection:
        CommandLine|contains|all:
            - 'osacompile'
            - 'curl'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.