Rule Info
Name
Scheduled Task Created or Enabled to Run Python Without Arguments
Author
Maurice Fielenbach
Description
Detects the creation or enabling of a scheduled task whose action runs a Python interpreter without arguments (no Arguments element, or an empty one).
Launched this way, the interpreter has no script or command to run, so any code it executes must come from Python's automatic startup hooks.
On every start, the site module executes "import" lines found in .pth files in site-packages and imports the sitecustomize and usercustomize
modules. Attackers abuse this to hide their payload inside the Python installation. The task definition then shows nothing but the interpreter
path, which evades detections and reviews that look for a script path or suspicious arguments.
Date
2026-11-08 00:00:00
Modified
None
Id
3f6d2a8e-5b1c-4e7f-9a2d-8c4b1e6f0d37
Tags
attack.persistence attack.execution attack.privilege-escalation attack.t1053.005 attack.t1059.006 attack.t1546.018
Type
Nextron Sigma feed only (private)
