The Free Download Manager website sent some Linux visitors a Debian package that installed a backdoor and an information stealer, from 2020 to 2022.
Kaspersky found the campaign in September 2023. The redirect did not happen for every visitor, so the scale stayed hidden for more than three years.
What happened
The download page sometimes sent Linux users to deb.fdmpkg.org instead of the real file host.
- The package was released on 24 January 2020.
- The
postinstscript installed two ELF binaries and created a cron job. - The job ran
/var/tmp/crondevery 10 minutes. It is a DNS-based backdoor from the Bew family. /var/tmp/bshandles SSL connections and/var/tmp/atduploads data.- A bash stealer collects system information, browser history, saved passwords, wallet files and logins for AWS, Google Cloud, Oracle Cloud and Azure.
The vendor published a statement on 16 September 2023. The redirection stopped in 2022.
Affected versions
- The sources give no version number.
- The Debian package served from
deb.fdmpkg.org/freedownloadmanager.debto a share of Linux visitors from 2020 to 2022. - The legitimate package came from
files2.freedownloadmanager.org. - Only Linux users who got the redirect are affected.
Indicators of compromise
- Files:
/etc/cron.d/collect,/var/tmp/crond,/var/tmp/bs,/var/tmp/atd. - SHA-256 of the malicious .deb:
b77f63f14d0b2bde3f4f62f4323aad87194da11d71c117a487e18ff3f2cd468d. - SHA-256 of
crond:2214c7a0256f07ce7b7aab8f61ef9cbaff10a456c8b9f2a97d8f713abd660349. - SHA-256 of
bs:93358bfb6ee0caced889e94cd82f6f417965087203ca9a5fce8dc7f6e1b8a3ea. - SHA-256 of
atd:d73be6e13732d365412d71791e5eb1096c7bb13d6f7fd533d8c04392ca0b69b5. - Domains:
fdmpkg.organd its subdomains,deb.fdmpkg.org. - IP address:
172.111.48.101.
How to check
Look for the files the package drops. The command only lists files.
ls -l /etc/cron.d/collect /var/tmp/crond /var/tmp/bs /var/tmp/atd 2>/dev/null grep -r fdmpkg /etc/apt /var/log/apt 2>/dev/null
If any file exists, hash it and compare it with the list above.
sha256sum /var/tmp/crond /var/tmp/bs /var/tmp/atd
What to do now
- If any of the files exist, treat the machine as compromised.
- Remove
/etc/cron.d/collect,/var/tmp/crond,/var/tmp/bsand/var/tmp/atd. - Rotate every login on the machine, including browser passwords, wallet keys and cloud keys.
- Rebuild the machine if it holds sensitive data. A backdoor gives the operator remote control.
Frequently asked questions
How did the Free Download Manager Linux attack work?
The vendor site sent some Linux visitors to deb.fdmpkg.org, which served a Debian package. Its postinst script installed a backdoor, a stealer and a cron job.
How do I know if Free Download Manager infected my Linux machine?
Check for /etc/cron.d/collect, /var/tmp/crond, /var/tmp/bs and /var/tmp/atd. If any exists, treat the machine as compromised.
Sources
Send this page to the person who looks after AI at your company.