Security operations

Supply Chain Attack: What It Is, How It Works and How to Stop It

A supply chain attack does not target you directly. It targets a vendor you trust, then rides that trust into your network. Here is how it works and how to stop it.

Cysoro Security TeamPublished · 10 min read
VENDORYOUYOUYOU SECURITY OPERATIONS Supply chainattack One vendor. Thousands of victims.
Quick answer

A supply chain attack is an attack that compromises a trusted supplier, product or service in order to reach that supplier's customers. The attacker inserts malicious code into software, an update or an open-source package before it reaches you, so the malware arrives signed, trusted and already inside your network.

Key takeaways

  • A supply chain attack enters through a trusted vendor, so it bypasses the usual phishing and download defenses.
  • The three most common methods are hijacking software updates, undermining code signing and compromising open-source code.
  • Defense means knowing your suppliers, demanding SBOMs, patching fast and monitoring for unusual behavior after every update.

Most attacks knock on your front door. A supply chain attack comes in through a vendor you already invited inside. When a trusted software update, a managed service tool or an open-source package turns malicious, it arrives signed, approved and already past your defenses.

What is a supply chain attack?

A supply chain attack is an attack that compromises a trusted supplier, product or service in order to reach that supplier's customers. The attacker does not need to phish your staff or find a hole in your firewall.

CISA and NIST define a software supply chain attack as one in which a threat actor infiltrates a software vendor's network, as set out in CISA's supply chain guidance and uses malicious code to compromise the software before the vendor sends it to customers. The compromised software then compromises the customer's data or system.

ENISA describes it as a combination of at least two attacks: one on a supplier, then one on the supplier's customers, using the access gained in the first. That two-step pattern is what makes it so hard to detect.

The key point is trust. You trust your software vendor, your managed service provider and your cloud tools. A supply chain attack turns that trust into a weapon, and no click on a bad link is required.

How does a supply chain attack work?

A supply chain attack usually follows four steps: pick a supplier with many customers, compromise that supplier, insert malicious code into a product or update, and then use the trusted product to reach the customers.

How a supply chain attack spreads1Pick a supplierone vendor,many customers2Poison the productmalware in the buildor update3Ship it trustedsigned update,no warning signs4Attack customerspick the besttargets, then actOne compromise can reach thousands of customers at once.
The four steps of a supply chain attack. Illustration by Cysoro.

The attacker first chooses a supplier that many organizations rely on: a software vendor, a managed service provider, a cloud platform or a popular open-source library. Compromising one supplier is more efficient than attacking each customer separately.

Next, the attacker gets into the supplier's build or update system, often by stealing a developer's credentials or exploiting a vulnerability. They insert malicious code into the software, then wait for the vendor to sign and ship it as a normal update.

Customers install the update because they trust the vendor and the digital signature. The malware then runs with the same privileges as the trusted software, often with administrative access, and the attacker can pick the most valuable targets to exploit further.

What are the main types of supply chain attack?

CISA and NIST name three common methods: hijacking updates, undermining code signing and compromising open-source code. Other attacks target hardware, managed service tools and third-party access.

TypeHow it worksWell-known exampleWhat it teaches
Hijacked updateMalware inserted into a routine software updateSolarWinds Orion, 2020A valid signature does not prove a clean build
Undermined code signingAttacker signs malware as if it came from the vendorVarious signing-key theftsProtect signing keys like crown jewels
Open-source compromiseMalicious code added to a public libraryXZ Utils, 2024; npm worm, 2025Pin versions and review updates
Managed service toolRemote-management tool used to reach clientsKaseya, 2021Limit vendor access and monitor it
Third-party accessVendor credentials used to enter a customerTarget, 2013Vendor accounts need MFA and limits

Hijacking updates is the most famous method. The attacker inserts malware into a routine update by infiltrating the vendor's network, and customers install it willingly. Undermining code signing works by self-signing certificates, breaking signing systems or exploiting misconfigured access controls, so the malware looks legitimate.

Compromising open-source code means inserting malicious code into a publicly accessible library, which developers then download and build into their own products. The XZ Utils backdoor in 2024 and a self-replicating npm worm reported by CISA in 2025 both used this route.

What are real examples of supply chain attacks?

Real cases show the range: a software update, a managed service tool, a file-transfer product and an open-source library. Each one reached far more victims than a direct attack ever could.

SolarWinds Orion, 2020

In 2020, attackers inserted a backdoor into routine updates for SolarWinds Orion, an IT management platform. The updates were signed and distributed to customers, and SolarWinds estimated that fewer than 18,000 customers installed affected versions.

