본문으로 건너뛰기

CYBERRESTORELAB에 문의

Tell us what
happened to your files.

어떤 일이 있었는지, 어떤 파일에 접근할 수 없는지 알려주세요.
전문가가 복구 가능성을 평가하고 다음 단계를 제안합니다.

contact@cyberrestorelab.com ↗

Malware and ransomware: how to protect and regain access

· 약 19분

Malware and ransomware remain one of the most dangerous threats to home users, small businesses, and large organizations. They steal data, block device operations, encrypt files, and demand a ransom for regaining access. In this article, we will analyze how these threats work, how ransomware differs from regular viruses, how to reduce the risk of infection, what to do during an attack, and why backups are more important than any promises made by criminals.

What is malware​

Malware, or malicious software, is any software designed for unauthorized access, data damage, surveillance, theft of money, or disruption of system operations. The term encompasses various types of threats: viruses, trojans, worms, spyware, adware, botnet clients, password stealers, and ransomware.

The main problem is that modern malware rarely acts alone. A single infected file can initially install a loader, then download a trojan, disable protection, steal passwords from the browser, and only after that initiate encryption. Therefore, protection must be multilayered: updates, backups, antivirus, access control, and user caution.

It is important to understand that malware does not always look like an obvious virus. It can disguise itself as an invoice, resume, driver update, free program, pirate activator, browser extension, or even a message from a familiar account in a messenger.

malware on a computer

What are ransomware​

Ransomware is a type of malware that restricts access to data or systems and demands a ransom. It most often encrypts documents, photos, databases, archives, projects, accounting files, and shared folders. After an attack, the user sees a note demanding payment for decryption, usually in cryptocurrency.

Technically, many ransomware are not classic viruses because they do not always self-replicate by infecting files. However, in everyday terms, they are often referred to as viruses. A more accurate term is ransomware. They can infiltrate through phishing emails, vulnerabilities in remote access, hacked websites, malicious attachments, and compromised accounts.

The danger of ransomware is that they attack not only a single computer. If the device is connected to a shared network, the malware can reach network drives, servers, cloud-synchronized folders, and writable backups. Hence, isolation and proper data storage architecture are critically important.

How ransomware works​

A typical attack goes through several stages. The specific scheme depends on the malware family and the criminals' goals, but the logic is often similar.

  1. Infiltration. The user opens a malicious attachment, clicks on a link, runs a downloaded file, or the attacker exploits a vulnerability in remote access service.
  2. Establishment and reconnaissance. The program scans the system, looking for valuable files, network resources, administrator rights, antivirus, and backup tools.
  3. Disabling protections. Some samples try to stop security services, delete Windows shadow copies, disable system restore, or destroy local backups.
  4. Data theft. More often than not, before encryption, attackers copy documents and threaten publication. This is called double extortion.
  5. File encryption. Data is transformed using cryptographic algorithms. Recovery may be impossible without a key.
  6. Displaying ransom demand. An instruction for payment and contact information appears on the desktop, in folders, or in the browser.

Well-executed encryption cannot be hacked by simple password guessing. Therefore, one must rely on backups, criminals' mistakes, available decryptors for specific families, or professional recovery from remaining data fragments.

How different types of malware differ​

Not all threats encrypt files. Some operate stealthily for months, gathering data and preparing for a more serious attack. Below is a brief comparison of common types of malware.

Type of threatWhat it doesTypical signsMain risk
VirusEmbeds in files and can spread when they are executedSoftware errors, damaged files, antivirus warningsSystem and data damage
TrojanDisguises as useful softwareUnclear processes, new autostarts, suspicious connectionsRemote access and installation of other software
WormSelf-replicates over a networkRapid increase in network activityMass infection of devices
SpywareGathers information about the userSlowed browser performance, unknown extensionsTheft of personal information
StealerSteals passwords, cookies, and tokensLogins from foreign devicesCompromise of email, banking, and work accounts
RansomwareEncrypts files and demands ransomNew file extensions, ransom notesData loss and business downtime
Botnet clientConnects the device to the criminals' networkHigh load, network requestsDDoS attacks, spam distribution, further attacks

This table illustrates why security cannot be assessed solely by whether files open. If the system operates but passwords have already been stolen, damage may manifest later.

Main infection pathways​

Most infections start not from complex hacks but from mistakes in routine operations. Criminals exploit haste, trust, and the habit of clicking familiar buttons.

Phishing emails and attachments​

An email may look like a message from a bank, delivery service, tax authority, contractor, or colleague. Inside is a link to a fake website or a file: document, archive, PDF, invoice, spreadsheet. Sometimes malicious code is activated through macros or embedded scripts.

