Remote Schedule Task Lateral Movement via ATSvc

 Original Source: [Sigma source]
Title: Remote Schedule Task Lateral Movement via ATSvc
Status: test
Description:Detects remote RPC calls to create or execute a scheduled task via ATSvc
References:
  -https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/d1058a28-7e02-4948-8b8d-4a347fa64931
  -https://github.com/jsecurity101/MSRPC-to-ATTACK/blob/ddd4608fe8684fcf2fcf9b48c5f0b3c28097f8a3/documents/MS-TSCH.md
  -https://github.com/zeronetworks/rpcfirewall
  -https://zeronetworks.com/blog/stopping-lateral-movement-via-the-rpc-firewall/
Author: Sagie Dulce, Dekel Paz
Date: 2022-01-01
modified:None
Tags:
  • -'attack.privilege-escalation'
  • -'attack.lateral-movement'
  • -'attack.execution'
  • -'attack.persistence'
  • -'attack.t1053'
  • -'attack.t1053.002'
Logsource:
  • product: rpc_firewall
  • category: application
  • definition: Requirements: install and apply the RPC Firewall to all processes with "audit:true action:block uuid:1ff70682-0a51-30e8-076d-740be8cee98b"
Detection:
  selection:
    EventLog: 'RPCFW'
    EventID: '3'
    InterfaceUuid: '1ff70682-0a51-30e8-076d-740be8cee98b'
    OpNum:
      -'0'
      -'1'

  condition:selection
Falsepositives:
  -Unknown
Level: high