Scheduled Task Executed Uncommon LOLBIN

 Original Source: [Sigma source]
Title: Scheduled Task Executed Uncommon LOLBIN
Status: test
Description:Detects the execution of Scheduled Tasks where the program being run is located in a suspicious location or where it is an unusual program to be run from a Scheduled Task
References:
  -Internal Research
Author: Nasreddine Bencherchali (Nextron Systems)
Date: 2022-12-05
modified:2023-02-07
Tags:
  • -'attack.privilege-escalation'
  • -'attack.execution'
  • -'attack.persistence'
  • -'attack.t1053.005'
Logsource:
  • product: windows
  • service: taskscheduler
  • definition: Requirements: The "Microsoft-Windows-TaskScheduler/Operational" is disabled by default and needs to be enabled in order for this detection to trigger
Detection:
  selection:
    EventID: '129'
    Path|endswith:
      -'\calc.exe'
      -'\cscript.exe'
      -'\mshta.exe'
      -'\mspaint.exe'
      -'\notepad.exe'
      -'\regsvr32.exe'
      -'\wscript.exe'

  condition:selection
Falsepositives:
  -False positives may occur with some of the selected binaries if you have tasks using them (which could be very common in your environment). Exclude all the specific trusted tasks before using this rule
Level: medium