- cross-posted to:
- news@lemmy.linuxuserspace.show
- piracy@lemmy.dbzer0.com
A reported Free Download Manager supply chain attack redirected Linux users to a malicious Debian package repository that installed information-stealing malware.
The malware used in this campaign establishes a reverse shell to a C2 server and installs a Bash stealer that collects user data and account credentials.
Kaspersky discovered the potential supply chain compromise case while investigating suspicious domains, finding that the campaign has been underway for over three years.
MazonnaCara89 ( @MazonnaCara89@lemmy.ml ) 155•2 years agoNow I need to know who the hell has installed Free Download Manager on Linux.
30p87 ( @30p87@feddit.de ) 37•2 years agoAnd via a website too. That’s like pushing a car. One of the main strengths of Linux are open repositories, maintained by reputable sources and checked by thousands of reputable people. Packages are checksummed and therefore unable to be switched by malicious parties. Even the AUR is arguably a safer and more regulated source. And it’s actually in there.
JWBananas ( @JWBananas@startrek.website ) English46•2 years agoAnd via a website too
Everyone knows real admins do
curl https://raw.githubusercontent.com/something/or/other/install.sh | sudo bash
teawrecks ( @teawrecks@sopuli.xyz ) 4•2 years agoInstructions unclear, “command not found: 404”.
TrustingZebra ( @TrustingZebra@lemmy.one ) 8•2 years agoIt’s still my favorite download manager on Windows. It often downloads file significantly faster than the download manager built into browsers. Luckily I never installed it on Linux, since I have a habit of only installing from package managers.
Do you know of a good download manager for Linux?
FredericChopin_ ( @FredericChopin_@feddit.uk ) English10•2 years agoHow much faster are we talking?
I’ve honestly never looked at my downloads and though huh you should be quicker, well maybe in 90’s.
arglebargle ( @westyvw@lemm.ee ) English6•2 years agojust grabbed a gig file - it would take about 8 minutes with a standard download in Firefox. Use a manager or axel and it will be 30 seconds. Then again speed isnt everything, its also nice to be able to have auto retry and completion.
PenguinCoder ( @Penguincoder@beehaw.org ) English1•2 years agoI was just going to recommend this too; Use axel, aria2 or even ancient hget.
TrustingZebra ( @TrustingZebra@lemmy.one ) 6•2 years agoFDM does some clever things to boost download speeds. It splits up a download into different chuncks, and somehow downloads them concurrently. It makes a big difference for large files (for example, Linux ISOs).
FredericChopin_ ( @FredericChopin_@feddit.uk ) English8•2 years agoIm curious as to how it would achieve that?
It can’t split a file before it has the file. And all downloads are split up. They’re called packets.
Not saying it doesn’t do it, just wondering how.
everett ( @everett@lemmy.ml ) 11•2 years agoIt could make multiple requests to the server, asking each request to resume starting at a certain byte.
FredericChopin_ ( @FredericChopin_@feddit.uk ) English5•2 years agoInteresting.
I feel I’ll save this rabbit hole for weekend and go and have a look at what they do.
The key thing to know is that a client can do an HTTP
HEAD
request to get just theContent-Length
of the file, and then performGET
requests with theRange
request header to fetch a specific chunk of a file.This mechanism was introduced in HTTP 1.1 (byte-serving).
Xirup ( @Xirup@lemmy.dbzer0.com ) 8•2 years agoJDownloader, XDM, FileCentipede (this one is the closest to IDM, although it uses closed source libraries), kGet, etc.
arglebargle ( @westyvw@lemm.ee ) English2•2 years agoaxel. use axel -n8 to make 8 connections/segments which it will assemble when it is done
Xirup ( @Xirup@lemmy.dbzer0.com ) 1•2 years agoEven with wget, wget -c can resume some downloads.
u/lukmly013 💾 (lemmy.sdf.org) ( @user224@lemmy.sdf.org ) 7•2 years agoGotta admit, it was me. I’ve only used a computer for short time.
I’ve got my first laptop 3 years ago, and that broke after just 2 months. And anyway, with AMD Athlon 64 it greatly struggled with a browser. So really I only started seriously using computer at the start of 2021, when I got another, usable laptop. And that’s when I downloaded freedownloadmanager.deb. Thankfully, I didn’t get that redirect, so it was a legitimate file. Hamartiogonic ( @Hamartiogonic@sopuli.xyz ) 6•2 years agoOh, I know someone who adds the word “free” to various search words like “free pdf reader” or “free flash player” (happened a very long time ago). He’s also the kind of person who I can imagine having a bunch of viruses and malware on his computer.
Honytawk ( @Honytawk@lemmy.zip ) 4•2 years agoPeople not well versed in Linux.
You know, the non-techies, which the Linux community claims should know such things but obviously does not.
Goun ( @Goun@lemmy.ml ) 4•2 years agoOr what is Free Download Manager
Radioactive Radio ( @radioactiveradio@lemm.ee ) 3•2 years agoI once did.
The article mentions how to check for infection:
If you have installed the Linux version of the Free Download Manager between 2020 and 2022, you should check and see if the malicious version was installed.
To do this, look for the following files dropped by the malware, and if found, delete them:
/etc/cron.d/collect /var/tmp/crond /var/tmp/bs
u/lukmly013 💾 (lemmy.sdf.org) ( @user224@lemmy.sdf.org ) 4•2 years agoAlso you can check the .deb file’s postinst script. If it looks like shown here, no bueno.
mexicancartel ( @mexicancartel@lemmy.dbzer0.com ) English31•2 years ago“Non-free download manager”
Wutchilli ( @Wutchilli@feddit.de ) 4•2 years agoYou allways pay with something
mexicancartel ( @mexicancartel@lemmy.dbzer0.com ) English7•2 years agoFree as in free speech, not as in free beer.
Free :: Freedom ≠ No money
Hairyblue ( @Hairyblue@kbin.social ) 26•2 years agoWhat is a free download manager and why would someone need one?
lemmyvore ( @lemmyvore@feddit.nl ) English21•2 years agoBack in the day when most stuff was on FTP and HTTP and your connection was crap and could drop at any time, you’d use a download manager to smooth things along. It could resume downloads when connection dropped, it could keep a download going for days on end and resume as needed, and it could abusing the bandwitdh limitations of the source site by using multiple parallel connections that pulled on different file chunks. In some ways it was very similar to how we use BT today.
It was also useful to keep a history of stuff you’d downloaded in case you needed it again, manage the associated files etc.
and it could abusing the bandwitdh limitations of the source site by using multiple parallel connections that pulled on different file chunks
Also for files which had multiple different mirror sites you could download chunks from multiple mirrors concurrently which would allow you to max out your bandwidth even if individual mirrors were limiting download speeds.
Dhs92 ( @Dhs92@programming.dev ) 8•2 years agoIt’s a download client that can pause/Resume downloads, as well as use multiple connections to download files
Hairyblue ( @Hairyblue@kbin.social ) 4•2 years agoLike a BitTorrent?
I guess I just don’t download that much stuff.
db2 ( @db2@sopuli.xyz ) 3•2 years agoBitTorrent works in chunks basically, or can download it nonlinearly. Downloading from a site in a basic way gets the file from start to finish, the download manager can let you stop it and pick up where you left off, as long as the server you’re getting the file from is configured to allow it.
https://github.com/agalwood/Motrix
(Note: I don’t use that or any other download manager and haven’t since Windows 95, it’s linked as example only)
gabriele97 ( @gabriele97@lemmy.g97.top ) 19•2 years agoHow is it possible that users noticed strange behaviors (new Cron jobs) and they didn’t check the script launched by those jobs 😱
jsdz ( @jsdz@lemmy.ml ) 50•2 years agoLinux popularity going up means the percentage of users who know what cron is goes down.
Ferk ( @Ferk@lemmy.ml ) 6•2 years agoIf they were complaining about cronjobs being created (like the post says), then they must have known what cron is.
_cnt0 ( @_cnt0@feddit.de ) 12•2 years agomalicious Debian package repository
*laughs in RPM*
This comment was presented by the fedora gang.
rufus ( @rufus@discuss.tchncs.de ) 6•2 years agoMmmh. You kinda deserve being infected if you do things like this. Every beginner tutorial specifically tells you not to download random stuff from the internet and ‘sudo’ install it. Every Wiki with helpful information has these boxes that tell you not to do it. I’m okay if you do it anyways. But don’t blame anyone else for the consequences. And don’t tell me you haven’t been warned.
Also I wonder about the impact this had. It went unnoticed for 3 years. So I can’t imagine it having affected many people. The text says it affected few people. And it didn’t have any real impact.
But supply chain attacks are real. Don’t get fooled. And don’t install random stuff. Install the download manager from your package repository instead.
ipkpjersi ( @ipkpjersi@lemmy.ml ) 6•2 years agoI kind of disagree. Applications often require root permissions to install themselves, since regular users can’t access certain folders like /opt, etc.
Also, do you really think that people would actually read the source and then compile all their software themselves? Do you do the same?
Generally though I do agree, you’re probably fine installing software from your distro’s repos but even that’s not bulletproof and also it’s not like third-party repos are uncommon either.
rufus ( @rufus@discuss.tchncs.de ) 2•2 years agoYes. I do it the correct way. I use my favourite distro’s package manager to install software. This way it’s tested, a few people had a look at the changes, and sometimes a CI script automatically determines if the installer affects other parts of the system. I go to great lengths to avoid doing it any other way. (I’ve been using some flatpaks in recent times, though. But sometimes I also install it only for a separate user account. Mainly when it’s proprietary or niche.)
It is super rare that I install random stuff from the internet. Or ‘curl’ and then pipe the installer script into a root shell. And when I do, I put in some effort to see if it’s okay. I think i had a quick glance at most of the install .sh scripts before continuing. So yes, I kinda do my best. And I isolate that stuff and don’t put it on the same container that does my email.
Most of the times you can avoid doing it the ‘stupid way’. And even the programming package managers like ‘npm’, ‘cargo’, … have started to take supply chain attacks seriously.
rurb ( @rurb@lemmy.ml ) 4•2 years agoI had to essentially read the same thing four times before there was any new information in this post. Not sure if that’s a Jerboa thing or what, but probably could have been avoided.
Yeah I agree, sorry about that. I thought that the body-text field was mandatory to fill in, so I used the introductory paragraph from the article so as not to editorialize.
hottari ( @hottari@lemmy.ml ) 3•2 years agoGlad am not using a deb based distro.
tsuica ( @tsuica@lemmy.ml ) 1•2 years agoThat’s what you get from not using
curl
PenguinCoder ( @Penguincoder@beehaw.org ) English7•2 years agocurl --proto '=https' --tlsv1.2 -sSf https://download-more-ram.sh | sh
PHEW thanks, I’m safe.