Supply chain29 Mar 2023

3CX Desktop App Supply Chain Attack

A trojanised trading app on one employee's PC led attackers to 3CX's build servers: a supply chain attack inside another.

Severity
Front-page news
Difficulty
advanced
Companies
3CX, Trading Technologies, Mandiant
Tech
Desktop applications, Build environments, Code signing, DLL side-loading, Windows, macOS
Root cause
poisoned dependency, stolen credentials

The story

Quick (1 min)

In late March 2023, it emerged that 3CX Desktop App, business phone and chat software, had been shipping malware in its official, downloadable installers.

Investigators at Mandiant traced it back further than anyone expected. A 3CX employee had installed X_TRADER, trading software from another company, Trading Technologies. That installer had itself been tampered with by attackers, a first supply chain attack. It gave attackers a foothold on the employee's computer.

From there, attackers stole credentials, moved through 3CX's network, and took over the build servers for both Windows and macOS. They then slipped malware into 3CX's own app: a second supply chain attack. Mandiant said this was the first time it had seen one software supply chain attack lead to another, and linked it to a suspected North Korean group.

The lesson: one employee installing compromised software can lead attackers to your build systems, and then to all your customers.

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

Engineer (2 min)

Stage 1: X_TRADER. Trading Technologies' X_TRADER was reportedly discontinued in 2020 but still downloadable from its legitimate website in 2022. A tampered installer, X_TRADER_r7.17.90p608.exe, was signed with Trading Technologies' certificate (set to expire October 2022). Its Setup.exe used DLL side-loading to run malicious DLLs, which used SIGFLIP (RC4) and DAVESHELL to decrypt and load VEILEDSIGNAL, a modular backdoor that injected into Chrome, Firefox or Edge and talked to command-and-control servers over AES-256-GCM.

Stage 2: 3CX's network. Per 3CX's investigation conclusions, the X_TRADER compromise reached 3CX through an employee's PC. Attackers used a compiled Fast Reverse Proxy to move laterally, harvested credentials, and compromised both the Windows and macOS build environments: TAXHAUL launcher and COLDCAT downloader on Windows (persisting via DLL search-order hijacking of the IKEEXT service, running as LocalSystem), and the POOLRAT backdoor on the macOS build server.

Stage 3: 3CX customers. 3CX DesktopApp 18.12.416 and earlier contained code that ran the SUDDENICON downloader. It fetched command-and-control addresses hidden in encrypted icon files on GitHub, then downloaded ICONICSTEALER, which steals browser information.

Attribution. Mandiant tracked the activity as UNC4736, a suspected North Korean nexus cluster. The two stages shared code: the same RC4 key, the SIGFLIP and DAVESHELL tools, a hard-coded __tutma cookie variable, and AES-256-GCM encryption.

Interview takeaway: isolate build environments from general corporate networks and employee machines, control what software employees can install, and monitor builds for unexpected changes.

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

Deep dive (2 min)

Timeline (Mandiant, Wikipedia)

  • 2020: X_TRADER reportedly discontinued, but still downloadable from Trading Technologies' site in 2022.
  • 2022: a tampered, validly signed X_TRADER installer is available; a 3CX employee's PC is compromised through it (per 3CX's published conclusions).
  • Following months: attackers move laterally inside 3CX and compromise Windows and macOS build servers.
  • Late March 2023: trojanised 3CX DesktopApp versions (18.12.416 and earlier) are distributed from 3CX's website.
  • 29 March 2023: 3CX acknowledges the desktop client was compromised and appoints Mandiant.
  • 20 April 2023: 3CX publishes the conclusions, tracing it to the Trading Technologies compromise via an employee's PC, and announces a Security Action Plan. Mandiant publishes its analysis.

Malware families named by Mandiant

  • X_TRADER chain: SIGFLIP, DAVESHELL, VEILEDSIGNAL (plus process injection and C2 modules).
  • 3CX internal: Fast Reverse Proxy (lateral movement), TAXHAUL, COLDCAT (Windows build), POOLRAT (macOS build).
  • 3CX customers: SUDDENICON (downloader using GitHub-hosted icon files), ICONICSTEALER (browser data stealer).

Key quote

"This is the first time Mandiant has seen a software supply chain attack lead to another software supply chain attack." (Mandiant)

Why it matters

  • Cascading supply chains: each compromised vendor becomes a launchpad into its customers, which may themselves be vendors.
  • Signed doesn't mean safe: both the X_TRADER installer and 3CX's app carried legitimate signatures.
  • Legacy software risk: a discontinued product still available for download became the entry point.
  • Build environments on the corporate network: once inside, attackers could reach the systems that produce customer software.

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

