Compartmentalization

Contents

Compartmentalization is a security principle in which different identities (or projects) are kept separate so that they cannot be connected, and the compromise of one is isolated from the compromise of the others. This principle can be applied to both digital and non-digital identities.

Examples of digital compartmentalization include:

Examples of non-digital compartmentalization include:

Compartmentalization can be a useful tool for remembering to apply mitigations consistently within a project. For example, you may want to always take anti-surveillance measures when traveling as part of a specific project, but not make the same effort for another, less sensitive project.

Techniques addressed by this mitigation

NameDescription
Network mapping

By compartmentalizing your different identities (or projects), you can limit the ability of an adversary to achieve network mapping.

Targeted digital surveillance
Malware

You can use different Tails[1] USB sticks or Qubes OS[2] virtual machines for different digital identities. This way, if an adversary compromises one stick or virtual machine with malware, the compromise won't spread to other sticks or virtual machines.

Network forensics

Different digital identities can be correlated through the footprints left by their network traffic. To limit this risk, you can compartmentalize different digital identities by using Tails[1] and rebooting between each session, or on Qubes OS[3] by using different Whonix[4] virtual machines non-simultaneously.