Renamed Schtasks Execution

Original Source: [Sigma source]
Title: Renamed Schtasks Execution
Status: experimental
Description:Detects the execution of renamed schtasks.exe binary, which is a legitimate Windows utility used for scheduling tasks. One of the very common persistence techniques is schedule malicious tasks using schtasks.exe. Since, it is heavily abused, it is also heavily monitored by security products. To evade detection, threat actors may rename the schtasks.exe binary to schedule their malicious tasks.
References:
  -https://x.com/JangPr0/status/1932034543026065833
  -https://ss64.com/nt/schtasks.html
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
Date: 2025-11-27
modified:None
Tags:
  • -'attack.defense-evasion'
  • -'attack.execution'
  • -'attack.persistence'
  • -'attack.privilege-escalation'
  • -'attack.t1036.003'
  • -'attack.t1053.005'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection_cmd_operation:
    CommandLine|contains|windash:
      -' /create '
      -' /delete '
      -' /query '
      -' /change '
      -' /run '
      -' /end '

  selection_cmd_flags:
    CommandLine|contains|windash:
      -' /tn '
      -' /tr '
      -' /sc '
      -' /st '
      -' /ru '
      -' /fo '

  selection_pe:
    OriginalFileName: 'schtasks.exe'
  filter_main_cmd:
    CommandLine|contains: 'schtasks'
  filter_main_img:
    Image|endswith: '\schtasks.exe'
  condition:(all of selection_cmd_* and not filter_main_cmd) or (selection_pe and not filter_main_img)
Falsepositives:
  -Unlikely
Level: high