Info-stealer found in “acroread” Arch Linux package

The incident happened because AUR allows anyone to take over “orphaned” repositories that have been abandoned by their original authors.

On Saturday, a user going by the pseudonym of “xeactor” took over one such orphaned package named “acroread” that allows Arch Linux users to view PDF files.

According to a Git commit to the package’s source code, xeactor added malicious code that would download a file named “~x” from ptpb.pw, a lightweight site mimicking Pastebin that allows users to share small pieces of texts.

When the user would install the xeactor package, the user’s PC would download and execute the ~x file [VirusTotalsource code], which would later download and run another file named “~u” [VirusTotalsource code].

Besides downloading ~u, the main purpose of the first file (~x) was also to modify systemd and add a timer to run the ~u file at every 360 seconds.

Malware didn’t do much

The purpose of the second file (~u) was to collect data about each infected system and post these details inside a new Pastebin file, using the attacker’s custom Pastebin API key.

Collected data includes details such as the date and time, machine’s ID, CPU information, Pacman (package manager) details, and the outputs of the “uname -a” and “systemctl list-units” commands.

No other malicious actions were observed, meaning the acroread package wasn’t harming users’ systems, but merely collecting data in preparation for… something else.

There isn’t a self-update mechanism included, meaning xeactor would have needed a second acroread package update to deploy more intrusive code, or potentially another malware strain.

Two other yet-to-be-named packages also found infected

The AUR team also said it found similar code in two other packages that the xeactor user has recently taken over, but has not revealed their names.

All malicious changes to all three packages have now been reversed, and xeactor’s account has been suspended.

The Arch Linux team is the second Linux distro that has found malware on its user-submitted package repository this year. In May, the Ubuntu Store team found a cryptocurrency miner hidden in an Ubuntu package named 2048buntu.

 

via Malware Found in Arch Linux AUR Package Repository

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Share This