Phishing Detection Techniques: Spotting the Red Flags and Header Clues
Phishing detection combines what you see in the message with what the email headers reveal. On the surface, look for urgency, unexpected attachments, mismatched link destinations and requests for passwords or payments. Underneath, open the full headers and read the Authentication-Results line: SPF, DKIM and DMARC should pass for the domain shown in the From address.
Topic: Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · Explainer
Also covers: Cybersecurity Foundations
Quick answer: Phishing detection combines what you see in the message with what the email headers reveal. On the surface, look for urgency, unexpected attachments, mismatched link destinations and requests for passwords or payments. Underneath, open the full headers and read the Authentication-Results line: SPF, DKIM and DMARC should pass for the domain shown in the From address. A From domain that differs from the Return-Path or Reply-To, a failed DMARC check or a Received chain from an unrelated mail server are strong warning signs. Passing checks only prove the domain is real, not that the sender is honest, so verify unusual requests separately.
Key takeaways
- Visible red flags catch many phishing emails, but not all.
- SPF, DKIM and DMARC results are recorded in the Authentication-Results header.
- DMARC ties SPF or DKIM to the visible From domain.
- Lookalike domains can pass all checks, so read the domain carefully.
- Report suspicious mail instead of only deleting it.
Table of Contents
- Which Visible Red Flags Should You Check First?
- How Do You Open and Read Email Headers?
- What Do SPF, DKIM and DMARC Results Mean?
- Which Header Mismatches Point to Phishing?
- How Do You Check Links and Attachments Safely?
- How Can Defenders Check a Domain Policy?
- What Should You Do After Detecting Phishing?
- References
Which Visible Red Flags Should You Check First?
- Urgent threats: account closure, legal action, missed delivery.
- Display name that does not match the actual address.
- Generic greetings and requests for OTPs, passwords or bank changes.
- Links whose real destination differs from the text when you hover.
- Unexpected attachments, especially archives, HTML files and macro documents.
For a beginner friendly checklist, see how to identify malicious emails. This post goes further into technical detection, which MITRE tracks as T1566 Phishing.
How Do You Open and Read Email Headers?
In Gmail use Show original; in Outlook open message properties or use Microsoft’s Message Header Analyzer. Read the Received lines from bottom to top: the lowest one is closest to the true origin. The receiving server writes an Authentication-Results field, defined in RFC 8601, for example:
Authentication-Results: mx.example.net;
spf=pass smtp.mailfrom=bounce.example.com;
dkim=pass header.d=example.com;
dmarc=pass header.from=example.com
What Do SPF, DKIM and DMARC Results Mean?
| Check | What it verifies | Fail suggests |
|---|---|---|
| SPF (RFC 7208) | The sending server is allowed for the envelope sender domain | Spoofed or misconfigured sender |
| DKIM (RFC 6376) | A domain signed the message and it was not altered | Tampering or forgery |
| DMARC (RFC 7489) | SPF or DKIM passes and aligns with the From domain | The visible From address is likely forged |
NIST SP 800-177 Rev. 1 recommends organisations deploy all three.
Which Header Mismatches Point to Phishing?
| Field | Warning sign |
|---|---|
| From vs Reply-To | Replies go to a different, often free mail domain |
| From vs Return-Path | Unrelated domain with no DMARC alignment |
| header.d in DKIM | Signed by a domain unrelated to the brand |
| Received chain | Origin in hosting unrelated to the claimed company |
| From domain spelling | Lookalikes such as swapped or added letters |
How Do You Check Links and Attachments Safely?
- Hover or long press to read the full URL; check the registered domain, not the subdomain.
- Never open attachments to test them; send them to your security team or a sandbox.
- Type known website addresses yourself instead of clicking.
- Be wary of QR codes in emails, which hide the link.
How Can Defenders Check a Domain Policy?
Security teams can look up the published records with read only DNS queries:
nslookup -type=TXT example.com
nslookup -type=TXT _dmarc.example.com
dig TXT selector1._domainkey.example.com +short
A domain with p=reject in its DMARC record tells receivers to block mail that fails. If your own domain lacks DMARC, attackers can spoof it more easily.
What Should You Do After Detecting Phishing?
- Use the report phishing button so filters learn, as CISA advises.
- If you clicked or entered details, change passwords and alert IT immediately.
- Organisations in India may need to report incidents to CERT-In within six hours.
- Report financial fraud on 1930 or at cybercrime.gov.in.
Related reading: types of phishing attacks. WebAsha offers SOC analyst training covering email analysis.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0