What is ransomware attack? Definition and risks
Short answer
Ransomware is malware that blocks access to files, systems, or networks and demands payment for their return. Attackers often encrypt data. Backups, patching, and careful handling of email and remote access reduce the chance of a costly incident.
Key points
- Malware that encrypts or locks data and demands a ransom
- Common entry points include phishing, software flaws, and exposed remote desktop
- Payments are often demanded in cryptocurrency such as Bitcoin
- Costs can include ransom, fines, lawsuits, and lost trust
- Immutable backups and snapshots can speed recovery
If you search for what is ransomware attack, you are asking about malware that takes data or systems hostage and demands payment for their return. Ransomware is a type of malicious software that prevents users from reaching files, devices, or networks until a ransom is paid. It can hit individuals, businesses, and government organizations, and recovery can cost large sums.
What is ransomware attack and how does it work?
Ransomware is malware that holds sensitive data or a device hostage and threatens to keep it locked unless the victim pays. The most common form, encrypting or crypto ransomware, scrambles files so they cannot be read without a decryption key. The attacker then demands payment in exchange for that key. Early attacks often demanded a few hundred dollars, paid in cryptocurrency, to unlock personal files. As the crime matured, organized gangs improved the malware, stole credentials, found network vulnerabilities, and raised demands into the millions for enterprises.
The program often arrives as a Trojan, entering through a malicious attachment, a link in a phishing email, or a flaw in a network service. It then runs a payload that locks the system or claims to lock it. Some programs are scareware that only claim to lock files. Real ransomware can encrypt data with strong encryption and leave a ransom note explaining how to pay.
How ransomware spreads
The most common attack vectors are phishing, vulnerability exploitation, and compromise of remote access protocols such as RDP. Attackers may send malicious links or attachments by email, social media, advertisements, or website pop-ups. A fake update or warning pop-up can deliver a payload when clicked or send the user to an attacker-controlled page. Visiting an infected or attacker-controlled website can trigger a silent download and execution without user interaction. Exposed remote desktop on port 3389 can be brute-forced or exploited to gain administrator access, disable defenses, and deploy ransomware.
Phishing remains a common starting point, so learning to spot suspicious messages matters. See how to recognize phishing emails for red flags and checks. Attackers also steal credentials and search for unpatched systems, which is why patching and access control matter as much as email filtering.
The ransomware attack cycle
Ransomware usually follows a cycle before the victim fully notices the infection.
- Infection: The user installs the malware without knowing it, often through phishing, links, drive-by downloads, or compromised software.
- Execution: The payload moves through the system, searches for valuable files, and encrypts them with strong encryption.
- Encryption: Files are protected with a key known only to the attacker, and the victim receives a warning or message.
- Ransom demand: The attacker explains how to pay, often in an anonymous currency such as Bitcoin.
- Decryption: If the victim pays, the attacker may send a key, but data recovery is not guaranteed.
Because the key is held by the attacker, victims cannot simply reverse the encryption. Public-key cryptography helps explain why data encrypted with an attacker's public key can be unlocked only with the matching private key; see how public-key cryptography works.
Types and extortion tactics
Encrypting ransomware is the most common type. It holds data hostage by encrypting it and demands payment for the decryption key. Other programs may lock the whole system or only claim to do so. Petya, seen in 2016 and 2017, was unusual because it encrypted all files on the hard drive. Its variant, NotPetya, was even more destructive and is widely assumed to be state sponsored.
The first ransomware attacks only demanded payment for the decryption key, and regular backups could often limit costs or avoid payment. Modern double-extortion and triple-extortion tactics raise the stakes. Even victims who keep good backups or pay the first demand can remain at risk. The result is that a backup alone may not remove every consequence of an attack.
Costs and notable incidents
Ransomware is a common form of malicious software, and attacks can cost an affected organization millions of dollars. In addition to the ransom, affected organizations can face regulatory penalties, legal action, and enduring harm to customer confidence. The demanded payment is just one element of the overall financial impact. Threat actors often demand seven- or eight-figure amounts, and victims and negotiators are reluctant to disclose payments. A 2025 study by IBM and the Ponemon Institute found that 63% of organizations affected by ransomware declined to pay, versus 59% the year before. Because fewer organizations paid, demands stayed high, averaging $5.08 million for attacker-disclosed attacks.
One case involved DarkSide, a group believed to be based in Russia. On 7 May 2021, its ransomware attacked the Colonial Pipeline. The attack briefly stopped the pipeline that supplied 45% of the East Coast's fuel, and many consider it the worst cyberattack on critical United States infrastructure to date.
Prevention and recovery
There is no single control that stops every attack, but several measures reduce risk and limit damage. Use strong security software, keep systems patched, and promote cybersecurity awareness across the organization. Back up data regularly and test restores. A password manager can reduce credential reuse and help protect accounts; see what a password manager application is. For storage planning, the 3-2-1 backup rule is a common framework for keeping recoverable copies.
Some file systems keep snapshots that can restore data from before an attack if the ransomware does not disable them. File servers running ZFS are broadly immune unless malware gains root access and issues ZFS administrative commands, because ZFS can take snapshots of a large file system many times each hour. Those snapshots are immutable and read-only, and they can be rolled back or used to recover files. In general, only an administrator can delete snapshots, and cannot modify them.
If an attack occurs, isolate affected systems, preserve evidence, and involve qualified responders. Paying the ransom does not guarantee full recovery, and it may fund further crime. The safest recovery path is a tested backup or snapshot that was not reachable by the attacker.
Questions people also ask
Can ransomware be removed without paying?
Sometimes. If clean backups or immutable snapshots exist, systems can be restored after the malware is removed. Without them, recovery depends on whether a decryption tool is available, and paying does not guarantee full recovery.
Is ransomware the same as a virus?
No. Ransomware is malware focused on denying access to data or systems and demanding payment. A virus is a broader term for self-replicating malicious code.
Why do attackers often request Bitcoin?
Attackers often request Bitcoin because it is a common anonymous payment method in these attacks.
Does paying the ransom guarantee my files back?
No. The attacker may send a decryption key, but data recovery is not guaranteed. Payment can also encourage further attacks.
Related pages
- How do you create a strong password?
A strong password is long, random, and used only once. A password manager can generate and store such passwords, while a memorable master password or passphrase protects the manager itself.
- What is TLS traffic and how it protects web traffic
TLS traffic is ordinary web traffic protected by the Transport Layer Security protocol. TLS encrypts the payload, verifies the server's identity with a certificate, and adds a message integrity check. The result is that eavesdroppers cannot read the data and tampering is detected.
- What is zero trust security model? A practical guide
A zero trust security model is a framework that checks every access request instead of trusting users or devices by location. It uses identity, device health, and context to grant limited, temporary access. The goal is to reduce breach impact across cloud, remote, and on-premises systems.
- How does a firewall work? Network security basics
A firewall monitors and controls incoming and outgoing traffic using configurable rules. It commonly relies on packet filtering, proxying, and connection-state tracking to block unauthorized access. Hardware, software, and virtual forms can protect a single device or an entire network.
- What is a digital signature in Adobe Acrobat?
A digital signature in Adobe is a certificate-based electronic signature used to sign and verify PDF documents. It confirms who signed, shows whether the file changed after signing, and supports compliance with strict regulations. Signers need a digital ID from a cloud provider or a local system before applying it.
- How to Recognize Phishing Emails: Red Flags and Checks
Phishing emails imitate trusted senders to steal passwords, account numbers, or other sensitive data. You can recognize them by checking the real sender domain, link destinations, wording, and the type of request. When a message feels off, verify it through a trusted channel and report it.
How this page was prepared
Before writing, the topic was researched in the sources below. The page then passed automatic quality checks.