Supply chain2 Jul 2021

Kaseya VSA Ransomware

Ransomware went through the remote-management tool IT providers use for their clients, and a Swedish supermarket chain closed 800 stores.

Severity
Front-page news
Difficulty
intermediate
Companies
Kaseya, REvil, Coop Sweden, Visma
Tech
Remote monitoring and management, Managed service providers, Ransomware, Authentication bypass
Root cause
unpatched flaw, poisoned dependency, dependency cascade

The story

Quick (1 min)

On 2 July 2021, the start of a US holiday weekend, the REvil ransomware gang attacked Kaseya VSA, software that IT support companies (managed service providers, or MSPs) use to remotely manage their clients' computers.

The attackers used an authentication bypass flaw in VSA to push ransomware through it, as if it were a normal management task. Because each MSP manages many client companies, one attack spread out to 800–1,500 businesses. Swedish supermarket chain Coop had to close its 800 stores for almost a week.

Security researchers had actually reported VSA vulnerabilities to Kaseya in April, but not all were fixed before REvil struck. REvil demanded $70 million for a universal decryptor. Kaseya later got a decryption key, which reporting said came from the FBI, without paying.

The lesson: tools that manage many systems are prime targets, because compromising one gives attackers access to everything it manages.

Keep reading to the end to earn XP.Read. XP earned.

Engineer (2 min)

What VSA is. A remote monitoring and management (RMM) platform. MSPs use it to patch, script and control thousands of client endpoints. That's privileged access by design.

Known vulnerabilities, not all patched. On 23 March 2021, DIVD researcher Wietse Boonstra found six zero-days in VSA and a seventh on 2 April. DIVD contacted Kaseya on 6 April and worked with them to fix four of seven before the attack.

The attack (2 July 2021). REvil used an authentication bypass to compromise on-premises VSA servers, then distributed a malicious payload through the hosts VSA managed. The management channel itself became the ransomware delivery system, "amplifying the reach of the attack" (Wikipedia).

Blast radius. About 60 MSPs were directly affected, and Kaseya estimated 800–1,500 downstream businesses. Victims included Coop Sweden (through Visma, which managed some of its systems), schools in New Zealand, companies in Germany and the US, and a town in Maryland. REvil claimed over a million systems were encrypted.

Response. Kaseya shut down its VSA cloud and SaaS servers and told on-premises customers to shut down their VSA servers. The FBI and CISA assisted. On 23 July, Kaseya announced a universal decryptor key from a "trusted third party" and worked with Emsisoft on a tool. In September, the Washington Post reported the key came from the FBI.

Interview takeaway: RMM and admin tools need the strongest controls: fast patching, no unnecessary internet exposure, MFA, and segmentation so one compromise can't reach every client.

Keep reading to the end to earn XP.Read. XP earned.

Deep dive (2 min)

Timeline (Wikipedia)

  • 2017–2020: former Kaseya employees say they raised security concerns. Smaller ransomware incidents involving VSA occurred in 2018 and 2019.
  • 23 March 2021: DIVD finds six zero-days in VSA; another on 2 April.
  • 6 April 2021: DIVD contacts Kaseya. Four of seven vulnerabilities are resolved before the attack.
  • 2 July 2021: REvil exploits an authentication bypass and pushes ransomware through VSA. Kaseya shuts down cloud and SaaS VSA and issues advisories.
  • 4 July: the White House says the FBI and CISA are assisting.
  • 5 July: REvil demands $70 million for a universal decryptor. Kaseya estimates 800–1,500 downstream businesses affected.
  • 9 July: President Biden presses President Putin on ransomware from Russian soil.
  • 13 July: REvil's websites vanish (later return).
  • 23 July: Kaseya obtains a universal decryptor key and says it didn't pay.
  • 8 October 2021: Ukrainian national Yaroslav Vasinskyi arrested in Poland; later extradited and, on 1 May 2024, sentenced to 13 years and 7 months.
  • January 2022: Russian authorities arrest 14 suspected REvil members.

Notable victim: Coop Sweden

Coop closed about 800 stores for almost a week, some in villages with no other food shop. It didn't pay the ransom and rebuilt systems after waiting for Kaseya's update (Wikipedia).

Context

CISA had warned in 2018 that attackers were targeting MSPs to reach their customers. The attack came two months after Colonial Pipeline and was compared to SolarWinds as a supply chain attack, here abusing a management channel rather than a build pipeline.

Why MSP tools are so attractive

One RMM server can run scripts as administrator on thousands of machines across dozens of companies. Compromising it skips the hard work of breaking into each victim individually.

Keep reading to the end to earn XP.Read. XP earned.

Failure replay

