Possible Persistence Through Microsoft Compatibility Appraiser (via process_creation)

This rule detects manual execution of the "Microsoft Compatibility Appraiser" task via schtasks. To trigger persistence stored in the "\AppCompatFlags\TelemetryController" registry key.

SigmamediumWindowsv1
sigma
title: Possible Persistence Through Microsoft Compatibility Appraiser (via process_creation)
id: bd8260bb-fe36-5f7a-aab2-d99261e74826
status: stable
description: This rule detects manual execution of the "Microsoft Compatibility Appraiser" task via schtasks. To trigger persistence stored in the "\AppCompatFlags\TelemetryController" registry key.
references:
    - https://attack.mitre.org/techniques/T1053/005/
    - https://www.trustedsec.com/blog/abusing-windows-telemetry-for-persistence/
author: Huntrule Team
date: 2026-06-21
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.persistence
    - attack.t1053.005
logsource:
    product: windows
    category: process_creation
detection:
    selection_img:
        - Image|endswith: '\schtasks.exe'
        - OriginalFileName: 'schtasks.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'run '
            - '\Application Experience\Microsoft Compatibility Appraiser'
    condition: all 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.