Weaponized Free Download Manager for Linux Steals System Data & Passwords

In recent years, Linux systems gained prominence among diverse threat actors, with more than 260,000 unique samples emerging in H1 2023.

In the case of Linux, threat actors can run multiple campaigns without being detected for years, and maintain long-term existence on the compromised systems.

Cybersecurity researchers at Kaspersky Lab recently detected that threat actors are weaponizing the Free Download manager for Linux to steal system data and passwords.

While investigating the suspicious domains, cybersecurity analysts uncovered a persistent and long-lasting attack. Here below, we have mentioned the set of domains analyzed by security experts-

  • 2c9bf1811ff428ef9ec999cc7544b43950947b0f.u.fdmpkg[.]org
  • c6d76b1748b67fbc21ab493281dd1c7a558e3047.u.fdmpkg[.]org
  • 0727bedf5c1f85f58337798a63812aa986448473.u.fdmpkg[.]org
  • c3a05f0dac05669765800471abc1fdaba15e3360.u.fdmpkg[.]org

Weaponized Free Download Manager

These domains raise alarm for security researchers, hinting at potential malware using the domain-generation algorithms for C2 communication, and that’s why analysts primarily focused on the following domain:-

  • fdmpkg[.]org

The domain under scrutiny features the “deb.fdmpkg[.]org” subdomain that leads to the following webpage:-

Landing webpage (Source – Securelist)

The subdomain claims to host the ‘Free Download Manager’ Debian repository, but we found a malicious package at “https://deb.fdmpkg[.]org/freedownloadmanager.deb”. 

This package deploys infected scripts and creates persistence with a cron task running /var/tmp/crond every 10 minutes.

The infected package installed a January 24, 2020 version of Free Download Manager. The postinst script, in Russian and Ukrainian, references malware improvements and activist messages, with the following dates:- 

  • 20200126 (January 26, 2020)
  • 20200127 (January 27, 2020)

After installation, the package triggers /var/tmp/crond on startup via cron, serving as a self-contained backdoor using statically linked dietlibc for Linux API access. It contacts a secondary C2 server via DNS request to <hex-encoded 20-byte string>.u.fdmpkg[.]org.

Now after parsing the DNS response, the backdoor establishes a reverse shell via SSL or TCP with the secondary C2 server, using /var/tmp/bs for SSL or self-made for TCP.

Discovering the crond backdoor’s reverse shell, experts tested it in a malware analysis sandbox, finding it delivered a Bash stealer. This stealer gathers system info like:-

  • Browsing history
  • Saved passwords
  • Crypto wallet files
  • Cloud service credentials

Here below we have mentioned the cloud services that are targeted primarily:-

  • AWS
  • Google Cloud
  • Oracle Cloud Infrastructure
  • Azure

The stealer retrieves an uploader binary from the C2 server, stores it in /var/tmp/atd, and employs it to send stolen data to the infrastructure that is under the control of attackers.

Infection chain (Source – Securelist)

Origins

Moreover, security analysts found Linux installation tutorials for Free Download Manager on YouTube videos.

After tracing the Free Download Manager package’s infection source, researchers linked the discovered implants to Bew backdoor and Exim mail server vulnerability.

Despite the malware’s long history and noisy implants, the malicious Free Download Manager package went undetected for over three years, affecting victims worldwide.

However, besides this, it’s been confirmed by the security analysts that this campaign is inactive at the moment, but, recommended users to equip their Linux machines with robust security solutions.

Keep informed about the latest Cyber Security News by following us on Google NewsLinkedinTwitter, and Facebook.

Tushar Subhra

Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Recent Posts

APT32 Turns GitHub into a Weapon Against Security Teams and Enterprise Networks

Southeast Asian Advanced Persistent Threat (APT) group OceanLotus, also known as APT32, has been identified…

2 hours ago

AkiraBot Floods 80,000 Sites After Outsmarting CAPTCHAs and Slipping Past Network Defenses

AkiraBot, identified by SentinelLABS, represents a sophisticated spam bot framework that targets website chats and…

2 hours ago

Microsoft Identity Web Flaw Exposes Sensitive Client Secrets and Certificates

A new vulnerability has been discovered in the Microsoft.Identity.Web NuGet package under specific conditions, potentially…

2 hours ago

CatB Ransomware Abuses Microsoft Distributed Transaction Coordinator for Stealthy Payload Execution

The cybersecurity realm has encountered a formidable adversary with the emergence of CatB ransomware, also…

2 hours ago

Smokeloader Malware Operators Busted, Servers Seized by Authorities

In a major victory against cybercrime, law enforcement agencies across North America and Europe have…

2 hours ago

CISA Alerts on Actively Exploited Linux Kernel Out-of-Bounds & Read Flaw

The Cybersecurity and Infrastructure Security Agency (CISA) has issued alerts regarding two actively exploited vulnerabilities…

2 hours ago