Emails that require immediate action are especially dangerous: pay a fine, check a contract, confirm a password, open an act by the end of the day. Time pressure reduces attention.

Vulnerabilities in programs and systems​

An outdated operating system, old browser, outdated VPN client, server with open RDP, or an application without patches can become an entry point. In a corporate environment, this often leads to infections of not just one computer but the entire network.

Updates are not just for aesthetic reasons. They close known vulnerabilities that may already be actively exploited in attacks.

Pirated software and activators​

Pirated builds, cracks, and activators are one of the riskiest sources of malware. The user disables protection themselves, runs a file with administrative rights, and gives it full access to the system. For criminals, this is an ideal situation.

Even if the program works, it may contain a stealer, miner, remote access trojan, or ransomware loader.

Compromised accounts​

If a criminal obtains a password for an email, cloud, admin panel, or remote access, they can act as a legitimate user. Thus, a simple antivirus does not resolve the problem. Unique passwords, a password manager, and multi-factor authentication are needed.

Signs of a computer infection​

Some malware operates stealthily, but many leave noticeable traces. The sooner you detect them, the higher the chance to limit damage.

Look for the following signs:

  • the computer suddenly slows down for no obvious reason;
  • fans are noisy even with simple tasks;
  • the browser opens strange tabs or changes the search engine;
  • unknown extensions, programs, or services appear;
  • the antivirus is disabled or won't start;
  • files have unusual extensions;
  • documents stop opening;
  • folders contain ransom notes;
  • the system reports mass access errors;
  • accounts are logged in from unknown devices;
  • network traffic has sharply increased;
  • colleagues receive suspicious emails or messages from you.

If ransomware is suspected, the main thing is not to continue regular work. Every minute could mean new encrypted files, especially if network folders or external drives are connected.

ransomware virus blocks files

What to do during a ransomware attack​

If you see a ransom note or files begin to change extensions in bulk, act calmly and quickly. Below is a step-by-step order that helps minimize damage.

  1. Disconnect the device from the network. Unplug the network cable, turn off Wi-Fi and Bluetooth. This will stop the spread across the network and access to network folders.
  2. Do not restart the computer unnecessarily. Some data may remain in memory. For specialists, this can sometimes be important.
  3. Do not delete the ransom note and encrypted files. They may be needed to identify the ransomware family and look for a decryptor.
  4. Disconnect external drives. If they are not yet encrypted, physically disconnect them.
  5. Inform the responsible parties. In a company, immediately notify the IT department, security service, management, and legal department if personal data is involved.
  6. Make a copy of the infected media. If possible, create a disk image for analysis. Do not work with the original unless necessary.
  7. Check other devices. Pay special attention to servers, shared folders, domain accounts, and backup systems.
  8. Identify the type of ransomware. Use the note, file extensions, and safe identification services if available.
  9. Look for official decryptors. For some older or poorly implemented families, there are free tools from research groups and security vendors.
  10. Recover data only after cleanup. Malware must first be removed, entry points closed, and compromised passwords changed.

Do not pay the ransom as the first option. Payment does not guarantee decryption, supports the criminal model, and does not eliminate the cause of the hack. Additionally, criminals may retain stolen data and demand money again.

How to safely remove malware​

Removal depends on the type of threat and the scope of the infection. For home computers, booting in safe mode, scanning with reliable scanners, and restoring the system from a clean copy are often sufficient. For businesses, a more rigorous process is required: isolation, forensics, log analysis, changing credentials, and checking the entire infrastructure.

A basic safe approach looks like this:

  • disconnect the infected device from the network;
  • save important artifacts for analysis;
  • boot from a trusted medium or use recovery mode;
  • scan the system with a current antivirus solution;
  • remove the detected threats;
  • check the autostart, task scheduler, browser extensions, and unknown services;
  • update the system and applications;
  • change passwords from a clean device;
  • enable multi-factor authentication;
  • recover data from a verified backup.

If the infection has impacted the working network, do not limit yourself to just one computer. Often, ransomware starts on an endpoint machine, but the entry point is elsewhere: weak RDP password, stolen administrator account, vulnerable server, or misconfigured VPN.

How to protect against malware and ransomware​

Reliable protection is built not on a single tool but on a combination of habits, settings, and procedures. Even the best antivirus will not help if all employees use the same password, backups are stored in the same folder, and updates have been turned off for years.

Update systems and applications​

Enable automatic updates for the operating system, browser, office suites, messengers, archivers, VPN clients, and server software. Outdated applications often become easy entry points.

For businesses, it is useful to maintain an inventory of software. You cannot protect what you do not know about.

