Mandatory Access Control
Cheat sheet · https://pcornel.dk/topic.php?topic=4468
Answer
MAC maps trusted subject clearance and object classification/category labels into policy rules enforced by a reference monitor, with controlled label administration, declassification and audit.
Remember
- MAC ≠ MFA or mandatory login.
- Clearance ≠ need to know.
- Label assigned ≠ label correct or protected from unauthorized change.
- Object owner ≠ authority to bypass mandatory policy.
First checks
getenforce; sestatus— SELinux models -Z <file>— security labelsaa-status— AppArmor profiles
Verify in this order
subject label + object label → policy → allow/deny
Where it usually breaks
First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.
Identity & Access Management → Mandatory Access Control proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Identity and scope | Stable subject/account/resource mapping, owner, lifecycle state and expected action | Does not prove credential control or effective access |
| Policy and ceremony | Effective entitlement or authenticator/verifier policy plus all fallback paths | Configuration presence does not prove enforcement or assurance |
| Outcome | Allowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetry | One success does not prove every interface, session or downstream target |
| Closure | Original end-to-end action retested; residual access/risk, owner and review trigger recorded | Administrative workflow completion alone is not closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4468