Currently our dovecot servers are on our webhosting linux boxes. We are using 
the LAMP stack to host websites, and also doing email with postfix & dovecot on 
these systems. We provide this as a hosting setup for 100+ accounts/websites on 
a single server (a multi-tenant setup). Each customer has anywhere between 
1-100 email accounts which Dovecot services.

If a customer has vulnerable PHP code on a website, some of these will allow a 
remote file upload. I have seen cases where they upload a PHP script that is a 
sort of web-based console/shell to the server (file-system, etc.). It provides 
several tools which all run through the uploaded PHP script to try to brute 
force and do other attacks. I've seen attempts at a root exploit. We've never 
had a root exploit and any such case of a customer's site being hacked has been 
easily contained by simple filesystem permissions being correct (and the fact 
that we have apache setup to run all scripts as the user who is the owner of 
the script files, which confines the script to that users' permissions). Still 
nobody loves the idea of bad guys trying to hack on your box.

So.... given that type of scenario, if filesystem permissions weren't correct, 
or some new exploit surfaced that allowed someone bypass or elevate to root, 
then they could theoretically have access to the entire fileystem including 
where emails are stored.

I hope to never have this sort of thing happen. We patch our systems regularly 
and have other security measures we follow to prevent this. We also are 
managing most of the PHP scripts customers use ourselves now and are updating 
those for the CMS' and other systems proactively.

However, it would be nice to know that even if we were breached, the emails on 
the server were encrypted and would be completely useless to an attacker.

This type of encryption is ideal and some regulations prefer (although don't 
require) it.
-
Doug Mortensen
Network Consultant
Impala Networks
P: 505.327.7300

-----Original Message-----
From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On 
Behalf Of Michael Orlitzky
Sent: Monday, October 28, 2013 11:52 AM
To: dovecot
Subject: Re: [Dovecot] Encryption solution for messages at rest

On 10/28/2013 12:02 PM, Douglas Mortensen wrote:
> Hi,
> 
> We have clients with various security & compliance requirements.
> Although not required, it would be ideal to have messages encrypted at 
> rest.

You can rule out a lot of the crazier options by answering the questions,

(a) What attack scenario do you have in mind?

(b) How will encryption help?

Reply via email to