Supply chain13 Dec 2020

SolarWinds SUNBURST

Attackers slipped a backdoor into SolarWinds' build system, and about 18,000 organisations installed it in a signed, official update.

Severity
History books
Difficulty
advanced
Companies
SolarWinds, FireEye, Microsoft, US Treasury, US Department of Commerce
Tech
SolarWinds Orion, Build systems, Code signing, .NET, Office 365
Root cause
poisoned dependency, stolen credentials

The story

Quick (1 min)

On 13 December 2020, the world learned that hackers, later attributed by the US to Russia's foreign intelligence service, had broken into US government departments and many companies through software called SolarWinds Orion, a tool IT teams use to monitor their networks.

The attackers got into SolarWinds' build system, the machinery that turns code into the software customers download. They secretly added a backdoor to Orion updates. The updates were digitally signed by SolarWinds and published on its official site, so they looked completely legitimate.

About 18,000 customers installed the poisoned update. The attackers then picked a much smaller set of high-value targets to actually break into, including the US Treasury and Commerce departments. It went undetected for months and was discovered by security firm FireEye while investigating its own breach.

The lesson: if attackers control how software is built, a valid signature means nothing. Build systems need production-grade security.

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

Engineer (2 min)

Build system compromise. Per Wikipedia, attackers had a foothold in SolarWinds' software publishing infrastructure no later than September 2019. A first modification in October 2019 was a proof of concept. From March 2020 they planted the backdoor into Orion updates. The build used TeamCity (JetBrains), and access was possibly via SolarWinds' compromised Office 365 account.

The backdoor (Mandiant/FireEye). The trojanised SolarWinds.Orion.Core.BusinessLayer.dll was a SolarWinds-digitally-signed plugin (signed 24 March 2020) distributed in normal update packages (for example ...Hotfix5.msp). Loaded by the legitimate SolarWinds.BusinessLayerHost.exe, it:

  • stayed dormant for up to two weeks (Wikipedia says 12–14 days);
  • then retrieved and executed "Jobs": transfer and execute files, profile the system, reboot, disable services;
  • disguised its traffic as the Orion Improvement Program (OIP) protocol and hid results in legitimate plugin configuration files.

Selective follow-up. Of 33,000 Orion customers, about 18,000 downloaded compromised versions, but attackers used "only a small fraction" of them, pivoting inside high-value networks with tools like Cobalt Strike. Orion's trusted connection to customers' Office 365 gave further access. US-based cloud command-and-control servers helped them evade the DHS Einstein system.

Beyond SolarWinds. The campaign also abused Microsoft products and a Microsoft cloud reseller, and the Zerologon NetLogon vulnerability, reaching some victims who weren't Orion customers.

Interview takeaway: treat build and CI infrastructure as tier-0 assets: isolation, hardware-backed signing, reproducible builds, and monitoring for unexpected build output changes.

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

Deep dive (2 min)

Timeline (Wikipedia, Mandiant)

  • No later than September 2019: attackers establish a foothold in SolarWinds' publishing infrastructure.
  • October 2019: first known build modification, a proof of concept.
  • December 2019 – February 2020: command-and-control infrastructure set up.
  • March 2020: trojanised Orion updates begin. The malicious DLL is signed on 24 March 2020; trojanised updates are signed and posted from March to May 2020.
  • Spring–December 2020: dormant backdoors activate in about 18,000 environments; selective intrusions into high-value targets.
  • 8 December 2020: FireEye announces its red team tools were stolen by a state-sponsored attacker. It discovers the SolarWinds compromise while investigating.
  • 12 December 2020: White House National Security Council meeting on the federal breaches.
  • 13 December 2020: first public reports (Treasury, NTIA). FireEye/Mandiant publishes its SUNBURST analysis. CISA Emergency Directive tells federal agencies to disconnect or power down SolarWinds Orion.
  • 5 January 2021: CISA, FBI, NSA and ODNI say Russia is the most likely culprit.
  • 10 June 2021: FBI Director Christopher Wray attributes it to Russia's SVR specifically.

Scale

SolarWinds had 300,000 customers; 33,000 used Orion; about 18,000 downloaded compromised versions (Wikipedia). Victims included multiple US federal agencies and private companies worldwide.

Red flags before the attack (Wikipedia)

  • Criminals had reportedly been selling access to SolarWinds infrastructure since at least 2017.
  • SolarWinds had advised customers to disable antivirus before installing its software.
  • In November 2019, a researcher warned that SolarWinds' FTP server was insecure.

Why it's the defining supply chain attack

Customers did everything "right": they installed signed updates from the official vendor site. The integrity of the build process was the weak point, which led to major efforts on software supply chain security: SBOMs, SLSA, reproducible builds, and US Executive Order 14028.

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

