A trojanized Free Download Manager Debian package from deb.fdmpkg.org dropped two programs and set a cron job that ran them, from 2020 to 2022.
Some Linux users who downloaded Free Download Manager got the bad package. Kaspersky published the analysis in September 2023.
What happened
The official site freedownloadmanager.org sent some Linux visitors to deb.fdmpkg.org, which served a trojanized .deb package.
- The
postinstscript drops two ELF files,/var/tmp/crondand/var/tmp/bs. - It writes
/etc/cron.d/collect, which starts/var/tmp/crondevery 10 minutes. - The
crondbackdoor sends DNS requests that encode a fingerprint of the victim and opens a reverse shell. - The stealer
/var/tmp/bscollects system information, browser history, saved passwords, wallet files and cloud logins for AWS, Google Cloud, Oracle Cloud and Azure. - A third file,
/var/tmp/atd, uploads the stealer output.
Kaspersky found no sign of the redirect after 2022.
Affected versions
- The sources give no version number.
- Package:
freedownloadmanager.debfromhttps://deb.fdmpkg[.]org/freedownloadmanager.deb. - Malicious package SHA-256:
b77f63f14d0b2bde3f4f62f4323aad87194da11d71c117a487e18ff3f2cd468d. - Period: 2020 to 2022. Only some users got the bad package.
Indicators of compromise
/etc/cron.d/collect./var/tmp/crond, SHA-2562214c7a0256f07ce7b7aab8f61ef9cbaff10a456c8b9f2a97d8f713abd660349./var/tmp/bs, SHA-25693358bfb6ee0caced889e94cd82f6f417965087203ca9a5fce8dc7f6e1b8a3ea./var/tmp/atd, SHA-256d73be6e13732d365412d71791e5eb1096c7bb13d6f7fd533d8c04392ca0b69b5.- Domain
fdmpkg[.]organd all subdomains, in the form<hex string>.u.fdmpkg[.]org. - Server address
172.111.48[.]101. - Example subdomains:
2c9bf1811ff428ef9ec999cc7544b43950947b0f.u.fdmpkg[.]org,c6d76b1748b67fbc21ab493281dd1c7a558e3047.u.fdmpkg[.]org. - Shutdown message
Waiting for process: crond.
How to check
Look for the files that BleepingComputer tells users to find.
ls -l /etc/cron.d/collect /var/tmp/crond /var/tmp/bs /var/tmp/atd
If any file exists, hash it and compare with the values above.
sha256sum /var/tmp/crond /var/tmp/bs /var/tmp/atd
What to do now
- If any of the files exists, treat the machine as compromised.
- Delete
/etc/cron.d/collect,/var/tmp/crondand/var/tmp/bs. Also remove/var/tmp/atdif it is present. - Rotate all passwords, browser-saved logins, wallet keys and cloud logins that the machine held.
- Block
fdmpkg.orgat the DNS or firewall level.
Frequently asked questions
What was the Free Download Manager Linux backdoor?
From 2020 to 2022, some Linux users got a trojanized Debian package from deb.fdmpkg.org. Its postinst script installed a backdoor and a stealer.
How do I know if my Linux machine has the Free Download Manager malware?
Look for /etc/cron.d/collect, /var/tmp/crond and /var/tmp/bs. If any exists, treat the machine as compromised.
Sources
Send this page to the person who looks after AI at your company.