/
win_taskscheduler_lolbin_execution_via_task_scheduler.yml
42 lines (42 loc) · 1.58 KB
/
win_taskscheduler_lolbin_execution_via_task_scheduler.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
title: Scheduled Task Executed Uncommon LOLBIN
id: d5a3d13e-7db3-bcf5-824a-789488ab40fd
related:
- id: f0767f15-0fb3-44b9-851e-e8d9a6d0005d
type: derived
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.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:
taskscheduler:
Channel: Microsoft-Windows-TaskScheduler/Operational
selection:
EventID: 129 # Created Task Process
Path|endswith:
- \calc.exe
- \cscript.exe
- \mshta.exe
- \mspaint.exe
- \notepad.exe
- \regsvr32.exe
# - '\rundll32.exe'
- \wscript.exe
# filter_system:
# Path|endswith: '\rundll32.exe'
# TaskName|startswith: '\Microsoft\Windows\'
# condition: selection and not 1 of filter_*
condition: taskscheduler and 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
ruletype: Sigma