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.privilege-escalation
14    - attack.persistence
15    - attack.execution
16    - attack.lateral-movement
17    - attack.t1053
18    - attack.t1053.002
19logsource:
20    product: rpc_firewall
21    category: application
22    definition: 'Requirements: install and apply the RPC Firewall to all processes with "audit:true action:block uuid:86d35949-83c9-4044-b424-db363231fd0c"'
23detection:
24    selection:
25        EventLog: RPCFW
26        EventID: 3
27        InterfaceUuid: 86d35949-83c9-4044-b424-db363231fd0c
28        OpNum:
29            - 1
30            - 3
31            - 4
32            - 10
33            - 11
34            - 12
35            - 13
36            - 14
37            - 15
38    condition: selection
39falsepositives:
40    - Unknown
41level: high

References

Related rules

to-top