Suspicious Batch Execution From Hidden __MACOSX Archive Path (via process_creation)

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-05-12
Updated
2026-08-28

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects a command shell executing a batch file from a hidden __MACOSX directory extracted from a delivery archive, the initial execution step of this Cobalt Strike infection chain. Legitimate workflows do not run scripts from __MACOSX archive residue.

Related detections9 linkedT1059.003 — drag to rearrange
Suspicious ClickFix Command Execution via RunMRU Registry Key
Suspicious PIF AutoIt Interpreter Executing a3x Compiled Script
Malicious RoKRAT Staged Loader Files in Temp via LNK (via file_event)
Malicious KB Document Masqueraded Executable Spawned by Script Interpreter via RoKRAT Loader (via process_creation)
Malicious SCMBanker ClickFix Payload Fetch via Curl Piped to Cmd
Malicious Script Execution from WinRAR Extraction Directory via CVE-2023-38831
Suspicious Foxit PDF Reader Spawning Command Interpreter
Windows AppLocker Audit-Only Events Indicating What Would Be Blocked in Enforce Mode
Windows AppLocker Blocked Application, Script, MSI, or Packaged-App Execution
Suspicious Batch Execution From Hidden __MACOSX Archive Path (via process_creation)
Pivot detection · T1059.003 · 9 related

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