Gå til innholdet
← DevSecOps and software supply chain security

Leksjon 3 av 7 · 9 min

Software supply chain attacks: SolarWinds and Log4Shell

Two incidents changed how the world thinks about software you did not write. Learn what happened with SolarWinds Orion and the Log4j vulnerability, what they have in common, and what defenders took away.

Denne siden er foreløpig på engelsk.

Almost no organisation writes all of its own software. Applications are built on open-source libraries, installed from vendors, updated automatically and run on platforms maintained by others. Each of those is a link in a software supply chain. An attacker who compromises one link can reach every organisation downstream at once, often through channels that are trusted by design, such as signed updates. Two incidents made this impossible to ignore.

SolarWinds Orion: a trusted update turned against its users

In December 2020, it became public that attackers had compromised the build process of SolarWinds Orion, a widely used IT monitoring platform. Malicious code was inserted into legitimate Orion updates, which were then distributed to customers through the normal update channel. Because the updates came from the real vendor, customers had every reason to trust and install them. Once installed, the altered software could give the attackers a foothold inside the network.

CISA issued Emergency Directive 21-01, requiring US federal civilian agencies to immediately disconnect or power down affected Orion products, and published a detailed advisory (AA20-352A) describing the activity and the long, careful approach the attackers took after gaining access.

Log4Shell: one library, everywhere

In December 2021, a critical flaw was disclosed in Apache Log4j 2, a very common Java logging library. Tracked as CVE-2021-44228 and nicknamed Log4Shell, it could allow a remote attacker to run code on a vulnerable system simply by getting a crafted text string logged. NIST’s National Vulnerability Database rates it at the maximum severity. The hard part was not the patch, which the Apache project released quickly. It was finding every place Log4j was used: inside vendor products, bundled deep in other libraries, in systems nobody knew contained Java at all.

The US Cyber Safety Review Board, in its July 2022 report on Log4j, concluded that the vulnerability would remain a risk for years, because vulnerable copies would persist in systems that are rarely updated.

Two different attacks, one lesson

SolarWinds OrionLog4Shell
TypeDeliberate compromise of a vendor’s buildAccidental flaw in a popular open-source library
Entry pointA trusted, signed updateAny input that the application logged
Why it spreadCustomers installed updates from a trusted vendorThe library was embedded in huge numbers of products
Hardest problem for defendersTrusted software behaving badlyKnowing where the component was used

Both incidents showed that you inherit the risk of everything you run, and that you cannot respond quickly to what you cannot list. That insight drove the push for software bills of materials, build integrity and signing, which are covered in the next lesson.

What defenders do differently now

  • Keep an inventory of software and its components, so “are we affected?” takes minutes, not weeks.
  • Protect build systems as carefully as production: they produce what your customers trust.
  • Limit what monitoring and management tools can reach; they often hold wide privileges.
  • Watch outbound traffic from trusted software too. A signed application contacting new destinations is still worth a look.
  • Follow CISA’s Known Exploited Vulnerabilities catalogue to prioritise patching.

Where FireAI fits

A SolarWinds-style attack is a reminder that a valid signature proves who built software, not that it behaves well. FireAI ties rules to an app’s verified code signature, and it also judges where the app connects: Investigate lists signs such as the first time an app contacts a destination, and the world map shows when a familiar, signed app starts talking somewhere new. Its opt-in threat lists can include CISA KEV and NIST NVD data for your apps’ versions.

Det viktigste

  • A supply chain attack compromises one link to reach everyone downstream.
  • SolarWinds showed that trusted, signed updates can carry malicious code.
  • Log4Shell showed that you cannot patch what you cannot find.
  • Inventory, build protection and watching trusted software’s behaviour are the core defences.

Test deg selv

  1. 1. How did the SolarWinds Orion compromise reach customers?

    • Through phishing emails to each customer
    • Through legitimate Orion updates distributed via the normal channel — Riktig.
    • Through a flaw in Windows
    • Through stolen laptops

    The attackers altered the vendor’s build, so trusted updates carried their code to customers.

  2. 2. What made Log4Shell so hard to respond to?

    • No patch was ever released
    • Organisations struggled to find everywhere the library was used — Riktig.
    • It only affected one company
    • It required physical access

    Log4j was embedded deep in countless products. Finding every copy was the real challenge.

  3. 3. Which practice most directly speeds up answering “are we affected?”

    • A software and component inventory — Riktig.
    • Longer passwords
    • Turning off logging
    • Buying more servers

    Knowing what components you run is what lets you check exposure quickly when a new flaw is announced.

Prøv det med FireAI

Sett denne leksjonen ut i praksis på din egen Mac.

Kilder

Ta det i bruk på din Mac

Prøv alle funksjonene gratis i 17 dager, uten kort.

Last ned for Mac Dokumentasjon