AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

i365Finds Editorial is the independent research and editorial organization behind 365 Wiki. We follow changes in tools, products, services, entertainment, and digital life around the world, turning scattered and fast-moving information into clearly sourced, well-structured public content that is easier to understand and compare.
Indexed 89,388 Wiki articles

RAM-Only VPN Servers vs. Encrypted Disks: What Threat Models Actually Prove

片山和佳子 · 365Finds Editorial

VPN marketing has turned "RAM-only" into shorthand for absolute immunity. The pitch sounds reassuringly physical: because dynamic random-access memory is volatile, pulling the plug vaporizes every trace of your activity into nothingness. No disks, no logs, no forensic trail.

At 365Finds, we find this pitch useful, but frequently misleading.

The security difference between a stateless RAM-only server and a machine running full-disk encryption (FDE) is real, but it does not protect against what most users assume it protects against. If an intelligence agency taps a fiber backbone, or if law enforcement executes a live memory acquisition while a server remains powered on, RAM-only infrastructure provides zero additional defense. The practical divide between these architectures centers on two far more mundane, operational realities: how systems behave after an abrupt loss of power, and whether human operational errors can silently record user activity over time.


The Two Architectures at the Physical Layer

To evaluate either approach against realistic threat models, we have to strip away the promotional language and look at where data resides while an operating system is running.

Architectural DimensionRAM-Only (Diskless) VPN NodeFull-Disk Encryption (LUKS / dm-crypt)
Operating System StorageLoaded into memory via PXE, network boot, or read-only bootloader (stboot); no local writable diskStored on persistent SSD/HDD; block devices encrypted via AES-256 or ChaCha20
Runtime Working MemoryDRAM chips; holds active routing tables, WireGuard/OpenVPN keys, and packet buffersDRAM chips; holds active routing tables, WireGuard/OpenVPN keys, and packet buffers
Persistent Write MediumPhysically absent, electrically disconnected, or restricted to a hardware write-blockerEncrypted partition mounted read/write or read-only under local kernel control
Cryptographic Key StorageEphemeral tunnel keys exist in memory; no disk encryption master key neededEncryption master key held in memory after remote injection during boot
State After Power LossCapacitor discharge clears memory in seconds; residual charge decays rapidlyCiphertext remains on disk; volume locks instantly as key vanishes from RAM

Looking closely at the mechanics reveals an immediate takeaway: during live execution, the two systems are almost identical. Both architectures process your unencrypted VPN tunnel traffic inside DRAM.

The divergence begins only when the hardware loses power, or when a background process attempts to write diagnostic logs to persistent storage.


Scenario A: The Physical Datacenter Seizure

Consider the classic worst-case privacy scenario. A judicial order is served directly to a colocation facility in a third-party jurisdiction. Investigators seize the physical chassis from the rack, severing power cords in the process.

The RAM-Only Outcome

When power drops, DRAM capacitors discharge. At standard server room temperatures, memory contents decay within seconds. While cold-boot attacks—chilling RAM modules with liquid nitrogen or compressed air to preserve residual charge—are theoretically possible, they require immediate physical access to a still-powered or recently running system within a window of seconds. In an abrupt rack seizure where the server is unplugged, boxed, and transported to a forensics laboratory, post-mortem data recovery from physical memory chips is impossible. Because there are no attached hard drives, forensic investigators are left with bare metal and unprogrammed silicon.

The Encrypted Disk Outcome

Providers defending full-disk encryption—most visibly Proton VPN—argue that FDE accomplishes the exact same defensive result under this specific threat. In a properly configured deployment using Linux LUKS (Linux Unified Key Setup) and dm-crypt:

  1. The server boots up and pulls its disk decryption passphrase across an authenticated network connection from an off-site key management server.
  2. The key resides strictly in volatile memory to service runtime disk I/O.
  3. The moment power is cut, the volatile key vanishes. The SSD remains filled with ciphertext.

Mathematically, recovering plaintext from an AES-256 partition without the key requires defeating modern symmetric cryptography—a task impossible with conventional computing.

Where the Defense Differs

If both yield zero recoverable plaintext after power-off, why do providers like Mullvad and ExpressVPN spend substantial engineering capital eliminating disks entirely?

Because an encrypted drive represents a durable mathematical target. An encrypted SSD can sit in an evidence locker for decades. If the provider's off-site key provisioning infrastructure is later breached, if a backup of the remote key escrow is obtained through legal discovery, or if an implementation flaw is uncovered in the key-derivation function, that disk can eventually be decrypted.

RAM-only architecture removes the target completely. Physics enforces what software cryptography merely promises: you cannot extract data from storage media that does not exist.


Scenario B: The Live Seizure and Runtime Interception

Here is where 365Finds urges caution against marketing exaggerations.

Neither RAM-only deployment nor full-disk encryption defends against an adversary who compromises the system while it is actively processing traffic. In threat modeling, physical possession of running hardware invalidates almost all software-level privacy claims.

