Agent Foskett Academy • SOC Analyst Academy • Module 5 • Lesson 50 • Email & Phishing: From Message to Compromise

Lesson 50 — From Phish to Compromise — Build the Full Timeline

The investigation had started with one suspicious email.

By itself, the message told only part of the story.

Then came the click.
The credential entry.
The suspicious sign-in.
The inbox rule.
The external forwarding.
And the discovery that other users had been targeted.

Agent Foskett now had one final job for Module 5:

Put every piece of evidence into the correct order and explain exactly what happened.

A collection of alerts is not an investigation. The timeline turns separate evidence into one defensible incident story.
Agent Foskett building the complete phishing compromise timeline
One incident. Multiple evidence sources.

Correlate email, click, identity, mailbox and campaign evidence into a single sequence that another analyst can understand and defend.

✓ Anchor the first event
✓ Correlate every evidence source
✓ Separate fact from inference
✓ Write the final SOC finding

Case briefing

THE INCIDENT DID NOT HAPPEN ALL AT ONCE 09:58 Phishing email arrives ↓ 10:07 User clicks the link ↓ 10:09 Credentials entered ↓ 10:13 Suspicious sign-in succeeds ↓ 10:18 Inbox rule created ↓ 10:23 External forwarding configured ↓ 10:31 Additional mailbox activity ↓ 11:04 Campaign scoping finds more recipients THE SOC'S JOB: Turn these separate records into one evidence-backed timeline.

Investigation objective

Combine the email, URL-click, identity, mailbox and campaign evidence from Module 5 into a chronological incident timeline that clearly separates confirmed facts, analytical conclusions and remaining unknowns.

Investigator's rule

Do not write the story first and force the evidence to fit it. Build the timeline from the evidence, then let the sequence tell you what the incident became.

Stage 1 — collect the evidence anchors

Evidence sourceWhat it contributes
EmailEventsSender, recipient, subject, delivery action and message identity.
EmailUrlInfoURLs and domains associated with the message.
UrlClickEventsUser interaction with the suspicious link.
Sign-in telemetryAuthentication attempts, success or failure, IP and access context.
CloudAppEventsMailbox and cloud actions after authentication.
Endpoint telemetryDevice activity where the incident includes downloads, processes or network behaviour.

Every source answers a different question

Email telemetry tells you what arrived. Click telemetry tells you about interaction. Identity evidence tells you whether access was attempted or achieved. Mailbox and endpoint evidence show what happened afterwards.

Keep identifiers with the evidence

Preserve values such as NetworkMessageId, account identity, URL, IP address and device identity. They are the pivots that allow separate telemetry sources to become one investigation.

Stage 2 — establish the email event

01-email-anchor.kql
12345678910111213
EmailEvents
| where Timestamp > ago(7d)
| where RecipientEmailAddress =~ "alex@contoso.com"
| where Subject == "Urgent Payment Review"
| project Timestamp,
          SenderFromAddress,
          SenderFromDomain,
          RecipientEmailAddress,
          Subject,
          DeliveryAction,
          DeliveryLocation,
          NetworkMessageId
| order by Timestamp asc

Delivery is your first confirmed event

Record when the message reached the environment and how it was handled. This gives the investigation a reliable starting point.

Do not rewrite history

If the message was originally delivered and only identified as malicious later, record that accurately. The timeline should reflect what actually happened, not what the SOC wishes had happened.

Stage 3 — add the interaction

02-click-anchor.kql
123456789101112
UrlClickEvents
| where Timestamp > ago(7d)
| where AccountUpn =~ "alex@contoso.com"
| where Url has "secure-invoice-review.example"
| project Timestamp,
          AccountUpn,
          Url,
          ActionType,
          Workload,
          NetworkMessageId
| order by Timestamp asc

The click changes the investigation

Once interaction is confirmed, the analyst moves from message analysis into post-click evidence. But remember: a click still does not automatically prove compromise.

Add user-reported evidence carefully

If the user confirms entering credentials at approximately 10:09, record that as confirmed user-reported credential disclosure and preserve the distinction from telemetry-derived timestamps.

Stage 4 — add identity evidence

