Lesson 11 of 14 · 12m
The Server Is Part of the Signing Story
ShadowHammer shipped honestly-signed malware; pipelines, abandoned domains, and constrained-TLS tradeoffs are in scope.
In March 2019 Kaspersky disclosed ShadowHammer: attackers had compromised ASUS's Live Update infrastructure in 2018 and pushed a backdoored updater to ASUS machines — signed with genuine ASUS code-signing certificates. Somewhere north of half a million machines installed it; the second-stage payload targeted about 600 specific MAC addresses.
Every signature check passed. The malware was honestly signed. Signing verifies that the key holder produced the signature — it cannot verify that what was signed was supposed to exist. The pipeline is part of the update mechanism, and ShadowHammer is what that sentence looks like at fleet scale.
The pipeline is in scope
Your signing key signs whatever the build produces — which means the threat model includes the build. So the threat model for updates isn't just "attacker modifies traffic" — it's "attacker reaches the build host, the CI runner, the release-signing step, the endpoint your devices poll." Controls that match: build hosts isolated from everything else; release signing separated from dev signing and held in an HSM or offline key; a human approval gate between build and release; reproducible builds so a third party can confirm the binary matches source; monitoring that diffs what your endpoint serves against what you released.
If any of that is missing, "signed updates" describes the ceremony, not the security.
The endpoint outlives the company
Update URLs are long-lived liabilities. Domains lapse, companies fold, product lines get abandoned — and devices keep polling the URL for years. Whoever re-registers the domain controls what those devices download. watchTowr's research program has registered abandoned infrastructure referenced by live agent and update systems and watched production fleets check in — the mechanism is general, not hypothetical.
Two defenses compose: keep update domains alive as a tracked inventory item with auto-renewal — an endpoint domain belongs on the same asset list as the signing key — and sign payloads so a hijacked domain can only deny service, not deliver firmware. The second is why the signing lesson matters more than the transport lesson.
Constrained-device TLS is its own trap
"Pin the certificate" sounds clean until you ship it. Devices without a real-time clock can't evaluate certificate validity windows — expired certs validate anyway. Baked pins rot when infrastructure rotates certs. CA trust on an MCU is a maintenance debt paid in firmware updates. The resolution is architectural: make the signed payload the trust anchor and treat TLS as defense-in-depth, not the root of trust.
Server logic still matters after signing
Devices self-report model and version; the server has to refuse mismatches — a signed image for the wrong SKU is still signed, and flash anyway is how devices brick. Minimum-version enforcement needs a floor the server understands. And you want a kill switch: when the pipeline is compromised, "stop serving updates" must be a decision you can execute in minutes, not a firmware revision.
There's a subtler server-side property worth stating: what the endpoint serves should be observable. Diff the bytes being distributed against the bytes the build produced; if they diverge, the compromise happened somewhere between release and delivery, and signature verification on the client can't catch it because the divergence is legitimately signed.
Practice
Inventory: signing key custody, who can sign, what the endpoint serves, domain renewal dates, pin/cert rotation plan, version floor, kill switch. Each item is a named owner, not a paragraph — "who can sign" is a list of two people and one HSM, or it's nobody's job. The checklist is short; ShadowHammer is what happens when the checklist is treated as the build team's problem instead of the threat model's.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
Running a Minecraft Network: Four JVMs, One Box, and the Settings That Lie to You
Four servers on one host means four JVMs each sizing its thread pools for a machine it does not own. The measured cost of that, the systemd ordering that guarantees nothing, and the throttle that switches itself back on when your forwarding breaks.
A Minecraft Mod Is a Program. In 2026, Attackers Started Acting Like It.
A Minecraft mod is a Java program that runs with your account's full permissions, and nothing in the game checks what it does.
Immich Had Fourteen Advisories and One Bug It Fixed Three Times
Immich's 2026 security record runs to fourteen advisories, and they cluster hard: the sharing features, the OAuth plumbing, and one login redirect parameter that took three separate fixes across eighty-three days. Plus the 3.0 migration traps still waiting for anyone who hasn't jumped yet.
Building a Minecraft Network: Four Servers Pretending to Be One Place
A proxy, a lobby, an SMP and a PvP arena is four JVMs that know nothing about each other. What actually has to be shared, why your permissions don't follow players, and the two LuckPerms defaults that silently share nothing at all.