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.persistence
12    - attack.t1053.005
13logsource:
14    product: windows
15    service: taskscheduler
16    definition: 'Requirements: The "Microsoft-Windows-TaskScheduler/Operational" is disabled by default and needs to be enabled in order for this detection to trigger'
17detection:
18    selection:
19        EventID: 129 # Created Task Process
20        Path|contains:
21            - 'C:\Windows\Temp\'
22            - '\AppData\Local\Temp\'
23            - '\Desktop\'
24            - '\Downloads\'
25            - '\Users\Public\'
26            - 'C:\Temp\'
27    # If you experience FP. Uncomment the filter below and add the specific TaskName with the Program to it
28    # filter:
29    #     TaskName: '\Exact\Task\Name'
30    #     Path: 'Exact\Path'
31    condition: selection
32falsepositives:
33    - Unknown
34level: medium

References

Related rules

to-top