Malicious WannaCry Run Key Persistence to tasksche via registry_set

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

ATT&CK techniques

Persistence → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects the creation of a Run key registry value pointing to the WannaCry payload tasksche.exe, establishing persistence at user logon. The malware writes this value under the CurrentVersion Run key to survive reboots. Presence of a tasksche.exe reference in an autostart location is a high-confidence indicator of WannaCry infection.

Related detections9 linkedT1547.001 — drag to rearrange
Xeno Stealer Persistence via Display Calibration Run Key
Suspicious Node.js Script Execution from AppData Roaming
Suspicious AutoAdminLogon Enabled via Winlogon Registry by RansomHub Ransomware
Suspicious PlugX Persistence via CanonPrinter Run Key (via registry_set)
PATCHCORD SHEETCORD Startup Folder VBScript Persistence (via file_event)
Uncommon Executable Written to Startup Folder by WinRAR via CVE-2025-8088 Path Traversal (via file_event)
Suspicious Storm-2561 Fake Pulse VPN Persistence via RunOnce Key (via registry_set)
Masquerading Konni Registry Run Key Launching Wscript JavaScript from ProgramData (via registry_set)
Suspicious Startup Folder Redirection via User Shell Folders by MuddyWater (via registry_set)
Malicious WannaCry Run Key Persistence to tasksche via registry_set
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.