Agent Foskett Academy • SOC Analyst Academy • Module 10 • Lesson 95 • Complete SOC Investigation Scenarios

Lesson 95 — The Cloud Data Started Leaving

The attacker had moved through the environment.

Then cloud activity spiked.

Files were downloaded in bulk.

Now the data was moving too.

Access is one question. What the attacker did with that access is another.
Agent Foskett investigating cloud data exfiltration
The incident has reached the data.

Correlate identity, cloud access, file activity and transfer behaviour.

✓ Access
✓ Files
✓ Volume
✓ Destination

Case briefing

09:19 Lateral movement under investigation 09:27 SharePoint access 09:31 File reads increase 09:36 Bulk downloads begin 09:42 Activity continues THE ATTACKER MAY NOW HAVE THE DATA.

Investigation objective

Determine what cloud data was accessed, whether the activity represents legitimate use or exfiltration, and how the cloud evidence connects to the existing incident.

Investigator's rule

Do not confuse access to data with proof that data left the organisation.

Stage 1 — establish the cloud pivot

Known evidenceCloud question
Compromised identityWhich cloud services did it access?
Successful attacker activityWhat happened after authentication?
Lateral movementDid access expand to sensitive resources?
Bulk file activityWas the volume normal for this user?

Start with the compromised identity

Use the account already linked to the incident as the primary pivot into Microsoft 365 and other cloud activity.

Preserve the timeline

Position cloud activity against the phishing, identity and endpoint stages so you can see whether it represents attack progression.

Stage 2 — review cloud activity

01-review-cloud-activity.kql
123456789101112
let User = "alex@contoso.com";
CloudAppEvents
| where Timestamp > ago(4h)
| where AccountId =~ User
| project Timestamp,
          AccountId,
          Application,
          ActionType,
          IPAddress,
          ObjectName,
          RawEventData
| order by Timestamp asc

Ask what the session did

Authentication tells you access occurred. Cloud activity tells you whether the session browsed, searched, opened, downloaded, changed or shared information.

Look across services

Review relevant SharePoint, OneDrive, Exchange and other available cloud telemetry rather than assuming the activity stayed in one workload.

Stage 3 — build the data timeline

09:27 SHAREPOINT ACCESS 09:29 FOLDER ENUMERATION 09:31 FILE READS INCREASE 09:34 SENSITIVE FILES 09:36 BULK DOWNLOADS ACCESS ↓ DISCOVERY ↓ COLLECTION ↓ POSSIBLE EXFILTRATION

Sequence changes meaning

A single file download may be ordinary. Discovery followed by concentrated access and bulk downloads can tell a very different story.

Identify collection behaviour

Attackers may search, enumerate or gather information before moving it. Those preparatory actions belong in the incident timeline.

Stage 4 — measure the activity

02-summarise-cloud-actions.kql
12345678910
let User = "alex@contoso.com";
CloudAppEvents
| where Timestamp > ago(4h)
| where AccountId =~ User
| summarize
    Events=count(),
    FirstSeen=min(Timestamp),
    LastSeen=max(Timestamp)
    by Application, ActionType, IPAddress
| order by Events desc

Volume needs a baseline

“Large” only has meaning relative to expected behaviour. Compare the user, role, service and historical activity where suitable telemetry is available.

Quantity is not everything

A small number of highly sensitive files may matter more than thousands of low-value objects. Include business context in the assessment.

Stage 5 — access versus exfiltration

EvidenceWhat it supports
File viewedData access
File downloadedTransfer to the authenticated client or session
Bulk downloadPotential collection or exfiltration
External sharing changePotential alternate exfiltration path
Known external destinationStronger evidence of data leaving organisational control

Use precise language

If telemetry confirms downloads but not the final destination, say exactly that. Do not claim confirmed external exfiltration without supporting evidence.

Downloaded does not always mean stolen

Legitimate sync clients and user workflows can move data. The compromised identity and incident context make validation essential.

Stage 6 — identify sensitive resources

DOWNLOADED: Finance/ Forecast-2027.xlsx Projects/ Acquisition-Plan.docx Legal/ Customer-Agreement.pdf HR/ Staff-Details.xlsx WHAT WAS ACCESSED CAN MATTER MORE THAN HOW MUCH.

