Why doesn't full-disk encryption stop a signed-in user copying credential files off a laptop?
answer
- answers theft, not use
- key released once, at unlock
- block device, not per file
- plaintext to the signed-in session
- removes one adversary only
basics
~10 sFull-disk encryption protects a powered-off volume. Once the machine is unlocked and someone is signed in, the volume key is loaded and every read is decrypted transparently, so credential files are ordinary readable files.
solid answer
~50 sVolume encryption answers exactly one adversary: whoever ends up holding the hardware without the unlock secret. The key is released at boot from a TPM, a passphrase, or both, and from that moment the filesystem is plaintext to anything running on the machine with sufficient rights. A departing contractor signed in to their own issued laptop reads their own profile without elevating at all — the browser profile's stores, `~/.ssh`, a cloud credentials file, a kubeconfig. With local administrator, which plenty of fleets still hand out, they also read the `SAM` and `SECURITY` registry hives. No exploit is used and nothing new executes; these are file copies. So "just encrypt the disk" is not an answer to a person who is already inside the session. What changes the picture is what the copied material is worth once it leaves: short lifetimes, hardware-bound non-exportable keys, and passphrases on private keys.
go deeper
Be ready to state the one-line threat model: full-disk encryption protects a powered-off volume, and after unlock the filesystem is plain to the signed-in user. Know two examples of credential files a user can read in their own profile.
Explain where the volume key lives after unlock, why there is no per-file or per-user separation at that layer, and which stores need local administrator rights versus none at all.
Show you can redirect a team that proposed disk encryption as the credential-theft answer: name what it does cover, then move the conversation to lifetime and non-exportability of the material itself.
Own the framing that a control's value is the adversary it removes, not the reassurance it gives. Be able to say which loss scenarios encryption genuinely retires and where the remaining spend should go.
## What volume encryption actually promises Full-disk encryption — BitLocker on Windows, FileVault on macOS, LUKS/dm-crypt on Linux — encrypts a **block device**, not files. A single volume master key encrypts the sectors; that key is itself wrapped by something the machine or the user can supply at boot: a TPM measurement, a pre-boot PIN, a passphrase, a recovery key. The promise is narrow and it is worth stating precisely: **an adversary who obtains the storage while it is at rest, and who does not have the unlock secret, cannot read it.** Lost laptop in a taxi. Drive pulled from a decommissioned machine. Disk sent for warranty repair. Those are the scenarios it removes, and it removes them well. ## What happens the moment the machine boots At unlock, the volume master key is decrypted and held in memory by the kernel's crypto layer. From then on, every read of a sector is decrypted on the way up and every write encrypted on the way down, transparently, for **every** process. There is no per-file password prompt and no per-user separation at this layer — the volume is either mounted or it is not. So on a running, unlocked machine the filesystem looks exactly like an unencrypted one. Ordinary file permissions are what separate users at that point, and nothing else. This is the single fact the question turns on, and it is the one a platform team proposing "just encrypt the disk" has usually not internalised. ## Who is inside the boundary Everything that runs after unlock is inside: - the signed-in user, reading their own profile; - any process running under that user's token, including one they were talked into starting; - a local administrator, reading any profile and the registry hives; - backup and management software running as SYSTEM or root. A departing contractor on their own issued laptop is the cleanest example precisely because nothing about it is exotic. They have legitimate local access, they need no exploit, and they drop no code. They copy files. ## What is readable without elevating, and what needs it Without any elevation, in the user's own profile: - the browser profile directory, holding saved logins and the cookie store; - `~/.ssh/id_ed25519` or `id_rsa` — plaintext key material unless a passphrase was set; - `~/.aws/credentials` and equivalents — long-lived access keys as plain text; - kubeconfigs, API tokens written to dotfiles by command-line clients; - the DPAPI master key files under `%APPDATA%\Microsoft\Protect\<SID>\`. With local administrator on Windows: - `SAM` (local account hashes) together with `SYSTEM` (the boot key that unseals them); - `SECURITY`, which holds the cached domain logon verifiers. On macOS the login keychain plays the DPAPI role and is unlocked by the login password; FileVault reasons identically to BitLocker. ## Why the obvious hardening does not close it Adding a pre-boot PIN to the TPM is a real improvement — it defeats an attacker who steals the whole machine and lets the TPM release the key to a booted OS they then attack. But it strengthens only the powered-off case. It does nothing after unlock. Encrypting the credential file itself with a key the same process can reach is the same mistake one layer down: whatever unwraps it for the legitimate reader unwraps it for the thief in that same context. The property that actually helps is **non-exportability** — a key that lives in a TPM or a security key and can be *used* but never *copied* (a FIDO2/WebAuthn credential is the clean example), or material with a lifetime short enough that a copy is stale before it can be used. ## The honest summary Volume encryption is a good control against a specific, common, physical loss. It is not a credential-storage control, and treating it as one leaves the whole on-disk credential estate exposed to the one person guaranteed to be inside the boundary: the user.
- Does adding a pre-boot PIN alongside the TPM change the answer?No. It strengthens the powered-off case by refusing to release the volume key to a booted operating system without human input, which blocks some attacks on TPM-only configurations. After unlock the machine behaves identically: the volume key is in memory and reads are transparent, so a signed-in user still copies whatever their permissions allow.
- Which of those artefacts need local administrator rights and which do not?The user's own profile needs nothing extra: the browser profile stores, the DPAPI master key files, `~/.ssh`, `~/.aws/credentials`, kubeconfigs. Local administrator is needed for the registry hives — `SAM` plus `SYSTEM` for local account hashes, and `SECURITY` for the cached domain logon verifiers. That split is why removing standing local admin narrows the haul but does not empty it.
- So what control class actually reduces the value of the copy?Binding and lifetime. Keys that a TPM or a security key can use but never export cannot be copied at all. Short-lived tokens make a stolen copy stale. A passphrase on a private key converts it from bearer material into an offline guessing problem. Encrypting the same bearer secret with a key reachable from the same context changes nothing.
It is a safe door, not a wrapper on each document. Once someone opens the safe to work, everything inside is loose paper to anyone standing in the room.
saying these in an interview costs you the question
- Says an encrypted disk means files are encrypted for everyone on the machine
- Treats the authorised signed-in user as outside the threat model
- Confuses volume encryption with per-file protection tied to a password
- Assumes copying credential files requires an exploit or new software
- Claims a TPM alone keeps keys unreadable after boot