#5253: Zeroization: Wiping Keys, Not Data

Destroying a 256-bit key takes milliseconds. Overwriting a terabyte takes hours. That gap is the whole story.

Featuring
Listen
0:00
0:00
Episode Details
Episode ID
MWP-5435
Published
Duration
26:08
Audio
Direct link
Pipeline
V5.2
TTS Engine
chatterbox-regular
Script Writing Agent
deepseek-v4-pro

AI-Generated Content: This podcast is created using AI personas. Please verify any important information independently.

Zeroization is the deliberate, irreversible destruction of key material — not the data itself. The ciphertext stays on disk, but without the key it's computationally useless. This is distinct from a file delete, a format, or a full-disk overwrite, and the distinction matters because of speed: destroying a 256-bit key is near-instant, while overwriting a terabyte takes hours and can miss remapped sectors, spare blocks, and areas the SSD controller has silently moved. Crypto erase gets you the same end state in milliseconds.

The episode opens with the verification paradox: zeroization is only trustworthy if it's unverifiable, and only useful if it's trustworthy. If you can verify a wipe, that means the device sent a report — which means it still had functioning hardware, firmware, networking, and credentials. Which means the wipe didn't destroy everything. If you can't verify it, the silence is ambiguous: did the wipe work, or did the attacker pull the battery or drop the device in a Faraday bag?

Two trigger families emerge. Physical, tamper-responsive systems like the HSM at a diplomatic mission use a sensor mesh embedded in the enclosure, potting compound that eliminates any silent path to the die, and battery-backed SRAM that loses state in microseconds when the tamper circuit cuts power. Remote, commanded systems like a downed drone use dead-man logic — a timer and crash sensor, not a human pressing a button — where a hard landing must be distinguished from a crash. Neither trusts a human, and both are designed so the party who triggered the wipe never gets a receipt.

The same logic scales down to employer laptops and phones. MDM can command a wipe, and on iOS, Android, Windows, and Linux that wipe is usually a crypto erase under the hood — the secure enclave, TPM, or LUKS header destruction does the real work. But MDM is a software-level control issuing a command to a cooperating OS, not a hardware tamper circuit. If the OS is compromised, the device is offline, or the attacker images the disk before the command lands, MDM gives you nothing. That's the gap between remote wipe as a compliance checkbox and zeroization as a security property.

Downloads

Episode Audio

Download the full episode as an MP3 file

Download MP3
Transcript (TXT)

Plain text transcript file

Transcript (PDF)

Formatted PDF with styling

#5253: Zeroization: Wiping Keys, Not Data

