Password Protected Attachments and What They Have to Do With Physics Cats
Most of us have had to deal with password protected attachments in email before, and on the surface they seem like a great idea; "Hey, let's slap some mild encryption on this file so that only someone who knows the password can view the file!" This is what I call Schrodingerâs Attachment. Just like the famous cat-in-a-box, where we canât tell if the cat is dead or alive until we observe it, with the password protected attachment we canât tell if the âpayloadâ is malicious or not until we can open the attachment and ⌠we canât open the attachment (because it has a password on it)
So letâs talk about some things here:
Why do people password protect files
What do you gain from password protecting files
What do you lose from password protecting files
What other options are available?
First off, why do people password protect files? Once upon a time, email was pretty much not encrypted. At all. In fact, until the mid 90âs a lot of email was transferred using a âstore and forwardâ mechanism which meant that any number of intermediate servers could be âholdingâ your email until the final destination accepted delivery. This meant that anyone with admin access could view that attachment. Password protecting the attachment was theoretically a way to ensure only the intended recipient could open and view the attachment. There were problems with that; how you get them the password? If youâre sending the password over the same channel (email), youâre no more secure than sending the attachment in the clear, even if itâs on a different email or message thread. If that password is not changed regularly (I.E. you set a static password and use the same one reoccurring), youâre really not much more secure than if you donât use a password. With modern email systems, near 100% of messages are being transferred using TLS, meaning the email is encrypted in transit, and because Microsoft and Google also offer encrypted data at rest, all your messages are already encrypted at rest. Youâre not gaining that much from password protecting attachments in modern times
So next up, what do you gain from password protecting attachments? Well, assuming the password is secure (unique, complex, changes regularly, etc) you ensure that no one but the holder(s) of the password can access the file. Thatâs pretty much the only pro of using a password to protect a file, even if theoretically it is a big pro.
What do you lose from password protecting files? Well, from both a security and DLP standpoint you lose the ability to see whatâs in that file. For outbound emails this means you are theoretically opening a data exfiltration hole; youâre making it so a rogue or disgruntled employee could send sensitive data to an external email address by password protecting a file. For inbound emails this means those attachments canât be scanned. They could be hiding macro viruses. They could be hiding malicious URLs. You are essentially making it so that the end user and only the end user has the ability to perform security scans on the attachment.
So what options are available? (keep in mind a lot of these are not mutually exclusive)
As far as delivery is concerned, block and allow. We can block password protected files, or we can allow them. In most email filtering systems this is available both globally and on a per-sender and/or per-recipient basis. This allows us to get pretty granular: Examples would include âBlock password protected attachments for all users, unless the sender email ends with pwc.com and the recipient is in the accounting group.â Or âAllow password protected attachments for all users but only if the sender is not gmail.com or yahoo.comâ
Most email security systems also allow additional options of modifying the incoming message; I.E. We could drop an annotation into the body with red and yellow colors that warn the recipient to 100% ensure they know what they're doing when they open a file that couldn't be scanned by automated systems.
I'm curious to hear how your organization handles Password Protected Attachments.