Suspicious osascript Spawning Shell Executing Hidden macOS Payload via Axios Compromise

PremiumReviewedSigma · High · v1
Product
macos
Category
process_creation
Author
HuntRule
Published
2026-09-19
Updated
2026-09-19

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 detects osascript dispatching a shell that executes a hidden payload located under Library Caches as observed in the macOS variant of the Axios supply chain RAT. Attackers use AppleScript to launch a persistent implant while evading command line inspection, marking early stage execution on developer endpoints.

Related detections9 linkedT1036.005 — drag to rearrange
Suspicious Execution of ELF Masquerading as Build Artifact
Malicious Credential Phishing Dialog via osascript
Suspicious Loading of Masqueraded EndpointDlp.dll Backdoor
Suspicious svchost.exe Execution from Public Directory (via process_creation)
Suspicious Process Masquerading as apached via GobRAT Bulbature Implant
Malicious Data Exfiltration via curl with Stealer Specific BuildID Header
Suspicious osascript Password Prompt via AppleScript Display Dialog (via process_creation)
Suspicious MicrosoftEdgeUpdate Launched with Dat Config File
Malicious Scheduled Task Masquerading as Defender NisSrv via Schtasks
Suspicious osascript Spawning Shell Executing Hidden macOS Payload via Axios Compromise
Pivot detection · T1036.005 · 9 related

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