Windows Registry Events: Scheduled Task Creation via TaskCache Tree Key

Flags registry activity creating TaskCache Tree entries tied to TeamCity settings UI during exploitation.

FreeReviewedSigma · High · v5
Product
windows
Category
registry_event
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-10-24
Updated
2026-07-31
title: "Windows Registry Events: Scheduled Task Creation via TaskCache Tree Key"
id: d28dea95-48f2-477a-a28e-fdf88d83df2a
status: test
description: This rule identifies registry events targeting scheduled task cache entries under the TaskCache Tree path. It looks for a specific value indicative of “Windows TeamCity Settings User Interface,” which can be abused by attackers to establish persistence through scheduled tasks. The detection relies on Windows registry telemetry capturing the TargetObject contents for the relevant TaskCache locations.
references:
  - https://www.microsoft.com/en-us/security/blog/2023/10/18/multiple-north-korean-threat-actors-exploiting-the-teamcity-cve-2023-42793-vulnerability/
  - https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2023/TA/Diamond-Sleet/registry_event_apt_diamond_sleet_scheduled_task.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2023-10-24
tags:
  - attack.defense-impairment
  - attack.t1685
  - detection.emerging-threats
logsource:
  product: windows
  category: registry_event
detection:
  selection:
    TargetObject|contains|all:
      - \SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\
      - Windows TeamCity Settings User Interface
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: 9f9f92ba-5300-43a4-b435-87d1ee571688
    type: derived