Cybrary ForgeCYBRARY / FORGE
Curriculum
C-342·Cross-platform·35 min

The account list nobody asked for Start this lab

A deployment account reads every user, group and service name out of the directory in one pass. Decide whether that is tooling or reconnaissance, name the account behind the query, and cut its directory reach without breaking the deployment it legitimately runs.

Mission brief · C-342

Tier 3 analyst on the incident response bench

Tier 3 — deep host and forensics
Business important
Track default

You are acting as

the break-glass IR account `svc-ir`, checked out of the vault for this incident — never the compromised identity

How you got here

The detection fired in the EDR console. You opened a live-response session from that detection, so your shell rides the EDR agent channel — containing the host will *not* cut you off, which is exactly why you contain from here rather than over SSH.

Your access

  • EDR console (detections + live response)

    Endpoint detection & response

    • Read the detection and process tree
    • Look up host criticality, owner and VIP flags
    • Open a live-response session on the host
    • Contain the host over the agent channel
    • Not yours: Disable user accounts (that's the identity team)
    • Not yours: Delete evidence
  • Live-response shell on the affected host

    Host shell session

    • Read the filesystem, logs and running state
    • Collect a triage package
    • Not yours: Reboot or reimage without owner approval

What's at stake

The affected host

Owner: The system's business owner, named on the asset record

Containing a host you haven't identified can stop revenue. Check criticality and owner before you isolate anything.

Rules of engagement

You may act alone

  • Investigate from the live-response session
  • Collect evidence and triage packages
  • Contain a standard-criticality host

Ask a human first

  • Containing a mission-critical host — asset owner and on-call manager first
  • Disabling a user identity — identity team, and HR/legal if it looks like an insider

Why this matters

Discovery is the cheapest step for an attacker and the most ignorable for a SOC — it looks like inventory tooling. Catching it is what gives you time before the credential theft that follows it.

Concepts

Volume and breadth, not permission

The account is usually allowed to read the directory. The finding is that it read all of it, once, outside the window in which the inventory job runs.

Attribution is the point

Discovery is where you learn which identity is driving the intrusion. Naming the account here is what lets every later step in the chain be attributed to the same actor.

Risk marking beats disabling

A deployment account that is disabled mid-release causes an outage and tells the attacker they were seen. Raising its risk keeps the pipeline up and the monitoring sharp.

Objectives graded

  • Separate a scheduled inventory read from reconnaissance
  • Name the account behind the directory query
  • Set the account to high risk without disabling a live deployment path

Live walkthrough

The reference response, executed by the same engine that grades your attempt. Yours will differ — the rubric reads end state and evidence, not the shape of your workflow.

  1. 1.Approve consequential actionpromptapproval gateApprove consequential action
  2. 2.Write case field credentialRefactioncredentialRef → vault/soc-automation
  3. 3.Attach evidence: case/soar-c-342/evidenceactionThe learner attached at least one linkable piece of evidence to the case.
  4. 4.Write case field closureNoteactionclosureNote → written
  5. 5.Write case field queryingAccountactionqueryingAccount → svc-deploy
  6. 6.verdict on ind-enum-queryactionind-enum-query.verdict → malicious
  7. 7.riskLevel on usr-svc-deployactionusr-svc-deploy.riskLevel → high

Gate approved — 100%

12 of 12 rubric rules hold.

Gate denied — 91%

Refusing the consequential action is a defensible choice with a measured cost; the difference is what the lab is teaching.

  • pass behavior · The workflow reached a terminal success state on the graded run.
  • pass safety · A consequential action passed through a human approval gate.
  • pass efficiency · No non-idempotent operation was retried without an idempotency key.
  • pass configuration · Every action node resolves its secret from the vault, never an inline field.
  • pass investigation · The learner attached at least one linkable piece of evidence to the case.
  • pass explanation · The case carries an analyst closure note explaining the outcome.
  • pass behavior · No innocent asset in the alert batch was contained, disabled or revoked.
  • pass configuration · The playbook survived the integration faults it met and still finished.
  • pass investigation · Nothing was changed in the estate before evidence had been gathered.
  • pass investigation · The learner named the account that issued the bulk directory read.
  • pass investigation · The query pattern was judged rather than assumed to be an inventory job.
  • pass behavior · The account was raised to high risk so later steps in the chain are attributed to it.

MITRE ATT&CK coverage

A service account reads the whole directory in one pass — account discovery, the step that picks the next target.

TechniqueNameTactic
T1087.002Account Discovery: Domain AccountDiscovery
T1069.002Permission Groups Discovery: Domain GroupsDiscovery
T1078Valid AccountsDefense Evasion

What each rubric rule proves

  • The workflow reached a terminal success state on the graded run.

    behavior · weight 20

  • A consequential action passed through a human approval gate.

    safety · weight 15

  • No non-idempotent operation was retried without an idempotency key.

    efficiency · weight 10

  • Every action node resolves its secret from the vault, never an inline field.

    configuration · weight 10

  • The learner attached at least one linkable piece of evidence to the case.

    investigation · weight 10

  • The case carries an analyst closure note explaining the outcome.

    explanation · weight 10

  • No innocent asset in the alert batch was contained, disabled or revoked.

    behavior · weight 15

  • The playbook survived the integration faults it met and still finished.

    configuration · weight 15

  • Nothing was changed in the estate before evidence had been gathered.

    investigation · weight 10

  • The learner named the account that issued the bulk directory read.

    investigation · weight 20 · T1087.002 Account Discovery: Domain Account (Discovery)

  • The query pattern was judged rather than assumed to be an inventory job.

    investigation · weight 15 · T1087.002 Account Discovery: Domain Account (Discovery)

  • The account was raised to high risk so later steps in the chain are attributed to it.

    behavior · weight 20 · T1078 Valid Accounts (Defense Evasion)

Common mistakes

  • Dismissing the read as the asset inventory without checking the schedule.
  • Disabling a live deployment identity as a first move.
  • Filing the query without naming the account that authenticated.

Same idea, three vendors

Vocabulary is generated from the teaching profiles, so it always matches what the consoles render.

ConceptCortex ForgeSummit SOARStoryline
caseIncidentContainerCase
alertAlertEventEvent
artifactIndicatorArtifactRecord
workflowPlaybookPlaybookStory
workflow-runPlaybook runPlaybook debug runStory run
nodeTaskBlockAction
connectorIntegrationAppCredential-backed action
connector-instanceIntegration instanceAssetResource
credentialCredentialAsset credentialCredential
approvalManual taskPromptPage
child-workflowSub-playbookChild playbookSub-story
context-pathContext pathDatapathEvent path
queueIncidentsEventsCases
taskWork Plan taskTaskCase task
noteWar Room entryNoteCase note

Where does this value come from?

The same reference to an enrichment node's verdict, written three ways:

  • Cortex Forge: ${enrich-sender.verdict}
  • Summit SOAR: enrich-sender.verdict
  • Storyline: <<enrich-sender.verdict>>

The same concepts in shipping products

The consoles you practice in use teaching names. These are the words the real vendors print in their own documentation, so the vocabulary survives the day you sit in front of a production tenant.

ConceptCortex XSOARXSOAR 8.xSplunk SOARSplunk SOAR 6.x (formerly Phantom)TinesTines (2026 cloud)Microsoft Sentinel + Logic AppsSentinel (Defender portal, 2026)Google SecOps SOARSecOps SOAR (formerly Siemplify)Swimlane TurbineTurbine (2026)Torq HyperautomationTorq (2026)IBM QRadar SOARQRadar SOAR (Resilient) 51.xServiceNow Security OperationsSecOps (Flow Designer era)
caseIncidentContainerCaseIncidentCaseRecordCaseIncidentSecurity incident (SIR)
alertAlertEventEventAlertAlertInbound record / signalTrigger eventEscalated offense / alertSecurity alert
artifactIndicatorArtifact (CEF fields)Event payload fieldEntityEntityField / correlation valueEvent fieldArtifactObservable
workflowPlaybookPlaybookStoryPlaybook (Logic App)PlaybookPlaybookWorkflowWorkflow (BPMN)Flow / subflow
workflow-runPlaybook runPlaybook run / debug runEvent flowLogic App runPlaybook executionPlaybook executionExecutionWorkflow executionFlow execution
nodeTaskBlockActionAction / stepAction / stepActionStepFunction / scriptFlow action
connectorIntegrationAppHTTP Request action / ToolConnectorIntegrationIntegrationIntegrationAppSpoke
connector-instanceIntegration instanceAssetCredential + resource pairAPI connectionIntegration instance (environment-scoped)AssetIntegration connectionApp configuration (app.config)Connection & credential alias
credentialCredentialAsset configuration secretCredentialManaged identity / connection secretIntegration parameter (secret)Vault secretSecretApp host secretCredential record
approvalManual (data collection) taskPrompt blockPage (form) / Send to ChatApproval action (Teams / email)Manual actionTask / approval actionApproval step (Torq Chat / Slack)Manual task / phase gateApproval activity
child-workflowSub-playbookChild playbookSend to StoryNested Logic AppBlockSub-playbookNested workflowCalled workflowSubflow
context-pathContext path (${...})DatapathFormula (<<path.to.value>>)Expression (@{body('step')})Placeholder ([Entity.Identifier])Reference ($record.field)Expression ({{ .event.field }})Rule/script object (incident.properties)Data pill
queueIncidents viewEvent / Case listCasesIncidents gridCases queueApplication workspaceCasesIncident listSIR queue
taskWork Plan taskTask (workbook phase)Case taskIncident taskTaskTaskCase taskTask (within phase)Response task
noteWar Room entryNoteCase noteCommentCase wall commentCommentCase commentNoteWork note

What transfers

The same shape appears in cloud IAM enumeration, SaaS directory scraping and Kubernetes RBAC listing.