Corn
Daniel's back on zeroization, and this time he's asking the question I was hoping he wouldn't ask, because the answer is a paradox wearing a compliance sticker.
Corn
He's got three examples. First, the diplomatic-mission hardware key manager with drill detection that wipes the key store on tamper. Second, the downed drone that zeroizes before the enemy can reverse-engineer the comms and crypto. Third, the boring one: employer laptops across a mixed Windows and Linux fleet, plus phones, and whether MDM can remotely trigger a zeroizing process that can be verified. His point is that verification is impossible because if the wipe works, the networking drops. So he's asking what actually exists in the wild, what the trigger mechanisms are, and whether commercial or open-source variants are real for desktops and phones.
Herman
And the shape of the answer is mechanism first, then the verification paradox, then what you can actually buy.
Corn
So let's pin it down. Zeroization is the deliberate, irreversible destruction of key material. Not the data, the keys. The ciphertext stays on the disk, but without the key it's computationally useless. That's distinct from a file delete, which just unlinks the file and leaves the bits recoverable. Distinct from a format, which rewrites the filesystem metadata but often leaves the underlying blocks intact. And distinct from a full-disk overwrite, which tries to write zeros or random data over every sector.
Herman
The reason the distinction matters is speed. Destroying a two hundred fifty six bit key is near-instant. Overwriting a terabyte takes hours, and it can miss remapped sectors, spare blocks, areas the controller has silently moved. Crypto erase, which is just destroying the key, gets you the same end state, computationally unrecoverable data, in milliseconds.
Corn
And here's the thing about that speed gap. It's not just a matter of convenience. It's a matter of physics. A full-disk overwrite is a race against time. You're trying to write to every sector while the attacker is trying to pull the drive out of the machine. With a crypto erase, the race is over before the attacker has finished unscrewing the case.
Herman
Right. And the overwrite race gets worse on modern hardware. Solid-state drives have wear leveling, which means the controller is constantly remapping logical blocks to physical cells. When you ask the drive to overwrite a sector, you're not necessarily overwriting the physical cell where the data actually lives. The controller might write your zeros to a fresh cell and just update its internal map. The old data is still sitting there in the flash, recoverable by anyone who can talk to the controller directly.
Corn
That's the dirty secret of SSD sanitization. The drive firmware is a black box between you and the physical medium. You can issue all the write commands you want. You have no idea what the controller actually did with them. Crypto erase sidesteps all of that because you're not asking the drive to do anything except forget the key.
Herman
And there are two trigger families. Physical, tamper-responsive, the HSM case, where a sensor fires and the hardware wipes itself. And remote, commanded, the MDM case, where a server sends a message and the OS wipes itself. Same end state, completely different trust model.
Corn
The core tension we're going to keep circling, the thing Daniel's prompt is really poking at, is this: zeroization is only trustworthy if it's unverifiable, and it's only useful if it's trustworthy. That's not a bug. That's the design.
Herman
And that sentence is going to sound like a koan to a lot of people. Let's unpack it before we go further. If you can verify a wipe happened, that means you received a report. That report came from the device. The device was able to send that report because it still had functioning hardware, functioning firmware, functioning networking, and functioning credentials. Which means the wipe left enough of the device intact to talk to you. Which means the wipe didn't destroy everything.
Corn
And if you can't verify it, you're taking it on faith. The device went dark. Was that because the wipe worked, or because the attacker pulled the battery, or because the device is in a Faraday bag in the trunk of a car? You don't know. The silence is ambiguous.
Herman
So the cleanest way to see both trigger families in one device is the example Hilbert brought up, the key manager at the diplomatic mission. Let's take that apart.
Corn
A tamper-responsive HSM at a diplomatic mission is the archetype. The physical detection layer is a mesh of sensors embedded in the enclosure. There's a fine wire mesh that detects drilling, because drilling breaks the mesh. There are voltage sensors, temperature sensors, light sensors. If you open the case and light hits the inside, the sensor trips. If you cool the device to slow down the electronics, the temperature sensor trips. If you try to glitch the power rail, the voltage sensor trips.
Herman
And drilling is the canonical attack because it's how you reach the key store without opening the case. You drill through the potting compound, through the shielding, down toward the die where the keys live. The mesh is there to detect exactly that, the physical intrusion path.
Corn
Let's talk about that potting compound for a second, because it's doing more work than people realize. The potting compound is an epoxy resin that fills the entire enclosure. It's not just there to make drilling harder, though it does that. It's there to make the tamper sensors impossible to bypass. You can't just open the case and reach in with a probe, because there's no air inside. It's a solid block. Every path to the die goes through the mesh, and the mesh is the alarm.
Herman
And the potting compound has another property. It conducts heat. If you try to mill it away, you generate heat. The temperature sensor sees that. If you try to dissolve it with solvent, the solvent attacks the mesh wires. The whole design is built around the idea that there is no silent path to the key store. Every path makes noise, and the noise trips a sensor.
Corn
The response chain is sensor trip, tamper circuit fires, key store zeroized, device bricks itself. And the timing constraint is brutal. The wipe has to complete faster than an attacker can reach the die. That's why HSMs use battery-backed SRAM for key storage rather than flash. SRAM is volatile. Pull power, and the keys are gone. The battery is there to keep the keys alive during normal operation, but the tamper circuit can cut that battery connection instantly, and the SRAM loses state in microseconds.
Herman
Flash would be a disaster for this. Flash retains data without power. You'd have to actively overwrite it, and that takes time, and the attacker is drilling toward you while you're trying to overwrite. SRAM gives you a physical property, volatility, that does the work for you.
Corn
And the microsecond timing is worth sitting with. The tamper circuit doesn't run software. It's not a process that has to be scheduled. It's a logic gate. Sensor trips, transistor switches, battery disconnects, SRAM loses state. The whole thing happens at the speed of electronics, not the speed of computation.
Herman
Now the downed drone. The military logic is that a captured UAV is a reverse-engineering windfall. Comms keys, crypto, firmware, sensor calibration, the datalink. Zeroization is built in so that catastrophic loss of the airframe also means catastrophic loss of the secrets.
Corn
And the trigger design problem is interesting. You need the wipe to fire on crash detection without firing on a hard landing. A drone that wipes itself every time it bounces on the runway is not a useful drone. And you need it to fire even if the operator has lost the link. So it can't be a commanded action, because the command might never arrive.
Herman
That's a dead-man logic. If I stop hearing from home, I erase. The drone trusts a timer and a crash sensor, not a human pressing a button. And on modern systems this is almost always crypto erase. The keys live in volatile or self-destructing storage, and the wipe is really just stop retaining the key.
Corn
The dead-man logic has its own failure mode, and it's worth naming. If the drone loses contact because of radio interference, not because it crashed, does it wipe? That's a design parameter. How long do you wait? How many missed check-ins before you conclude that the airframe is lost? And every second you wait is a second the enemy has to find the wreckage and extract the keys.
Herman
And the crash sensor has to distinguish between a crash and a hard landing. That's not a trivial problem. A hard landing can produce forces that look a lot like a crash to an accelerometer. The designers have to pick a threshold, and the threshold is a compromise between wiping too eagerly and wiping too late.
Corn
The contrast in trust models is the thing to notice. The HSM trusts physics, a sensor it can't be talked out of. The drone trusts a dead-man switch, a timer it can't negotiate with. Neither trusts a human.
Herman
And in both cases, the zeroization is designed to be unverifiable by the party who triggered it. The mission wants the keys gone, not a receipt. Nobody at headquarters is waiting for the drone to phone home and confirm the wipe. The whole point is that the drone goes silent.
Corn
And if the drone did phone home to confirm the wipe, that confirmation would be a security failure in itself. It would mean the drone still had a functioning radio, functioning crypto, functioning keys. The confirmation would be proof that the wipe hadn't completed.
Herman
That's the exotic end. Now let's bring it down to the laptop your employer handed you, because the same logic applies and the same paradox shows up.
Corn
The threat model is different. It's not a nation-state drilling your HSM. It's a lost bag, a stolen car, a departing employee, a border search. And the question Daniel asked is whether MDM can remotely activate a zeroizing process.
Herman
The answer is yes, with a big asterisk. MDM can command a wipe, and on modern platforms that wipe is usually a crypto erase under the hood. On iOS and Android, erase all content and settings destroys the file-system key held in the secure enclave or the trusted execution environment. The encrypted user data becomes unrecoverable almost instantly, because the key that decrypts it is gone.
Corn
And the secure enclave is doing the same thing the HSM does, just in a consumer package. It's a hardware root of trust. The key never leaves the enclave. When you tell the OS to wipe, the OS tells the enclave to destroy the key. The enclave does it in hardware. The OS doesn't get a say.
Herman
On Windows, BitLocker does the equivalent. You clear the TPM, destroy the key, and the encrypted volume is now unreadable. On Linux, it's LUKS header destruction or cryptsetup erase. You destroy the header that holds the key encryption keys, and the rest of the disk is noise.
Corn
Linux is the least standardized of the three. With Windows and the phones, the platform vendor built the zeroization path and the MDM hooks into it. With Linux, you're often scripting it yourself, or relying on a management agent that knows how to find the LUKS header and destroy it. It's doable, but it's not a checkbox.
Herman
Here's the limit that matters. MDM is a software-level control issuing a command to a cooperating OS. It is not a hardware tamper circuit. If the OS is compromised, if the device is offline, if the command is intercepted, or if the attacker images the disk before the command lands, MDM gives you nothing.
Corn
That's the gap between remote wipe as a compliance checkbox and zeroization as a security property. One of them is a message you send. The other is a physical guarantee. They are not the same thing, and conflating them is how organizations end up with a policy that says verified remote wipe and a reality where the laptop is on eBay with the disk intact.
Herman
Let's talk about that eBay laptop for a second, because it's not hypothetical. There are studies that buy used drives from auction sites and run forensic tools on them. The hit rate for recoverable data is depressingly high. Some of those drives came from organizations that had a remote wipe policy. The policy existed. The wipe didn't.
Corn
The failure pattern is almost always the same. The device was offline when the wipe command was sent. Or the device was decommissioned and the wipe was supposed to happen then, but the decommissioning process was a checklist item that someone skipped. Or the wipe command was sent and the device acknowledged it, but the acknowledgment was a lie because the OS was already compromised.
Herman
Now we hit the verification paradox, which is the intellectual heart of this whole question. To verify a wipe remotely, you need the device to report back. But a successful wipe destroys the keys, and on a properly designed system it also destroys or invalidates the networking credentials, the VPN certificates, the MDM enrollment identity. The device goes dark precisely because it worked.
Corn
A device that reports wipe successful is a device that still has enough intact state to talk to you. That's exactly the state you were trying to eliminate.
Herman
Every remote-wipe attestation is either a report from a device that hasn't fully zeroized, or a report from a device that zeroized everything except a deliberately carved-out reporting channel. And that carve-out is an attack surface. It's a piece of the device that survives the wipe, which means it can be found, examined, and potentially exploited.
Corn
The carve-out is a real design decision. Some MDM platforms do exactly this. They keep a small, separate partition with a minimal network stack and a reporting agent. That partition survives the wipe of the main data partition. It's there specifically so the device can phone home and say the wipe happened. But that partition is also a little island of code that didn't get wiped. It has keys. It has network access. It has a management channel. It's a target.
Herman
There's no third option. Either the wipe didn't finish, or the wipe left a door open so it could tell you it finished.
Corn
This is why high-assurance environments fall back on physical verification. You pull the drive, you inspect it, you sign a form. That's the only verification that actually verifies.
Herman
The knock-on effect is that this shapes procurement and policy. Compliance frameworks that demand verified remote wipe are demanding something that cannot exist in the strong sense. So vendors deliver the weak sense, a log entry that says the command was sent, and auditors accept it. The gap between those two things is where real incidents live.
Corn
Think about what that log entry actually says. It says the MDM server transmitted a command. It does not say the command executed. It does not say the key was destroyed. It does not say the disk is unrecoverable. It says a message went out. That's a delivery receipt, not a proof of destruction.
Herman
The delivery receipt is the thing that gets filed in the compliance folder. The auditor sees a log entry with a timestamp and a device ID and a command name. That looks like evidence. It isn't. It's evidence that a message was sent. It's the equivalent of proving you mailed a letter by showing the post office receipt. It doesn't prove the letter was read, or that the recipient did what the letter asked.
Corn
This is where sovereign computing comes back in. The whole appeal of sovereign hardware is that the trust anchor is physical and local, not a remote command you have to take on faith. Zeroization is the clearest example of that principle. The only wipe you can trust is one you can't ask about.
Herman
If you can ask about it, and get an answer, then the thing you asked about is still there in some form. The question itself requires the survival of the thing you were trying to destroy.
Corn
What actually exists in the wild? Let's be concrete. On the phone side, the answer is basically solved. iOS and Android both have a crypto erase path built into the hardware, and MDM can trigger it. The command goes to the OS, the OS tells the secure enclave or the TEE to destroy the file-system key, and the data is gone.
Herman
The nuance is that the command has to arrive. If the phone is off, or in airplane mode, or the SIM is pulled, the command sits in a queue somewhere. The phone isn't wiped. It's just waiting to be wiped. And if the attacker never lets it connect, it never will be.
Corn
The attacker who steals a phone knows this. First thing you do with a stolen phone is put it in a Faraday bag. No signal in, no signal out. The wipe command never arrives. The phone sits there, encrypted but not wiped, and the attacker has all the time in the world to try to extract the key.
Herman
On Windows, BitLocker gives you the same basic shape. The key hierarchy is designed so that clearing the TPM or destroying the key protector renders the volume unreadable. MDM can send that command through the management channel, and if the device is cooperating, it works.
Corn
The same offline problem applies. A laptop in a drawer with the battery dead is not going to receive the wipe command. A laptop that's been reimaged by the thief is not going to receive the wipe command. The MDM channel only works when the device is on, online, and running the management agent.
Herman
Linux is where it gets patchy. LUKS is the standard, and destroying the header is the standard move. But there's no universal MDM equivalent for Linux. You're looking at configuration management tools, custom scripts, maybe a commercial agent if the distro is supported. The mechanism exists, but the standardization doesn't.
Corn
The remote trigger mechanisms are worth naming. There's the straightforward MDM command, which requires the device to be online and the OS to be healthy. There's the dead-man timer, the drone model, where the device wipes itself if it hasn't checked in for a certain period. There's the geofence trigger, where the device wipes if it leaves a defined area. And there's the failed-auth trigger, where too many wrong passwords triggers a wipe.
Herman
Each of those has a different failure pattern. The MDM command fails if the device is offline. The dead-man timer fails if the attacker keeps the device online and just suppresses the check-in. The geofence fails if the attacker spoofs location. The failed-auth trigger fails if the attacker never tries to log in, just pulls the disk and reads it directly.
Corn
The dead-man timer has a nasty edge case. If the device is legitimately offline for a long period, say an executive who doesn't travel for six months and leaves the laptop in a drawer, the timer fires and wipes a device that wasn't lost. Now you've destroyed data on a device you still own, and the user is angry.
Herman
The failed-auth trigger has a different edge case. A toddler gets hold of the phone and enters the wrong passcode enough times. The phone wipes. The toddler's parent is now very angry. These triggers are blunt instruments. They work, but they work by destroying things, and sometimes they destroy things you wanted to keep.
Corn
All of them share the verification problem. The moment you ask for proof, you've reintroduced the reporting channel, and the reporting channel is a survival mechanism for the very state you wanted gone.

