LIVE · cybersecurity feed
Live wire
security

North Korean Hackers Tied to Rust Supply Chain Attack

Cybersecurity researchers have linked a malicious backdoor in compromised Rust packages to previous North Korean supply chain attacks

zeroday.news ·

A recent software supply chain attack targeting the Rust programming ecosystem has been linked to state-sponsored North Korean threat actors. The campaign compromised several widely used open-source libraries hosted on crates.io, the official Rust package registry, by embedding a backdoor designed to infiltrate developer workstations and continuous integration (CI) environments.

The incident began on August 20, when an attacker gained unauthorized access to a trusted open-source maintainer's account. This access was then used to update three legitimate Rust crates: `arrayref`, `internment`, and `append-only-vec`. In the Rust language, a crate represents a compilation unit, which can be a binary or a library.

Instead of directly injecting malicious code into the main libraries, the attacker subtly modified the package manifests to import an external, typosquatted dependency named `proc-macro1`. This rogue package exploited the automated build process within Rust's package manager, `cargo`, to download and execute an unauthorized payload in the background.

Security researchers confirmed that because build scripts run during compilation, simply building an affected project was sufficient to execute the payload. This meant that developers and automated build pipelines could become infected by merely pulling down and compiling legitimate dependencies, even if the resulting software was never deployed or executed.

Once triggered, the malicious binary aimed to harvest sensitive data. Its targets included stored web browser credentials, cryptocurrency wallet extensions, and developer environment secrets. The potential impact of this incident is significant, with telemetry indicating that the `arrayref` crate alone was present in approximately 75% of cloud environments running Rust applications. At the time of the discovery, `arrayref` had accumulated over 245 million downloads on crates.io, `internment` over 14 million, and `append-only-vec` over 4.5 million.

Investigation into the command-and-control (C2) infrastructure supporting the malware revealed strong ties to known North Korean cyber operations. The network communication patterns, server setups, and specific endpoint paths directly mirrored those observed in previous supply chain campaigns. These prior campaigns include the compromise of the Mastra framework and the poisoning of npm packages that targeted the Axios library. Microsoft and other threat intelligence teams track the threat actor behind these campaigns under the designation Sapphire Sleet.

Researchers noted that the infrastructure used for the `arrayref` campaign substantially overlaps with operations attributed to recent North Korean actors. This incident highlights a growing trend of state-sponsored adversaries weaponizing developer ecosystems to gain initial access to downstream enterprise networks.

Upon discovery, the Rust Security Response Team was contacted. They quickly revoked the compromised maintainer's credentials and removed the malicious crate versions from crates.io. However, due to the payload's execution during the build phase rather than at runtime, security teams are strongly advised to inspect their dependency lockfiles for any affected versions. Any systems that compiled the tainted crates should be treated as compromised, and all credentials, cloud secrets, and API keys accessible on those machines should be immediately rotated.

ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Calling on Cyber Pros to Help Defend City Hall

Government agencies with smaller budgets need support — and here's how you can help.

vulnerabilitycritical

Six Maximum-Severity Flaws Found in Cisco Products

Cisco patched nine critical flaws, including six rated CVSS 10.0, found during internal testing. None are known to be exploited. Cisco released another batch of security fixes for its Crosswork platforms and Secure Workload software, part of what it’s calling an ongoing internal security review, and the CVSS scores in this round are unusually severe. […]

vulnerabilitycritical

Critical Isolated-vm Vulnerability Leads to RCE on Host

The type confusion bug can lead to V8 sandbox escape and control-flow hijacking of the host process. The post Critical Isolated-vm Vulnerability Leads to RCE on Host appeared first on SecurityWeek.

vulnerability

Microsoft warns of max severity Entra ID flaw exploited in attacks

Microsoft has patched a maximum-severity vulnerability in the Entra ID identity and access management (IAM) platform that has been exploited in attacks. [...]

malware

Hackers abuse FTP server banners to deliver new Windows malware

Threat actors are abusing FTP banners to hide commands that deliver two previously undocumented remote access trojans named E4del and PINHOLE. [...]

breach

SickKids data breach exposes employee and job applicant info

Toronto's Hospital for Sick Children (SickKids) says a cybersecurity incident exposed the personal information of some current and former employees and job applicants, stemming from a flaw in third-party software. Clinical systems and patient records were not affected. (264) [...]