Application Control
Cheat sheet · https://pcornel.dk/topic.php?topic=3206
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 ageGet-CimInstance -Namespace root\Microsoft\Windows\DeviceGuard -ClassName Win32_DeviceGuard— VBS, Credential Guard, HVCI stateGet-MpPreference | Select AttackSurfaceReductionRules_Ids,AttackSurfaceReductionRules_Actions— ASR rulesGet-ProcessMitigation -System— system exploit mitigationsGet-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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Policy source | Configured trust rules | may be audit or enforced |
| Effective policy | Merged runtime rule set | not file decision |
| Code identity | Publisher/hash/path/etc. | must match rule semantics |
| Decision | Audit/allow/block | specific 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