Last week Mandiant published the root cause of the 3CX compromise, and it is the first case the firm says it has seen of one software supply chain attack leading directly to another. A 3CX employee had installed a trojanized copy of X_TRADER, trading software from Trading Technologies, that had itself been tampered with on that vendor's website. One installation became a foothold in 3CX, then a foothold in 3CX's build environment, then signed, malicious desktop-phone installers on customers' machines.
We wrote about poisoned updates after the signed-update compromise of December 2020. The 3CX chain teaches something different, because nearly every link in it is an ordinary gap that mid-market organizations have too.
The chain, link by link
The sequence, as Mandiant and 3CX have described it:
- A vendor website, compromised upstream. Trading Technologies' site was compromised in February 2022, as Google's Threat Analysis Group reported at the time, and about two months later it was known to be serving a tampered X_TRADER installer. The product had reportedly been retired in 2020 but was still downloadable in 2022, and the tampered installer was signed with Trading Technologies' genuine certificate, which did not expire until October 2022.
- Retired software on a personal computer. According to 3CX's update, an employee downloaded the installer to a personal computer in 2022. The backdoor gave the attacker that machine, and with it the employee's corporate credentials.
- Stolen credentials into the VPN. The earliest evidence of compromise inside 3CX was a VPN login with that employee's credentials, two days after the personal computer was infected. From there the attacker harvested more credentials, moved laterally, and compromised both the Windows and macOS build environments.
- A poisoned build. The 3CX desktop app, from a vendor that puts its customer base at more than 600,000 companies, shipped signed releases carrying malicious libraries.
- Customers' endpoint tools noticed. Users on 3CX's forums began reporting endpoint alerts on March 22, and a 3CX support representative suggested one of them might be a SentinelOne false positive. CrowdStrike and SentinelOne warned publicly on March 29; CISA issued an alert the next day.
Mandiant tracks the actor as UNC4736 and assesses with moderate confidence that it is related to North Korean financially motivated activity. Trading Technologies told reporters it had not yet been able to investigate and verify Mandiant's findings. Symantec has since reported that the tampered X_TRADER also reached four other organizations: two energy-sector critical infrastructure operators, one in the US and one in Europe, and two financial trading firms. 3CX was not the only downstream casualty of the first hop.
Links one and two: old software, unmanaged hardware
X_TRADER had been discontinued for two years and was still on the vendor's site. That is a vendor-side failure, and it has a customer-side twin that we find in almost every environment: retired tools still installed, end-of-life desktop applications still updating themselves, old installers sitting on file shares.
Compare installed desktop software against what you actually support. Anything end-of-life, unknown or without an owner comes off. Software nobody is responsible for is software nobody is watching.
The hop from a personal computer to the corporate VPN is the one we most want clients to think about, because it is so mundane.
Most of our clients allow some personal-device access: mail on phones, a browser session from home, sometimes full VPN. The question is not whether that is allowed. It is what a corporate credential grants when it is used from a device you know nothing about.
Tie VPN and administrative access to managed devices. Device certificates or a posture check, not just a password and a code. A stolen credential that only works from a managed laptop is a far smaller prize.
Use phishing-resistant authenticators for remote access. They will not stop malware on a home machine, but they make it much harder to replay a harvested login from somewhere else.
Alert on the first login from a new device. A VPN session from hardware you have never seen before is exactly the kind of signal worth an analyst's five minutes.
Links three and four: if you ship software
Several of our clients build products. For them, 3CX is a direct warning about build environments.
- Separate build infrastructure from the corporate network, so a VPN login with a developer's credentials does not reach it.
- Prefer ephemeral, reproducible builds that start clean each time, over long-lived build servers that accumulate access and persistence.
- Keep signing keys in hardware, and make signing a distinct, logged step rather than something any build host can do.
- Compare what you ship with what you built. A new library or a changed dependency in a release binary should fail the release, not surprise a customer.
Link five: the alert that looked like a false positive
For a SOC, the most instructive detail is that endpoint products flagged the trojanized app days before public disclosure, and some of those alerts were read as false positives. That is an understandable reaction: a signed binary from a vendor you pay, flagged by behavioural heuristics, in software everyone uses.
It is also the reaction attackers count on. "Signed by a vendor we trust" is a statement about provenance, not behaviour. On our watch floor, a behavioural alert on signed, widely deployed software gets the same triage as any other: what did it spawn, what did it contact, and has its behaviour changed since the previous version? Suppressing an alert on a vendor application now requires an analyst to answer those questions in writing before the ticket closes.
The lesson of the chain
None of the links was exotic. Retired software, a personal machine, a credential that worked from anywhere, a reachable build server, an alert waved through. The attacker's skill lay in connecting ordinary gaps across two companies' boundaries.
Your suppliers have suppliers, and their employees have home computers. You will not control that chain. You can make sure your own links are not the easy ones.
Sources
- 3CX Software Supply Chain Compromise Initiated by a Prior Software Supply Chain Compromise; Suspected North Korean Actor Responsible — Mandiant, April 2023
- N. Korean hackers employ Matryoshka doll-style cascading supply chain attack on 3CX — The Hacker News, April 2023
- 3CX Breach Was a Double Supply Chain Compromise — KrebsOnSecurity, April 2023
- X_Trader Supply Chain Attack Affects Critical Infrastructure Organizations in U.S. and Europe — Symantec, April 2023
- Hackers compromise 3CX desktop app in a supply chain attack — BleepingComputer, March 2023
- Supply Chain Attack Against 3CXDesktopApp — CISA, March 2023






