Phishing Forensics: How to Investigate a Reported Email
To investigate a reported phishing email, keep the original message with its full headers before anything is deleted, record a hash of every file you keep, classify the report quickly, look at links and attachments only inside an isolated analysis environment, search mail logs for everyone else who received the message, and write each step into a dated case file. NIST’s forensic guide, SP 800-86, divides the work into collection, examination, analysis and reporting, and its chain-of-custody advice is the basis for the evidence steps below. The guide dates from August 2006 and is still listed as final, not withdrawn or superseded, as of December 2026; this page uses it for process and custody, and newer sources for tools and hash algorithms.
The order matters because the tools that clean up a phishing campaign also erase its evidence: purging a message from every mailbox, deleting a forwarding rule or reimaging a laptop each removes something the investigation needs. SP 800-86 asks the analyst and the incident response team to choose containment that mitigates the risk while keeping potential evidence intact whenever possible (section 3.1.3). The organisation-wide response plan is in the corporate phishing incident response plan, and line-by-line header reading is in email header analysis.
The investigation at a glance
| Step | What you do | Done when |
|---|---|---|
| 1. Preserve | Save the original message with full headers; hash each saved file | Master copy stored read-only, working copy made, hashes recorded |
| 2. Triage | Classify the report and decide urgency | Severity and owner written in the case file |
| 3. Analyse safely | Examine links and attachments only in isolation | Indicators listed, nothing opened on a workstation |
| 4. Scope | Find every recipient, click and sign-in | Recipient list and affected accounts recorded |
| 5. Contain and share | Remove, block and recover, then share indicators | Actions and sharing labels logged |
| 6. Report | Write findings for each audience; file external reports | Case closed with lessons noted |
Step 1: Preserve the evidence first
NIST SP 800-86 lists four steps for data collection (section 3.1): identify sources, plan the acquisition, acquire the data, and verify its integrity. The plan should rank sources by their likely value, their volatility and the effort needed to get them. It also says that if it is unclear whether evidence needs to be preserved, it generally should be preserved by default.
Save the message itself
The message as the recipient saw it is not enough. A screenshot shows the lure, but the investigation needs the full header and body in the original form.
- Save the message as a file (an .eml or .msg export) from the mailbox or the mail system, not as a forward: an ordinary forward is a new message with new headers, and the original header lines stay behind.
- If the reporter used a “report phishing” button, find out whether it kept the original as an attachment, and keep that copy too.
- Record the identifiers that let you find the message again in the logs. Microsoft’s Email entity page in Defender for Office 365 (page last updated 2026-04-16) shows the Internet Message ID, which is the Message-ID header value, and a Network Message ID, a GUID in the
X-MS-Exchange-Organization-Network-Message-Idheader. Google Workspace’s investigation tool lists a message ID, subject, sender and recipient for each Gmail log event. - In Defender for Office 365, the Email entity page’s Download email action works only while the message is still in a cloud mailbox, not after a soft or hard delete such as a purge; a quarantined message is downloaded from quarantine as a password-protected copy instead.
- Take a screenshot of the message as displayed, and note the reporter’s account and the time of the report.
NIST SP 800-86 (section 7.2.1) notes that information about a single message may be recorded in several places: the sender’s system, each mail server, the recipient’s system and any antivirus, spam or content-filtering servers. That is the reason to collect server-side logs as well as the file.
Search views and logs reach back only so far. Microsoft’s Threat Explorer documentation (about page last updated 2025-09-08) lets you set the date filter up to 30 days back: a search window, not a statement of how long mail is kept, but a message delivered four weeks before anyone reports it is already near its edge. The UK NCSC’s incident-management guidance (reviewed 19 September 2019) says that, ideally, logs should be kept for at least three months, longer if possible, and that archived logs should still be extractable.
Hash and copy
SP 800-86 describes making a master copy and a working copy, doing all analysis on the working copy, and verifying integrity by computing a message digest of the original and the copy and comparing them (sections 3.1.2 and 4.2). For disk images it adds that the digest of the original is computed and recorded before imaging, then compared afterwards.
The 2006 guide names MD5 and SHA-1 as the two most commonly used algorithms, and tells federal agencies to use SHA-1 instead of MD5 because MD5 is not FIPS-approved. SHA-1 is now on its way out as well: on 15 December 2022 NIST announced that it should be phased out by 31 December 2030 in favour of the SHA-2 and SHA-3 families. This page’s practice is to record SHA-256, one of the SHA-2 algorithms on NIST’s list of approved hash functions. That choice is ours, not a NIST rule: the 2022 announcement does not mention evidence files, and SP 800-86 predates it. Microsoft’s Email entity page also shows each attachment’s SHA256 value with a copy action, so a file you saved can be checked against the hash the mail system recorded.
Chain of custody
SP 800-86 describes a chain of custody as keeping a log of every person who had physical custody of the evidence, documenting the actions they performed and when, storing the evidence securely when it is not in use, making a copy and analysing only the copy, and verifying the integrity of the original and the copy. It says the decision to preserve evidence for later legal or disciplinary use should be made before collection starts, by the analyst or management in line with the organisation’s policies and legal advice. For a single reported email, the case-file template below captures those fields.
Evidence sources and what each answers
| Source | What it answers | Preserve before |
|---|---|---|
| Original message (.eml or .msg) | Who sent it, by which route, with which links and files | Any mailbox-wide deletion |
| Mail-system message record (Microsoft Email entity page, Gmail log events) | Delivery location, policy actions, recipients | Purges and quarantine expiry; the 30-day Threat Explorer search window |
| Web proxy and DNS logs | Who visited the link and when | Log rotation |
| Authentication and sign-in logs | Whether anyone entered credentials and what the account did next | The log’s retention period running out |
| Endpoint logs and, if a file was opened, a disk or memory capture | Whether anything ran | Shutdown or reboot (memory); rebuilding or reimaging (disk) |
| The reporter’s own account of events | What they saw, clicked or entered | Memory fading; ask early |
The NCSC’s technical-response guidance lists the same categories: email logs and full email files, network metadata, authentication and remote-access logs, and host event logs and images. It also makes a point that suits phishing cases, that evidence can be just as important for proving something did not happen as for proving that it did. “Nobody signed in from outside the country after the click” is a finding only if the sign-in logs were kept.
Step 2: Triage the report
Triage sorts the report into a type and a severity so the right work is done first; the NCSC describes it as classifying the incident type and severity so that later actions can be prioritised. The organisation’s severity levels, and the NIST SP 800-61 Rev. 3 risk factors behind them, belong in the incident response plan. The investigator’s first question is narrower: what did the recipient do? The answer decides which evidence is at risk.
The table below is a working practice for that first conversation, not a NIST or NCSC table.
| What the reporter says | Likely class | Urgency | First actions |
|---|---|---|---|
| Received it, did nothing | Attempted phishing | Routine | Preserve, scope other recipients, block indicators |
| Clicked a link, entered nothing | Possible exposure to a malicious page or download | Elevated | Check proxy logs for the destination and examine the endpoint |
| Entered a password or code on a page | Credential compromise | High | Treat the account as compromised now; see the credential compromise checklist |
| Opened an attachment | Possible malware | High | Isolate the device; do not reboot before volatile data is captured |
| Replied with data or paid money | Fraud or business email compromise | Highest | Contact finance and the bank, and escalate to the incident lead |
| Sender is an internal or known account | Possible account takeover | High | Check the sender’s mailbox for rules, forwarding and sign-ins |
Give the case one owner on the first line of the case file, because several people (help desk, mail administrator, endpoint team, legal) will otherwise each hold part of the picture. NIST SP 800-61 Rev. 3, the current revision (April 2025), says to consider designating an incident lead for each incident.
Step 3: Handle links and attachments safely
What never to do
Do not open the attachment or click the link on a workstation to see what happens. NIST SP 800-83 Rev. 1 (July 2013, status Final) tells users not to open suspicious email attachments, even from known senders, and to confirm an unexpected one with the sender, preferably by a method other than email, such as phone (section 3.2). For handlers, it says active analysis, which means executing the malware, is best done on isolated malware test systems rather than production hosts, warns that some malware can detect a virtualised environment and change its behaviour, and calls forensic examination of an infected host safer because the malware does not keep running (section 4.2.4). Executing a sample belongs in a purpose-built analysis environment run by people trained for it.
What to do instead
- Work from text. Extract the URLs and the attachment’s name, type and hash from the saved message without opening anything. Microsoft’s Email entity page lists attachment file type, size, extension, malware family and SHA256, and its URL view lists the links in the message, so much of this is available from the mail security console.
- Use the automated detonation you already have. Microsoft’s entity page shows a detonation chain, screenshots and behavioural details for files and URLs that Safe Attachments or Safe Links detonated and identified as malicious. Where those results exist, read them rather than repeating the exercise.
- Inspect the link as text. Write it in defanged form in the case file, for example
hxxps://login[.]example[.]net/verify, so a copied note cannot be clicked. Use URL inspection techniques for the anatomy of the address, lookalike domains and redirects. - Escalate samples to specialists. If a file must be executed to understand it, hand it to a malware-analysis team or an incident-response provider along with its hash. NCSC’s guidance notes that this level of analysis, including advanced malware analysis, is often outsourced.
- Treat the headers as evidence of a route, not proof of identity. Walk the Received chain and the authentication results with the header analysis method, which explains which lines can be forged.
Map what you find to a technique
MITRE ATT&CK describes Phishing as technique T1566 (version 2.8, last modified 18 September 2026) with four sub-techniques: T1566.001 Spearphishing Attachment, T1566.002 Spearphishing Link, T1566.003 Spearphishing via Service and T1566.004 Spearphishing Voice. The page notes that phishing may also come through third-party services such as social media platforms or arrive as calendar invites, and that an attacker may add the target to an existing email thread that carries malicious files or links (“thread hijacking”). Recording the sub-technique in the case file gives the report a shared vocabulary. ATT&CK’s detection strategy for phishing (DET0070, last modified 12 May 2026) describes the correlation to look for: email metadata, then file creation, process execution or network activity after the message arrives, and, at identity providers, unusual sign-ins and MFA bypass attempts after delivery.
Step 4: Scope who else was affected
A single report is often a sample of a larger delivery. Scoping answers four questions: who received the message, who interacted with it, who entered credentials, and what any compromised account did afterwards.
Find every recipient. Google’s guide for investigating reports of malicious emails (last updated 2026-11-10) shows the pattern: in the security investigation tool choose the Gmail log events data source, search on the recipient, the subject and the earliest date the message arrived, then remove the recipient condition to find others who received it, and export the results. The tool itself comes with more Workspace editions, but Gmail log events are available only in Frontline Plus, Enterprise Plus and Education Plus. In Microsoft Defender for Office 365, Threat Explorer (Plan 2; Plan 1 has Real-time detections instead) offers property filters including Delivery action, Original delivery location, Latest delivery location, Directionality and Primary override, which together show whether the message reached the inbox, was moved by a post-delivery action or was allowed by a policy exception.
Search on more than one property. Subject lines change between waves. The sender address, the sending IP, a link domain and an attachment hash each catch variants the others miss.
Find the clicks. Search web proxy and DNS logs for the link domain across the delivery window. Record each requesting device and user, and the time.
Find the sign-ins. For anyone who clicked, review authentication logs for sign-ins from unfamiliar locations or addresses after the click. Microsoft’s guidance on responding to a compromised cloud email account (page last updated 2026-07-17) says to review the audit logs from the onset of the suspicious activity until remediation is complete: in the Microsoft Entra sign-in logs, each sign-in’s IP address, location, time and success or failure; in the Defender portal’s audit log, a date range that starts immediately before the suspicious activity, with no activity filter on the first search. Record what the account review finds (forwarding or hidden inbox rules, new MFA devices, consented applications) before anyone removes it; removal belongs to the response plan, and an individual’s recovery steps to the credential compromise checklist.
Look for onward phishing. Once the logs narrow down the time frame, the same Microsoft page says to review the messages the user sent during it, using message trace and the account’s Sent Items. Directionality separates a real internal sender from a spoofed one: Microsoft notes that messages from internal domain senders should be Intra-org, not Inbound, and that this helps identify spoofing.
NIST SP 800-61 Rev. 3 advises looking for indicators of compromise and persistence on the assets known to be targeted and also on other potential targets.
Step 5: Contain, remove and share indicators
Removal comes after preservation
Google’s guide shows the deletion step: select the matching log events and use Delete messages with a justification. The select-all box covers only the current page of results, and Google notes that erased messages remain subject to any retention rules and holds set in Vault. In Defender for Office 365 Plan 2, automated investigation and response (AIR; page last updated 2026-06-02) approves its own remediation actions for malicious URL and file clusters, without manual intervention, so note in the case file what any automatic action removed. Run manual purges after the export and hashing in step 1. Which containment actions come first for a compromised account is set out in the response plan.
The NCSC adds a caution for every containment action: think through the repercussions, because overreacting can cause more damage than the incident and a targeted attacker may react or bury themselves deeper; in some cases it may be better to monitor and analyse further before acting.
Indicators of compromise
NIST SP 800-150 (October 2016, Final) defines indicators as technical artefacts or observables that suggest an attack is imminent or under way, or that a compromise may already have occurred (section 2.1). Its examples map straight onto a phishing case: the IP address of a suspected command-and-control server, a suspicious domain name, a URL that references malicious content, a file hash for a malicious executable, and the subject line text of a malicious email.
An indicator is useful only with its context. SP 800-150 recommends attaching metadata to each indicator that says how it is meant to be used and interpreted and how it relates to other indicators, and a way to update or retract an indicator that proves wrong or was shared by mistake (section 4.5.1). The illustrative record below shows the fields in practice.
| Type | Illustrative value (reserved names only) | Context to record |
|---|---|---|
| Sender address | [email protected] | Observed in From; display name “Accounts Team” |
| Sending IP | 192.0.2.44 | Connecting IP at the first trusted hop; seen in one wave only |
| Link domain | login[.]example[.]net | Redirects to a credential form; first seen 2026-12-01 |
| Attachment hash | SHA-256, 64 hex characters | File name, type, size, which message carried it |
| Subject text | Invoice 4471 overdue | Changed in wave two to Payment notice |
| Confidence and expiry | Medium; review in 30 days | Who assessed it and when |
The values in this table are illustrative and use the reserved example names and documentation address ranges set aside in RFC 2606 and RFC 5737. They are not real indicators.
Sharing without oversharing
SP 800-150 tells organisations to set sharing rules that weigh the trustworthiness of the recipient, the sensitivity of the information and the potential impact of sharing, or of not sharing. It names reviewing emails related to suspected phishing as one place an analyst meets personally identifiable information (PII), and says fields containing PII that are not relevant to the threat should be redacted before sharing (section 3.4.1). In a phishing case that means removing victim names, mailbox addresses and internal hostnames before indicators leave the organisation.
The Traffic Light Protocol marks how far an item may travel; version 2.0 is FIRST’s current version, authoritative from August 2022. TLP:RED is for the eyes and ears of individual recipients only, with no further disclosure; TLP:AMBER allows sharing on a need-to-know basis within the recipient’s organisation and its clients (TLP:AMBER+STRICT limits it to the organisation); TLP:GREEN allows sharing with peers and partner organisations in the recipient’s community, but not via publicly accessible channels; TLP:CLEAR has no limit on disclosure, subject to standard copyright rules. In an email, FIRST says the label should be in the subject line and must appear directly before the information it covers. Send each labelled indicator set to your sector information-sharing group and your mail provider.
Step 6: Report and keep the originals
SP 800-86 gives three considerations for the report (section 3.4): alternative explanations (when information is incomplete, give each plausible explanation due consideration and try to prove or disprove it), audience (law enforcement needs highly detailed reports and may need copies of all evidentiary data; system administrators may want traffic detail; senior management may want only a high-level overview) and actionable information. Write one technical report and one short summary, and put in the findings that are unknown as well as those that are known.
Reporting to the IC3, the FTC and other agencies is covered in the authority reporting guide; what matters here is the evidence. The FBI’s Internet Crime Complaint Center says in its FAQ that it does not collect evidence or accept attachments. You may paste information such as email headers into the complaint, but you must keep all original documents in a secure location, because an agency that opens an investigation may request them directly from you. Its list of evidence worth keeping includes printed or preferably electronic copies of emails (with full headers if printed), copies of web pages, hard drive images, packet captures of malicious network traffic, network, host and security appliance logs, copies of malware, and chat transcripts and telephony logs. This is why the preservation step comes first.
A dated case-file template
The template below is a practice template, not an official form. It combines the fields in NIST SP 800-86 (chain of custody and documentation), NIST SP 800-150 (indicator metadata), the message identifiers described above and MITRE ATT&CK naming with the status tracking NIST SP 800-61 Rev. 3 recommends for each incident (RS.MA): a summary, related indicators of compromise, each assigned action’s status and expected time frame, and next steps. Copy it into a ticket or a spreadsheet and fill it in as the work happens, with a timestamp and an initials column on every row. Record times in UTC, and note the time zone of any log you copy from, because the NCSC recommends syncing evidence sources to the same time server and time zone to correlate events.
| Field | Entry | Notes |
|---|---|---|
| Case ID and owner | One named incident lead | |
| Reported by | Name, role, account | How reported (button, helpdesk, phone) |
| Date and time reported (UTC) | ||
| Date and time received (UTC) | From the Date and the Received headers | |
| Message identifiers | Internet Message ID; Network Message ID; subject; sender; reply-to | Message-ID header; X-MS-Exchange-Organization-Network-Message-Id |
| Evidence files | File name, path, who saved it, when | Original export plus screenshot |
| Evidence hashes | SHA-256 of each file, master and working copy | Recompute and compare at hand-off |
| Custody log | Who held it, what they did, when | Add a row at every transfer |
| Triage and summary | Class, severity, one-line incident summary, owner’s decision | Basis for severity |
| ATT&CK technique | T1566.001 to .004 | |
| Links and files | Defanged URLs; attachment name, type, SHA-256 | Never opened on a workstation |
| Indicators and TLP label | Table of indicators with context, confidence, expiry | Sharing label per indicator set |
| Recipients (who else received it) | List with delivery location and time | Exported search results attached |
| Interactions | Clicks, credentials entered, files opened, replies | Source log for each |
| Affected accounts and devices | Link to recovery record | |
| Actions taken | Action, who, when, approval; status and expected time if still open | Removals, blocks, resets, notifications |
| External reports | IC3, providers, sector group: date and what was sent | Keep a copy of each submission |
| Open questions and next steps | Alternative explanations still possible; next steps | Per SP 800-86 reporting guidance |
| Closed | Date, lessons, policy changes |
Worked example (illustrative)
The entries below are invented to show how the fields read in practice. The names and addresses use reserved example domains and documentation address ranges, and describe no real incident.
| Time (UTC) | Entry |
|---|---|
| 2026-12-01 09:14 | A staff member reports an invoice email from [email protected]; the case is opened and an owner assigned |
| 2026-12-01 09:20 | The original is exported as an .eml file and a screenshot taken; the SHA-256 of both is recorded; the sending IP 192.0.2.44 and the link hxxps://login[.]example[.]net/verify are noted in defanged form |
| 2026-12-01 09:31 | The reporter says they clicked the link but did not type anything; triage class “possible exposure, elevated” |
| 2026-12-01 09:45 | A search of the mail system for the sender and subject finds 37 recipients; the export is attached to the case and four messages show as already moved to junk |
| 2026-12-01 10:05 | A proxy log search shows two devices requested the link domain; the sign-in logs for both users show nothing unfamiliar |
| 2026-12-01 10:20 | The messages are removed from mailboxes, with the justification recorded; the domain is added to the block list |
| 2026-12-01 11:00 | An indicator set is marked TLP:GREEN and sent to the sector group; a complaint is filed with IC3 and a copy saved to the case |
| 2026-12-01 11:30 | Open question logged: whether the second device’s click came from the same user; the case stays open until the endpoint team answers |
Sources
- NIST SP 800-86, Guide to Integrating Forensic Techniques into Incident Response (August 2006, Final) and its full text
- NIST SP 800-61 Rev. 3, Incident Response Recommendations and Considerations for Cybersecurity Risk Management: A CSF 2.0 Community Profile (April 2025, Final)
- NIST SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling for Desktops and Laptops (July 2013, Final)
- NIST SP 800-150, Guide to Cyber Threat Information Sharing (October 2016, Final)
- NIST, “NIST Retires SHA-1 Cryptographic Algorithm” (15 December 2022)
- NIST Computer Security Resource Center, Hash Functions (approved hash algorithms)
- Microsoft Learn, The Email entity page in Microsoft Defender for Office 365
- Microsoft Learn, About Threat Explorer and Real-time detections
- Microsoft Learn, Investigate malicious email that was delivered in cloud organizations
- Microsoft Learn, Respond to a compromised cloud email account
- Microsoft Learn, Automated investigation and response (AIR) in Microsoft Defender for Office 365 Plan 2
- Google Workspace Help, Investigate reports of malicious emails
- Google Workspace Help, About the security investigation tool
- MITRE ATT&CK, Phishing (T1566) and its Detection Strategy for Phishing across platforms (DET0070)
- UK NCSC, Incident management, Develop: Technical response capabilities, reviewed 19 September 2019
- FBI IC3, Frequently asked questions (evidence to retain)
- FIRST, Traffic Light Protocol version 2.0
- IETF RFC 2606, Reserved Top Level DNS Names and RFC 5737, IPv4 Address Blocks Reserved for Documentation
Security education disclaimer: This article describes investigation practices for authorised defensive purposes only. Investigations should be carried out by qualified staff with the authority to examine the systems and messages involved, and legal counsel should be consulted before findings are shared outside the organisation.