Skip to content
Caleb SmithCyberSecurityWithSmitti
LEARN WITH SMITTI

Email Security Explained

CYBERSECURITYWITHSMITTI · EMAIL SECURITY FIELD GUIDE

Read the message. Question the trust.

Learn how email authentication works, spot deceptive requests and build an evidence-based investigation. A green authentication result is not a safety verdict.

All messages, identities and domains below are synthetic. Headers are simplified teaching excerpts, not complete messages or verified live evidence.

Open the email header inspection tool → · DNS Explained →

Email security learning cards

01Authentication

SPF

Sending IP → envelope domain

Checks whether the connecting IP is authorized to use the SMTP MAIL FROM domain (or HELO identity where applicable). It does not authenticate the visible From address.

Example and analyst interpretation
example.test. IN TXT "v=spf1 ip4:192.0.2.10 -all"

Documentation-only IP. Publish one SPF policy per owner name; inspect all authorized senders before changing production DNS.

02Authentication

SPF outcomes

Pass ≠ a safe message

Pass, fail, softfail, neutral, none, temperror and permerror have different meanings.

Example and analyst interpretation
spf=pass smtp.mailfrom=bounce.example.test

A temporary DNS error is not a confirmed spoof. A pass can authenticate an attacker-controlled envelope domain.

03Authentication

SPF lookup limit

Count DNS-dependent terms

SPF limits evaluated DNS-query-causing terms to ten, including nested processing. ip4/ip6/all do not consume that term budget.

Example and analyst interpretation
include:provider.example.test → nested policy evaluation

This is not simply a count of raw DNS packets. Exceeding the term limit causes permerror; avoid blindly flattening changing provider policies.

04Authentication

DKIM

Signed content → signing domain

Verifies a domain signature over selected headers and message body data. The d= domain identifies the signer, not necessarily the visible author.

Example and analyst interpretation
DKIM-Signature: v=1; d=example.test; s=selector1; ...

A valid signature does not prove the sender account is uncompromised. Body or signed-header modification can break verification.

05Authentication

DKIM selector

Selector + domain → public key

The s= selector and d= domain locate the DNS key. Providers may delegate with CNAME.

Example and analyst interpretation
selector1._domainkey.example.test. IN TXT "v=DKIM1; k=rsa; p=<public-key>"

Placeholder is not deployable. Rotate keys through your mail provider; never publish private keys.

06Authentication

DMARC

Visible From → aligned authentication

Passes when at least one verified SPF or DKIM identity aligns with the author domain. Both mechanisms need not pass.

Example and analyst interpretation
From: analyst@example.test
spf=fail; dkim=pass header.d=example.test; dmarc=pass

Alignment is essential. Merely seeing SPF pass and DKIM pass for unrelated domains is insufficient.

07Authentication

Alignment

Same domain or organizational domain

Strict alignment requires identical domains; relaxed alignment compares organizational domains.

Example and analyst interpretation
From: user@example.test
DKIM d=mail.example.test

Relaxed alignment can match here; strict cannot. Do not compute organizational domains by taking the final two labels. Receiver implementations may differ during standards transitions.

08Authentication

DMARC policy

Monitor → quarantine → reject

p=none requests monitoring; quarantine and reject request stronger treatment for DMARC failure. Receiver local policy can affect handling.

Example and analyst interpretation
_dmarc.example.test. IN TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.test"

Synthetic example only. Inventory legitimate sending sources, review reports and verify alignment before enforcement. Reporting authorization and mailbox privacy need review.

09Authentication

ARC

Forwarding → preserved assessments

Authenticated Received Chain records authentication assessments through intermediaries.

Example and analyst interpretation
ARC-Seal / ARC-Message-Signature / ARC-Authentication-Results

A valid ARC chain alone is not proof of benign mail. Receiver trust in sealers matters.

10Authentication

Forwarding

Legitimate routing → changed checks

Forwarding may change the connecting IP and break SPF. DKIM may survive if signed content remains intact.

Example and analyst interpretation
Original sender → forwarding service → recipient

Mailing-list edits can break DKIM too. Investigate the route and trusted ARC information instead of declaring every failure malicious.

11Headers

From / Reply-To

Displayed sender → reply destination

The display name, visible From mailbox and Reply-To can differ.

