Sigma rule: Classes Autorun Keys Modification

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-1c67596c1f94, updated 2025-10-22T00:00:00.000Z.

Rule

Title
Classes Autorun Keys Modification
Status
test
Level
medium
Author
Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split)
Date
2019-10-25
Modified
2025-10-22
File
rules/windows/registry/registry_set/registry_set_asep_reg_keys_modification_classes.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects modification of Windows Registry Classes keys used for persistence.
Adversaries modify these autostart extensibility points (ASEP) to execute malicious code when file types are opened or actions are performed.
Various legitimate software also uses these keys. Currently, this rule only filters out known legitimate software paths,
thus it is recommended to review and tune filters for your environment to reduce false positives before deploying to production.

Log source

product
windows
category
registry_set

Detection

selection_classes_base:
    TargetObject|contains: '\Software\Classes'
selection_classes_target:
    TargetObject|contains:
        - '\Folder\ShellEx\ExtShellFolderViews'
        - '\Folder\ShellEx\DragDropHandlers'
        - '\Folder\Shellex\ColumnHandlers'
        - '\Filter'
        - '\Exefile\Shell\Open\Command\(Default)'
        - '\Directory\Shellex\DragDropHandlers'
        - '\Directory\Shellex\CopyHookHandlers'
        - '\CLSID\{AC757296-3522-4E11-9862-C17BE5A1767E}\Instance'
        - '\CLSID\{ABE3B9A4-257D-4B97-BD1A-294AF496222E}\Instance'
        - '\CLSID\{7ED96837-96F0-4812-B211-F13C24117ED3}\Instance'
        - '\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance'
        - '\Classes\AllFileSystemObjects\ShellEx\DragDropHandlers'
        - '\.exe'
        - '\.cmd'
        - '\ShellEx\PropertySheetHandlers'
        - '\ShellEx\ContextMenuHandlers'
filter_main_drivers:
    Image: 'C:\Windows\System32\drvinst.exe'
filter_main_empty:
    Details: '(Empty)'
filter_main_null:
    Details: null
filter_main_svchost:
    Image: 'C:\Windows\System32\svchost.exe'
    # If more targets are found from "svchost". Please exclude the whole image
    TargetObject|contains: '\lnkfile\shellex\ContextMenuHandlers\'
filter_optional_msoffice:
    Details: '{807583E5-5146-11D5-A672-00B0D022E945}'
condition: all of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason
  • Legitimate administrator sets up autorun keys for legitimate reason

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.t1547.001

MITRE ATT&CK ids this rule names

Related rules

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/windows/registry/registry_set/registry_set_asep_reg_keys_modification_classes.yml

Sources and licences

  • SigmaHQ

    "Classes Autorun Keys Modification" by Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_asep_reg_keys_modification_classes.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: Classes Autorun Keys Modification",
entity page, dataset version ref-1c67596c1f94, updated 2025-10-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9df5f547-c86a-433e-b533-f2794357e242 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9df5f547-c86a-433e-b533-f2794357e242, 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.