macOS: Built-in openssl used to base64-decode and decrypt payload from mounted DMG volume

Alerts on OpenSSL base64-decode/decrypt commands using DMG-mounted '/Volumes/' paths on macOS.

FreeReviewedSigma · Medium · v2
Product
macos
Category
process_creation
Author
Tim Rauch (rule), Elastic (idea) (SigmaHQ), DRL 1.1
Published
2022-10-17
Updated
2026-07-31

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule identifies process executions of the openssl binary on macOS where the command line references a mounted /Volumes/ path and uses base64 decoding together with decryption-related arguments. Such behavior can indicate malware attempting to evade static detection by storing an encoded and encrypted payload inside a disk image and decrypting it after execution. Telemetry relies on process creation logs that capture the executed image path and the full command line.

Related detections9 linkedT1140 — drag to rearrange
Suspicious tar Extraction of Staged Archive to Temp (via process_creation)
Suspicious CherryLoader Execution via Encrypted Stage Arguments (via process_creation)
macOS Script Editor Spawns Suspicious Command-Line Interpreters
Suspicious Shell Command Obfuscation via printf Escape Encoding on VMware ESXi (via process_creation)
Suspicious Python Execution via Renamed Synaptics Binary
Hidden PowerShell Archive Extraction via ExtractToDirectory
Malicious Shell Payload Piped from curl to zsh
CastleLoader ClickFix PowerShell Hex Decode and Re-Execution
Suspicious Cabinet Extraction of Masqueraded vstm Archive via extrac32
macOS: Built-in openssl used to base64-decode and decrypt payload from mounted DMG volume
Pivot detection · T1140 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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