If a threat actor is executing a live, in-line wiretap or live kernel inspection, whether the operating system booted from an NVMe drive or an in-memory initramfs is irrelevant.


Scenario C: Configuration Drift and Accidental Logging

The most significant security advantage of diskless servers is rarely mentioned in consumer marketing: structural defense against human error.

Modern operating systems are inherently noisy. Linux system daemons (systemd-journald, rsyslog, auditd, kernel crash dump utilities) are designed to record diagnostic events, error codes, and unexpected socket closures to /var/log or persistent caches.

Even when a VPN provider maintains a strict "no-logs" policy, administrative slip-ups occur:

On a server backed by encrypted persistent storage, these accidental logs are written directly to disk. The disk is encrypted, but the historical records sit there, silently accumulating over months or years. If that server is subsequently compromised while running, or if the drive encryption key is ever obtained, the historical trail of user connections exists on the physical flash blocks.

On a true RAM-only server, permanent accidental logging is physically impossible.

The root filesystem is typically mounted as a read-only compressed squashfs, with transient writes routed to a constrained in-memory tmpfs. If an errant process begins flooding the system with connection logs, it does not create a hidden historical record on a drive. Instead, it exhausts available RAM, trips a memory pressure event, and triggers an out-of-memory kernel panic—crashing and rebooting the machine back into a pristine, stateless base image.

RAM-only enforces no-logs policies at the hardware level, removing reliance on human administrative discipline.


The Boot Chain Problem: Where RAM-Only Introduces New Risks

Diskless architecture solves local storage concerns, but it shifts the attack surface directly to the network boot pipeline.

When a server contains no local storage, it must fetch its entire operating system across a network every time it powers on:

  1. Unsecured PXE Booting: Traditional Preboot Execution Environment (PXE) setups use unencrypted TFTP and DHCP. An attacker with access to the local datacenter network can spoof DHCP responses, feed the server a backdoored kernel image, and hijack the machine before it boots into memory.
  2. System Transparency and Measured Boot: To mitigate network injection, providers like Mullvad rely on System Transparency frameworks such as stboot. The server boots via signed UEFI firmware, contacts a remote provisioning server over HTTPS, validates the cryptographic signature of the operating system bundle against pinned hardware certificates, and measures the result into a Trusted Platform Module (TPM).
[UEFI / Secure Boot Firmware]
       │
       ▼
[Measured Bootloader (stboot)]
       │
       ├─► (Verifies OS Signature via Pinned Root Keys)
       ├─► (Extends Hash to Hardware TPM PCR Registers)
       ▼
[Cryptographically Validated OS Image in RAM]
       │
       ▼
[Active Diskless Runtime (Stateless / Read-Only Root)]

If a diskless server lacks cryptographically verified boot chains and hardware attestation, its ephemeral nature provides false confidence: an adversary can compromise the bootloader or provisioning server and reliably infect the node at every single power cycle.


Threat Model Comparison Matrix

Threat / Attack VectorFull-Disk Encryption (LUKS)RAM-Only (Diskless / stboot)
Server powered down and seizedProtected mathematically (assuming off-site key isolation); vulnerable to long-term cryptanalysis or key discoveryProtected physically; data destroyed completely upon capacitor discharge
Live server memory acquisition (powered on)Vulnerable; active keys and packet buffers reside in RAMVulnerable; active keys and packet buffers reside in RAM
Hypervisor memory snapshot (virtualized node)Vulnerable; memory inspected directly from hostVulnerable; memory inspected directly from host
Passive datacenter fiber wiretapVulnerable to traffic correlation and timing attacksVulnerable to traffic correlation and timing attacks
Accidental sysadmin logging / config driftHigh risk; logs persist silently on encrypted disk blocksNegligible; no writable physical storage; writes crash or vanish
Persistent malware implants across rebootsPossible; malware can modify local filesystem or bootloaderPrevented; reboots pull a fresh, pristine cryptographic image
Supply-chain attack during server bootContained locally by local disk verificationHigh risk unless mitigated by signed UEFI and measured boot

How 365Finds Evaluates the Choice

We evaluate infrastructure choices based on their threat boundaries, not their promotional branding.

Full-disk encryption is not inherently insecure. When implemented properly with remote key custody, it satisfies the baseline requirement of thwarting post-seizure hardware inspection. However, it requires continuous operational perfection. Every system daemon, log pipeline, update routine, and storage driver must be configured flawlessly to prevent sensitive artifacts from ever touching the disk blocks.

RAM-only infrastructure is superior not because it defeats the police or intelligence agencies in real time—it does not—but because it eliminates the accumulation of state. It limits an adversary's window of opportunity to the precise runtime lifecycle of a single boot session, and it replaces software-based operational trust with physical hardware constraints.

For maximum verification, 365Finds recommends prioritizing providers that combine diskless memory operations with three specific architectural safeguards:


References