Pcornel
Security · Windows Security

AppLocker

Cheat sheet · https://pcornel.dk/topic.php?topic=4555

Back to the Topic

Answer

AppLocker controls executable, script, installer, packaged-app and DLL use through publisher, path and hash rules scoped to users or groups, with audit and enforcement modes and Application Identity dependencies.

Remember

  • AppLocker rule exists ≠ rule collection enforced.
  • Path allow rule ≠ safe when the path is user-writable.
  • Configured or assigned policy ≠ resultant policy and effective runtime state.
  • Feature healthy ≠ protected workload or absence of compromise.

First checks

  • Get-AppLockerPolicy -Effective | Test-AppLockerPolicy -Path C:\path\app.exe -User Everyone — test a file
  • Get-WinEvent -LogName 'Microsoft-Windows-AppLocker/EXE and DLL' -MaxEvents 20 — events
  • Get-Service AppIDSvc — service running

Verify in this order

process → AppLocker rules → allow/deny

Where it usually breaks

First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.

Windows Security → AppLocker proof map

BoundaryEstablishDoes not establish
ScopeExact host, role, build/kernel, identity, workload and expected controlDoes not prove policy receipt or effective runtime state
Effective stateResultant/loaded policy, precedence, mode, labels/rules/keys and active services/kernel controlsConfiguration presence does not prove enforcement
Runtime evidenceCorrelated events/audit, process/token/credential, packet/syscall and workload resultOne event, clean status or allow/deny does not prove complete security
ClosureOriginal allowed/denied workload works, unsafe state is removed and recovery/regression passCommit, restart, block or compliance result alone is not closure

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4555

Confirmation

Confirm action

Continue?