Windows SRP restricted application access (Event IDs 865, 866, 867, 868, 882)

Flags Windows SRP enforcement events where attempts to access applications are restricted by administrator policy.

FreeReviewedSigma · High · v2
Product
windows
Service
application
Author
frack113 (SigmaHQ), DRL 1.1
Published
2023-01-12
Updated
2026-07-31
title: Windows SRP restricted application access (Event IDs 865, 866, 867, 868, 882)
id: c5c77e03-9816-4297-92c0-35360329345a
status: test
description: This rule flags Windows events from the Software Restriction Policies provider indicating that access to a specified application was blocked by administrator-configured SRP rules. Such blocks matter because attackers often rely on executing restricted binaries or from specific paths/publishers to achieve execution or lateral movement. The detection relies on Windows application telemetry from the Microsoft-Windows-SoftwareRestrictionPolicies provider and the specified Event IDs.
references:
  - https://learn.microsoft.com/en-us/windows-server/identity/software-restriction-policies/software-restriction-policies
  - https://github.com/nasbench/EVTX-ETW-Resources/blob/7a806a148b3d9d381193d4a80356016e6e8b1ee8/ETWEventsList/CSV/Windows11/22H2/W11_22H2_Pro_20220920_22621.382/Providers/Microsoft-Windows-AppXDeployment-Server.csv
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/application/microsoft_windows_software_restriction_policies/win_software_restriction_policies_block.yml
author: frack113, Huntrule Team
date: 2023-01-12
tags:
  - attack.lateral-movement
  - attack.execution
  - attack.t1072
logsource:
  product: windows
  service: application
detection:
  selection:
    Provider_Name: Microsoft-Windows-SoftwareRestrictionPolicies
    EventID:
      - 865
      - 866
      - 867
      - 868
      - 882
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: b4c8da4a-1c12-46b0-8a2b-0a8521d03442
    type: derived