|8 min read|Yvann Lièvre

Supply Chain Attacks: From SolarWinds to XZ Utils, Lessons and Defenses

Analysis of major supply chain attacks, the role of SBOM, Syft/Grype tooling, and cryptographic signature verification.

Supply ChainSBOM

Supply chain attacks have become the preferred vector for the most sophisticated APT groups. From SolarWinds (2020) to the XZ Utils backdoor (2024), each incident reveals the same structural flaw: we blindly trust our software supply chain.

Anatomy of Major Supply Chain Attacks

SolarWinds (2020): The Perfect Infiltration

UNC2452 (attributed to Russian SVR) compromised SolarWinds Orion's build pipeline, injecting the SUNBURST backdoor into a legitimate update. Result: 18,000 organizations installed the malware, including the US Treasury and Microsoft. Detection took 14 months.

XZ Utils (2024): Long-term Social Engineering

An attacker using the pseudonym "Jia Tan" patiently gained the trust of the XZ Utils maintainer over two years before injecting a backdoor into the compression library used by OpenSSH on most Linux distributions. Detected by chance through a performance anomaly, this attack could have compromised millions of servers.

3CX (2023): The Cascade

The 3CX attack illustrates a cascading supply chain attack: the X_TRADER trading software was first compromised, then used to access 3CX's build environment, affecting 600,000 customers. One supply chain compromising another.

SBOM: Your First Line of Defense

The Software Bill of Materials is the structural answer to supply chain attacks. It is the exhaustive inventory of all software components in your application, with versions, licenses, and transitive dependencies.

Without an SBOM, when a vulnerability is found in a library like Log4j, you have no idea which of your systems are affected. With an up-to-date SBOM, the answer is immediate.

Generating an SBOM with Syft

Syft (Anchore) is the reference tool for generating SBOMs. It supports Docker images, filesystems, and code directories, producing SBOMs in SPDX and CycloneDX formats. Integrated into your CI/CD, Syft automatically generates an SBOM at every build.

Scanning Vulnerabilities with Grype

Grype (Anchore) takes an SBOM as input and compares it against vulnerability databases (NVD, GitHub Advisory, Alpine SecDB). It is the essential complement to Syft: the SBOM identifies components, Grype identifies risks.

Integrity Verification with BLAKE3

BLAKE3 is an ultra-fast cryptographic hash function that advantageously replaces SHA-256 for artifact integrity verification. Integrating BLAKE3 verification in your pipeline means any artifact modified between build and deployment will be detected. Combined with digital signatures (Sigstore/Cosign), it provides robust defense against artifact tampering.

Complete Defense Strategy

  • Generate an SBOM at every build and store it as an artifact

  • Automatically scan for vulnerabilities (Grype, Trivy)

  • Verify signatures of all downloaded artifacts

  • Use private mirrors for critical dependencies

  • Lock dependencies (lock files) and pin versions

  • Audit maintainers of your critical dependencies

ThreatClaw integrates software supply chain monitoring into its platform, with SBOM generation, vulnerability scanning, and real-time alerts. Explore our expertise and plans.

FAQ

What is a software supply chain attack?

It is an attack that targets a link in the software supply chain (library, build tool, update) to indirectly compromise end users.

Is SBOM mandatory?

The European Cyber Resilience Act makes SBOM mandatory for products with digital elements. US Executive Order 14028 requires it for federal government suppliers.

How do you detect a supply chain attack?

Detection relies on artifact integrity verification, behavioral analysis of components, and anomaly monitoring in the CI/CD pipeline. No single measure is sufficient.

What is the difference between SPDX and CycloneDX?

SPDX (Linux Foundation) and CycloneDX (OWASP) are two SBOM formats. SPDX is more license and compliance-oriented. CycloneDX is more security and vulnerability-oriented. Both are accepted by regulators.

Related articles