This is a developing situation and this blog post will be updated as needed.
Reports of malicious code associated with the 3CX desktop application – part of the 3CX VoIP (Voice over Internet Protocol) platform – began on March 22, 2023. On March 30, 2023, 3CX confirmed the compromise, noting the affected 3CX desktop app versions were 18.12.407 and 18.12.416 for Windows and 18. 11.1213, 18.12.402, 18.12.407 and 18.12.416 versions for Mac. NIST National Vulnerability Database has assigned CVE-2023-29059 to track this issue.
Reports indicate that one of the bundled libraries included with the 3CX Windows and Mac desktop clients had been altered to contact command and control infrastructure, including a GitHub repository, to deliver second-stage malware. According to 3CX, the malicious domains and the GitHub repository have since been taken down.
What is the potential impact?
Software supply chain attacks, as seen with the SolarWinds attack in December 2020, can lead to security teams discovering that their environment has been breached months prior in what is disguised as a standard software update. This highlights the challenges associated with software validation as part of supply chains. The impact of such an attack can be devastating, causing long-term damage to the business, its reputation, and its customers
In the case of this 3CXDesktopApp attack, there is not yet enough information on how the compromised code ended up being included with 3CX digitally signed installers. 3CX has hired Mandiant to assist with forensic activities.
Observations by VMware Threat Analysis Unit
Note: This is a developing situation and threat analysis will be updated as needed.
VMware Contexa detected the first connections to the C2 domains included in the ICO files as early as 2023-03-06 (akamaitechcloudservices[.]com) and 2023-03-07 (pbxphonenetwork[.]com, sbmsa[.]wiki, azureonlinestorage[.]com, officeaddons[.]com, pbxsources[.]com, officestoragebox[.]com). See Figure 1 for the whole timeline.
Figure 1: Connections to C2 domains as detected by VMware Contexa.
TLS connections to visualstudiofactory[.]com taking place on 2023-03-24 and later were established to a server with a certificate with the following hash ‘cda34a2b46a2269dc5934967175656a81bd3667a21855273dc2c777f8bd2d4c9’, valid from 2022-11-17, expiring on 2023-11-17, and issued by “C=GB, ST=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA”. The recorded JA3S is 61be9ce3d068c08ff99a857f62352f9d, although note that it is only useful when looking for TLS connections established by the compromised 3CX desktop app.
A search on Censys can also reveal that the host had been online since 2022-11-19; our telemetry, however, does not show any activity related to this C2 domain prior to March 2023.
Current hashes identified to be banned are the following:
Secondary stage Payloads
How can you protect your organization?
3CX has provided mitigation guidance, which includes a recommendation to uninstall the 3CX desktop app. As of this writing, an updated desktop app was being prepared by 3CX.
One of the biggest challenges with supply chain attacks is that they are challenging to detect. Because the attack occurs through a third-party vendor, the business may not even be aware that an attack has taken place until it is too late. Organizations can minimize overall risk of a supply chain attack by following security best practices. These include:
- Developing a robust security strategy that encompasses the entire supply chain. This means conducting thorough security checks on all vendors, ensuring that they have appropriate security measures in place, and regularly monitoring their systems for any potential threats.
- Implementing endpoint and network security solutions that can detect and respond to threats in real-time, as well as advanced threat detection solutions that can identify potential anomalous threats as they occur.
- Ensuring a solid incident response plan is in place in case of a supply chain attack. This includes identifying the key stakeholders who need to be notified, as well as having a clear process in place for containing and mitigating the attack.
By taking these steps, businesses can reduce the risk of a supply chain attack and ensure the safety and security of their operations and customers.
How can VMware security products help?
- The hashes listed in this blog post have a known malware reputation and should be blocked automatically by Carbon Black Cloud.
- Carbon Black EDR customers can search for netconn traffic to the domains listed in this blog post.
- Carbon Black App Control customers can ban the hashes listed in this blog post.
- Carbon Black customers can also find additional product related details and instructions by logging on to the user community and accessing this link: HERE
- For NSX Advanced Threat Prevention (ATP), all published indicators are currently detected as malicious. Where guest virtual machines are protected by the Distributed Malware Prevention Service leveraging Guest Introspection, all malicious DLL files associated with this threat can be mitigated with a ‘detect and prevent’ malware prevention profile (Figure 2 shows how NSX ATP detect the malicious DLLs through Guest Introspection). NSX ATP has also anomaly-based detectors specifically tailored to identify anomalous beaconing; the malicious domains associated with 3CXDesktopApp are now part of the network reputation feed provided by NSX ATP.
Figure 2: User interface of NSX Guest Introspection Malware Prevention Service.
- NSX ATP Standalone customers can also increase upload limits to support analyzing large files (up to 100MB on on-premise, see the following article for instructions on how to change this: INSTRUCTIONS), and threat hunt for the associated malicious network activity via the Network Explore console using the following search query: “akamaicontainer.com OR akamaitechcloudservices.com OR azuredeploystore.com OR azureonlinecloud.com OR azureonlinestorage.com OR dunamistrd.com OR glcloudservice.com OR journalide.org OR msedgepackageinfo.com OR msstorageazure.com OR msstorageboxes.com OR officeaddons.com OR officestoragebox.com OR pbxcloudeservices.com OR pbxphonenetwork.com OR pbxsources.com OR sbmsa.wiki OR sourceslabs.com OR visualstudiofactory.com OR zacharryblogs.com OR qwepoi123098.com”.