Pcornel
Windows · Windows Security

Application Control

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

Back to the Topic

Answer

Application Control can restrict executable code, scripts, installers or other code classes depending on the specific Windows policy technology. The security objective is to move from “detect bad code” toward “allow only code that satisfies policy”.

Remember

  • Policy present does not prove enforced mode.
  • Allowlisting decisions depend on the exact rule identity and policy merge.
  • Signed code is not automatically trusted unless policy says so.
  • Application Control is separate from antivirus detection and SmartScreen reputation.
  • Deep WDAC/AppLocker operations remain in their dedicated Windows/Security context when present.

First checks

  • Get-MpComputerStatus — Defender state and signature age
  • Get-CimInstance -Namespace root\Microsoft\Windows\DeviceGuard -ClassName Win32_DeviceGuard — VBS, Credential Guard, HVCI state
  • Get-MpPreference | Select AttackSurfaceReductionRules_Ids,AttackSurfaceReductionRules_Actions — ASR rules
  • Get-ProcessMitigation -System — system exploit mitigations
  • Get-WinEvent -LogName 'Microsoft-Windows-Windows Defender/Operational' -MaxEvents 30 — Defender events

Verify in this order

policy → code integrity checks each binary → allow/block

Where it usually breaks

First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.

Windows Security → Application Control reference map

BoundaryMeaningEvidence limit
Policy sourceConfigured trust rulesmay be audit or enforced
Effective policyMerged runtime rule setnot file decision
Code identityPublisher/hash/path/etc.must match rule semantics
DecisionAudit/allow/blockspecific artifact only

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

Confirmation

Confirm action

Continue?