Ransomware is malicious software that locks or encrypts files, devices, or entire systems, then demands payment to restore access. Attackers may also threaten to publish stolen data, disrupt operations, or contact customers and partners unless the victim pays.
It is one of the most disruptive forms of cybercrime because it affects more than a single device. Once ransomware reaches a connected network, it can spread to shared drives, servers, cloud-synced folders, and backup systems if those systems are accessible from an infected device.
How Ransomware Works
Most ransomware attacks follow a similar sequence, although the speed and sophistication vary widely.
1. Initial Access
Attackers first need a way into a device or network. Common entry points include:
- Phishing emails or text messages containing malicious links or attachments
- Stolen usernames and passwords
- Unpatched software vulnerabilities
- Compromised remote-access tools or VPNs
- Malicious downloads from unsafe websites
- Infected USB devices or compromised software installers
Phishing is especially common because it targets people rather than relying only on technical flaws. A convincing message may impersonate a bank, delivery company, employer, supplier, or IT department.
2. Establishing a Foothold
After gaining access, attackers may install additional tools, escalate their permissions, disable security software, or move through the network. In more serious attacks, they may remain hidden for days or weeks while identifying valuable files, servers, and backups.
This stage is often called lateral movement. The attacker uses one compromised account or device to reach other systems.
3. Stealing or Blocking Data
Modern ransomware attacks often involve double extortion. Before encrypting files, attackers may copy sensitive data and threaten to release it if the ransom is not paid.
They then encrypt files or restrict access to systems. Encryption scrambles the contents of files so they cannot be opened without a decryption key controlled by the attacker.
4. Ransom Demand
A ransom note usually appears on the screen or in affected folders. It explains that files have been encrypted and provides instructions for payment, often in cryptocurrency.
Attackers may set a deadline and threaten to increase the price, delete data, or publish stolen information. Paying does not guarantee that files will be restored, that stolen data will be deleted, or that attackers will not strike again.
Types of Ransomware
Ransomware can affect victims in different ways.
| Type | What it does | Typical impact |
|---|---|---|
| Encrypting ransomware | Scrambles files so they cannot be opened | Loss of access to documents, photos, databases, and applications |
| Locker ransomware | Blocks access to a device or interface | Device may become unusable even if files remain intact |
| Double-extortion ransomware | Steals data and encrypts systems | Risk of both data loss and public exposure |
| Mobile ransomware | Targets phones or tablets | Locked device, encrypted files, or fraudulent charges |
| Scareware | Pretends to be ransomware but does not actually encrypt files | Fear-based pressure to pay for fake “repairs” |
The most damaging attacks usually combine encryption, data theft, and disruption of backups or recovery systems.
Signs of a Ransomware Infection
Early warning signs can sometimes appear before files are fully encrypted.
- Files suddenly have unfamiliar extensions or cannot be opened
- Documents, photos, or databases show error messages when accessed
- The device becomes unusually slow or unstable
- Security software is disabled or will not update
- New unfamiliar programs appear or browser settings change unexpectedly
- A ransom note appears on the screen or in file folders
- Files begin disappearing or changing names rapidly
If these signs appear, disconnect the device from Wi-Fi, Ethernet, and any shared network drives immediately. Do not continue using it for work, banking, or file syncing until it has been assessed.
What to Do If You Are Infected
The right response depends on whether the device is personal or part of a workplace network, but the first priorities are containment and preservation.
1. Disconnect the Device
Turn off Wi-Fi, unplug Ethernet cables, and disconnect external drives. This can prevent ransomware from spreading to other devices or synced storage.
Do not assume that disconnecting removes the malware. It only limits further spread.
2. Do Not Pay Immediately
Paying a ransom is risky. There is no guarantee attackers will provide a working decryption key, delete stolen data, or avoid targeting the victim again. It can also encourage further criminal activity.
Before making any decision, contact local law enforcement or a national cybercrime reporting service where available. Businesses should involve their security team, legal counsel, insurer, and relevant regulators as appropriate.
3. Preserve Evidence
Do not wipe the device or delete suspicious files until you have sought advice, especially if the incident involves a business, financial loss, or potential data breach. Logs, ransom notes, and affected files may help investigators and security professionals understand the attack.
4. Seek Professional Help
For important personal data, consult a reputable cybersecurity professional or computer-repair service. For a business, activate the incident-response plan and engage qualified security support.
Avoid downloading random “decryption tools” from unknown websites. Some are scams, and some may worsen the infection.
5. Restore From Clean Backups
If you have secure backups that were not connected to the infected device or network, you may be able to restore files after the malware is removed. Before restoring, ensure the infection has been eliminated and the backup itself is clean.
How to Protect Your Devices
Ransomware protection works best in layers. No single measure guarantees safety, but several practical habits sharply reduce risk.
Keep Software Updated
Install updates for your operating system, browser, apps, security software, routers, and other connected devices. Updates often fix security flaws that ransomware attackers exploit.
Enable automatic updates where possible. For business systems, prioritize critical patches and maintain an inventory of software that needs regular maintenance.
Use Strong, Unique Passwords
Use a different password for every important account. A password manager can create and store long, unique passwords without requiring you to remember each one.
Avoid reusing passwords between work, personal email, banking, and social-media accounts. If one service is breached, reused credentials can give attackers access to other accounts.
Turn On Multi-Factor Authentication
Multi-factor authentication, or MFA, requires a second verification step beyond a password, such as an authentication-app code or security key. It can prevent an attacker from accessing an account even if they obtain the password.
Enable MFA on email, cloud storage, financial accounts, remote-access tools, and administrative accounts. Avoid approving authentication prompts you did not initiate.
Back Up Important Data
Keep copies of important files in more than one place. A practical approach is the 3-2-1 backup rule: keep at least three copies of important data, on two different types of storage, with one copy offline or offsite.
Backups only help if they are protected. Do not leave backup drives permanently connected to an infected computer, and ensure cloud-synced folders are not the only form of backup.
Be Careful With Links and Attachments
Do not click links or open attachments in unexpected messages, even if they appear to come from a known person or company. Verify requests through an official website or a contact method you already trust.
Be especially cautious with messages that create urgency, request passwords or payment details, or ask you to disable security software.
Limit Software and Permissions
Only install apps from official app stores or trusted sources. Review app permissions and remove software you no longer use.
On work devices, avoid installing unauthorized programs or connecting unknown USB devices. Limit administrative privileges where possible, since attackers can do more damage with an administrator account.
Use Security Software
Use reputable antivirus or endpoint-protection software and keep it enabled. Security tools can detect known ransomware, block malicious downloads, and sometimes stop suspicious file-encryption behavior.
Security software is most effective when combined with updates, backups, and careful online behavior.
Protecting a Home Network
Home devices are often connected to the same network as work laptops, smart TVs, security cameras, and other devices. A weakness in one device can expose others.
Change default router passwords, keep router firmware updated, use strong Wi-Fi encryption, and separate work devices from guest devices where possible. Avoid exposing remote-access services to the internet unless they are properly secured and necessary.
What Businesses Should Do Differently
Businesses face higher stakes because ransomware can disrupt customer service, supply chains, payroll, and sensitive data systems.
Key measures include:
- Maintaining tested, offline or immutable backups
- Requiring MFA for all remote access and privileged accounts
- Segmenting networks so an infection cannot move freely between systems
- Monitoring for unusual login activity and file-encryption behavior
- Restricting administrative privileges
- Patching systems promptly
- Training employees to recognize phishing and report incidents quickly
- Maintaining an incident-response and recovery plan
Regular recovery testing is essential. A backup is not reliable if no one has confirmed that it can actually be restored under pressure.
Ransomware works by turning access to your data into leverage. The strongest defense is preparation: keep systems updated, protect accounts with MFA, limit unnecessary access, maintain isolated backups, and treat unexpected messages or urgent requests with caution.