LightSpy macOS Implant PID File Creation in Users Shared

PremiumReviewedSigma · Medium · v1
Product
macos
Category
file_event
Author
HuntRule
Published
2026-05-14
Updated
2026-08-28

ATT&CK techniques

C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. Exfiltration

  13. Impact

What it detects

This rule detects creation of the file irc.pid under the Users Shared directory, a fixed artifact written by the macOS variant of the LightSpy surveillance implant to track its running instance. Huntress recovered this PID file alongside plugin fetching and WebSocket command-and-control. The specific path and filename are a reliable host indicator of the implant executing on macOS.

Related detections9 linkedT1105 — drag to rearrange
Malicious Curl Download From C2 CAPTCHA Path via Process Creation
Malicious C2 Download Embedding Host Reconnaissance in URL
Suspicious File Upload via curl Multipart Form
Possible GCleaner Loader C2 Check-in via cpa ping php Endpoint via proxy
TAG-144 Payload Staging via MyCustomAgent User-Agent (via proxy)
Possible NetHealth Implant C2 Beacon URI Pattern
Possible Remcos C2 Connection from eilowutil Process
Suspicious Remote HTA Payload Execution via MSHTA
Possible PurpleFox MSHTA to Msiexec Remote MSI Chain
LightSpy macOS Implant PID File Creation in Users Shared
Pivot detection · T1105 · 9 related

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