Reverting a snapshot is a destructive operation wearing the costume of a safety net. We talk about it as "going back", which sounds reversible and harmless, but what actually happens is that every byte written since the checkpoint is discarded without ceremony — including the four hours of annotation work you did on a sample between taking the snapshot and realising the thing had tampered with the VM in a way you couldn't be bothered to unpick.
That is the quiet problem at the heart of every malware analysis lab, and the argument for putting a Ghidra server next to it rather than keeping projects on the analysis box. It is also a much more general lesson about infrastructure design than it first appears.
Ephemeral compute is only useful if you've decided what's durable
The virtualised lab pattern is sound: clean base image, snapshot, detonate, observe, revert. The whole value proposition is that the machine is disposable. You can let something genuinely nasty run because the environment is cattle, not a pet.
But you can't have disposable compute without first answering the question it forces on you: which state is allowed to die with the VM, and which has to survive? If you never answer that explicitly, the answer gets made for you by accident, and it's usually the wrong one. Analyst notes, function renames, type definitions, decompiler comments, scripts, extracted configuration, IOCs — that's the actual product of the work. The VM is just the machine that produced it.
The same confusion shows up all over enterprise IT. Non-persistent VDI where someone has quietly been keeping working files on the C: drive. Build agents that were meant to be stateless but accumulated a tool chain nobody can reproduce. Jump boxes that became the de facto home of a dozen scripts. Every one of those is the same failure: durable state living on infrastructure that was designed to be thrown away.
What a shared Ghidra repository actually gives you
Ghidra ships with a server component that supports shared projects — multiple analysts working against a common repository, with versioning and check-in/check-out semantics on program files. For a single analyst, the obvious win is survivability: your analysis lives outside the blast radius of a revert, so the snapshot stops being a decision between "stay dirty" and "lose work".
For a team, the win is bigger and less obvious. Reverse engineering output is notoriously siloed — one person's deep understanding of a loader family sits in a project file on their laptop and nobody else can build on it. A shared repository with version history turns that into an asset the organisation owns rather than one an individual holds. If your analyst leaves, the knowledge doesn't walk out with the machine.
It also gives you something to point auditors and incident reviewers at. "How did we conclude this was that family?" is a much easier question when the analysis is versioned rather than reconstructed from memory and a Teams message.
You've just connected a hostile machine to something you care about
This is the part that deserves more thought than it usually gets. The entire premise of the analysis VM is that it is compromised — deliberately, repeatedly, by code you don't understand yet. The moment you give that machine a network path to a server holding work you value, you have created a pivot and a contamination route.
My view is that the lab network should be treated with the same hostility you'd apply to an untrusted third party, and probably more. Practically, that means:
- No domain join, ever. Neither the analysis VMs nor the repository server should touch your production identity plane. No corporate credentials, no SSO, no shared secrets with anything on the business network.
- A dedicated segment with explicit egress rules. Default-deny outbound from the analysis VMs, with a narrow allowance to the repository port and nothing else. Internet access, if you need it at all, should be deliberate and brokered.
- Treat the repository server as in-scope for compromise. It is reachable from a machine you are intentionally infecting. Patch it, log it, and keep its backups somewhere the lab cannot reach.
- Keep samples out of the repository. Analysis artefacts and live binaries are different classes of data with different handling rules; mixing them turns your knowledge store into a malware distribution point.
- Back it up, because it is no longer disposable. The whole point of moving state off the VM is that it now matters. That makes it something with an RPO, an owner and a restore test.
That last point is the one teams most often miss. You solve the "snapshot ate my work" problem by creating a single server that holds all the work — and if nobody has owned the backup of that server, you've concentrated the risk rather than removed it.
The operational question nobody asks until it's too late
Who runs this thing? A malware analysis lab is frequently built by one enthusiastic person on hardware that sits in a cupboard, outside asset management, outside patching, outside monitoring. It works brilliantly for about eighteen months and then becomes an orphan with a shared repository on it that three people depend on.
If the lab is going to produce output the organisation relies on, it needs to be in the inventory, have a named owner, and be in scope for the same lifecycle processes as anything else — even if it's deliberately segregated from everything else. Shadow IT built by your own security team is still shadow IT.
[AUTHOR: if you've run or stood up an analysis environment, add a concrete note here about how you handled ownership and segregation.]
The generalisable point
Strip away the reverse engineering and this is a design principle that applies to half the platform work most of us do: separate the thing that runs from the thing that's valuable, and then be explicit about protecting the valuable half. Containers taught a generation of engineers this lesson with volumes. Snapshots teach it with loss.
If your lab's recovery procedure is "revert and hope I wrote enough down", you don't have a lab process — you have a habit. The fix is cheap, well documented and entirely within your control.
Source: Deploying a Local Ghidra Server for Your Malware Analysis Lab (SANS Internet Storm Center)