Skip to content
Misconfiguration Write-up Intermediate

Phishing Campaign Exploits Proofpoint to Send Spoofed Emails

A misconfiguration in Proofpoint's email relay allowed attackers to send spoofed emails from any Office365 account, which were then authenticated with the victim domain's DKIM and SPF, bypassing email security. Attackers used this to send millions of phishing emails impersonating major brands to steal credentials and payment details.

labs.guard.io

Published on labs.guard.io

By Nati Tal (Head of Guardio Labs)

Guardio, on labs.guard.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, Proofpoint's relay accepted email from any Office365 tenant rather than only the customer's own tenant, and then applied the customer's DKIM signature and SPF-approved sending, so spoofed messages were authenticated.

Impact

Attackers could send millions of perfectly spoofed phishing emails per day that passed SPF, DKIM, and DMARC checks, potentially stealing funds and credit card details from recipients; the report notes that Proofpoint later introduced a mitigation using the X-OriginatorOrg header, which the researchers tested and found no bypass for.

What the attacker needed

An Office365 account; knowledge of target's Proofpoint relay host; ability to configure an SMTP relay

The fix

Proofpoint introduced tenant-based filtering using the X-OriginatorOrg header so that only emails from the customer's own Office365 tenant are accepted, and customers should apply this or similar custom rules.

How it was found

  1. Set up a controlled SMTP server that can insert spoofed From headers.
  2. Relay the message through an Office365 Exchange server configured to forward without altering headers.
  3. Find the target domain's Proofpoint relay hostname from its public MX record.
  4. Configure the Exchange connector to send the message to that Proofpoint host.
  5. Proofpoint accepts the message, signs it with the customer's DKIM key, and sends it on, so it passes SPF and DKIM at the recipient.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Email authentication checks like SPF and DKIM are meant to prove an email really came from the domain it claims. Here, a security service that many companies use to filter email had a setting that let anyone using a Microsoft Office365 account send mail through it. Because the service then signed and forwarded those messages as if they were from its customers, the fake emails passed all the checks and landed in inboxes looking genuine.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.