Course contentsShow
← Security
Lesson 1458 of 3,05229. Operating System Security - HardeningFree lesson

MAC in Windows: Mandatory Integrity Control

Understand Windows integrity levels and how they provide mandatory access control alongside DACLs.

MAC in Windows: Mandatory Integrity Control

What you'll learn: How Windows implements mandatory access control through integrity levels that work alongside traditional permissions.

Understanding Windows Integrity Levels

While Windows is primarily known for its Discretionary Access Control Lists (DACLs) — where resource owners control access — Microsoft introduced Mandatory Integrity Control (MIC) in Windows Vista to add a layer of mandatory access control.

MIC assigns every process and object an integrity level (IL), creating a hierarchy of trust:

  • System (highest): Core OS components
  • High: Elevated/administrator processes
  • Medium: Standard user processes (default)
  • Low: Sandboxed applications (browsers, protected mode)
  • Untrusted (lowest): Anonymous access

How MIC Works

Think of integrity levels like security clearance badges in a government facility. Even if you have permission to enter a room (DACL says yes), your clearance level (integrity) must be high enough.

The critical rule: Processes cannot write "up" to higher-integrity objects by default, preventing low-trust code from tampering with critical system resources. This is a mandatory policy — users and applications cannot override it like they can with DACLs.

For example, when your web browser runs at Low integrity, even if malware exploits it, the compromised process cannot modify your user profile or system files (which are Medium integrity or higher). It can only write to designated low-integrity folders.

MIC vs. DACLs

MIC complements DACLs, both checks must pass. If your DACL grants write access but your integrity level is too low, the write fails. This defense-in-depth approach catches privilege escalation attempts that bypass traditional permissions.

Key Takeaway: Windows Mandatory Integrity Control uses integrity levels to enforce "no write up" rules, preventing low-privilege processes from tampering with higher-integrity resources, adding a mandatory layer beyond discretionary DACLs.