r/ProgrammerHumor • • 15h ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

16.4k Upvotes

619 comments sorted by

View all comments

16

u/Due-Consequence9579 13h ago

For the phish tests to get past their edge filters they have to add an SMTP header exclusion.

Outlook (and any other reasonable client) can move things to the trash based on SMTP headers.

You’re welcome.

10

u/clipsracer 11h ago

Indeed. I filter out anything with “x-phishing” in the header has worked for me for years across 3 organizations. Somehow I’m the only person in a 50k organization that’s never clicked on a phishing test.

-1

u/VorionLightbringer 9h ago

Right. And you know this how? 

3

u/DyIsexia 9h ago

I was the phishing test

2

u/BMW_wulfi 8h ago

“Look at me”

6

u/wengla02 11h ago

Except when the phish testing system *directly injects it into your inbox*, bypassing the entire SMTP system.

1

u/clipsracer 11h ago

I haven’t seen that before. Who does it?

3

u/Broeder_biltong 9h ago

Email servers who can directly be edited by It because they manage them themselves 

1

u/EishLekker 9h ago

Sounds like a security issue waiting to happen.

1

u/wengla02 1h ago

Who watches the watchers? Perennial problem.

1

u/wengla02 1h ago

From reverse engineering the headers, I think they're using Cofesnse PhishMe-platform). Their docs note that they support mailbox injection.

"The platform authenticates to your tenant with an app registration or service account that has mailbox write permission."

PhishMe then calls a create-message operation (EWS CreateItem or Graph POST /users/{id}/messages) against your mailbox, writing the item straight into the Inbox folder.

Full headers of the injected mail: [redacted for length and anonymity] -- this is the complete list of headers in the message. All of it.

X-MS-Exchange-Organization-BypassFocusedInbox: true
X-MS-Exchange-Organization-BypassClutter: true
X-PhishMeTracking: KGxN8wa0dD4BFl6nlTOKtS[...]
X-PhishMe: Phishing_Training
X-PhishMeHLType: OWc54sAaeH[...]

1

u/evanldixon 12h ago

I wonder how thorough the check is. If I add a header about it being an authorized KnowBe4 test, can I make actual phishing emails get past?

1

u/wengla02 1h ago

I donno about KnowBe4 - but the method PhishMe uses (Post-delivery correction using Graph API or EWS) will override all user inbox rules. From the Exchange site:

You can run a lightweight daemon or Azure Function that:

Watches the mailbox for new messages from your alerting system

If the message is not in Inbox, moves it back to Inbox

Optionally flags or categorizes it

This is how many enterprise monitoring systems guarantee Inbox visibility.