Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

2.3 KB
Raw Blame
id: mitre-car-car-2015-04-002
name: Remotely Scheduled Tasks via Schtasks
description: 'An adversary can [move laterally](https://attack.mitre.org/tactics/TA0008)
  using the `schtasks` command to remotely [schedule tasks/jobs](https://attack.mitre.org/techniques/T1053).
  Although these events can be detected with command line analytics [CAR-2013-08-001](../CAR-2013-08-001),
  it is possible for an adversary to use the API directly, via the Task Scheduler
  GUI or with a scripting language such as [PowerShell](https://attack.mitre.org/techniques/T1059/001).
  In this cases, an additional source of data becomes necessary to detect adversarial
  behavior. When scheduled tasks are created remotely, Windows uses RPC (135/tcp)
  to communicate with the Task Scheduler on the remote machine. Once an RPC connection
  is established ([CAR-2014-05-001](../CAR-2014-05-001)), the client communicates
  with the Scheduled Tasks endpoint, which runs within the service group netsvcs.
  With packet capture and the right packet decoders or byte-stream based signatures,
  remote invocations of these functions can be identified.


  Certain strings can be identifiers of the schtasks, by looking up the interface
  UUID of ITaskSchedulerService in different formats


  -   UUID `86d35949-83c9-4044-b424-db363231fd0c` (decoded)

  -   Hex `49 59 d3 86 c9 83 44 40 b4 24 db 36 32 31 fd 0c` (raw)

  -   ASCII `IYD@$621` (printable bytes only)


  This identifier is present three times during the RPC request phase. Any sensor
  that has access to the byte code as raw, decoded, or ASCII could implement this
  analytic.'
severity: medium
enabled: false
tags:
  mitre:
  - T1053
  categories:
  - endpoint
references: []
logsource:
  category: Network API RPC,PCAP
detection:
  implementations:
  - name: ''
    type: pseudocode
    code: "flows = search Flow:Message\nschtasks_rpc = filter flows where (\n src_port\
      \ >= 49152 and dest_port >= 49152 and\n proto_info.rpc_interface == \"ITaskSchedulerService\"\
      \n)\n\noutput schtasks_rpc"
provenance:
  source: mitre-attack/car
  source_id: CAR-2015-04-002
  source_commit: 1b922fe
  license: Apache-2.0
  license_url: https://github.com/mitre-attack/car/blob/master/LICENSE.txt
  imported_at: '2026-05-04'
  imported_by: car_importer
  upstream_path: analytics/CAR-2015-04-002.yaml
notes:
  car_status: needs_implementation