← Blog
// BLUE TEAM · PHISHING

How to analyze a phishing email (.eml) step by step

Published Aug 10, 2026 · 9 min read
PhishingEmailIOCThreat HuntingTriaje

A suspicious email arrives. Before forwarding it to "not sure who" or —worse— clicking to "see what it is", analyze it methodically. The key: work on the file, not on the live message. No clicking, no opening attachments, no loading remote images (they confirm to the attacker that you exist).

⚠️ Golden rule: do not interact with the original message. Export the .eml and analyze that file. URLs and indicators are "defanged" before sharing so nobody opens them by accident.

1. Get the .eml with full headers

The .eml is the whole message as text: headers + body + encoded attachments. In most clients: Forward as attachment or Save as…. In Outlook, drag the message to the desktop; in Gmail, "Show original" and "Download message". Without full headers there is no analysis.

2. Read the headers: the email's real journey

The Received: headers are read bottom to top: the lowest is the first hop (the origin). Look for:

3. Is it authenticated? SPF, DKIM and DMARC

Find the Authentication-Results: header. That's the receiver's verdict:

Authentication-Results: mx.google.com;
   spf=fail (google.com: domain of ...) smtp.mailfrom=...
   dkim=none;
   dmarc=fail (p=NONE) header.from=your-bank.com

An spf=fail or dkim=fail combined with a From: from a known brand is a huge red flag. Note: passing SPF/DKIM doesn't guarantee legitimacy (the attacker can authenticate their look-alike domain); what matters is alignment with the domain it claims to be.

🩺 Want to see whether the domain the sender claims to be has authentication set up properly? Run it through the SPF/DMARC/DKIM Auditor. And if you run a domain, build the records with the Generator (I cover it in this guide).

4. Sender and links

🧪 To turn indicators into a non-clickable form (hxxp, [.]) and back, use the IOC Defang / Refang tool.

5. Attachments: without opening

Don't open anything. From the .eml you can extract the attachment and get its hash (SHA-256) to look it up in threat-intel sources without running it. Beware of .html, .iso, .img, .lnk, Office macros and double extensions (invoice.pdf.exe).

🔑 Compute a file's hash in your browser with the Hash Generator (SHA-256), without uploading it anywhere.

6. Extract the IOCs and report it

Gather the indicators: domains, URLs, IPs, sender addresses and attachment hashes. Defang them, document what you saw and report it to your SOC or the abuse mailbox. If you're the end recipient, mark it as phishing in your client and delete it; do not reply.

📧 The Email Triage (.eml) does all of the above in one go: load the file and it breaks down headers, authentication result, sender, links and IOCs — in your own browser, the email is never uploaded to any server. On mobile you can share the email straight to the tool.

Red flags (recap)

Analyzing phishing methodically is quick and takes away the fear of "what if it was real?". The answer is almost always in the headers.

Sergio Belmonte Morales
Sergio Belmonte Morales
Cybersecurity Analyst · SOC · Sentinel/KQL specialist