nerdexam
CompTIA

CAS-002 · Question #718

A software vendor has had several zero-day attacks against its software, due to previously unknown security defects being exploited by attackers. The attackers have been able to perform operations…

The correct answer is A. Application sandboxing. Application sandboxing isolates a process so that even if a zero-day exploit succeeds, the attacker cannot operate at the same privilege level as the host system or other trusted processes.

Enterprise Security

Question

A software vendor has had several zero-day attacks against its software, due to previously unknown security defects being exploited by attackers. The attackers have been able to perform operations at the same security level as the trusted application. The vendor product management team has decided to re-design the application with security as a priority. Which of the following is a design principle that should be used to BEST prevent these types of attacks?

Options

  • AApplication sandboxing
  • BInput validation
  • CPenetration testing
  • DCode reviews

How the community answered

(27 responses)
  • A
    70% (19)
  • B
    7% (2)
  • C
    4% (1)
  • D
    19% (5)

Why each option

Application sandboxing isolates a process so that even if a zero-day exploit succeeds, the attacker cannot operate at the same privilege level as the host system or other trusted processes.

AApplication sandboxingCorrect

Application sandboxing creates a restricted execution environment that confines an application's access to system resources, even when the application is fully compromised. If an attacker exploits an unknown vulnerability, the sandbox prevents them from performing operations at the full security level of the trusted application or underlying OS. This directly addresses the described attack pattern where attackers gained the same privilege level as the application by containing the blast radius of any exploit.

BInput validation

Input validation reduces injection and parsing vulnerabilities but does not restrict the privilege level an attacker can achieve once a zero-day in memory management or application logic is successfully exploited.

CPenetration testing

Penetration testing is a reactive security assessment technique used to discover existing vulnerabilities, not a software design principle that constrains runtime behavior or privilege escalation.

DCode reviews

Code reviews are a quality assurance process that may catch known vulnerability patterns, but they cannot reliably prevent unknown zero-day defects from being introduced or exploited in a live environment.

Concept tested: Application sandboxing as a least-privilege design principle

Source: https://owasp.org/www-community/controls/Sandboxing

Topics

#application sandboxing#zero-day attacks#privilege separation#secure design

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice