MicroadsTeam Cyber by Microads, since 2015 Report an incident

Ransomware

Ransomware response: decisions for the first 48 hours

A ransomware response decision path for the first 48 hours: scoping, containment, backup checks, the ransom note, free decryptors, legal, and restore order.

The ransom note is on the screen and the business wants to know when it can work again. Ransomware response over the next 48 hours is a chain of decisions, each with a cost attached. This is how we work through them, and where the trade-offs sit.

Why ransomware response is really two incidents

Encryption is the last thing a ransomware operator does, and the loudest. MITRE files it under T1486, Data Encrypted for Impact. By the time it happens, the attacker has usually stolen credentials, mapped the network, tried to disable backups and security tools, and often copied data out.

So you have two incidents. The one you can see is encrypted files and stopped systems. The one you can’t see is how they got in, how long they’ve been inside, what they took and what they left behind to get back in. Pressure from the business pulls everyone toward the first. The expensive mistakes come from ignoring the second: restoring quickly onto an environment the attacker still controls, then doing it all again the following week.

Hours 0–6: how far has it gone?

You need a rough map, not a perfect one. Give each of these questions a named owner:

  • Where are the ransom notes? The note usually has a fixed filename. Searching shares and endpoints for that name, through EDR if you have it, gives a quick picture of spread.
  • Are the hypervisors hit? Encrypting an ESXi host takes out every VM on it in one move. Renamed or unreadable .vmdk files, and SSH switched on where it’s normally off, are the tells.
  • Is the domain compromised? Look for new or recently edited Group Policy objects (a common way to push the encryptor), Event ID 7045 service installs across many hosts at once, and 4720 and 4732 for new accounts and group changes. If a domain admin account was used, treat the whole domain as compromised.
  • Did data leave? Rclone, MEGAsync, WinSCP or a freshly installed cloud sync client on a file server is a strong hint. So are large outbound transfers in the firewall logs in the days before encryption.
  • How did they get in? VPN logins without MFA, exposed RDP, an unpatched edge appliance, a phished user. You won’t settle this in six hours, but pull the VPN and firewall logs now, before they roll over.

The trade-off at this stage: don’t hold containment until scoping is finished. Contain on what you know and widen it as the map fills in.

If you’re in this right now and nobody experienced is on the call yet, tell us what’s happening before anyone starts restoring. A premature restore is the hardest decision to undo.

Hours 0–12: containment you won’t regret

Every containment action costs something. The real question is which costs you can live with for a day.

Cutting internet access

Blocking all outbound traffic except to a short allow-list stops command-and-control and further exfiltration. It also breaks SaaS apps, payment integrations and possibly your phones. For the first day it is usually the right call. Write down everything you broke so you can turn it back on deliberately, not by accident.

Remote access

Suspend the VPN, RDP gateways and remote support tools such as AnyDesk or ScreenConnect, which attackers like to reuse. Staff working from home will be unhappy. That’s acceptable for now.

Accounts and the krbtgt question

Disable the accounts you know were used, and reset privileged passwords from a clean admin workstation, never from a machine on the affected network. Resetting the krbtgt account twice invalidates forged Kerberos tickets. But if the attacker still holds domain admin, they’ll simply mint new ones. Do it when you’re reasonably confident their access is closed, and leave enough time between the two resets for replication to finish.

Field note: Batch account disables into one coordinated sweep. Picking them off one by one over an afternoon tells a watching attacker to use whatever access you haven’t found yet, and some groups answer by encrypting or deleting whatever is left.

Hours 2–12: are the backups actually usable?

Almost every later decision depends on this answer, including whether anyone in the building starts talking about paying. Check early, and check properly:

  • Was the backup server joined to the domain, or did it run on domain credentials? If so, assume the attacker could log in to it.
  • Read the backup console’s own audit trail for logins, deleted jobs, shortened retention or removed restore points in the days before encryption.
  • Check whether volume shadow copies were deleted. vssadmin delete shadows /all /quiet turning up in process creation logs (4688) is a classic pre-encryption step.
  • Find your immutable or offline copies: object-locked cloud storage, tape, a disconnected repository. These are what you’ll most likely restore from.
  • Establish the intrusion date before choosing a restore point. A backup taken after the attacker arrived will bring their tools and persistence back with it.

Then prove it. Restore a representative system into an isolated network and confirm it boots and the data opens. Green ticks on the backup jobs are not the same thing as a working restore. Keep backup storage off the production network until the environment is clean. We cover how to build backups that survive this in backups that survive ransomware.

What do you do with the ransom note?

Preserve it. Copy the note file and photograph it on screen. Keep a handful of small encrypted files, plus clean originals of the same files from backup if you have them. That’s what you need to identify the strain.

Don’t open the chat link or reply from a corporate machine, and don’t let anyone do it “just to see what they want.” Some groups treat first contact as the start of a countdown, and it tells them you’re engaged.

Check No More Ransom next. Its Crypto Sheriff tool takes the note and two encrypted files and tells you whether a free decryptor exists. For current, actively run strains there usually isn’t one. The check takes ten minutes and occasionally saves weeks.

Whether to pay is a business decision for leadership, counsel and the insurer, not for the IT team. We don’t negotiate with or pay threat actors. What we do is make sure the people making that call know the real state of the backups, what data left, and whether a decryptor would shorten recovery at all, since attacker-supplied decryptors are often slow and incomplete. Counsel will also need to screen any payment against sanctions rules.

Notify the insurer as your policy requires, and ask early what they need from you: approved vendors, cost pre-approval, specific evidence. Bring in counsel to direct the investigation. In some jurisdictions that affects how the findings can be used later.

If personal data may have been taken, notification clocks may already be running. Under GDPR, a controller has to tell its supervisory authority within 72 hours of becoming aware of a personal data breach, unless the breach is unlikely to result in a risk to people (Article 33). Other regimes set their own rules. Counsel owns the decision, but they need facts from the technical team to make it.

The CISA and MS-ISAC Ransomware Guide has a response checklist that’s worth running alongside your own. Reporting to law enforcement belongs in this window too.

Hours 24–48: in what order do you restore?

The business will want the ERP back first. Restore it onto an untrusted domain and you are handing it back to the attacker. A sequence that holds up:

  1. A clean recovery environment. An isolated network segment and rebuilt admin workstations. Nothing from the affected network touches it unchecked.
  2. Identity. Active Directory restored from a pre-intrusion backup or rebuilt, then cleaned: every privileged password reset, krbtgt reset twice, GPOs, scheduled tasks and AdminSDHolder reviewed, unknown accounts removed.
  3. Core network services and the entry point. DNS, DHCP and firewall rules, with whatever let them in closed off: MFA on the VPN, the edge device patched or replaced.
  4. Backup infrastructure. Rebuilt and separated from the domain, so new data is protected from day one.
  5. Business-critical applications, in the order the business ranks them, with EDR installed before each one goes live.
  6. File servers and data, scanned before they rejoin the network.
  7. Endpoints. Reimage them. Cleaning is a false economy.

Full recovery often runs well past 48 hours, and any timeline you’re given at this stage is indicative. What you want at hour 48 is containment holding, a clean identity layer, backups proven by a test restore, and recovery under way in an agreed order.

Before anyone touches a backup, write the restore order on a whiteboard, put a name beside each line, and get the business owner to agree which application comes back first. That ten-minute conversation prevents most of the arguments on day two. If you want people who do this work to run it with you, see how our ransomware response service is set up. And if you’re still in hour one, step back to the first hour of a cyber incident.

Dealing with this right now?

A responder will acknowledge your report within 15 minutes, 24/7.

Related service: Ransomware Response