Sigma rule: Diamond Sleet APT Scheduled Task Creation

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-93ee76064ca3, updated 2023-10-24T00:00:00.000Z.

Rule

Title
Diamond Sleet APT Scheduled Task Creation
Status
test
Level
critical
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-10-24
File
rules-emerging-threats/2023/TA/Diamond-Sleet/win_security_apt_diamond_sleet_scheduled_task.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects registry event related to the creation of a scheduled task used by Diamond Sleet APT during exploitation of Team City CVE-2023-42793 vulnerability

Log source

product
windows
service
security
definition
The Advanced Audit Policy setting Object Access > Audit Other Object Access Events has to be configured to allow this detection. We also recommend extracting the Command field from the embedded XML in the event data.

Detection

selection:
    EventID: 4698
    TaskName: '\Windows TeamCity Settings User Interface'
    TaskContent|contains: 'uTYNkfKxHiZrx3KJ'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.privilege-escalation
  • attack.persistence
  • attack.t1053.005
  • detection.emerging-threats

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/TA/Diamond-Sleet/win_security_apt_diamond_sleet_scheduled_task.yml

Sources and licences

  • SigmaHQ

    "Diamond Sleet APT Scheduled Task Creation" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/TA/Diamond-Sleet/win_security_apt_diamond_sleet_scheduled_task.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Diamond Sleet APT Scheduled Task Creation",
entity page, dataset version ref-93ee76064ca3, updated 2023-10-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3b8e5084-4de9-449a-a40d-0e11014f2e2d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3b8e5084-4de9-449a-a40d-0e11014f2e2d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.