Step by step, what broke and what it hit next.

  1. Mar–Apr 2021
    Kaseya VSAdegraded

    Researchers report seven VSA zero-days. Four are fixed; others remain open.

  2. Jul 2, 2021
    REvilcompromised

    REvil exploits an authentication bypass in on-premises VSA servers.

    Affects: Kaseya VSA

  3. Jul 2
    Kaseya VSAcompromised

    Using VSA's own management channel, attackers push a malicious payload to the endpoints it manages.

    Affects: MSPs

  4. Jul 2
    MSPscompromised

    About 60 managed service providers are hit, each managing many client companies.

    Affects: Client businesses

  5. Jul 2–5
    Client businessesdown

    800–1,500 businesses are encrypted. Coop Sweden closes 800 stores; schools and towns are hit too.

  6. Jul 2–5
    Kaseya VSArecovering

    Kaseya shuts down cloud VSA and tells customers to shut down on-premises servers. REvil demands $70M.

  7. Jul 23, 2021
    Client businessesrecovering

    Kaseya obtains a universal decryptor key, reportedly from the FBI, and helps victims restore without paying.

Impact

Who was affected
About 60 managed service providers and 800–1,500 downstream businesses, including Coop Sweden's 800 stores, New Zealand schools and a Maryland town.
How long
Attack on 2 July 2021; Coop's stores closed for almost a week; universal decryptor available from 23 July.
Cost
not disclosed (REvil demanded US$70 million; Kaseya said it didn't pay).

Lessons

  • Remote management tools are high-value targets; patch them on emergency timelines.
  • Fix responsibly disclosed vulnerabilities quickly; attackers may find them too.
  • Limit internet exposure of admin servers and require strong authentication.
  • Segment so one MSP tool compromise can't reach every client at once.
  • Customers of MSPs should ask how their providers secure management tools.

Quiz

  1. How did REvil deliver ransomware to so many businesses?

    Check answer

    By compromising Kaseya VSA and pushing the payload through it to managed endpoints. An authentication bypass let attackers use VSA's management channel to distribute the payload.

  2. What had happened before the attack?

    Check answer

    Researchers from DIVD reported seven zero-days to Kaseya; four were fixed before the attack. DIVD contacted Kaseya on 6 April 2021; not all bugs were patched by 2 July.

  3. Which large retailer had to close about 800 stores?

    Check answer

    Coop Sweden. Coop's systems were managed by Visma, an affected MSP.

  4. How did victims eventually decrypt their files?

    Check answer

    Kaseya obtained a universal decryptor key, reportedly from the FBI, and built a tool with Emsisoft. Kaseya announced the key on 23 July 2021 and said it didn't pay the ransom.

Interview prep

Try answering out loud before you open the model answer.

  1. security

    Why are remote monitoring and management tools like Kaseya VSA such attractive targets for ransomware groups?

    Show model answer

    They have privileged, automated access to many machines across many organisations: running scripts, installing software, changing settings. Compromise the RMM server and you can push ransomware to every managed endpoint through a trusted channel, bypassing each victim's perimeter. With MSPs, that multiplies across dozens of clients. REvil used a VSA authentication bypass to reach 800–1,500 businesses at once.

    A strong answer hits:

    • Privileged automated access by design
    • Trusted channel bypasses defences
    • MSP multiplier effect
  2. system design

    You're an MSP using an RMM tool to manage 50 client companies. How would you limit damage if the RMM server is compromised?

    Show model answer

    Don't expose the RMM console to the internet; use VPN or zero-trust access with MFA. Patch it immediately when advisories land. Separate instances or tenants per client, or at least strict per-client permissions, so one compromise doesn't reach everyone. Require approval for mass script deployment, alert on unusual job patterns (for example the same script pushed to many clients), and keep offline backups for clients. Have a kill switch to stop all agent jobs, and rehearse the scenario.

    A strong answer hits:

    • No internet exposure; MFA
    • Rapid patching
    • Per-client isolation and permissions
    • Approval, anomaly alerts, kill switch, backups
  3. behavioural

    A researcher reports seven critical vulnerabilities in your product. You fix four quickly, but three take longer. How do you manage the remaining risk?

    Show model answer

    Be transparent with customers about mitigations even before a full patch: recommend reducing exposure (firewalling the service), extra monitoring and temporary workarounds. Prioritise the remaining fixes by exploitability, ship partial mitigations, and keep the researcher informed. Prepare an incident plan in case of exploitation. Kaseya was attacked through an unpatched flaw months after disclosure, which shows the cost of delay.

    A strong answer hits:

    • Interim mitigations and customer guidance
    • Prioritise by exploitability
    • Coordinate with researcher
    • Prepare for exploitation

Go deeper