Scheduled Task Executed From A Suspicious Location

Detects the execution of Scheduled Tasks where the Program being run is located in a suspicious location or it's an unusale program to be run from a Scheduled Task

Sigma rule (View on GitHub)

 1title: Scheduled Task Executed From A Suspicious Location
 2id: 424273ea-7cf8-43a6-b712-375f925e481f
 3status: test
 4description: Detects the execution of Scheduled Tasks where the Program being run is located in a suspicious location or it's an unusale program to be run from a Scheduled Task
 5references:
 6    - Internal Research
 7author: Nasreddine Bencherchali (Nextron Systems)
 8date: 2022-12-05
 9modified: 2023-02-07
10tags:
11    - attack.privilege-escalation
12    - attack.execution
13    - attack.persistence
14    - attack.t1053.005
15logsource:
16    product: windows
17    service: taskscheduler
18    definition: 'Requirements: The "Microsoft-Windows-TaskScheduler/Operational" is disabled by default and needs to be enabled in order for this detection to trigger'
19detection:
20    selection:
21        EventID: 129 # Created Task Process
22        Path|contains:
23            - 'C:\Windows\Temp\'
24            - '\AppData\Local\Temp\'
25            - '\Desktop\'
26            - '\Downloads\'
27            - '\Users\Public\'
28            - 'C:\Temp\'
29    # If you experience FP. Uncomment the filter below and add the specific TaskName with the Program to it
30    # filter:
31    #     TaskName: '\Exact\Task\Name'
32    #     Path: 'Exact\Path'
33    condition: selection
34falsepositives:
35    - Unknown
36level: medium

References

Related rules

to-top