Assess Windows trust and isolation boundaries relevant to escalation and containment — integrity levels and mandatory integrity control, UAC, AppLocker/WDAC application-control bypass surface, PowerShell Constrained Language Mode, and sandbox/AppContainer edges. Identification and safe validation with remediation. Use to evaluate how well a host confines a low-privileged or restricted user.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Windows Boundaries?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-windows-boundaries)
---
name: windows-boundaries
description: Assess Windows trust and isolation boundaries relevant to escalation and containment — integrity levels and mandatory integrity control, UAC, AppLocker/WDAC application-control bypass surface, PowerShell Constrained Language Mode, and sandbox/AppContainer edges. Identification and safe validation with remediation. Use to evaluate how well a host confines a low-privileged or restricted user.
---
# Windows Security Boundaries (assessment)
Evaluate the boundaries meant to contain a low-priv/restricted user, and whether they hold. This is about validating defensive controls and reporting gaps.
## Trigger phrases
`applocker bypass, wdac, constrained language mode, clm, integrity level, appcontainer, application control`
## Areas to assess
- **AppLocker / WDAC (application control):** enumerate policy (`Get-AppLockerPolicy`, effective rules). Identify classic allowed-path/LOLBAS gaps (trusted signed binaries that can run arbitrary code). **Safe PoC:** show a benign allowed-script executes where it shouldn't, then report the rule gap.
- **PowerShell Constrained Language Mode:** detect `$ExecutionContext.SessionState.LanguageMode`; identify whether CLM is enforced consistently with application control (CLM without WDAC is bypassable). Demonstrate with a benign check.
- **Integrity levels / UAC:** see `windows-uac-bypass`.
- **AppContainer / sandbox:** assess what a sandboxed context can reach.
## Safe-PoC discipline
Use benign proofs (a marker file, a `whoami`) to show a control is bypassable; do not run real payloads. Revert artifacts.
## Remediation to report
Enforce WDAC + CLM together, block known LOLBAS/bypass binaries, audit AppLocker rules for path/publisher gaps, keep policies in enforce (not audit) mode.
## Evidence
Policy state, the benign bypass proof, the gap, and the hardening recommendation.