Suspicious Python Script Persistence in User Startup Folder

PremiumReviewedSigma · Medium · v1
Product
windows
Category
file_event
Author
HuntRule
Published
2026-10-06
Updated
2026-10-06

ATT&CK techniques

Execution → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Defense Evasion

  5. Cred Access

  6. Discovery

  7. Lateral Movement

  8. Collection

  9. C2

  10. Exfiltration

  11. Impact

What it detects

This rule detects a Python script being written into the Windows Startup folder. The Arkanix stealer establishes persistence by dropping hvnc.py into Startup so its hidden VNC module relaunches at logon as documented by Kaspersky. A .py file placed in Startup is highly unusual for legitimate software and indicates script-based autostart persistence.

Related detections9 linkedT1547.001 — drag to rearrange
Malicious XWorm Run Key Persistence Under XClient Value (via registry_set)
Malicious RAT Persistence via Windows Load Registry Value Pointing to Temp (via registry_set)
Malicious Registry Run Key Persistence Executing javaw with a PNG-Named JAR (via registry_set)
Malicious Node.js RAT Persistence via Run Key Referencing conhost Headless Loader (via registry_set)
Masquerading Registry Run Key Executing Regsvr32 on Public Directory Payload (via registry_set)
PATCHCORD Persistence via Registry Run Key BeaconBrowserHijack (via registry_set)
Masquerading Mustang Panda ZOHOMURK Persistence via Registry Run Key (via registry_set)
LOTUSLITE Persistence via Registry Run Key Lite360 (via registry_set)
Suspicious Autostart Persistence via Registry Run Key Pointing to a Script Interpreter (via registry_set)
Suspicious Python Script Persistence in User Startup Folder
Pivot detection · T1547.001 · 9 related

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