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

You can compartmentalize your different identities (or projects) to make it harder for an adversary to map your network.

Targeted digital surveillance
Malware

If an adversary installs malware on a Tails[1] USB stick or a Qubes OS[2] virtual machine that you use for different digital identities, they can tie the different identities together. To mitigate this, you can use different Tails USB sticks or Qubes OS virtual machines for different digital identities.

Network forensics

An adversary can establish links between different digital identities through the footprints left by their network traffic. To mitigate this, you can compartmentalize different digital identities by:

  • Using Tails[1] and rebooting between each session.
  • Using Qubes OS[3] with different Whonix[4] virtual machines that you use non-simultaneously.