Hilbert: Certified zeroized. That was the sticker. I had a stack of them in the late nineties, working as a field tech for a company that refurbished and resold leased office equipment. Mostly desktops, a few early laptops. My job was to certify the drives as wiped before resale. They gave me a boot floppy and a sticker that said certified zeroized, and I was told to apply the sticker after the tool ran.

Hilbert: The tool ran for about forty seconds regardless of drive size. A four gigabyte drive cannot be overwritten in forty seconds. I worked that out on my own, because nobody explained it to me. The tool was wiping the partition table and the first few megabytes, then reporting success. I asked my supervisor. He told me the sticker was what the customer was buying, not the wipe.

Hilbert: I still have one of the stickers. It's in a drawer. I have never been able to throw it away. It's the most honest document I ever signed, because it said exactly what it was. A certification of a process nobody had checked.
Herman
The sticker is the remote wipe confirmation. It's the log entry that says the command was sent. It's the attestation from a device that still has enough state to talk.
Corn
The honesty of it is the thing. The sticker didn't claim the drive was unrecoverable. It claimed that a process had run. That's a true statement about a process, not a false statement about a drive.

Hilbert: The company later got a contract to handle equipment for a government agency. I have always wondered what happened to those drives. I never found out.
Herman
That's the gap between the strong claim and the weak claim. The strong claim is the drive is unrecoverable. The weak claim is a process ran. The sticker only made the weak claim, and that's why it was honest.
Corn
The government contract is the part that sits with you, because now the weak claim is attached to equipment that actually matters. The sticker says a process ran. The process was forty seconds on a four gigabyte drive. The equipment went somewhere important.

