Ransomware Hit Your Files? What to Do in the First Hour
You open a document and Windows says it cannot read it.
Other files suddenly have unfamiliar extensions.
A ransom note appears in several folders.
A shared drive starts filling with encrypted files.
At that point, stop treating it like an ordinary computer problem.
Modern ransomware may involve much more than encryption. Attackers can also:
steal company data
compromise administrator accounts
destroy backups
create persistence
access Microsoft 365
threaten to publish sensitive information
The first hour should therefore be about:
containment → coordination → scope → evidence → identity → recovery planning
Not:
decrypt → restore → reinstall Windows
The NCSC’s July 2026 guidance specifically warns that rushing into recovery before understanding the attacker’s activity can significantly increase the risk of re-compromise.
The First Rule: Stop the Spread
If you discover ransomware on a computer:
stop using it immediately.
Disconnect it from:
Ethernet
Wi-Fi
VPN
mobile tethering
docking-station networking
Also disconnect attached removable storage such as:
USB drives
external SSDs
external hard disks
memory cards
The NCSC recommends immediately disconnecting ransomware-affected devices from network connections, while CISA similarly prioritises identifying and isolating affected systems.
Do not browse network shares from the infected computer trying to see what else has been affected.
Use a known-clean management device instead.
Minute 0–10: Isolate the Device
Your priority is to stop the infected machine communicating with other systems.
For one laptop, this might simply mean:
unplug Ethernet + disconnect Wi-Fi
For a larger incident involving several systems, containment may require temporarily restricting:
network segments
VPN
Remote Desktop
file sharing
internet-facing services
The NCSC notes that disconnecting systems can prevent further attacker commands, limit spread and preserve evidence.
But do not start disconnecting core infrastructure at random.
A poorly planned containment action can disrupt:
telephones
door access
recovery systems
monitoring
business-critical services
Someone who understands the environment should coordinate wider containment.
Should You Turn the Computer Off?
There is no single answer that is correct for every ransomware incident.
Disconnecting but leaving it powered on
Can preserve:
running processes
network connections
memory-resident malware
volatile forensic evidence
Powering it off
Can immediately halt some active processes but may destroy volatile evidence.
The NCSC’s current guidance explicitly says the decision should balance:
containment
business impact
safety
investigation requirements
and should ideally be informed by specialist advice.
A practical rule is:
If the computer can be safely isolated, isolate it first.
If it cannot be isolated and it is still actively damaging systems or data, stopping the damage may take priority over preserving every piece of volatile evidence.
Minute 10–15: Activate the Incident Response
Do not let ten employees independently troubleshoot the same ransomware incident.
Establish:
one incident lead
and:
one source of truth.
Notify the appropriate people, which may include:
IT
managed IT provider
cyber-security provider
senior management
data-protection lead
cyber insurer
legal advisers
The NCSC’s 2026 recovery framework recommends establishing a clear incident-command structure immediately so technical, operational, legal and communications decisions remain coordinated.
For significant incidents, the NCSC also recommends engaging an appropriately assured Cyber Incident Response provider where available.
Use a Safe Communication Channel
Do not assume:
email and Teams are trustworthy
during a cyber incident.
If the attacker has compromised Microsoft 365 or administrator accounts, they may be able to:
read communications
monitor response plans
observe password resets
learn what systems are being isolated
The NCSC recommends having secure or alternative communications available for sensitive incidents.
Use an unaffected channel where appropriate, such as:
trusted phones
separate messaging
clean devices
Avoid discussing sensitive containment details inside systems that may themselves be compromised.
Minute 15–25: Establish the Scope
Before planning recovery, work out what you actually have.
Ask:
How many endpoints are affected?
Are file servers affected?
Are virtual machines affected?
Is Microsoft 365 involved?
Are SharePoint or OneDrive files being encrypted?
Are backups still intact?
Are domain controllers affected?
Are administrator accounts compromised?
Is suspicious activity still continuing?
Is there evidence of data theft?
The NCSC’s new guidance places initial operational-state assessment firmly within the first few hours because recovery priorities depend on understanding the real extent of the disruption.
Do not assume:
one encrypted laptop = one affected laptop.
The visible ransomware event may be the final stage of a much larger intrusion.
Isolate Every Other Affected Device
If a second device shows:
ransomware note
encrypted files
unusual file extensions
obvious malicious behaviour
isolate it too.
Where an endpoint-detection platform is available, the security team may be able to isolate devices remotely.
For widespread incidents, broader segmentation may be necessary.
The goal is to stop:
lateral movement
while maintaining enough controlled visibility to understand the attack.
Protect Backups Immediately
Backups are one of the first places ransomware operators may target.
They may attempt to:
delete snapshots
encrypt repositories
compromise backup administrators
change retention
disable backup jobs
So do not connect:
your last clean USB backup
to the infected machine just to see whether it is okay.
Restrict access to backup systems from affected networks and identities.
The NCSC advises that backups should only be restored to known-clean systems and that the backup itself should be checked before recovery.
Do Not Restore Anything Yet
This is one of the most important first-hour rules.
Do not say:
“We've got last night's backup—restore it now.”
You may not yet know:
whether the attacker still has access
when the compromise started
whether the backup contains malicious persistence
whether backup administrator credentials were stolen
whether the recovery environment is clean
The NCSC’s latest recovery guidance explicitly warns that restoring before sufficient investigation can increase the risk of re-compromise.
A clean backup restored into a compromised network can simply become the next encrypted copy.
Minute 25–35: Preserve Evidence
Do not immediately:
delete ransom notes
rename encrypted files
wipe disks
run ten different malware cleaners
Preserve useful evidence such as:
ransom note
screenshots
encrypted-file extensions
suspicious emails
attacker addresses
URLs
security alerts
VPN logs
firewall logs
cloud sign-in logs
backup logs
endpoint-detection alerts
Also start a timeline.
For example:
09:12 — user reports documents won't open
09:15 — ransomware note confirmed
09:17 — laptop isolated
09:21 — IT provider contacted
09:29 — second system isolated
The NCSC recommends maintaining careful records of incident decisions, actions and available evidence because they can become important for investigation, regulatory reporting and post-incident review.
Don't Wipe the First Machine Immediately
Reinstalling Windows may make that one laptop usable again.
But it can destroy evidence needed to establish:
how the attacker entered
what they executed
whether credentials were stolen
what other systems they reached
For serious business incidents, the affected machine may need to be preserved for:
memory capture
disk imaging
malware analysis
timeline investigation
The NCSC specifically recommends investigation before restoration where possible because the findings influence both containment and safe recovery.
Minute 35–45: Secure Identities
Ransomware frequently involves compromised credentials.
Potential targets include:
Domain Admin
Global Administrator
VPN accounts
backup accounts
service accounts
remote-management accounts
The response team may need to:
disable confirmed compromised accounts
reset privileged credentials
revoke active sessions
review MFA methods
rotate secrets
restrict remote access
The NCSC’s incident-response guidance specifically includes resetting accounts and privileged credentials among containment and remediation capabilities.
But do this carefully.
Don't Make Everyone Change Passwords on Infected PCs
That can make the situation worse.
If malware includes:
keylogging
credential theft
session theft
the attacker may simply capture the new password.
Coordinate credential resets from:
known-clean systems.
Also avoid changing every account simultaneously before you understand which recovery accounts and administrative access you still need.
The NCSC specifically warns that credential resets need to be planned so the organisation does not lock itself out of systems required for recovery.
Minute 45–60: Create the Initial Incident Plan
By the end of the first hour, you do not need to know exactly how the entire organisation will be rebuilt.
You should know:
who is in charge
what is isolated
what is still operating
which backups are protected
what evidence exists
and:
what happens next.
The initial response plan should include:
containment
investigation
identity security
operational continuity
backup protection
legal/regulatory assessment
insurance
internal communications
recovery priorities
The NCSC’s July 2026 guidance deliberately treats these early hours as a stabilisation and information-gathering phase before the longer recovery programme begins.
Do Not Assume Encryption Is the Whole Incident
Modern ransomware commonly includes data theft and extortion.
So even if:
every file is eventually restored
you may still need to determine:
whether information was exfiltrated
what information was accessed
whether personal data was involved
who must be notified
A successful restore does not erase the underlying security incident.
Start the Data-Breach Assessment
For UK organisations, ransomware can also create data-protection issues.
If personal information has been:
stolen
altered
destroyed
made unavailable
you may have a personal data breach.
Begin documenting:
systems affected
categories of data
people potentially affected
possible exfiltration
likely impact
If reporting requirements are triggered, deadlines may apply.
Do not wait until every server is restored before beginning that assessment.
The NCSC’s first-hours guidance specifically tells organisations to identify immediate regulatory and reporting requirements during the initial phase.
Don't Pay During the First Hour
The first hour is not the time to start negotiating cryptocurrency payments.
The NCSC does not encourage or endorse ransom payment and warns there is no guarantee payment will restore data or remove the attacker.
Payment can also introduce:
sanctions issues
legal complexity
insurance considerations
and it does not replace:
investigation
recovery
breach reporting
security remediation
Contain and investigate first.
Don't Download the First “Decryptor” You Find
Some ransomware families do eventually have legitimate decryptors.
But random websites claiming:
FREE RANSOMWARE DECRYPTION
may be malicious themselves.
An incident responder should first identify:
ransomware family
ransom-note characteristics
encrypted-file extension
known legitimate recovery options
Never test a decryptor against your only copy of valuable encrypted data.
Make protected copies first.
The First-Hour Checklist
When ransomware is discovered:
1. Stop using the affected computer.
2. Disconnect network connectivity.
3. Disconnect removable storage.
4. Isolate other visibly affected devices.
5. Establish an incident lead.
6. Contact IT/security and relevant senior management.
7. Use a trusted communication channel.
8. Determine the initial scope.
9. Protect backup systems.
10. Preserve ransom notes, alerts and logs.
11. Start a timeline.
12. Secure confirmed compromised identities from clean systems.
13. Begin legal/regulatory and insurance assessment.
14. Do not restore systems yet.
15. Do not wipe evidence unnecessarily.
16. Do not casually contact the attacker.
17. Do not connect clean backups to affected systems.
18. Do not assume the ransomware has left simply because encryption stopped.
The core rule is:
Contain first. Understand second. Recover third.
What Happens After the First Hour?
The next stage becomes:
investigate → evict → rebuild clean → validate backups → restore in business-priority order → monitor intensely
The NCSC’s current 2026 recovery framework makes that progression explicit: first stabilise and understand the incident, then run the recovery and investigation programme, and only later transition into full organisational rebuild.
How Hamilton Group Can Help
Hamilton Group can help businesses respond to ransomware by supporting:
rapid containment
endpoint isolation
Microsoft 365 account investigation
privileged-account security
backup protection
firewall and VPN review
log and alert analysis
clean system rebuilds
backup validation
controlled recovery
post-incident security hardening
The first hour is not about getting every encrypted file back immediately.
It is about preventing the organisation from making a bad situation worse.
Isolate the affected systems, protect the backups, secure identities, preserve the evidence and establish a controlled response.
Visit hgmssp.com or call 01423 438 953 for urgent ransomware and cyber-security assistance.
0 comments
- Be the first to comment.