Mar 31, 2023Ravie LakshmananCyber Threat / Supply Chain Attack

3CX Supply Chain Attack

Enterprise communications software maker 3CX on Thursday
confirmed that multiple versions of its desktop app for Windows and
macOS are affected by a supply chain attack[1].

The version numbers include 18.12.407 and
18.12.416
for Windows and 18.11.1213, 18.12.402,
18.12.407, and 18.12.416
for macOS.

The company said it’s engaging the services of Google-owned
Mandiant to review the incident. In the interim, it’s urging its
customers of self-hosted and on-premise versions of the software to
update to version 18.12.422.

“3CX Hosted and StartUP users do not need to update their
servers as we will be updating them over the night automatically,”
3CX CEO Nick Galea said[2]
in a post on Thursday. “Servers will be restarted and the new
Electron App MSI/DMG will be installed on the server.”

Evidence available so far points to either a compromise of 3CX’s
software build pipeline to distribute Windows and macOS versions of
the app package, or alternatively, the poisoning of an upstream
dependency. The scale of the attack is currently unknown.

The earliest period of potentially malicious activity is said to
have been detected on or around March 22, 2023, according to a
post on the 3CX forum[3], although preparations
for the campaign are said to have commenced no later than February
2022.

3CX said[4]
the initial alert[5]
flagging a potential security problem in its app last week was
treated as a “false positive” owing to the fact that none of the
antivirus engines on VirusTotal labeled it as suspicious or
malware.

The Windows version of the attack[6] leveraged a technique
called DLL side-loading to load a rogue library referred to as
“ffmpeg.dll” that’s designed to read encrypted shellcode from
another DLL called “d3dcompiler_47.dll.”

3CX Supply Chain Attack

This involved accessing a GitHub repository to retrieve an ICO
file containing URLs hosting the final-stage payload, an
information stealer (dubbed ICONIC Stealer[7]
or SUDDENICON[8]) capable of harvesting
system information and sensitive data stored in web browsers.

“The choice of these two DLLs – ffmpeg and d3dcompiler_47 – by
the threat actors behind this attack was no accident,”
ReversingLabs security researcher Karlo Zanki said[9].

“The target in question, 3CXDesktopApp, is built on the Electron
open source framework. Both of the libraries in question usually
ship with the Electron runtime and, therefore, are unlikely to
raise suspicion within customer environments.”

3CX Supply Chain Attack
SUDDENICON downloading a new executable

The macOS attack chain, in the same vein, bypassed Apple’s
notarization checks to download an unknown payload from a
command-and-control (C2) server that’s currently unresponsive.

“The macOS version does not use GitHub to retrieve its C2
server,” Volexity said[10], which is tracking the
activity under the cluster UTA0040. “Instead, a list of C2 servers
is stored in the file encoded with a single byte XOR key,
0x7A.”

THN WEBINAR

Become an Incident Response Pro!

Unlock the secrets to bulletproof incident response – Master the
6-Phase process with Asaf Perlman, Cynet’s IR Leader!

Don’t Miss Out –
Save Your Seat!
[11]

Cybersecurity firm CrowdStrike, in an advisory of its own, has
attributed the attack with high confidence to Labyrinth Chollima
(aka Nickel Academy[12]), a North Korea-aligned
state-sponsored actor.

“The activity, which targets many organizations across a broad
range of verticals without any obvious patterns, has been
attributed to Labyrinth Chollima based on observed network
infrastructure uniquely associated with that adversary, similar
installation techniques, and a reused RC4 key,” Adam Meyers, senior
vice president of intelligence at CrowdStrike, told The Hacker
News.

“The trojanized 3CX applications invoke a variant of
ArcfeedLoader, malware uniquely attributed to Labyrinth
Chollima.”

Labyrinth Chollima, per the Texas-based company, is a subset of
the Lazarus Group[13], which also constitutes
Silent Chollima[14] (aka Andariel or Nickel
Hyatt) and Stardust Chollima[15] (aka BlueNoroff or
Nickel Gladstone).

The group “has been active at least since 2009 and typically
tries to generate revenue by targeting crypto and financial
organizations,” Meyers said, adding it’s “likely affiliated with
Bureau 121 of the DPRK’s Reconnaissance General Bureau (RGB[16]) and primarily conducts
espionage operations and revenue generation schemes.”

Found this article interesting? Follow us on Twitter [17] and LinkedIn[18] to read more exclusive
content we post.

References

  1. ^
    supply
    chain attack
    (thehackernews.com)
  2. ^
    said
    (www.3cx.com)
  3. ^
    post on
    the 3CX forum
    (www.3cx.com)
  4. ^
    said
    (www.3cx.com)
  5. ^
    initial
    alert
    (www.3cx.com)
  6. ^
    Windows
    version of the attack
    (blog.checkpoint.com)
  7. ^
    ICONIC
    Stealer
    (www.volexity.com)
  8. ^
    SUDDENICON
    (www.elastic.co)
  9. ^
    said
    (www.reversinglabs.com)
  10. ^
    said
    (www.volexity.com)
  11. ^
    Don’t Miss Out – Save Your Seat!
    (thn.news)
  12. ^
    Nickel
    Academy
    (www.secureworks.com)
  13. ^
    Lazarus Group
    (thehackernews.com)
  14. ^
    Silent
    Chollima
    (thehackernews.com)
  15. ^
    Stardust Chollima
    (thehackernews.com)
  16. ^
    RGB
    (www.mandiant.com)
  17. ^
    Twitter 
    (twitter.com)
  18. ^
    LinkedIn
    (www.linkedin.com)

Read more