Hilbert: I applied the sticker after the tool ran. That was the whole job. Boot the floppy, run the tool, wait forty seconds, apply the sticker. I got paid by the drive.
Corn
The sticker is basically the whole episode in one object. A certificate of destruction that certifies a process, not a state, and the process was forty seconds of writing zeros to the first few megabytes.
Herman
The thing is, the sticker was probably fine for most of the drives. The data was probably unrecoverable in practice, because the drives were going to be reformatted and resold, and the buyers weren't forensic labs. The sticker was adequate for the threat model. It just wasn't what it said it was.
Corn
Which is the same as every remote wipe attestation. It's adequate for the threat model until it isn't, and the moment it isn't, the sticker is the only thing standing between the auditor and the truth.
Herman
Here's the uncomfortable follow-up question. How many of those stickers are still being applied today, in digital form, by organizations that should know better? How many compliance dashboards are showing green checkmarks that mean a command was sent, not that a key was destroyed?
Corn
The checkmark is the sticker. It's the same object, just rendered in pixels instead of adhesive. A green checkmark next to device wiped means the MDM server sent a command. It doesn't mean the command executed. It doesn't mean the key is gone. It means a message went out, and the system recorded that the message went out.
Herman
The open question Daniel's prompt leaves us with is what the honest thing is to put in a policy document. If a verified remote wipe cannot exist in the strong sense, is we command a wipe and log it acceptable if everyone knows what it means?
Corn
I think that's the wrong question. The right question is whether the policy document says what it means, or whether it says the thing the auditor wants to hear. The sticker was honest because it said certified zeroized, which is a process claim, not a state claim. Most policies say verified remote wipe, which is a state claim, and that's the lie.
Herman
The fix is not complicated. Change the word verified to commanded. A commanded remote wipe is a true statement. You sent the command. You logged the command. You can prove you sent it. What you cannot prove is that the command did anything. The word verified is the lie. The word commanded is the truth.
Corn
If you change the word, the auditor might push back. The auditor wants verified. The auditor wants to see evidence of destruction. But the auditor is asking for something that cannot exist, and the honest answer is to say that out loud. The emperor has no clothes, and the clothes are a green checkmark.
Herman
As more of the fleet becomes crypto-erase-by-default, phones already are, laptops are heading there, the zeroization question stops being about exotic hardware and becomes about whether the key hierarchy is designed so that one command really does destroy everything, or only most of it.
Corn
The wipe you can verify is the wipe that didn't finish. That's the thing to remember. If you can ask the device whether it wiped itself, and the device answers, then the device still has enough of itself left to answer. The answer is the proof that the wipe failed.
Herman
That's not a flaw in the design. That's the design working as intended. The silence is the success signal. The receipt is the failure.
Corn
We'll be back soon with more of Daniel's prompts. If you want to send us your own weird prompt, email us at show at my weird prompts dot com. This has been My Weird Prompts, and we'll see you tomorrow.

This episode was generated with AI assistance. Hosts Herman and Corn are AI personalities.