CSA (312-39) SOC Simulation Lab

Learn how to leverage SOAR (Security Orchestration, Automation, and Response) to contain identity-based threats. In this scenario, you will select the appropriate automation playbook to isolate a compromised account.

Scenario Context

You are a Tier 2 SOC Analyst monitoring the cloud identity queue. A critical alert has fired indicating "Impossible Travel and Anomalous Working Hours" for the VP of Finance. An attacker appears to have bypassed MFA and is currently accessing sensitive SharePoint directories. To prevent immediate data exfiltration while you investigate, you need to trigger a SOAR playbook to halt their access.

Your task is to identify the correct playbook category designed to contain an identity compromise.

Security Environment

Alert ID: INC-99401 - Azure AD Identity Protection User: jsmith@company.com (VP of Finance) Baseline Telemetry: Typical Location: Chicago, IL, USA Typical Hours: 08:00 - 18:00 CST Trigger Event: Time: 03:15 AM CST (Anomaly detected) Location: St. Petersburg, RU (IP: 198.51.100.44) Action: Successful Login (MFA satisfied via SMS) Resource Accessed: SharePoint Online /Financial_Q3_Drafts SOAR Platform Status: Awaiting Analyst Intervention (Manual Playbook Execution Required)

Question

A Security Operations Center (SOC) analyst receives a high-priority alert indicating unusual user activity. An employee account is attempting to access company resources from a different country and outside of their normal working hours. This behavior raises concerns about potential account compromise or unauthorized access to automate the initial response and quickly restrict access while further investigating the incident, which SOAR Playbook would be relevant to adapt and implement?

SOC Hint: The goal is to "quickly restrict access" for an *identity* (an employee account). Look for the playbook that directly interacts with Active Directory or Identity & Access Management (IAM) controls to remove user permissions.

Expert Insight

1. What is happening

We are dealing with a compromised identity. The attacker has logged in using a valid credential and bypassed MFA (potentially via an AiTM proxy attack or session token theft). Because they are actively accessing sensitive files, the analyst cannot afford to manually log into Active Directory, disable the account, force an Azure AD sync, and then manually revoke active web sessions. We need SOAR to automate this containment sequence instantly.

2. Why the correct answer is correct (C. Deprovisioning Users SOAR Playbook)

The prompt asks how to "quickly restrict access" to resources. A "Deprovisioning Users" playbook—or a slight adaptation of one, such as a "Suspend User" playbook—is designed specifically to interact with IAM infrastructure. When triggered, it automatically disables the user's AD/Entra ID account, revokes active OAuth tokens, and resets passwords, effectively kicking the attacker out of the environment instantly.

3. Why the other options are wrong

A. Phishing Investigations: Used to extract URLs, detonate attachments, and search mailboxes. It does not stop an active session.

B. Alert Enrichment: Used to gather context (e.g., querying VirusTotal for the Russian IP address). Enrichment informs the analyst, but it does not *contain* the threat.

D. Malware Containment: Used to isolate a physical or virtual *endpoint* (e.g., using CrowdStrike to network-isolate a laptop). This alert is about a compromised cloud identity, not a compromised local endpoint.

4. Real-world SOC application

In modern cloud environments (AWS, Azure, GCP), the traditional perimeter is gone; *Identity is the new perimeter*. Speed is critical during a cloud breach because an attacker can exfiltrate gigabytes of data via API in seconds. Senior analysts rely heavily on SOAR to execute "Revoke-AzureADUserAllRefreshToken" and disable the account simultaneously across hybrid environments, turning a 15-minute manual process into a 5-second automated API call.

MINI LESSON: Identity Containment vs. Endpoint Containment

Do not confuse containing a device with containing a user:

  • Endpoint Containment (EDR): You isolate a laptop from the network because it has ransomware. The user's account is still active, but the infected machine cannot communicate.
  • Identity Containment (IAM/SOAR): You disable an account and revoke tokens because the password was stolen. The attacker might be using their own device; you must kill their access at the authentication layer.

Master the SOC Analyst Workflow

Practice more realistic scenarios to prepare for your EC-Council CSA exam.

Explore more CSA simulations