Fake Arch Linux AUR packages exploit typos to run malware with root privileges
Arch Linux users who mistyped package helper names while installing software may have accidentally granted strangers root access to their machines.
Overview
A user named James Smith reported that an account called marchos1as uploaded fake versions of popular software helpers to the Arch User RepositoryA central storage place where a software project's source code, change history, and configuration files are kept. These fake packages used names with typos, such as yyay, to trick users who made mistakes while typing commands. When a user installed one of these fake packages, a hidden script ran with full root privilegesThe highest administrator permission level on a system, with unrestricted control over all files and programs, which allows the attacker to control the entire computer. A maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project named Andreas Reichel confirmed the packages were malicious and noted that the attacker hid the bad code to look harmless to casual reviewers. Another maintainer, DeepChirp, banned the user and deleted all of their packages within an hour of the report. The incident affects Arch Linux users who may have accidentally installed the fake software and given strangers root access to their machines.
Terms in this story
- 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.
- root privileges
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- privileges
- The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
- maintainer
- The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- 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
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- scanner
- Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 lists the term
- URL
- The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 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
- rootkit
- Stealthy malware that hides deep in the operating system or firmware so normal security tools cannot see it. Because a rootkit intercepts the operating system's own file and process listings, an infected server can lie to the administrator and hide the attacker's running programs. Security+ objective 2.4 lists the term
- 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.
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 Help Net Security website. Cite the article, not this page.
Read the full article on Help Net Security (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.
- Kind of story: Research and reports
"Fake Arch Linux AUR packages exploit typos to run malware with root privileges..." Found by reading the article; these exact words are in it - Who is affected: "Arch Linux users who mistyped yay or paru..."
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Fake Arch Linux AUR packages exploit typos to run malware with root privileges..." Found in the headline - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"Fake Arch Linux AUR packages exploit typos to run malware..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"Fake Arch Linux AUR packages exploit typos to run malware..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......Linux AUR packages exploit typos to run malware with root privileges..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"The package presents itself as a straightforward repackaging of the legitimate 'yay' AUR helper..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of Malware TTPs
"The scriptlet runs arbitrary downloaded code as root on the live system..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role