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
12tags:
13 - attack.lateral-movement
14 - attack.t1053
15 - attack.t1053.002
16logsource:
17 product: rpc_firewall
18 category: application
19 definition: 'Requirements: install and apply the RPC Firewall to all processes with "audit:true action:block uuid:86d35949-83c9-4044-b424-db363231fd0c"'
20detection:
21 selection:
22 EventLog: RPCFW
23 EventID: 3
24 InterfaceUuid: 86d35949-83c9-4044-b424-db363231fd0c
25 OpNum:
26 - 1
27 - 3
28 - 4
29 - 10
30 - 11
31 - 12
32 - 13
33 - 14
34 - 15
35 condition: selection
36falsepositives:
37 - Unknown
38level: high
References
Related rules
- Remote Task Creation via ATSVC Named Pipe
- Remote Task Creation via ATSVC Named Pipe - Zeek
- Atexec.py Execution
- Impacket AtExec Process Activity
- Impacket AtExec Suspicious Registry Modification