Suspicious Scheduled Task Persistence Running a Batch File at Logon

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-10-09
Updated
2026-10-09

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 creation of a scheduled task that runs a batch script at user logon with limited run level. The Stan Ghouls campaign delivering NetSupport RAT registered an ONLOGON task pointing at run.bat to survive reboots as reported by Kaspersky. Attackers abuse schtasks logon persistence to relaunch their loader on every session, so this pattern surfaces early foothold establishment.

Related detections9 linkedT1053.005 — drag to rearrange
Suspicious PDF Editor Updater Binary Spawning PowerShell (via process_creation)
Suspicious Scheduled Task Creation From XML Definition via Schtasks (via process_creation)
Suspicious Elevated Scheduled Task Creation via Schtasks Run Level Highest (via process_creation)
ScreenConnect RAT Persistence via Scheduled Task Skype Updater (via process_creation)
Scheduled task executing powershell encoded payload from registry
Suspicious Scheduled Task Creation to execute LOLbins
VELVET CHOLLIMA Persistence via Disguised TimeZone Scheduled Tasks (via process_creation)
FunkSec Ransomware Persistence via funksec Scheduled Task (via process_creation)
Malicious Fortinet APT Group Abuse on Windows - Task (via security)
Suspicious Scheduled Task Persistence Running a Batch File at Logon
Pivot detection · T1053.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.