Threat Intelligence

When the Update Is the Attack

Elena VasquezElena VasquezCo-founder & CEO22 Dec 20204 min read3410 views
Editorial cover for “When the Update Is the Attack”

Every security programme in the world contains an instruction to keep software up to date. This month the industry has been reminded that the instruction carries an assumption: that the update is what the vendor intended to ship.

A widely deployed network monitoring platform distributed a signed update containing attacker code. It passed every check an ordinary organization performs, because from the outside it was a legitimate update: correct source, valid signature, normal delivery channel. The organizations affected did nothing wrong by installing it. They did the thing we all tell them to do.

We want to be careful here about what is and is not new, and about what a mid-sized company should actually do differently on Monday.

What is genuinely new

Not the technique. Compromising a supplier to reach its customers is old, and there have been prior examples significant enough to have their own case studies.

What is new is the demonstration of scale and patience together. A build system compromised quietly, code inserted into a legitimate product, a dormancy period before activation, and then extremely selective follow-on activity against a small subset of the thousands of organizations that installed it. The operators were not farming victims. They were shopping.

That combination matters for defenders because it breaks the intuition that a big compromise is a loud compromise. The initial delivery was mass; the exploitation was surgical and quiet. Most organizations that received the malicious update were never touched afterwards — which is genuinely good news, and also means "we saw nothing" is weak evidence.

What a 200-person company should take from this

There is a lot of commentary this month aimed at organizations with a threat-hunting team and a budget for build-system attestation. Most of our clients have neither. Here is the version that applies to them.

You cannot audit your suppliers' build pipelines, and you should stop feeling bad about that. What you can do is reduce what a compromised supplier reaches.

Inventory the software that has privilege. Not all software. The subset that runs as administrator or system, holds credentials into your environment, or has an agent on every machine: monitoring tools, backup agents, remote management platforms, endpoint software, deployment tooling. That list is usually shorter than people expect — often under fifteen products — and it is the list that matters, because those are the products where a poisoned update is a full compromise rather than an inconvenience.

Ask what each one can reach. A monitoring platform with domain administrator rights and unrestricted outbound internet is a different risk from the same platform with a scoped service account and egress to a defined destination. The second is achievable in an afternoon for most products and is the single highest-value change available here.

Constrain egress for management infrastructure. The activity that made this campaign detectable — for the organizations that detected it — was outbound: a server that had never spoken to anything unusual beginning to resolve and reach an unfamiliar domain. Servers running management software rarely need arbitrary internet access. Restricting it turns a silent compromise into a blocked connection and an alert.

Keep enough logs to answer the question later. The practical difficulty facing many affected organizations right now is not detection, it is retrospection: the malicious update shipped months before anyone knew, and answering "did this touch us" requires DNS, network and authentication logs from a period most retention policies have already discarded. Ninety days is a floor. For servers and identity, more is better.

The vendor questions that are actually worth asking

Security questionnaires are largely theatre, and we say so to clients regularly. But a handful of questions do change the answer, and this episode sharpens them.

  • What credentials or access does your product hold in our environment, and can that be scoped down?
  • What network destinations does it require, and will you commit to that list?
  • How do you notify customers of a compromise affecting your build or update infrastructure, and within what timeframe?
  • Can we stage your updates — a canary group before general rollout — or does your platform update everything at once?

That last one is the most revealing. A vendor that cannot let you stage its updates is asking you to accept simultaneous change across your entire estate on their schedule. That is a design decision with consequences, and it is fair to weigh it.

What we are changing about our own practice

Two things, and we would rather say them out loud than be asked later.

We are separating the credentials our monitoring uses per client environment, and scoping each to the minimum required rather than the minimum convenient. This is work we had scheduled for next year and have moved forward.

And we are extending default log retention for identity and server telemetry across our monitored base, because the lesson of this month is that the question you need to answer arrives long after the event.

The proportionate response

It would be easy to read this episode as evidence that nothing can be trusted. That is not a usable conclusion. Supply chains are how software gets made, and the alternative to trusting suppliers is not building everything yourself.

The usable conclusion is narrower: trust should be scoped, logged and expiring, rather than granted once and forgotten. A vendor's software should be able to do the job you bought it for and very little else. And when the industry's next bad month arrives — it will — the organizations that can answer "what could that product reach, and where did it talk" in an afternoon will have a much better week than the ones starting the inventory from scratch.

#supply chain#third-party risk#egress#logging#vendor management
Elena Vasquez

About the author

Elena VasquezCo-founder & CEO

Elena spent nine years breaking into things for a living — first on a federal contractor red team, then leading adversary emulation for Fortune 500 clients — before deciding the defenders deserved someone who knew every trick in the book. She holds OSCP and CRTO, captained a top-ten DEF CON CTF team twice, and co-founded Secuxper in February 2020 to close the gap between how attackers actually work and how companies prepare. Three weeks later the pandemic emptied every office her clients had, which she still describes as the most instructive first quarter a security company could ask for. She reviews every major red-team report before it ships.

Adversary emulationRed team leadershipSecurity strategyDeepfake & social engineering research

Discussion(0)

No comments yet — the floor is yours.

Join the discussion

Your email stays private; we only use it to distinguish real readers from bots.

open a channel

The best time to harden your defenses was yesterday.

The second-best time is right now. Tell us what keeps you up at night — we answer within one business day.