Overview
Explains the mandatory access control architecture that protects system integrity on Cisco IOS XE platforms. Learn how this mechanism prevents tampering and limits damage from potentially malicious or flawed applications.
Security-Enhanced Linux (SELinux) is a solution that incorporates a strong, flexible Mandatory Access Control (MAC) architecture into Cisco IOS-XE platforms through a combination of a Linux kernel security module and system utilities.
SELinux provides an enhanced mechanism to enforce the separation of information based on confidentiality and integrity requirements. This approach helps prevent tampering and bypassing of application security mechanisms while limiting damage from malicious or flawed applications.
Security-Enhanced Linux Modes
SELinux can operate either in Permissive mode or Enforcing mode when enabled on a system.
-
Permissive mode : SELinux does not enforce the policy and only generates system logs for any denials caused by policy violations. Operations are logged for resource access policy violations but not denied.
-
Enforcing mode : SELinux policy is enabled and enforced. It denies resource access based on the access policy rules, and generates system logs.
SELinux is enabled in Enforcing mode by default on supported Cisco IOS XE platforms. In the Enforcing mode , any system resource access that does not have the necessary allow policy is treated as a violation, and the operation is denied. The violating operation fails when a denial occurs, and system logs are generated. In Enforcing mode , the solution works in access-violation prevention mode.