Cybersecurity news

Jessica Doner

Back to the list

North Korean Hackers Tied to Rust Supply Chain Attack

Infosecurity Magazine,

North Korean hackers compromised a trusted maintainer's account to embed backdoors in three open-source libraries on the Rust package registry.

Hacker groups and nation states

Overview

North Korean hackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher compromised the accounts of a trusted open-sourceSoftware whose source code is publicly available for anyone to inspect, use, modify, and share maintainer to alter three legitimate Rust libraries on the crates.io registryA central database of system settings on a computer or a public catalog that hosts software packages. Instead of changing the main code, the attackers added a fake dependencyAn external code library or package that a software project relies on to do part of its work named proc-macro1 that triggered a malicious payloadThe part of an attack or malware file that carries out the harmful action on the target during the automated build process. This allowed the malware to infect developer workstations and continuous integration environments simply by compiling the software, even if the final product was never deployed. The attack targeted sensitive data such as web browser credentialsThe login details, such as a username and password or key, that prove who an account belongs to, cryptocurrency walletA software app or hardware device that stores the private keys needed to spend cryptocurrency extensionsA small add-on program installed inside a web browser to add features like ad blocking, and developer environment secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys. The incident affected a large portion of the industry, with the arrayref library present in roughly 75% of cloud environments running Rust applications. Developers and automated build pipelinesThe automated pipeline that tests, builds, and deploys software whenever developers push new code became infected just by pulling down and compiling these legitimate dependencies.

Terms in this story

Hackers
A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
open-source
Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
registry
A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
dependency
An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
cryptocurrency wallet
A software app or hardware device that stores the private keys needed to spend cryptocurrency. If an infostealer copies the secret seed phrase or key file from a victim's cryptocurrency wallet, the attacker can drain the funds irreversibly in seconds.
extensions
A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
pipelines
The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
Supply Chain Attack
Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
backdoor
A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Infosecurity Magazine website. Cite the article, not this page.

Read the full article on Infosecurity Magazine (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related