Exploring Anti-Phishing Measures in Microsoft 365
Microsoft 365's First Contact Safety Tip and email signing icons can be visually spoofed or hidden using CSS in HTML emails. An attacker could craft a phishing email that appears legitimate by concealing the safety tip and faking encryption/signature badges.
Published on certitude.consulting
Written by William Moody on 07.08.202413.02.2025
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
Impact
An attacker could send phishing emails that appear more legitimate by hiding the safety tip and faking encryption/signature badges, potentially tricking users into trusting the email.
What the attacker needed
Target uses Microsoft 365; attacker can send HTML email
The fix
Microsoft chose not to address this behaviour for now, so no fix is available.
How it was found
- Craft an HTML email that includes CSS to hide the First Contact Safety Tip.
- Send the email to a target; the safety tip becomes invisible.
- Optionally, add fake signed/encrypted icons using HTML and CSS.
- Use a Unicode character to avoid Outlook auto-linking the spoofed email address.
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.
When you get an email from someone new, Outlook shows a warning to help you spot phishing. This research found that attackers can use styling code in the email to make that warning invisible or to fake the 'signed' badge, so the email looks more trustworthy than it is.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.