North Korean Hackers Exploiting TeamCity Flaw to Compromise Organizations Network

Microsoft has detected two North Korean nation-state threat actors, Diamond Sleet and Onyx Sleet, exploiting CVE-2023-42793. This vulnerability allows remote code execution on various JetBrains TeamCity server versions widely used for DevOps and software development activities.

Diamond Sleet and other North Korean threat actors executed software supply chain attacks through build environment infiltration, posing a high risk to affected organizations. 

JetBrains has issued an update to fix the vulnerability and offers mitigation for users unable to update to the latest version.

Document
FREE Demo

Deploy Advanced AI-Powered Email Security Solution

Implementing AI-Powered Email security solutions “Trustifi” can secure your business from today’s most dangerous email threats, such as Email Tracking, Blocking, Modifying, Phishing, Account Take Over, Business Email Compromise, Malware & Ransomware

North Korean Hackers Exploiting TeamCity Flaw

Diamond Sleet (ZINC) is a North Korean threat actor focusing on espionage, data theft, and network disruption, often targeting global media, IT, and defense entities. 

Diamond Sleet attack chain 1 (Source – Microsoft)

Moreover, Onyx Sleet (PLUTONIUM), also North Korean, primarily targets defense and IT services in South Korea, the U.S., and India, using advanced tools for persistent, stealthy access.

Diamond Sleet and Onyx Sleet exploit the same vulnerability but employ distinct tools and tactics after successful infiltration. Microsoft believes these actors opportunistically target vulnerable servers, deploying malware and techniques for persistent access. 

Microsoft notifies affected customers directly to help secure their environments. Diamond Sleet, after breaching TeamCity servers, employs PowerShell to fetch two payloads from previously compromised legitimate infrastructure stored in C:\ProgramData:-

  • Forest64.exe
  • 4800-84DC-063A6A41C5C
Diamond Sleet attack chain 2 (Source – Microsoft)

Forest64.exe creates a scheduled task for persistence, and Diamond Sleet uses the ForestTiger backdoor to extract LSASS memory credentials, detected by Microsoft Defender Antivirus as ForestTiger.

Diamond Sleet uses PowerShell to fetch a malicious DLL on compromised servers. The DLL is placed in C:\ProgramData, where it engages in DLL search-order hijacking alongside a legitimate .exe file, specifically DSROLE.dll and Version.dll, as seen by Microsoft.

Onyx Sleet creates a new user account, ‘krtbgt,’ on compromised systems, impersonating ‘KRBTGT.’ 

Onyx Sleet attack chain (Source – Microsoft)

They add it to the Local Administrators Group, perform system discovery, and deploy a unique payload using PowerShell, establishing a persistent connection with attacker-controlled infrastructure.

Recommendations

However, here below, we have mentioned all the recommendations that the security researchers are recommending:-

  • Implement JetBrains’ update or mitigations for CVE-2023-42793.
  • Check for the provided indicators of compromise in your environment to detect potential intrusions.
  • Block incoming traffic from IPs listed in the IOC table.
  • Defend against this threat with Microsoft Defender Antivirus.
  • Act swiftly to counter malicious activity on the affected device. If malicious code is active, the attacker may have full control.
  • Examine the device timeline for signs of lateral movement via one of the compromised accounts.
  • Verify that ‘Safe DLL Search Mode’ is enabled.

Protect yourself from vulnerabilities using Patch Manager Plus to patch over 850 third-party applications quickly. Take advantage of the free trial to ensure 100% security.

Tushar Subhra

Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Recent Posts

Beware Of Malicious SharePoint Notifications That Delivers Xloader Malware

Through the use of XLoader and impersonating SharePoint notifications, researchers were able to identify a…

6 hours ago

Malicious Supply Chain Attacking Moving From npm Community To VSCode Marketplace

Researchers have identified a rise in malicious activity on the VSCode Marketplace, highlighting the vulnerability…

6 hours ago

Hackers Weaponizing LNK Files To Create Scheduled Task And Deliver Malware Payload

TA397, also known as Bitter, targeted a Turkish defense organization with a spearphishing email containing…

6 hours ago

BADBOX Botnet Hacked 74,000 Android Devices With Customizable Remote Codes

BADBOX is a cybercriminal operation infecting Android devices like TV boxes and smartphones with malware…

6 hours ago

Europol Details on How Cyber Criminals Exploit legal businesses for their Economy

Europol has published a groundbreaking report titled "Leveraging Legitimacy: How the EU’s Most Threatening Criminal Networks…

6 hours ago

CISA Proposes National Cyber Incident Response Plan

The Cybersecurity and Infrastructure Security Agency (CISA) has unveiled a proposed update to the National…

7 hours ago