EMAIL TIMELINE 09:58:42 Message delivered 10:07:31 Link clicked 10:09:06 Credentials entered (user reported) ↓ IDENTITY TIMELINE 10:11:24 Unfamiliar failed sign-in 10:12:05 Authentication / MFA activity 10:13:17 Successful unfamiliar sign-in ↓ NOW THE INCIDENT HAS MOVED FROM PHISHING EXPOSURE TO SUSPECTED ACCOUNT COMPROMISE.

Use the known interaction as the anchor

Authentication attempts occurring immediately after credential disclosure are more meaningful when viewed in relation to the phishing event.

State what the evidence proves

Credential disclosure can be confirmed without proving attacker access. A suspicious successful sign-in adds stronger evidence, but the final conclusion should still consider the user's normal context and authentication details.

Stage 5 — add post-authentication mailbox activity

03-post-authentication-activity.kql
12345678910111213
let SuspiciousIP = "203.0.113.77";
CloudAppEvents
| where Timestamp > ago(1d)
| where AccountId =~ "alex@contoso.com"
| where IPAddress == SuspiciousIP
| project Timestamp,
          ActionType,
          Application,
          IPAddress,
          UserAgent,
          RawEventData
| order by Timestamp asc

Actions after access establish impact

An inbox rule or forwarding configuration created after suspicious authentication helps show that the incident progressed beyond credential theft into mailbox manipulation.

Preserve the exact order

If forwarding was configured after the inbox rule, record it that way. Sequence can help explain attacker objectives and determine exposure windows.

Stage 6 — build the master timeline

09:58:42 PHISHING EMAIL DELIVERED Sender: accounts@contoso-payment-review.com ↓ 10:07:31 USER CLICKED PHISHING URL secure-invoice-review.example ↓ 10:09:06 CREDENTIALS DISCLOSED User-confirmed event ↓ 10:11:24 FAILED UNFAMILIAR SIGN-IN ↓ 10:13:17 SUCCESSFUL UNFAMILIAR SIGN-IN ↓ 10:18:08 NEW INBOX RULE CREATED ↓ 10:23:41 EXTERNAL FORWARDING CONFIGURED ↓ 10:31+ RELATED MAILBOX ACTIVITY ↓ 11:04 CAMPAIGN SCOPING IDENTIFIED ADDITIONAL RECIPIENTS

This is the investigation story

The master timeline does not merely list alerts. It shows how the incident changed state: delivery became interaction, interaction became credential exposure, exposure became suspicious access, and access became post-compromise activity.

The timeline also exposes gaps

If there is no evidence between credential entry and mailbox manipulation, mark the gap. Do not invent an event just because it would make the story look cleaner.

Stage 7 — separate fact, inference and unknown

ClassificationExample
Confirmed factThe message was delivered at 09:58:42.
Confirmed factThe user clicked the recorded URL at 10:07:31.
User-confirmed factThe user reported entering credentials into the page.
Analytical conclusionThe unfamiliar sign-in is assessed as likely related to the phishing event.
Confirmed factA new inbox rule was created at 10:18:08.
UnknownWhether the external recipient actually read every forwarded message.

This makes your finding defensible

Another analyst should be able to see exactly which statements came directly from telemetry, which came from the user and which represent your analytical judgement.

Unknown does not mean unimportant

Record unresolved questions. They may drive additional investigation, containment, legal review or data-exposure assessment.

Stage 8 — add campaign scope without confusing impact

CAMPAIGN VIEW 100 targeted 62 delivered 7 clicked 2 disclosed credentials 1 suspicious successful sign-in 1 mailbox manipulated ↓ INCIDENT VIEW The original user experienced: Delivery → Click → Credential disclosure → Suspicious authentication → Mailbox manipulation → External forwarding THE NUMBERS ANSWER "HOW WIDE?" THE TIMELINE ANSWERS "WHAT HAPPENED?"

Width and depth are different

Campaign scoping measures reach across users. The incident timeline measures the depth of compromise for a particular user or account. Both belong in the final assessment.

Prioritise the deepest impact

Users with successful suspicious authentication or post-compromise activity require a different response from users whose messages were blocked or never clicked.