Use backups according to the 3-2-1 rule​

The 3-2-1 rule means: store at least three copies of data on two different types of media, with one copy off-site. For example: working files on the computer, a backup on network storage, and a separate offline copy on an external drive or in a secure cloud.

The key point is that the backup must not be writable by ransomware. If the backup folder is continuously connected as a regular disk, ransomware can encrypt it too.

Enable multi-factor authentication​

MFA reduces the risk of account takeover, even if the password leaks. It is especially important to enable it for email, cloud services, VPN, admin panels, CRM, accounting, and remote access.

It is better to use authenticator apps or hardware tokens. SMS codes are better than nothing, but they are less resistant to some types of attacks.

Limit user rights​

Do not work every day under an administrator account. Ordinary users do not need rights to install drivers, alter system folders, or disable protection. In a company, apply the principle of least privilege.

If malware runs with limited rights, its capabilities are often lower. This is not absolute protection, but an important barrier.

Configure email and browser protection​

Spam filters, attachment checks, blocking potentially dangerous file types, sandboxes, and phishing protection reduce the likelihood of executing malicious code. In the browser, it is advisable to disable unnecessary extensions and only install new ones from trusted sources.

Do not allow macros in office documents by default. If macros are truly needed, configure them to run only for signed and verified files.

Educate users​

People often become the first line of defense. Explain to employees and family members how phishing emails look, why unexpected archives should not be opened, the dangers of pirated programs, and where to report suspicious messages.

Training should be practical. It is better to show real examples of emails and scenarios than to limit yourself to formal lectures.

protection from ransomware and backups

Practical protection checklist​

Use this list as a basis for a home computer or small organization. It does not replace a security audit but addresses the most common weak points.

  • Automatic updates for Windows, macOS, or Linux are enabled.
  • Browsers, office applications, archivers, and messengers are updated.
  • A reliable antivirus or EDR solution is installed.
  • Phishing and malicious site protection is enabled.
  • Unique passwords are used for each service.
  • Passwords are stored in a password manager, not in a file on the desktop.
  • MFA is enabled for important accounts.
  • Ordinary users do not have administrator rights.
  • Backups are created automatically.
  • There is an offline or immutable copy that cannot be changed from an infected computer.
  • Backup recovery is regularly tested.
  • Remote access is protected by VPN, MFA, and IP restrictions where possible.
  • Macros in documents are blocked by default.
  • Pirated software and activators are not used.
  • There is an action plan for infection scenarios.

It is especially important to verify recovery. A backup that has never been tested may be useless on the day of attack.

Backups: what you need to know​

Backups are the best way to recover from ransomware without paying a ransom. But not all backups are equally useful.

A good strategy includes multiple levels. Fast local copies help recover accidentally deleted files. Cloud copies protect against hardware failures and fires. Offline copies or immutable storage protect against ransomware trying to destroy backups.

Pay attention to versioning. If the cloud client synchronizes already encrypted files, you need the ability to roll back to previous versions. Without versioning, the cloud may simply overwrite damaged data with normal ones.

For companies, it is important to separate rights. The account used to create a backup should not provide the attacker straightforward access to delete all archives. It is also wise to keep logs, monitor job success, and regularly conduct test recoveries.

Is it necessary to pay the ransom​

In most cases, paying is not recommended. There are several reasons.

First, there is no guarantee that the criminals will send a working key. Second, the decryptor may perform poorly and damage some files. Third, if data has been stolen, payment does not guarantee its deletion. Fourth, the act of paying may make the victim an attractive target for repeat attacks.

However, the solution in a real situation can be complicated, especially if critical systems, medical data, or business interruptions are involved. In such cases, it is essential to involve incident response specialists, lawyers, and management. It is crucial to consider laws, contractual obligations, and possible sanctions risks when transferring funds to unknown parties.

Even if the organization considers negotiations, they should simultaneously look for technical recovery paths: backups, decryptors, shadow copies, archives from partners, and local copies on workstations.

Common mistakes after infection​

After an attack, people often take actions that worsen the situation. Avoid the following mistakes:

  • continuing to work on the infected computer;
  • connecting external drives for checking;
  • running random decryptors from the internet;
  • deleting all ransom note files;
  • formatting the drive before analysis and attempted recovery;
  • restoring the backup into an already infected system;
  • changing passwords from an infected device;
  • hiding the incident from IT specialists or management;
  • paying ransom without assessing risks and alternatives;
  • thinking that removing the virus automatically decrypts files.

Removing malware and decrypting data are different tasks. An antivirus may remove the active threat, but already encrypted files will remain encrypted if there is no key or clean copy.