Failure replay

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

  1. Sep 2019
    SolarWinds build systemcompromised

    Attackers gain a foothold in SolarWinds' software publishing infrastructure. A test change follows in October.

    Affects: Orion update

  2. Mar 2020
    Orion updatecompromised

    The build injects the SUNBURST backdoor into a DLL. SolarWinds signs it and publishes it on its official site.

    Affects: Orion customers

  3. Mar–Jun 2020
    Orion customerscompromised

    About 18,000 organisations install the update. The backdoor sleeps for up to two weeks.

    Affects: Attacker C2

  4. 2020
    Attacker C2compromised

    Backdoors call home disguised as Orion telemetry. Attackers choose a small set of high-value targets.

    Affects: Target networks

  5. 2020
    Target networkscompromised

    Inside agencies like Treasury and Commerce, attackers move laterally and pivot into Office 365 email.

  6. Dec 8–13, 2020
    FireEyerecovering

    Investigating the theft of its own tools, FireEye uncovers SUNBURST and publishes detections.

    Affects: Orion customers

  7. Dec 13, 2020
    Orion customersrecovering

    CISA orders federal agencies to disconnect SolarWinds Orion. A long investigation and cleanup follows.

Impact

Who was affected
About 18,000 organisations downloaded compromised Orion versions; a smaller number of high-value targets, including multiple US federal agencies and private companies, were actively breached.
How long
Foothold from no later than September 2019; malicious updates from March 2020; discovered December 2020.
Cost
not disclosed

Lessons

  • A valid code signature only proves who built it, not that the build was clean; secure the build pipeline.
  • Treat CI/CD and signing infrastructure as your most sensitive systems.
  • Monitoring software is highly privileged; compromising it gives attackers privileged access.
  • Detection often comes from a victim noticing something odd; share intelligence quickly.
  • Long dormancy and blending into normal traffic defeat simple anomaly detection.

Quiz

  1. Where did the attackers insert the SUNBURST backdoor?

    Check answer

    Into SolarWinds' build system, so official Orion updates contained it. The trojanised DLL was built, signed and published through SolarWinds' normal process.

  2. About how many organisations downloaded a compromised Orion version?

    Check answer

    About 18,000. Of 33,000 Orion customers, around 18,000 downloaded affected versions; far fewer were actively exploited.

  3. How did the backdoor try to avoid detection?

    Check answer

    It stayed dormant for up to two weeks and disguised traffic as the Orion Improvement Program protocol. Mandiant described dormancy and traffic masquerading as legitimate Orion telemetry.

  4. How was the campaign discovered?

    Check answer

    FireEye found it while investigating the theft of its own red team tools. FireEye announced its breach on 8 December and published SUNBURST details on 13 December 2020.

Interview prep

Try answering out loud before you open the model answer.

  1. security

    SolarWinds' malicious update was digitally signed. Why didn't code signing protect customers, and what would?

    Show model answer

    Signing proves the code came from SolarWinds' signing process, but attackers modified the code inside the build system before signing, so the malicious DLL got a legitimate signature. Protection has to cover the build itself: isolated, hardened, ephemeral build environments, reproducible builds compared across independent builders, provenance attestations (SLSA) linking binaries to reviewed source, hardware-protected signing with approval steps, and monitoring of build outputs for unexpected changes. Customers can add defence in depth: least privilege for monitoring tools, egress controls, and anomaly detection on vendor software.

    A strong answer hits:

    • Signature attests the signer, not build integrity
    • Hardened, reproducible builds and provenance
    • Protected signing with approvals
    • Customer-side least privilege and egress controls
  2. system design

    Design a secure CI/CD pipeline for a vendor whose software runs with high privileges at thousands of customers.

    Show model answer

    Source: protected branches, mandatory reviews, signed commits. Build: ephemeral, isolated builders from known-good images, no persistent credentials, network egress restricted, all dependencies pinned and fetched from verified mirrors. Integrity: reproducible builds compared between two independent pipelines; generate SLSA provenance and SBOMs. Signing: keys in HSMs, signing only artifacts with valid provenance, with two-person approval for releases. Monitoring: audit logs for pipeline changes, alerts on build script modifications. Release: staged rollout, and a fast revocation path.

    A strong answer hits:

    • Protected source and reviews
    • Ephemeral isolated builders, pinned dependencies
    • Reproducible builds, provenance, SBOM
    • HSM signing with approvals; monitoring and staged release
  3. behavioural

    CISA told agencies to disconnect SolarWinds Orion, their network monitoring tool. How would you handle losing visibility like that during an incident?

    Show model answer

    Accept short-term loss of monitoring to stop active compromise; a backdoored monitoring tool is worse than none. Prepare beforehand: have secondary monitoring sources (network flow logs, EDR, cloud logs) that don't depend on one vendor. During the incident, prioritise critical assets for manual checks, rotate credentials the tool had access to, and rebuild from clean images before reconnecting.

    A strong answer hits:

    • A compromised tool must be disconnected
    • Independent secondary telemetry
    • Credential rotation and clean rebuilds

Go deeper