Correct answer: B, D
Deploy EDR on the web server and the database server to reduce the adversaries capabilities.use micro segmentation to restrict connectivity to/from the web and database servers.
Explanation
Explanation:
The question asks for two compensating controls to contain an adversary during an active web server compromise while keeping the server running, accessible via a reverse proxy, and able to connect to a database server, as part of an investigation with law enforcement. Deploying Endpoint Detection and Response (EDR) and using microsegmentation are the most effective controls to limit the adversary’s actions while meeting operational and investigative requirements. These align with the CS0-003 exam’s Incident Response and Management (Domain 3) and Security Operations (Domain 1) objectives, which emphasize containment strategies and securing critical systems during active incidents.
Why B and D Are Correct:
B. Deploy EDR on the web server and the database server to reduce the adversaries' capabilities:
Purpose: EDR solutions (e.g., CrowdStrike Falcon, SentinelOne) monitor endpoint activities in real time, detecting and blocking malicious actions like malware execution, lateral movement, or data exfiltration. EDR agents provide visibility into processes, file changes, and network connections, enabling rapid response to adversary activity.
Containment: EDR can isolate threats (e.g., quarantine malicious processes) without shutting down the server, preserving web service availability. It also collects forensic data (e.g., memory dumps, command execution history) critical for law enforcement’s investigation.
Operational Requirements: EDR doesn’t disrupt the web server’s connectivity to the reverse proxy (e.g., ports 80/443) or database server, ensuring the service remains accessible. It also protects the database server from related attacks.
Healthcare Context: In a healthcare organization (per prior questions), EDR safeguards PHI by detecting ransomware or unauthorized access attempts, supporting HIPAA compliance.
CS0-003 Alignment: Domain 3 emphasizes active containment and evidence collection during incident response, while Domain 1 supports deploying endpoint security tools to mitigate threats.
D. Use microsegmentation to restrict connectivity to/from the web and database servers:
Purpose: Microsegmentation (e.g., via VMware NSX, Cisco Secure Workload, or firewall rules) enforces granular network policies to limit traffic to only necessary connections, reducing the adversary’s ability to move laterally, communicate with C2 servers, or exfiltrate data.
Containment: By restricting traffic to specific flows (e.g., web server to reverse proxy on ports 80/443, web server to database server on port 3306 for MySQL), microsegmentation confines the adversary to the compromised web server, preventing further network-based attacks.
Operational Requirements: Microsegmentation allows required connectivity (web server to reverse proxy and database) while blocking unauthorized traffic, ensuring the web service remains operational.
Healthcare Context: Protecting the database server’s PHI by limiting access reduces breach risks, aligning with HIPAA requirements.
CS0-003 Alignment: Domain 3 focuses on network-based containment strategies, while Domain 1 emphasizes securing network traffic for critical systems.
Why Other Options Are Incorrect:
A. Drop the tables on the database server to prevent data exfiltration
Reason: Dropping database tables deletes critical data, disrupting the web service’s functionality (violating the requirement to keep it running) and destroying potential evidence for law enforcement. It’s a destructive action, not a compensating control, and fails to maintain operational requirements.
C. Stop the httpd service on the web server so that the adversary cannot use web exploits
Reason: Stopping the httpd service (e.g., Apache, Nginx) disables the web server, violating the requirement to keep the service accessible via the reverse proxy. While it may prevent web-based exploits, it halts operations, making it unsuitable for containment in this scenario.
E. Comment out the HTTP account in the /etc/passwd file of the web server
Reason: Commenting out the HTTP account (e.g., www-data, apache) in /etc/passwd disables the user account running the web server process, likely stopping the web service and violating the requirement to keep it running. It’s also not a standard containment method and risks breaking legitimate functionality.
F. Move the database from the database server to the web server
Reason: Moving the database to the compromised web server consolidates sensitive data (e.g., PHI) onto an already-breached system, increasing risk rather than containing it. It also disrupts architecture, potentially breaks connectivity requirements, and complicates law enforcement’s monitoring efforts.
Additional Context:
Compromise Scenario:
An active web server compromise (e.g., via a web vulnerability like SQL injection or remote code execution) requires containment while allowing law enforcement to monitor adversary actions (e.g., via EDR telemetry) and maintaining service availability.
EDR Implementation:
Deploy EDR agents to monitor and block malicious activities (e.g., ransomware encryption, lateral movement).
Example: Configure CrowdStrike to alert on suspicious process execution (e.g., powershell.exe spawning from httpd).
Microsegmentation Implementation:
Create rules to allow only specific traffic (e.g., iptables -A INPUT -s -p tcp --dport 443 -j ACCEPT;
iptables -A OUTPUT -d -p tcp --dport 3306 -j ACCEPT; iptables -A INPUT -j DROP).
Use cloud-native tools (e.g., AWS Security Groups) for similar restrictions.
CS0-003 Relevance: Domain 3 tests containment strategies during active incidents, often via performance-based questions (PBQs), while Domain 1 emphasizes deploying security tools and network controls.
Healthcare Relevance: Containing the adversary while protecting PHI ensures HIPAA compliance and minimizes patient data risks.
Reference:
CompTIA CySA+ (CS0-003) Exam Objectives, Domains 1 (Security Operations) and 3 (Incident Response and Management), covering containment and endpoint security.
CompTIA CySA+ Study Guide: Exam CS0-003 by Chapple and Seidl, discussing EDR and microsegmentation for incident response.