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 Dimension | RAM-Only (Diskless) VPN Node | Full-Disk Encryption (LUKS / dm-crypt) |
|---|---|---|
| Operating System Storage | Loaded into memory via PXE, network boot, or read-only bootloader (stboot); no local writable disk | Stored on persistent SSD/HDD; block devices encrypted via AES-256 or ChaCha20 |
| Runtime Working Memory | DRAM chips; holds active routing tables, WireGuard/OpenVPN keys, and packet buffers | DRAM chips; holds active routing tables, WireGuard/OpenVPN keys, and packet buffers |
| Persistent Write Medium | Physically absent, electrically disconnected, or restricted to a hardware write-blocker | Encrypted partition mounted read/write or read-only under local kernel control |
| Cryptographic Key Storage | Ephemeral tunnel keys exist in memory; no disk encryption master key needed | Encryption master key held in memory after remote injection during boot |
| State After Power Loss | Capacitor discharge clears memory in seconds; residual charge decays rapidly | Ciphertext 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:
- The server boots up and pulls its disk decryption passphrase across an authenticated network connection from an off-site key management server.
- The key resides strictly in volatile memory to service runtime disk I/O.
- 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.
- Live Memory Forensics: If law enforcement or datacenter staff attach a hardware Direct Memory Access (DMA) device over PCIe, connect through an unmanaged Baseboard Management Controller (BMC/IPMI), or capture an image of active memory before powering down, every cryptographic secret is exposed. This includes private WireGuard server keys, active session keys, and connection tables mapping user origin IPs to external destination IPs.
- Hypervisor Introspection: A significant percentage of commercial VPN nodes run on virtualized cloud instances rather than dedicated bare-metal hardware. If the host hypervisor (KVM, ESXi, Xen) is controlled by an adversary, the host kernel can inspect, snapshot, or dump the guest virtual machine's RAM at any millisecond without rebooting or interrupting the server.
- Upstream Network Taps: If an adversary wants to correlate user traffic, they do not need to tamper with the server's storage medium. Splitting the fiber connection at the datacenter switch captures all incoming and outgoing packets before and after tunnel encapsulation.
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:
- An engineer troubleshooting a routing table flap turns on verbose debugging in an OpenVPN or WireGuard service and forgets to revert the configuration file.
- An automated OS patch enables an audit logging subsystem that begins capturing SSH sessions, authentication attempts, or network socket state.
- A core dump utility writes complete memory dumps to a local swap partition during a kernel panic.
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:
- 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.
- 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 Vector | Full-Disk Encryption (LUKS) | RAM-Only (Diskless / stboot) |
|---|---|---|
| Server powered down and seized | Protected mathematically (assuming off-site key isolation); vulnerable to long-term cryptanalysis or key discovery | Protected physically; data destroyed completely upon capacitor discharge |
| Live server memory acquisition (powered on) | Vulnerable; active keys and packet buffers reside in RAM | Vulnerable; active keys and packet buffers reside in RAM |
| Hypervisor memory snapshot (virtualized node) | Vulnerable; memory inspected directly from host | Vulnerable; memory inspected directly from host |
| Passive datacenter fiber wiretap | Vulnerable to traffic correlation and timing attacks | Vulnerable to traffic correlation and timing attacks |
| Accidental sysadmin logging / config drift | High risk; logs persist silently on encrypted disk blocks | Negligible; no writable physical storage; writes crash or vanish |
| Persistent malware implants across reboots | Possible; malware can modify local filesystem or bootloader | Prevented; reboots pull a fresh, pristine cryptographic image |
| Supply-chain attack during server boot | Contained locally by local disk verification | High 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:
- Deployment on dedicated bare-metal servers rather than shared virtualized cloud hosts.
- Cryptographically signed, reproducible boot images verified by a measured bootloader (
stbootor equivalent) tied to physical TPM hardware. - Independent, third-party architectural audits validating that runtime filesystems operate in read-only mode and write no diagnostic artifacts to local firmware or non-volatile NVRAM caches.
References
- Proton VPN - Why Proton VPN doesn't use RAM-only VPN servers
- Mullvad VPN - We have successfully completed our migration to RAM-only VPN infrastructure
- Mullvad VPN - Diskless infrastructure in beta (System Transparency: stboot)
- ExpressVPN - TrustedServer: How RAM-Only Servers Boost Security
- Cure53 - Security Assessment of ExpressVPN TrustedServer