The attackers, attributed to Russia's Foreign Intelligence Service, then picked a subset of high-value targets, mainly US government agencies, and used the foothold to move deeper. The compromise was detected in December 2020 by FireEye, months after the malicious updates shipped.

Kaseya, 2021

In 2021, attackers exploited Kaseya VSA, a remote-management tool used by managed service providers, to push ransomware to the providers' customers. One compromised tool reached hundreds of downstream businesses in a single weekend.

The lesson is that a tool with administrative access to many networks is a high-value target. If you use a managed service provider, ask how they protect that tool and how they would tell you if it were compromised.

MOVEit, 2023

In 2023, the Cl0p ransomware group exploited a vulnerability in MOVEit Transfer, a widely used file-transfer product, to steal data from hundreds of organizations. Victims included government agencies, universities and large companies that had never been directly targeted.

MOVEit shows that a supply chain attack does not always need a poisoned update. A vulnerability in a shared product, exploited at scale, can have the same effect.

XZ Utils, 2024

In 2024, a backdoor was found in XZ Utils, a compression library used in many Linux systems. The attacker had spent years building trust as a contributor before inserting the backdoor, which shows how patient and well-resourced these campaigns can be.

ENISA's 2024 threat landscape report, summarized by Socket, noted that state-sponsored attacks on open-source software were becoming more aggressive, with a focus on update mechanisms and build systems.

Why are supply chain attacks so hard to detect?

Supply chain attacks are hard to detect because the malicious code arrives through a trusted channel. Your antivirus trusts the vendor, your firewall allows the update, and your staff install it on purpose.

CISA notes that these attacks can be difficult to detect and protect against because vulnerabilities may be introduced during any phase of a product's life cycle, from design and development through distribution, deployment and maintenance.

They are also hard to detect because the attacker is patient. In SolarWinds, the attackers persisted unnoticed for months before inserting malware into updates. In XZ Utils, the build-up took years. A short monitoring window will miss that kind of campaign.

Finally, the blast radius is wide. When one product is compromised, every customer is a potential victim, so the attacker can choose the best targets and ignore the rest. That makes the attack look small until it is already large.

Who is most at risk from supply chain attacks?

Every organization that uses third-party software is at risk, but some are more exposed than others. The more vendors you rely on, and the more access you give them, the larger your supply chain risk.

Small businesses are at risk because they use the same software and managed service providers as large companies, but they have fewer people watching for signs of compromise. A poisoned update does not care how big your company is.

Government agencies, healthcare, finance and critical infrastructure are priority targets, because they hold sensitive data and their disruption has wide effects. ENISA identified highly complex supply chains and their software dependencies as the number one threat in its forecast of cyber threats up to 2030.

Developers are also at risk, because a compromised open-source package can enter their product and then reach their customers. If you build software, your supply chain includes every library and tool you use.

How do you prevent a supply chain attack?

You cannot prevent every supply chain attack, but you can make your organization a harder target and a faster responder. CISA and NIST recommend a formal cyber supply chain risk management program, built on eight best practices.

Eight CISA and NIST best practices1. Integrate C-SCRM across the organization2. Establish a formal C-SCRM program3. Know and manage critical suppliers4. Understand your supply chain5. Collaborate closely with key suppliers6. Include suppliers in resilience work7. Assess and monitor suppliers8. Plan for the full lifecycle
CISA and NIST's eight best practices for cyber supply chain risk management. Illustration by Cysoro.

Know your suppliers and components. Keep an inventory of every vendor, product and open-source component you use. Ask vendors for an SBOM, and check it when a new vulnerability is announced.

Set security requirements in contracts. Require vendors to meet security standards, report breaches promptly and allow audits. A contract is the only leverage you have before an incident.

Limit vendor access. Give vendors the least access they need, require phishing-resistant MFA on vendor accounts, and review that access regularly. The Target breach in 2013 started with a vendor's stolen credentials.

Patch promptly, but watch after patching. Install updates quickly, because unpatched software is also a risk, but monitor for unusual behavior after an update. A poisoned update looks normal until it starts phoning home.

For a wider starting point, our small business cybersecurity checklist covers vendor risk alongside backups, updates and device security.

How do you detect a supply chain attack?

Detection starts with knowing what normal looks like. If you know which servers your software normally contacts, a new connection to an unknown server after an update stands out.

  • Monitor outbound traffic. Watch for new or unusual destinations, especially after a software update or a new vendor deployment.
  • Watch for new scheduled tasks and services. Supply chain malware often sets up persistence, so a new task that appears after an update is worth investigating.
  • Check code signing and hashes. Verify that updates match the vendor's published hashes, and watch for signing certificates that change unexpectedly.
  • Use threat intelligence. Subscribe to CISA advisories and vendor security bulletins, so you hear about a compromised product quickly.
  • Test your backups. If you do find a compromise, clean backups are the fastest way back. Test them before you need them.