Business impact enters the case

The sensitivity and purpose of accessed information can affect incident severity, escalation and notification requirements.

Bring in data owners when needed

SOC analysts can identify objects and activity, while business or data owners may be needed to determine real sensitivity and operational impact.

Stage 7 — scope related cloud activity

03-scope-related-cloud-activity.kql
12345678910
let SuspiciousIP = "203.0.113.42";
CloudAppEvents
| where Timestamp > ago(4h)
| where IPAddress == SuspiciousIP
| summarize
    Actions=count(),
    FirstSeen=min(Timestamp),
    LastSeen=max(Timestamp)
    by AccountId, Application
| order by Actions desc

Scope infrastructure too

If the same suspicious source accessed other accounts or services, the cloud scope may be larger than the first compromised user.

Expect infrastructure to change

Do not depend only on one IP address. Use time, behaviour, identities, applications and other evidence to find related activity.

Stage 8 — contain the data path

IDENTITY Revoke sessions Reset credentials ENDPOINT Isolate confirmed systems CLOUD Remove malicious sharing Review active access DATA Identify exposed resources Preserve audit evidence STOP THE ATTACK WITHOUT LOSING THE STORY.

Contain active access

If the attacker still has a valid session or another access path, containment must prevent continued cloud activity as quickly as operationally appropriate.

Preserve audit evidence

Retain the cloud activity needed to establish what was accessed, when it happened, which identity performed it and what followed.

Stage 9 — incident finding

FINDING The compromised identity accessed SharePoint after earlier identity and endpoint activity. The session enumerated content and accessed sensitive files. Bulk download activity then occurred. ASSESSMENT: Cloud data access and bulk transfer confirmed. Final external destination not yet confirmed. NEXT: Contain active access. Identify affected data. Preserve audit evidence. Scope other identities.

Separate fact from impact assessment

The investigation may prove that files were downloaded before it can prove where they ultimately went. Record the confirmed evidence and the unresolved question.

Escalate when impact demands it

Sensitive data exposure may require incident leadership, legal, privacy, compliance and business stakeholders according to organisational procedures.

Decision point

A Call every file read confirmed exfiltration B Ignore cloud activity C Contain active access, preserve cloud evidence, identify affected data and determine what left D Wait for another alert BEST DECISION: C FOLLOW THE DATA.

Do not outrun the evidence

Urgency matters, but so does accuracy. Describe confirmed access, transfer and external movement only at the level the telemetry supports.

The incident is now business-impacting

Once sensitive information may have been exposed, the investigation is no longer only a technical security problem.

Lesson 95 key takeaways

  • Pivot from the compromised identity into cloud activity.
  • Place cloud actions into the existing incident timeline.
  • Look across relevant cloud services rather than one workload only.
  • Distinguish discovery, collection, access and transfer behaviour.
  • Compare unusual volume against an appropriate baseline.
  • Consider data sensitivity as well as quantity.
  • Do not equate file access with confirmed exfiltration.
  • Use precise language when the final destination is unknown.
  • Scope suspicious infrastructure and related identities.
  • Contain active identity, endpoint and cloud access paths.
  • Preserve audit evidence needed to establish exposure.
  • Escalate when potential data impact requires broader stakeholders.

Module 10 — Complete SOC Investigation Scenarios

Lesson 95 followed the incident into cloud data access and possible exfiltration. Lesson 96 raises the stakes again when the compromised identity belongs to an executive.

Next: Lesson 96 — The Executive Account Was Compromised

Continue your SOC Analyst training

Module 9 focuses on turning validated investigation findings into transparent, tested and operationally useful detections.

How do SOC analysts investigate cloud data exfiltration?

Lesson 95 of the Agent Foskett SOC Analyst Academy follows a multi-stage compromise into cloud services and investigates file access, bulk downloads, sensitive data exposure and possible exfiltration.

Investigating cloud data access and transfer

Learn how to correlate identity and cloud activity, distinguish access from exfiltration, measure abnormal behaviour, identify sensitive resources, scope related accounts and preserve evidence for incident response.