Cybersecurity news

Jessica Doner

Back to the list

Attackers Use Malicious Terraform Providers to Deliver Go Malware via HashiCorp Registry

The Hacker News,

Researchers found malware hidden in software packages on a popular registry, marking the first time this platform was used to distribute malicious code.

Malware and ransomwareEncryption and certificatesHacker groups and nation states

Overview

Cybersecurity researchers found that attackers used malicious Terraform providers and Go modules to distribute malwareSoftware built to steal data, spy on users, lock files, or take control of a computer through the HashiCorp registryA central database of system settings on a computer or a public catalog that hosts software packages. This marks the first time threat actorsA person or group that carries out cyberattacks, whether for money, spying, or disruption have used this centralized repositoryA central storage place where a software project's source code, change history, and configuration files are kept as a distribution vector for malicious payloadsThe part of an attack or malware file that carries out the harmful action on the target. The malware is linked to a campaign attributed to North Korean threat actors who approach developers via social platforms or job offers. Victims are asked to complete coding tasks that introduce malicious behavior through dependenciesAn external code library or package that a software project relies on to do part of its work published on npm or PyPI. The attack chainThe full sequence of steps an intruder takes from initial break-in to final goal uses encryptedTurn plaintext into ciphertext with a key payloads that decrypt only when specific cryptographic operations are performed. Developers who install these packages risk having their systems compromised by hidden malware.

Terms in this story

Malware
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
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.
threat actors
A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
repository
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
malicious payloads
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.
attack chain
The full sequence of steps an intruder takes from initial break-in to final goal. Incident reports map out the full attack chain, such as a phishing email that drops a loader, steals domain credentials, and finally deploys ransomware across servers.
encrypted
Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
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.
npm packages
A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
decrypts
Turn ciphertext back into plaintext with the key. Authorized users decrypt protected messages or drives with their secret key, while ransomware victims must either restore from backups or obtain the attacker's key to decrypt their files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
smart contract
A self-executing program stored on a blockchain that automatically moves digital assets when set conditions are met. Because smart contract code is public and cannot easily be reversed once deployed, a single logic bug in a smart contract can let an attacker drain millions in cryptocurrency.
asymmetric cryptography
Encryption with 2 keys: a public key that locks, a private key that opens. Online services, passkeys, and software signatures use asymmetric cryptography so anyone can verify a signature or lock a message using a public key without ever seeing the private key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)

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 The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (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