PowerShell AppLocker Policy Discovery Via Get-AppLockerPolicy


Description

Detects AppLocker policy enumeration attempts via PowerShell using the Get-AppLockerPolicy cmdlet and an policy scope of either Effective, LDAP, or Local.

Query · sigma

selection_img:
- Image|endswith:
  - \powershell.exe
  - \pwsh.exe
- OriginalFileName:
  - PowerShell.EXE
  - pwsh.dll
selection_cmdlet:
  CommandLine|contains: Get-AppLockerPolicy
selection_flag:
  CommandLine|contains|windash:
  - ' -Effective'
  - ' -Ldap '
  - ' -Local'
condition: all of selection_*

Known false positives

  • PowerShell-based AppLocker auditing and policy troubleshooting by administrators.
Raw source PowerShell AppLocker Policy Discovery Via Get-AppLockerPolicy · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: PowerShell AppLocker Policy Discovery Via Get-AppLockerPolicy
id: f14b1e99-5e53-4598-98dc-6f20ad7b35e0
status: experimental
description: |
    Detects AppLocker policy enumeration attempts via PowerShell using the Get-AppLockerPolicy cmdlet and an policy scope of either Effective, LDAP, or Local.
references:
    - https://learn.microsoft.com/en-us/powershell/module/applocker/get-applockerpolicy
author: Tom3306
date: 2026-08-19
tags:
    - attack.discovery
    - attack.t1518.001
logsource:
    product: windows
    category: process_creation
detection:
    selection_img:
        - Image|endswith:
              - '\powershell.exe'
              - '\pwsh.exe'
        - OriginalFileName:
              - 'PowerShell.EXE'
              - 'pwsh.dll'
    selection_cmdlet:
        CommandLine|contains: 'Get-AppLockerPolicy'
    selection_flag:
        CommandLine|contains|windash:
            - ' -Effective'
            - ' -Ldap '
            - ' -Local'
    condition: all of selection_*
falsepositives:
    - PowerShell-based AppLocker auditing and policy troubleshooting by administrators.
level: low

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.