Integrity Levels
Cheat sheet · https://pcornel.dk/topic.php?topic=3004
Answer
Integrity levels (Low, Medium, High, System) label processes and objects, and a lower-integrity process cannot write to higher-integrity objects. Elevated processes run at High, normal ones at Medium.
Remember
- Levels are Low, Medium, High and System.
- A lower level cannot write to a higher level.
- Browsers often run at Low.
First checks
whoami /groups | findstr Level— integrity level of the current tokenGet-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System | Select EnableLUA,ConsentPromptBehaviorAdmin— UAC settingsStart-Process <app> -Verb RunAs— start elevated
Verify in this order
token integrity level → compared with object label → write up blocked
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3004