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.

May 13, 2025 - 13:08
Updated: 
102.4k

Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · Explainer

Cybersecurity Foundations

Phishing Detection Techniques: Spotting the Red Flags and Header Clues

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?

  • 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?

CheckWhat it verifiesFail suggests
SPF (RFC 7208)The sending server is allowed for the envelope sender domainSpoofed or misconfigured sender
DKIM (RFC 6376)A domain signed the message and it was not alteredTampering or forgery
DMARC (RFC 7489)SPF or DKIM passes and aligns with the From domainThe visible From address is likely forged

NIST SP 800-177 Rev. 1 recommends organisations deploy all three.

Which Header Mismatches Point to Phishing?

FieldWarning sign
From vs Reply-ToReplies go to a different, often free mail domain
From vs Return-PathUnrelated domain with no DMARC alignment
header.d in DKIMSigned by a domain unrelated to the brand
Received chainOrigin in hosting unrelated to the claimed company
From domain spellingLookalikes such as swapped or added letters
  • 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?

  1. Use the report phishing button so filters learn, as CISA advises.
  2. If you clicked or entered details, change passwords and alert IT immediately.
  3. Organisations in India may need to report incidents to CERT-In within six hours.
  4. 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

Urgency, mismatched sender addresses, unexpected attachments, links that point elsewhere and requests for passwords, OTPs or payments are the main signs.

In Gmail choose Show original from the message menu, and in Outlook open message properties or use Microsoft’s Message Header Analyzer.

It means the sending server is not authorised by the envelope sender domain, which can indicate spoofing or simply a misconfigured mail setup.

DKIM is a digital signature added by the sending domain, letting receivers confirm the domain signed the message and that it was not altered.

DMARC checks that SPF or DKIM passes for the same domain shown in the From address, and tells receivers what to do when it fails.

Yes. Attackers can register lookalike domains and set up valid records, so passing checks does not prove the sender is trustworthy.

Attackers often set Reply-To to a different address so your reply reaches them, even when the From address looks genuine.

Change your password from a trusted device, enable MFA, tell your IT team and report any financial loss on 1930 immediately.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.