Failure replay

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

  1. 2022
    X_TRADER installercompromised

    A discontinued trading app, still downloadable from its vendor's site, is tampered with and signed with the real certificate.

    Affects: 3CX employee PC

  2. 2022
    3CX employee PCcompromised

    A 3CX employee installs it. DLL side-loading deploys the VEILEDSIGNAL backdoor.

    Affects: 3CX network

  3. 2022–2023
    3CX networkcompromised

    Attackers harvest credentials and tunnel through the network with a reverse proxy tool.

    Affects: 3CX build servers

  4. 2022–2023
    3CX build serverscompromised

    Both the Windows and macOS build environments are backdoored, with TAXHAUL, COLDCAT and POOLRAT.

    Affects: 3CX DesktopApp

  5. Mar 2023
    3CX DesktopAppcompromised

    Official installers (18.12.416 and earlier) ship a SUDDENICON downloader that reads C2 addresses from icon files on GitHub.

    Affects: 3CX customers

  6. Mar 2023
    3CX customerscompromised

    Infected customers receive ICONICSTEALER, which steals browser information.

  7. Mar 29, 2023
    3CX DesktopApprecovering

    3CX acknowledges the compromise and brings in Mandiant.

  8. Apr 20, 2023
    3CX build serversrecovering

    The investigation traces it back to X_TRADER. 3CX announces a Security Action Plan.

Impact

Who was affected
Customers who installed trojanised 3CX DesktopApp versions (18.12.416 and earlier) on Windows and macOS; 3CX's own network and build environments.
How long
Trojanised app distributed in late March 2023; acknowledged 29 March; investigation concluded 20 April 2023.
Cost
not disclosed

Lessons

  • Supply chain attacks can cascade; a compromised vendor can compromise its own customers' vendors.
  • Isolate build environments from employee workstations and the general corporate network.
  • Retire discontinued software and remove old downloads; they can be weaponised.
  • Code signatures confirm the signer, not that the signer wasn't compromised.
  • Control software installation on employee machines, especially privileged staff.

Quiz

  1. How did attackers first get into 3CX's network?

    Check answer

    Through a trojanised X_TRADER installer from Trading Technologies, installed on an employee's PC. Mandiant traced the initial vector to a tampered X_TRADER package.

  2. What made the 3CX case unusual, according to Mandiant?

    Check answer

    It was the first time Mandiant saw one software supply chain attack lead to another. The X_TRADER compromise led to the 3CX compromise, which then reached 3CX's customers.

  3. Which 3CX systems did attackers compromise to trojanise the app?

    Check answer

    Both the Windows and macOS build environments. Mandiant found TAXHAUL and COLDCAT on the Windows build and POOLRAT on the macOS build server.

  4. Where did the SUDDENICON downloader get its command-and-control addresses?

    Check answer

    Encrypted icon files hosted on GitHub. It retrieved C2 servers from encrypted icon files on GitHub.

Interview prep

Try answering out loud before you open the model answer.

  1. security

    Explain how the 3CX attack was "a supply chain attack caused by another supply chain attack."

    Show model answer

    First, attackers tampered with Trading Technologies' X_TRADER installer, which was validly signed and still on its website. A 3CX employee installed it, giving attackers a backdoor (VEILEDSIGNAL) on their PC. Second, the attackers moved laterally through 3CX, compromised its Windows and macOS build servers, and inserted malware into 3CX's own DesktopApp, which 3CX customers downloaded. Each compromised vendor became the delivery mechanism for the next set of victims.

    A strong answer hits:

    • Stage 1 tampered X_TRADER to employee PC
    • Lateral movement to build servers
    • Stage 2 trojanised 3CX app to customers
    • Signed software at both stages
  2. system design

    How would you isolate a software company's build environment so a compromised employee laptop can't reach it?

    Show model answer

    Put build infrastructure in a separate network segment or cloud account with no direct access from corporate networks. Builds trigger only from source control via automated, authenticated pipelines, with no interactive logins. Admin access goes through hardened jump hosts with phishing-resistant MFA and just-in-time approval. Builders are ephemeral, created fresh from known images, so persistence like 3CX's TAXHAUL or POOLRAT can't survive. Add reproducible builds, provenance, and alerts on build output changes or new outbound connections.

    A strong answer hits:

    • Separate network or account
    • Pipeline-only triggers; no interactive access
    • JIT access via hardened jump hosts
    • Ephemeral builders and output monitoring
  3. behavioural

    An employee wants to install a niche third-party tool for personal research on their work laptop. How would you handle it as a security-minded engineer or manager?

    Show model answer

    Use an approved software process: check the vendor, whether the product is still supported (X_TRADER was discontinued but downloadable), and whether it's needed on that machine. If allowed, run it in an isolated environment (VM, separate device) away from privileged access. Explain the reasoning: the 3CX breach began with exactly this kind of installation. Make the safe path easy so people don't work around policy.

    A strong answer hits:

    • Approval and vendor checks
    • Supported vs discontinued software
    • Isolation for non-core tools
    • Make the safe path easy

Go deeper