Remote Schedule Task Lateral Movement via SASec
Detects remote RPC calls to create or execute a scheduled task via SASec
Sigma rule (View on GitHub)
1title: Remote Schedule Task Lateral Movement via SASec
2id: aff229ab-f8cd-447b-b215-084d11e79eb0
3status: test
4description: Detects remote RPC calls to create or execute a scheduled task via SASec
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.execution
15 - attack.persistence
16 - attack.t1053
17 - attack.t1053.002
18logsource:
19 product: rpc_firewall
20 category: application
21 definition: 'Requirements: install and apply the RPC Firewall to all processes with "audit:true action:block uuid:378e52b0-c0a9-11cf-822d-00aa0051e40f"'
22detection:
23 selection:
24 EventLog: RPCFW
25 EventID: 3
26 InterfaceUuid: 378e52b0-c0a9-11cf-822d-00aa0051e40f
27 OpNum:
28 - 0
29 - 1
30 condition: selection
31falsepositives:
32 - Unknown
33level: high
References
Related rules
- Remote Schedule Task Lateral Movement via ATSvc
- Remote Schedule Task Lateral Movement via ITaskSchedulerService
- HackTool - CrackMapExec Execution
- PSEXEC Remote Execution File Artefact
- Remote Task Creation via ATSVC Named Pipe