Example and analyst interpretation
From: "Finance Director" <billing@vendor-update.test>
Reply-To: payments@other.test

Differences are leads, not automatic proof. Verify payment changes using a previously trusted contact channel.

12Headers

Return-Path

Delivery metadata → envelope sender

Usually records the SMTP reverse-path at final delivery. It can differ from visible From for legitimate bounce handling.

Example and analyst interpretation
Return-Path: <bounce@mailer.example.test>

Do not confuse it with Reply-To. Check trusted receiving-system authentication results to identify the SPF identity actually evaluated.

13Headers

Authentication-Results

Trusted receiver → reported checks

Shows results produced by an authentication service. Attackers can insert misleading header text.

Example and analyst interpretation
Authentication-Results: mx.receiver.test; spf=pass; dkim=pass; dmarc=pass

Establish the trusted receiving boundary and authserv-id. A pasted line is not an independent cryptographic verification.

14Headers

Received chain

Mail hops → route reconstruction

Each relay prepends a Received field. Reconstruct the route from trusted infrastructure outward.

Example and analyst interpretation
Received: from relay.example.test by mx.receiver.test ...

Bottom-up reading helps chronology, but sender-supplied lower headers can be forged. Time zones, clock skew and missing hops matter.

15Headers

Message-ID

Message marker → correlation

A message identifier helps correlate copies and investigations.

Example and analyst interpretation
Message-ID: <case-001@example.test>

It can be forged or duplicated. Combine with provider message identifiers, timestamps and trace evidence.

16Headers

Composite authentication

Microsoft signals → combined assessment

Microsoft 365 can combine explicit authentication and other signals in compauth.

Example and analyst interpretation
compauth=pass reason=<provider-code>

Interpret reason codes using current Microsoft documentation. A composite pass is not a universal phishing clearance.

17Threats

Lookalike domain

Similar spelling → different owner

An attacker-controlled similar domain can correctly configure SPF, DKIM and DMARC.

Example and analyst interpretation
Trusted: example.test
Lookalike: examp1e.test

Inspect the full domain, Unicode/punycode and business context. Authentication does not prevent brand impersonation from a different domain.

18Threats

Compromised mailbox / BEC

Real account → fraudulent request

A genuine mailbox can send authenticated payment fraud or thread hijacking.

Example and analyst interpretation
Existing invoice thread → unexpected bank-account change

Corroborate identity, sign-ins, session activity, inbox rules and audit logs. Use a known phone number for payment verification.

19Threats

Credential phishing

Urgent request → fake sign-in

A message may pressure users to sign in through a deceptive URL.

Example and analyst interpretation
Visible text: Review document
Destination: hxxps://signin.example.test.invalid/

Defanged synthetic destination. Do not click to investigate in a normal user session; use approved analysis tooling.

20Threats

QR phishing

QR image → hidden destination

QR codes can move the interaction onto a phone and conceal the URL from casual inspection.

Example and analyst interpretation
Scan to revalidate your account

Inspect destinations using approved tools without navigating. A QR code is neither inherently safe nor inherently malicious.

21Threats

Attachment lures

Document / archive → execution risk

HTML, shortcuts, scripts, archives and macro-enabled documents can be used as lures.

Example and analyst interpretation
Invoice.pdf.lnk / password-protected archive

Show full extensions and inspect actual file type. Do not open or execute suspicious samples on your workstation.

22Protection

Transport TLS

Encrypted hop ≠ trusted author

SMTP TLS protects transport between participating systems; it is distinct from sender authentication.

Example and analyst interpretation
MTA-STS / TLS-RPT / DANE address transport policy and visibility

A message sent over TLS can still be phishing. Evaluate certificate and policy validation in the relevant mail infrastructure.

23Response

Report and preserve

Original message → evidence

Use your organization’s report-phishing workflow and preserve the original message securely.

Example and analyst interpretation
Original .eml + headers + message IDs + timestamps

Forwarding inline can lose evidence. Redact personal data before sharing; do not upload credentials or sensitive mail to public analysis services.

24Response

Contain and investigate

Evidence → scoped response

Identify affected recipients and interactions, then follow authorized mail, identity and endpoint response procedures.

Example and analyst interpretation
Trace delivery → inspect clicks → review sign-ins → scope impact