FAQ: common questions about malware and ransomware​

Can files be decrypted after a ransomware virus​

Sometimes yes, but not always. It depends on the ransomware family, the presence of errors in implementation, available free decryptors, and the state of the backups. If the encryption is performed correctly, guessing the key is nearly impossible. Start with identifying the threat and checking official decryption tools.

Does an antivirus protect against all ransomware​

No. An antivirus significantly reduces the risk, but does not provide absolute guarantees. New samples, attacks through stolen passwords, and manual actions by criminals can bypass basic protection. Therefore, updates, MFA, rights restrictions, backups, and monitoring are needed.

What to do if files on an external drive are encrypted​

Immediately disconnect the drive and do not write new data to it. Check the main computer for infection. Then identify the type of ransomware and evaluate recovery options: backups, file versions, professional recovery, available decryptors. Do not connect the drive to other working computers without isolation.

Can a phone get infected with ransomware​

Yes, mobile devices can also become targets for malware, although the scenarios differ from PCs. The risk is higher when installing apps from unknown sources, granting excessive permissions, and using outdated systems. Install apps from official stores, update the OS, and do not grant file access unnecessarily.

How to tell if an email is phishing​

Check the sender's address, text style, unexpected attachments, urgent requests, strange links, and requests to enter passwords. Hover over the link to see the real address but do not click on it. If the email appears to be from a colleague, clarify the request through another communication channel.

Should I disconnect the internet if I suspect a virus​

Yes, if there are signs of active infection or encryption. Disconnecting the network helps stop communication with the command server, spread across the local network, and encryption of network folders. After that, it is better to consult a specialist or initiate a scan from a trusted medium.

How to prepare an organization for an attack​

For businesses, the damage from ransomware is not just data loss. It leads to process downtime, supply chain disruptions, contract violations, personal data breach risks, and reputational consequences. Therefore, preparation should be done in advance.

A minimum response plan includes:

  1. Responsible persons. Who makes decisions, who disconnects network segments, who communicates with employees, clients, and contractors.
  2. Alternative contact information. If the mail server is unavailable, alternative communication channels are needed.
  3. Map of critical systems. Need to know which servers to restore first.
  4. Isolation procedures. Administrators must understand how to quickly disconnect infected nodes without destroying evidence.
  5. Restoration procedure. Where backups are stored, who has access, how long deployment takes.
  6. Legal assessment. In case of data breaches, obligations to notify regulators, clients, or partners may arise.
  7. Post-incident analysis. Must identify the entry point; otherwise, the attack may repeat.

The plan should not just be a document. It should be tested with drills. Even a short practice session reveals weak points: outdated contacts, forgotten servers, non-working backups, or a lack of rights for the on-duty administrator.

Myths about viruses and malware​

There are many dangerous misconceptions surrounding malware. They hinder making the right decisions.

Myth 1: If I don’t open suspicious sites, I am safe. In practice, infection can come via email, messenger, hacked accounts, vulnerabilities in programs, or infected installers.

Myth 2: I don’t have important data, so I’m not a target. Even a home computer is valuable: it contains passwords, documents, photos, access to email, and banking services. Moreover, the device could be used to attack others.

Myth 3: The cloud always saves you from ransomware. Cloud synchronization may upload encrypted versions of files. It is not the cloud itself that saves but versioning, account protection, and the ability to roll back.

Myth 4: If I pay, everything will be restored quickly. Sometimes criminals disappear, send non-working tools, or demand additional payment. Paying is not a reliable recovery plan.

Myth 5: Reinstalling Windows solves the problem. If passwords are stolen, backups infected, and vulnerable remote access remains open, the attack may recur.

Daily action plan​

To ensure protection is not just theory, turn it into regular habits. Check for updates and backup status once a week. Test recovery of an important file once a month. Review the list of users with administrative rights once a quarter. Disable access immediately after an employee’s departure. When buying a new device, set up protection before transferring work data.

For families, it’s helpful to agree on a simple rule: if an email, message, or file raises suspicions, don’t open it, but consult a more experienced person. For companies, establish a clear reporting channel for suspicious emails so that employees aren’t afraid to admit mistakes. The sooner the team learns about a possible infection, the cheaper the incident will be.

Conclusion​

Malware and ransomware viruses are dangerous because they combine a technical attack with human pressure. However, the risk can be significantly reduced: update systems, use unique passwords and MFA, limit rights, refrain from launching suspicious files, and regularly check backups. If an attack has already started, immediately isolate the device, preserve evidence, do not pay the ransom without assessing alternatives, and recover data only from clean sources. Start today with checking backups and enabling multi-factor authentication for the most essential accounts.