Possible Persistence Via DebugPath (via registry_set)

This rule detects potential persistence using Appx DebugPath

SigmamediumWindowsv1
sigma
title: Possible Persistence Via DebugPath (via registry_set)
id: 33a0905d-c832-5066-9920-db273057c36f
status: stable
description: This rule detects potential persistence using Appx DebugPath
references:
    - https://attack.mitre.org/techniques/T1546/015/
    - https://oddvar.moe/2018/09/06/persistence-using-universal-windows-platform-apps-appx/
    - https://github.com/rootm0s/WinPwnage
author: Huntrule Team
date: 2026-04-20
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1546.015
logsource:
    category: registry_set
    product: windows
detection:
    selection_debug:
        TargetObject|contains: 'Classes\ActivatableClasses\Package\Microsoft.'
        TargetObject|endswith: '\DebugPath'
    selection_default:
        TargetObject|contains: '\Software\Microsoft\Windows\CurrentVersion\PackagedAppXDebug\Microsoft.'
        TargetObject|endswith: '\(Default)'
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.