Potential In-Memory Download And Compile Of Payloads
Detects potential in-memory downloading and compiling of applets using curl and osacompile as seen used by XCSSET malware
Detection logic
selection
CommandLine|contains|all:
- osacompile
- curlCondition
selectionRaw YAML
title: Potential In-Memory Download And Compile Of Payloads
id: 13db8d2e-7723-4c2c-93c1-a4d36994f7ef
status: test
description: Detects potential in-memory downloading and compiling of applets using curl and osacompile as seen used by XCSSET malware
references:
- https://redcanary.com/blog/mac-application-bundles/
author: Sohan G (D4rkCiph3r), Red Canary (idea)
date: 2023-08-22
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: mediumFalse positives
- Unknown
References
Similar rules
Axios NPM Compromise Indicators - macOS
highmacos · Shares T1059, T1105
Axios NPM Compromise Indicators - Linux
highlinux · Shares T1059, T1105
Axios NPM Compromise Indicators - Windows
highwindows · Shares T1059, T1105
Command Line Execution with Suspicious URL and AppData Strings
mediumwindows · Shares T1059, T1105