Detection is also a vendor question. Ask your key vendors how they would tell you about a breach, and how fast. A vendor that takes weeks to notify customers is a vendor you should reconsider. You can check the security posture of your own public services with our free security headers checker.

What should you do if a vendor is compromised?

Act fast, even if you are not sure you are affected. The first hours matter, because the attacker is using that window to pick targets and deepen access.

  1. Find out what is affected. Ask the vendor which products, versions and dates are involved, and check your inventory for matches.
  2. Isolate affected systems. Disconnect or restrict systems running the compromised product until you know more.
  3. Look for signs of compromise. Check logs for unusual outbound connections, new accounts and new scheduled tasks.
  4. Change credentials. Rotate any credentials the vendor had access to, and any credentials stored on affected systems.
  5. Patch or rebuild. Follow the vendor's guidance, but rebuild affected systems from clean media if the guidance says the compromise was deep.
  6. Tell your own customers if needed. If their data may be affected, notify them promptly and honestly.
Do not just uninstall and move onRemoving the compromised software does not remove an attacker who already has a foothold. Check for persistence, new accounts and stolen credentials before you declare the incident over.

What is an SBOM and why does it matter?

An SBOM, or software bill of materials, is a list of every component in a piece of software. It is like an ingredients list for a product, and it tells you exactly what is inside.

When a vulnerability is announced in a popular library, an SBOM lets you answer one question in minutes: are we using it? Without an SBOM, that question can take days of manual checking across every system and project.

In the US, federal suppliers are required to provide SBOMs, and the EU's NIS2 Directive requires companies to address cyber security risks in supply chains. Ask your vendors for SBOMs now, before a crisis, and store them where your security team can find them.

For software you build yourself, generate an SBOM as part of your build process. Tools that scan your dependencies can do this automatically, and the SBOM becomes part of your release record. Our Hyperproof alternatives guide covers platforms that help track controls and evidence for these programs.

The bottom line

A supply chain attack is dangerous because it uses trust against you. The malware arrives as a signed update from a vendor you chose, so your usual defenses do not flag it.

You cannot eliminate that risk, but you can shrink it: know your suppliers, demand SBOMs, limit vendor access, patch promptly and watch for unusual behavior after every update. Start by mapping your own attack surface with our attack surface management platform.

Frequently asked questions

What is a supply chain attack in simple terms?

It is an attack on a supplier that you trust, used to reach you. Instead of hacking your company directly, the attacker compromises a vendor's software or service, and the malicious code arrives with a trusted update or product.

What is an example of a supply chain attack?

The SolarWinds attack in 2020 is the best-known example. Attackers inserted a backdoor into routine Orion software updates, which were then installed by thousands of customers, including US government agencies.

How is a supply chain attack different from a normal cyberattack?

A normal attack targets you directly, often with phishing or an exposed login. A supply chain attack targets a vendor first, then uses the trust you place in that vendor to get inside without any click or download from you.

Can a small business be hit by a supply chain attack?

Yes. Small businesses use the same software, managed service providers and cloud tools as large companies, so a compromised update can reach them too. They are also less likely to notice it, because they have fewer monitoring tools.

How do you prevent a supply chain attack?

You cannot prevent every attack, but you can reduce the risk: keep an inventory of suppliers and software, require SBOMs, patch promptly, use phishing-resistant MFA, monitor vendor access and test your backups.

What is an SBOM?

An SBOM, or software bill of materials, is a list of every component in a piece of software, like an ingredients list. It helps you find out quickly whether a vulnerable or compromised component is in your systems.

What should I do if a vendor tells me they were breached?

Ask which products and versions are affected, isolate those systems, check for unusual activity, change credentials the vendor had access to, and follow the vendor's guidance on patching or rebuilding affected systems.

Are open-source packages a supply chain risk?

Yes. Attackers can compromise a popular package, a maintainer's account or a build system, and the malicious code then flows into every project that uses that package. Pin versions, review updates and use a private registry where you can.

Sources

  1. CISA — April is National Supply Chain Integrity Month, Week 4
  2. CISA and NIST — Defending Against Software Supply Chain Attacks (via Epstein Becker Green)
  3. ENISA — 2024 Threat Landscape report on supply chain attacks (via Socket)
  4. CPO Magazine — NIST and CISA Release Guidelines for Software Supply Chain Attacks
  5. Switch — Number one cyber threat: the supply chain
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against CISA and NIST guidance on defending against software supply chain attacks and ENISA threat landscape reporting.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free