Sigma rule: Registry Modification of MS-settings Protocol Handler

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-f3aaf376c61f, updated 2026-01-24T00:00:00.000Z.

Rule

Title
Registry Modification of MS-settings Protocol Handler
Status
test
Level
medium
Author
frack113, Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2021-12-20
Modified
2026-01-24
File
rules/windows/process_creation/proc_creation_win_susp_registry_modification_of_ms_setting_protocol_handler.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects registry modifications to the 'ms-settings' protocol handler, which is frequently targeted for UAC bypass or persistence.
Attackers can modify this registry to execute malicious code with elevated privileges by hijacking the command execution path.

Log source

product
windows
category
process_creation

Detection

selection_reg_img:
    - Image|endswith: '\reg.exe'
    - OriginalFileName: 'reg.exe'
selection_pwsh_img:
    - Image|endswith:
          - '\powershell.exe'
          - '\pwsh.exe'
    - OriginalFileName:
          - 'powershell.exe'
          - 'pwsh.dll'
selection_reg_cli:
    CommandLine|contains: 'add'
selection_pwsh_cli:
    CommandLine|contains:
        - 'New-ItemProperty'
        - 'Set-ItemProperty'
        - 'ni '
        - 'sp '
selection_cli_key:
    CommandLine|contains: '\ms-settings\shell\open\command'
condition: (all of selection_reg_* or all of selection_pwsh_*) and selection_cli_key

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.defense-impairment
  • attack.t1548.002
  • attack.t1546.001
  • attack.t1112

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/process_creation/proc_creation_win_susp_registry_modification_of_ms_setting_protocol_handler.yml

Sources and licences

  • SigmaHQ

    "Registry Modification of MS-settings Protocol Handler" by frack113, Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_registry_modification_of_ms_setting_protocol_handler.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: Registry Modification of MS-settings Protocol Handler",
entity page, dataset version ref-f3aaf376c61f, updated 2026-01-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/dd3ee8cc-f751-41c9-ba53-5a32ed47e563 (accessed 2026-11-03).
Underlying source: SigmaHQ rule dd3ee8cc-f751-41c9-ba53-5a32ed47e563, 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.