Suspicious Hidden Scheduled Task via TaskCache Security Descriptor Manipulation

PremiumReviewedSigma · Medium · v1
Product
windows
Category
registry_set
Author
HuntRule
Published
2026-07-10
Updated
2026-08-28

ATT&CK techniques

Execution → Defense Evasion
  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 modification of the SD security-descriptor value under the scheduled-task TaskCache Tree registry hive, the technique used by the Tarrask malware attributed to Hafnium to hide a task so it does not appear in schtasks query output. Removing or altering the SD value conceals the persistence mechanism from defenders. This registry activity has no legitimate purpose and indicates deliberate task hiding.

Related detections9 linkedT1053.005 — drag to rearrange
Windows System Service Control Manager Event 7045 Scheduled Scan and UpdatMachine
Windows Registry Persistence via UMe/UT Run Keys
Windows Security: Detect Scheduled Task Creation for OilRig-Related Persistence
Windows Scheduled Task Process Creating autoit3.exe for nslookup TXT Queries (OilRig)
Suspicious Scheduled Task Running PowerShell Every Minute (via process_creation)
Agent Tesla Persistence via Realtek Named Scheduled Task Batch
Suspicious Remote Desktop Enabled via fDenyTSConnections Registry by Sandworm
Suspicious Scheduled Task Creation Named test3 by Salt Typhoon
Suspicious MeshAgent Persistence via Scheduled Task MeshUserTask (via process_creation)
Suspicious Hidden Scheduled Task via TaskCache Security Descriptor Manipulation
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.