Remote Schedule Task Lateral Movement via ITaskSchedulerService
Detects remote RPC calls to create or execute a scheduled task
Sigma rule (View on GitHub)
1title: Remote Schedule Task Lateral Movement via ITaskSchedulerService
2id: ace3ff54-e7fd-46bd-8ea0-74b49a0aca1d
3status: test
4description: Detects remote RPC calls to create or execute a scheduled task
5references:
6 - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/d1058a28-7e02-4948-8b8d-4a347fa64931
7 - https://github.com/jsecurity101/MSRPC-to-ATTACK/blob/ddd4608fe8684fcf2fcf9b48c5f0b3c28097f8a3/documents/MS-TSCH.md
8 - https://github.com/zeronetworks/rpcfirewall
9 - https://zeronetworks.com/blog/stopping-lateral-movement-via-the-rpc-firewall/
10author: Sagie Dulce, Dekel Paz
11date: 2022-01-01
12modified: 2022-01-01
13tags:
14 - attack.lateral-movement
15 - attack.t1053
16 - attack.t1053.002
17logsource:
18 product: rpc_firewall
19 category: application
20 definition: 'Requirements: install and apply the RPC Firewall to all processes with "audit:true action:block uuid:86d35949-83c9-4044-b424-db363231fd0c"'
21detection:
22 selection:
23 EventLog: RPCFW
24 EventID: 3
25 InterfaceUuid: 86d35949-83c9-4044-b424-db363231fd0c
26 OpNum:
27 - 1
28 - 3
29 - 4
30 - 10
31 - 11
32 - 12
33 - 13
34 - 14
35 - 15
36 condition: selection
37falsepositives:
38 - Unknown
39level: high
References
Related rules
- Remote Schedule Task Lateral Movement via ATSvc
- Remote Schedule Task Lateral Movement via SASec
- Remote Task Creation via ATSVC Named Pipe
- Remote Task Creation via ATSVC Named Pipe - Zeek
- Atexec.py Execution