PT0-001 · Question #204
The SELinux and AppArmor security frameworks include enforcement rules that attempt to prevent which of the following attacks?
The correct answer is B. Sandbox escape. SELinux and AppArmor are mandatory access control frameworks that confine processes to strictly defined security policies, directly mitigating sandbox escape attacks.
Question
The SELinux and AppArmor security frameworks include enforcement rules that attempt to prevent which of the following attacks?
Options
- ALateral movement
- BSandbox escape
- CCross-site request forgery (CSRF)
- DCross-site- scripting (XSS)
How the community answered
(26 responses)- A15% (4)
- B73% (19)
- C8% (2)
- D4% (1)
Why each option
SELinux and AppArmor are mandatory access control frameworks that confine processes to strictly defined security policies, directly mitigating sandbox escape attacks.
Lateral movement is primarily addressed by network segmentation and credential controls, not by OS-level process confinement frameworks.
SELinux and AppArmor enforce kernel-level mandatory access control by labeling processes and resources and restricting what each process can access, even if it is compromised. This containment model is specifically designed to prevent a process from breaking out of its confined execution context - the definition of a sandbox escape - by denying unauthorized system calls, file access, and inter-process communication.
CSRF is a web application attack mitigated by anti-forgery tokens and same-site cookie policies, operating at the HTTP layer, not the OS MAC layer.
XSS is a client-side web vulnerability mitigated by output encoding and Content Security Policy headers, which are outside the scope of kernel-enforced MAC frameworks.
Concept tested: Mandatory access control frameworks preventing sandbox escape
Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/using_selinux/index
Topics
Community Discussion
No community discussion yet for this question.