Home>Spin.AI Blog>SaaS Security>Ransomware: Definition, Types, Recovery, And Prevention

Ransomware: Definition, Types, Recovery, And Prevention

Jan 12, 2026 | Reading time 2 minutes
Author:

Backend Engineer

What is ransomware?

Ransomware is a type of malware that prevents users from accessing their data or using their device. In most cases, it encrypts the files and offers a decryption key in return for a ransom.

Types of ransomware:

By the effect on system:

  • Scareware makes users believe that there’s a virus on their computer and they need to purchase special software to remove it.
  • Locker terminates operations on a PC preventing users from accessing files and programs.
    • Mobile locker acts the same but instead of PC files blocks the mobile device.
  • Crypto encrypts all the files. A user can access a file, but the information within it is corrupted.
  • Leakware doesn’t harm the user’s files. Instead, it collects the information and sends it to a cybercriminal. The ultimate goal is to blackmail the user threatening the leak the data.

By the target technology:

By effect on previous file versions:

  • No effect
  • The malware encrypts all the versions of a file

Ransomware examples:

Cerber, Locky, CryLocker, CryptoLocker, Jigsaw, Ryuk, Spider, Petya, NotPetya, GoldenEye

Read about the recent examples of ransomware.

How ransomware works

On-prem:

Trick human into downloading a file> Infect > Encrypt > Demand ransom

Cloud:

Trick human into giving access to their cloud drive > Infect > Encrypt > Demand ransom

Read more about ransomware in action.

Channels of ransomware spread:

  1. Emails with links or file attachments:
    • Spam emails are sent to hundreds of people. They are usually of low quality and contain many mistakes.
    • Spoofing is pretending to be a trustworthy sender (mostly well-known and trusted organization like Amazon, Google, or Microsoft)
    • Spear phishing is pretending to be the authority of the recipient’s organization (e.g., a CEO).
  2. Posts on social networking websites that contain a link to malicious software
  3. Botnets. A computer that has previously been infected and becomes a part of a botnet can be an easy target for ransomware.
  4. Malvertising is advertising on a trusted website that redirects to a malicious website.
  5. Compromised websites. Cybercriminals look for vulnerabilities in trusted resources and inject malicious code. Alternatively, they create their own websites, often with prohibited content.
  6. Applications and programs from trusted developers can contain vulnerabilities. Hackers would look for them and exploit them to inject malicious code.
  7. Infected hardware, for example, removable media.

How to remove and recover from ransomware:

If you don’t have a backup follow the steps below:

  1. Isolate your device from the network and other devices
  2. Make screenshots and copy the ransom demand note
  3. Report the crime to authorities
  4. Check if previous versions of your files are also encrypted.
  5. If no:
    • Run the antivirus software to eliminate ransomware.
    • Then restore files.
  6. If your file versions are also corrupted:
    • Use online tools to determine your type of ransomware
    • Look for and download decryption keys
  7. If your ransomware is new and there are no decryption keys, estimate the consequences of paying ransom vs. deleting your files and act accordingly.
  8. Take the necessary steps to prevent getting ransomware in the future.

Keep in mind that these steps do not guarantee the recovery of your files unless you have backup or DLP.

How to prevent a ransomware attack

There are multiple strategies to defend against this type of malware. Here are four simple measures:

  1. Educate your employees about social engineering techniques
  2. Purchase backup tools
  3. Purchase anti-ransomware software

Alternatively, purchase a tool that backs up your data and eliminates ransomware at the same time.

Was this helpful?

Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

  • NecessaryAlways Active

    Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

    Show 14 cookies
    CookieDurationDescription
    spinai_consent1 yearSpin.AI: stores your cookie consent choices for this site.
    cookieyes-consent1 yearSpin.AI: copy of your consent choices in the format of the earlier consent tool, for tools that still read it.
    __hssrcSessionHubSpot: tells whether the browser was restarted, to count a new session.
    _GRECAPTCHA6 monthsGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::aNever expiresGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::bSessionGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::cSessionGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::fNever expiresGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    intercom-id-*9 monthsIntercom: lets you see your earlier conversations in the support chat.
    intercom-session-*7 daysIntercom: keeps your support chat session.
    intercom-device-id-*9 monthsIntercom: identifies the device for the support chat.
    gtm_id1 yearIntercom: set on intercom.com when the support chat loads.
    cookietestSessionChecks whether the browser accepts cookies.
    spinai_disclosure_clientSessionSpin.AI: keeps the state of the responsible disclosure form.
  • Functional

    Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

    Show 3 cookies
    CookieDurationDescription
    __cf_bm1 hourCloudflare (for HubSpot scripts): bot management.
    __hssc1 hourHubSpot: keeps track of the session, to decide when to count a new one.
    ytidb::LAST_RESULT_ENTRY_KEYNever expiresYouTube: remembers the last search result clicked in an embedded video.
  • Analytics

    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

    Show 13 cookies
    CookieDurationDescription
    _ga1 year 1 monthGoogle Analytics: tells visitors apart and counts visits and campaigns.
    _ga_*1 year 1 monthGoogle Analytics: keeps the state of a session and counts page views.
    _gcl_au3 monthsGoogle Tag Manager: measures the effect of ads.
    __hstc6 monthsHubSpot: the main visitor tracking cookie (first and last visit, session count).
    hubspotutk6 monthsHubSpot: recognises the visitor when a form is sent.
    _clck1 yearMicrosoft Clarity: keeps the Clarity visitor ID and settings for this site.
    _clsk1 dayMicrosoft Clarity: joins page views into one session recording.
    SMSessionMicrosoft Clarity: syncs the Microsoft browser ID across Microsoft domains.
    MR7 daysBing: collects visit information for analytics.
    events_distinct_idSessionG2: set by embedded G2 content such as review widgets.
    _g2_session_idSessionG2: identifies the session of embedded G2 content.
    va_sidenav_open1 yearG2: remembers whether the side navigation of embedded G2 content is open.
    ph_phc_*1 yearPostHog: anonymous visitor ID and session data for A/B testing and analytics.
  • Performance

    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

    Show 1 cookie
    CookieDurationDescription
    SRM_B1 year 1 monthMicrosoft Advertising: a unique visitor ID.
  • Advertisement

    Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

    Show 10 cookies
    CookieDurationDescription
    MUID1 year 1 monthMicrosoft (Bing): recognises the browser across Microsoft sites, for advertising.
    ANONCHK10 minutesMicrosoft (Bing, Clarity): checks ad clicks.
    test_cookie15 minutesGoogle (doubleclick.net): checks whether the browser accepts cookies.
    _zitok1 yearZoomInfo: recognises returning visitors for business visitor identification.
    YSCSessionYouTube: counts views of embedded videos.
    VISITOR_INFO1_LIVE6 monthsYouTube: measures bandwidth to choose the video player.
    VISITOR_PRIVACY_METADATA6 monthsYouTube: stores the cookie consent state for YouTube.
    __Secure-ROLLOUT_TOKEN6 monthsYouTube: manages the rollout of new features.
    __Secure-YECSessionYouTube: set by embedded videos.
    __Secure-YNID6 monthsYouTube: set by embedded videos.
  • Others

    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.