Stage 9 — connect containment to evidence

EvidenceResponse consideration
Credential disclosureSecure the exposed identity according to organisational procedure.
Suspicious authenticationReview sessions, MFA and identity state.
Inbox ruleReview and remove unauthorised mailbox manipulation.
External forwardingDisable unauthorised forwarding and assess the exposure window.
Additional targeted usersPrioritise investigation according to delivery and interaction evidence.
Endpoint evidenceContain and investigate affected devices where post-click execution occurred.

Response should match observed evidence

The strongest incident response is not a generic checklist. Each action should connect back to something the investigation discovered or to a risk that must be addressed.

Document response timestamps too

Password resets, session revocation, rule removal and forwarding removal belong in the timeline. They show when exposure was contained and help define what happened before and after remediation.

Stage 10 — write the final SOC finding

FINAL SOC FINDING A phishing message was delivered to the user at 09:58 and the associated URL was clicked at 10:07. The user confirmed entering corporate credentials into the phishing page at approximately 10:09. Identity telemetry subsequently recorded unfamiliar authentication activity, including a successful sign-in shortly after the credential disclosure. Mailbox audit evidence then identified unauthorised post-authentication changes, including a newly created inbox rule and external forwarding configuration. Campaign scoping identified additional recipients and users with varying levels of interaction. The evidence supports progression from phishing delivery to credential exposure, suspected unauthorised account access and post-compromise mailbox manipulation. Containment and impact assessment were performed according to the evidence identified in the timeline.

Stage 11 — the handover test

BEFORE YOU CLOSE OR ESCALATE, ASK: Can another analyst tell: What happened? When did it happen? Which user was affected? Which evidence proves each stage? What remains unknown? How far did the campaign spread? What was contained? What still needs action? IF THE ANSWER IS YES... You have not just collected evidence. You have built an investigation.

Lesson 50 key takeaways

  • Build the incident timeline from evidence rather than from assumptions.
  • Email, click, identity, mailbox and endpoint telemetry answer different questions.
  • Preserve identifiers that connect evidence sources together.
  • Use the phishing interaction time as an anchor for post-click investigation.
  • Separate credential exposure from confirmed or suspected account access.
  • Post-authentication activity helps establish the depth and impact of compromise.
  • Keep events in exact chronological order.
  • Separate confirmed facts, user-reported evidence, analytical conclusions and unknowns.
  • Campaign scope describes how wide the incident went; the timeline describes what happened.
  • Connect containment actions to the evidence that justified them.
  • Include remediation events in the timeline.
  • Your final finding should be understandable by an analyst who was not present during the investigation.

Module 5 complete — Email & Phishing: From Message to Compromise

You started with a message that looked legitimate and followed the evidence through sender identity, URLs, attachments, authentication, credential exposure, mailbox manipulation, external forwarding and campaign scoping.

MODULE 5 COMPLETE Lesson 41 Email triage Lesson 42 Display name vs domain Lesson 43 URL click investigation Lesson 44 Attachment investigation Lesson 45 Authentication vs legitimacy Lesson 46 Credential exposure Lesson 47 Inbox rule manipulation Lesson 48 External forwarding Lesson 49 Campaign scoping Lesson 50 Full compromise timeline FOLLOW THE EVIDENCE. BUILD THE TIMELINE. THE LOGS ALREADY KNEW. 🔎
Module 5 Complete • 50 SOC Analyst Academy Lessons

Continue your SOC Analyst training

Module 3 focuses on identity incidents, authentication, MFA, privilege, sessions and application access.

Build a complete phishing compromise timeline with Microsoft Defender XDR

Lesson 50 of the Agent Foskett SOC Analyst Academy teaches analysts how to correlate phishing delivery, URL clicks, credential exposure, suspicious authentication, mailbox manipulation, external forwarding and campaign scope into one defensible incident timeline.

Correlate email, identity and mailbox evidence with KQL

Use Microsoft Defender XDR and related Microsoft security telemetry to connect EmailEvents, UrlClickEvents, sign-in evidence and CloudAppEvents while separating confirmed facts, analytical conclusions and unknowns.