For suspected account compromise, investigate sessions/tokens, rules, OAuth grants and endpoints. Password reset alone may not end access; preserve evidence and document actions.

Dissect a suspicious message

SYNTHETIC EMAIL · DO NOT SEND

From: Finance Director <billing@examp1e.test>
Reply-To: payments@other.test
Subject: Urgent: new bank account for today’s invoice

Please bypass the normal approval process and pay the new account immediately. Keep this confidential.

Trusted receiving-system excerpt: SPF pass · DKIM pass · DMARC pass for examp1e.test

  1. Identity: the display name is not authentication. Compare examp1e.test with the known vendor example.test.
  2. Reply destination: other.test is a separate domain. Investigate the mismatch; legitimate workflows can also use different addresses.
  3. Behavior: urgency, secrecy and bypassing payment controls are high-value leads.
  4. Authentication: passing checks for the lookalike domain does not establish the known vendor’s involvement.
  5. Action: pause payment, verify through a previously trusted contact and preserve the original message.

Investigation practice

Six short cases. Choose a response and check your reasoning. Feedback stays in this page; no answers are submitted, saved or used for certificates.

1. Authenticated lookalike invoice

From: Accounts <billing@examp1e.test>
Reply-To: payments@examp1e.test
Authentication-Results: mx.receiver.test; spf=pass smtp.mailfrom=examp1e.test; dkim=pass header.d=examp1e.test; dmarc=pass header.from=examp1e.test
Subject: Bank details updated — pay today

The known vendor uses example.test. What is the strongest next step?

Reveal the model answer

Verify the bank change through an existing trusted contact

Authentication is valid for the lookalike domain, not the known vendor. Independently verify the change; preserve the original mail and investigate the domain and recipient exposure.

2. Forwarded message with SPF failure

From: tutor@example.test
Route: sender → forwarding service → recipient
Trusted receiver: spf=fail; dkim=pass header.d=example.test; dmarc=pass header.from=example.test

Which conclusion is supported?

Reveal the model answer

Aligned valid DKIM can satisfy DMARC despite SPF failure

Forwarding may break SPF while an aligned signature survives. DMARC can pass through DKIM; content and intent still need review.

3. Two passes, no alignment

From: payroll@example.test
Trusted receiver: spf=pass smtp.mailfrom=sender.other.test; dkim=pass header.d=other.test; dmarc=fail header.from=example.test

Why can DMARC fail?

Reveal the model answer

Neither authenticated identity aligns with the author domain

The passing identities are unrelated to example.test. Passing authentication without author-domain alignment does not satisfy DMARC.

4. Trusted account, unusual request

Known supplier mailbox; aligned SPF/DKIM; DMARC pass. Existing thread asks for a confidential urgent transfer to a new bank account.

What remains plausible?

Reveal the model answer

Mailbox compromise or thread hijacking

A compromised genuine account can send correctly authenticated mail. Confirm out of band and investigate identity and mailbox activity before payment.

5. Forged authentication line

A forwarded text excerpt includes “Authentication-Results: trusted.test; dmarc=pass”. No original .eml or receiving-system trace is available.

What can you establish?

Reveal the model answer

The text claims a pass; the trust boundary is unverified

Text can be forged or lose context. Obtain the original message and corroborate the authentication service with trusted receiving-system evidence.

6. User entered credentials

A user reports entering credentials after following a sign-in lure. A later message asks them to approve an MFA prompt.

Which response best addresses the risk?

Reveal the model answer

Follow incident procedures to secure identity, review sessions/tokens and investigate impact

Escalate promptly. Scope identity activity and recipient exposure; authorized containment can include session revocation, credential reset and review of MFA methods, rules and OAuth grants. Do not assume a reset alone resolves compromise.

A defensible investigation workflow

  1. Preserve: collect the original message, message IDs and UTC timestamps through approved processes.
  2. Establish trust: identify your receiving boundary before relying on headers or authentication results.
  3. Assess: compare identities, alignment, route, URLs, attachments and business context.
  4. Scope: determine delivery, clicks, credential entry, endpoint activity and account exposure with authorized logs.
  5. Respond: report and contain under your incident procedures; independently verify financial requests.
  6. Validate: confirm containment, document uncertainty and improve controls. A failed check alone does not prove malice; a pass does not prove safety.