Python Interpreter Started Without Arguments By Task Scheduler

Rule Info

Name
Python Interpreter Started Without Arguments By Task Scheduler
Author
Maurice Fielenbach
Description
Detects a Python interpreter started by the Task Scheduler with no arguments. 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 scheduled task's command line then shows nothing but the interpreter path, which evades detections and reviews that look for a script path or suspiciousarguments.
Date
2026-11-08 00:00:00
Modified
None
Id
12eb39f2-8d69-473f-911c-69f5832c8e45
Tags
attack.persistence attack.execution attack.privilege-escalation attack.t1053.005 attack.t1059.006 attack.t1546.018
Type
Nextron Sigma feed only (private)

Rule History