Security · 7 min read
Ransomware: how it gets in, the first hour, and getting back up
How ransomware reaches small businesses, what to do in the first hour after an attack, how recovery works, and the steps that stop it happening again.

Last updated 21 November 2026
Ransomware is survivable if you act calmly, isolate quickly, protect your backups and rebuild cleanly rather than rushing to switch everything back on.
Ransomware is malicious software that encrypts your files so they cannot be opened, then demands payment for the key. Many attacks now also copy data out first and threaten to publish it. It hits businesses of every size, and small offices are attractive because they often have weaker defences and less ability to wait out the disruption.
This article covers how ransomware usually gets in, what to do in the first hour after you notice it, how a sound recovery works, and the changes that make the next attempt fail. If you are reading this during an attack, jump straight to the first-hour section.
How ransomware gets in
Very few attacks rely on clever technical tricks. Most start with something ordinary: a staff member opens an attachment or link in a convincing email, a password reused from another site is tried against remote access, or an old server or firewall with a known flaw is left exposed to the internet. Once inside, attackers often wait and explore before encrypting anything, looking for backups to delete and admin accounts to take over.
- Phishing emails with malicious attachments or fake login pages
- Remote desktop exposed to the internet with weak passwords
- Unpatched firewalls, VPNs and servers with known flaws
- Stolen or reused passwords without multi-factor sign-in
- Pirated software and dodgy downloads on work computers
The first hour: what to do
Signs include files that will not open and have strange extensions, a ransom note on screen or in folders, and computers slowing as they encrypt. Unplug the network cable and turn off Wi-Fi on any affected computer straight away, and disconnect the backup drive or NAS if it is still attached. Do not shut machines down unless advised, as memory can hold useful evidence.
Then call for help: your IT support, your cyber insurer if you have one, and CERT NZ, which is part of the NCSC. Insurers often require you to use their response team, so check before engaging anyone else.
- Disconnect affected devices from the network, but leave them powered
- Isolate backups and turn off any sync to cloud storage
- Photograph ransom notes and note the time you noticed
- Change passwords from a clean device, starting with email and admin
- Contact IT support, your insurer and CERT NZ
To pay or not to pay
Paying is a business decision, but it is rarely a good one. There is no assurance the key will work, decryption is often slow and incomplete, and paying marks you as willing to pay again. If data was stolen, payment does not reliably stop it being sold or published. Authorities in New Zealand advise against paying.
The strongest position is having clean backups that the attackers could not touch. Then the question of paying barely arises, because restoring is quicker and more certain than negotiating.
Recovery done properly
The temptation is to restore files and get back to work. The risk is that the attacker still has a foothold - a hidden account, a remote tool, a compromised server - and comes back. A sound recovery finds how they got in, removes their access, and rebuilds affected machines from clean installations rather than trusting what is left.
Restore data from a backup taken before the attack began, scanning it first. Reset every password, review admin accounts, check email forwarding rules, and bring systems back in order of importance so the business can trade again while the rest is finished.
Your obligations after an attack
If personal information about customers or staff may have been accessed or stolen, the Privacy Act may require you to notify the Office of the Privacy Commissioner and the people affected, where the breach is likely to cause serious harm. Keep notes of what happened, when, and what you did, as this record helps with any notification and with an insurance claim.
Tell your bank if payment systems may be affected, and be ready to warn customers about fake invoices sent from a compromised mailbox. A short, honest message to customers and suppliers, sent from a clean account, protects them and keeps their trust far better than silence does.
Making the next attempt fail
Prevention is the same short list that keeps coming up because it works. Turn on multi-factor sign-in everywhere it is offered, keep operating systems and applications patched, remove admin rights from everyday accounts, and close remote desktop to the internet. Put modern endpoint protection on every computer and a properly configured firewall at the edge.
Above all, keep backups that cannot be altered from your network, with a copy offsite, and test restoring them. A business that can restore cleanly turns ransomware from a crisis into a bad few days.
Key points
- Most ransomware enters through phishing, weak remote access or unpatched systems
- Disconnect affected devices and protect backups the moment you notice
- Contact IT support, your insurer and CERT NZ early
- Rebuild from clean installs and pre-attack backups, not leftovers
- MFA, patching, limited admin rights and locked backups stop most attacks
Related services
Virus & Scam RemovalPop-ups, scam calls and nasty software cleaned up.Backup Setup & Disaster RecoveryBackups that follow the 3-2-1 rule and are restore-tested.Firewall & Network SecurityBusiness firewalls, VLANs and VPNs configured and documented onsite.Common questions
Should we turn the computers off?
Disconnect them from the network instead and leave them on unless told otherwise. Pulling the power can destroy evidence of how the attack worked, which helps make sure the attacker is removed properly.
Can encrypted files be recovered without paying?
Sometimes. Clean backups are the reliable route. For a few older ransomware types, free decryption tools exist. Shadow copies and cloud version history can also help, though attackers often delete them first.
Can you help after an attack?
Yes. We can come onsite to isolate affected machines, work with your insurer's team, rebuild computers, restore from backup and close the gaps that let the attack in. Use the booking form and mark it urgent.
More articles
- The Essential Eight explained for NZ small businessesThe Essential Eight cyber security strategies in plain English: what each one means, why it matters, and how a small NZ business can make a start on them.
- Multi-factor authentication in plain English, and how to roll it outWhat multi-factor authentication is, how app prompts, codes, texts and security keys compare, and a practical plan to roll MFA out to staff without chaos.
- How to spot phishing emails, texts and calls, and what to do nextLearn the signs of phishing in emails, texts and phone calls, the invoice scams aimed at NZ businesses, and exactly what to do if someone has clicked.
- Cloud vs local backup: what a small office should actually doCloud or local backup? How each one works, where each falls short, how the 3-2-1 rule fits together, and a practical backup setup for a small NZ office.
