Sigma rule: Service Binary in Uncommon Folder

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-35551d1a0dd0, updated 2024-03-25T00:00:00.000Z.

SigmaHQ marks this rule as deprecated.

Rule

Title
Service Binary in Uncommon Folder
Status
deprecated
Level
medium
Author
Florian Roth (Nextron Systems)
Date
2022/05/02
Modified
2024/03/25
File
deprecated/windows/registry_set_creation_service_uncommon_folder.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detect the creation of a service with a service binary located in a uncommon directory

Log source

product
windows
category
registry_set

Detection

selection_1:
    TargetObject|startswith: 'HKLM\System\CurrentControlSet\Services\'
    TargetObject|endswith: '\Start'
    Image|contains:
        - '\AppData\Local\'
        - '\AppData\Roaming\'
    Details:
        - 'DWORD (0x00000000)'  # boot
        - 'DWORD (0x00000001)'  # System
        - 'DWORD (0x00000002)'  # Automatic
        # 3 - Manual , 4 - Disabled
selection_2:
    TargetObject|startswith: 'HKLM\System\CurrentControlSet\Services\'
    TargetObject|endswith: '\ImagePath'
    Details|contains:
        - '\AppData\Local\'
        - '\AppData\Roaming\'
filter:
    - Image|contains:
          - '\AppData\Roaming\Zoom'
          - '\AppData\Local\Zoom'
    - Details|contains:
          - '\AppData\Roaming\Zoom'
          - '\AppData\Local\Zoom'
condition: 1 of selection_* and not filter

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.defense_evasion
  • attack.t1112

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/deprecated/windows/registry_set_creation_service_uncommon_folder.yml

Sources and licences

  • SigmaHQ

    "Service Binary in Uncommon Folder" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/deprecated/windows/registry_set_creation_service_uncommon_folder.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: Service Binary in Uncommon Folder",
entity page, dataset version ref-35551d1a0dd0, updated 2024-03-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c625c4c2-515d-407f-8bb6-456f65955669 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c625c4c2-515d-407f-8bb6-456f65955669, 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.