DEV Community

Serguey Shinder
Serguey Shinder

Posted on

Phishing Emails From Our Own Finance Director's Address Came Straight Through a Door We Kept Open for Our Scanners

In April four people in our accounts payable team received an email from our finance director's address. It said a supplier had sent a revised remittance and asked them to review the attachment, which opened a page made to look like a Microsoft sign in. One of them entered her password. She then refused the sign in approval on her phone, because she had not asked for one, and rang the service desk. That refusal is the only reason this is a short story.

The email had not come from his mailbox, and nobody had broken into anything. The message headers showed it had been sent from a server abroad, straight to the address Microsoft gives each organisation to receive its mail, without any password. Exchange Online calls this Direct Send. It lets a device or application deliver mail to people in your own organisation, from an address in your own domain, without signing in. It exists for scanners and printers that email what they scan, and it is available unless you switch it off. In 2025 security researchers reported phishing campaigns using it against many organisations.

The other half of the problem was ours. Our domain's DMARC policy, which tells receiving systems what to do with mail that fails the checks on our domain, had been set to take no action since 2019. That had been a temporary measure while we found every system that sent mail as us. The search was never finished, so the policy stayed temporary for six years.

When we looked at what was using Direct Send legitimately, we found nine multifunction printers at depots and an alert script on a warehouse server. Those took three weeks to move: the printers now send through an authenticated connection, and the script uses a mailbox with credentials kept in our secrets store. We then switched on the setting Microsoft introduced in 2025 to reject Direct Send entirely. Our DMARC policy went to quarantine in June and reject in September, once the reports showed nothing legitimate was failing.

A convenience left open for a few printers is open to anyone who knows the address, and the address is public. Find out who else can send mail as you without signing in.

– Serguey Shinder

Top comments (0)