Live data from Hacker News

Free Download Manager backdoored – a possible supply chain attack on Linux

securelist.com

61–70 of 143 posts

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#61

Earlier quoted context omitted.

Look, if the malware spreads by users manually installing it , 1. it's not really an OS problem, 2. an AV wasn't going to save them.

That's how almost all malware was installed though. Linux really isn't any more resistant to malware than anything else.

Really depends on ecosystem and time; I remember when connecting an unpatched XP box to the internet got it infected with zero user interaction.

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#63
post #50

Earlier quoted context omitted.

Or all those `curl install.sh | bash -` scripts that nobody checks that could do pretty much anything, esp when they ask you to sudo

Who is running random curl scripts without checking the code first? Is this common now?

Quite so. A quick example from k3s installation page (https://docs.k3s.io/quick-start):

``` curl -sfL https://get.k3s.io | sh - ```

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#64

Why would you use a "Free Download Manager" when wget is right there? Or a web browser, such as Firefox? Or torrent clients to deal with large Linux ISO downloads? Or the various storefronts, like Steam? Or your own distro's package manager? This wasn't packaged on any distro, so this isn't even a meaningful attack: Users had to go out of their way to install it from a foreign source. This is no different than if you…

From their website[1]: > FDM can boost all your downloads up to 10 times, process media files of various popular formats, drag&drop URLs right from a web browser as well as simultaneously download multiple files! No, I still don't a clue what it actually does that the OS and existing tools can't. It sounds like those scam "RAM doubler" programs from the 90s. Run this executable to boost your system's chakras . 1: htt…

I used it 15 years ago, back when I had dial up. It was extremely handy, since it could continue a download if I paused it or got kicked off (without starting from the beginning).

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#65
post #41

If you intentionally install something called Free Download Manager, you should not be surprised when it turns out to be malware.

Yeah who would ever trust a free BSD?

That’s right, security-minded people trust OpenBSD instead.

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#66
post #32
post #28

Earlier quoted context omitted.

> This is installed by adding a shady repository to your apt sources.list... How is this possible? Aren't the packages signed like on ArchLinux so that you can use any mirrorlist?

Yes, they are signed, but not with the official key. If you add it through the UI, it will auto-accept the key from the repository. (I'm not sure how it exactly works, it might ask the user for the confirmation) If you do it from the command line, by editing files, you will have to add the key manually. But most inexperienced users will just copy/paste and run the "curl | sudo apt-key add" command from the shady repo…

Until recently (when apt-key was deprecated), this has been a large security hole (and it will continue to be as long as apt-key is still used). Basically unless a repository in your sources.list includes a signed-by attribute referencing a specific key, then it can install packages signed by any public key you've added via apt-key. Also, sources.list defines an implicit priority order (IIRC it's top-to-bottom), so that when two repositories include a package with the same name, the package from the highest priority repository is installed. You can imagine the security issues that arise from a system dependent on the order of lines in a file that many people manually edit while frustrated and reading a tutorial online.

More here: https://medium.com/@glegoux/ubuntu-22-04-jammy-jellyfish-apt...

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#67
post #52
post #26

Earlier quoted context omitted.

I disagree. This is more another reason to not run programs which are not from the official repository.

Even packages from the official repos can not be safe. https://www.debian.org/security/2008/dsa-1571 I would just like to remind everyone to be cautious, in general. This bug was in the openssl package, and as a consequence was creating incredibly weak keys, for around 2 years before being discovered in what is arguably one of the most critical pieces of software for the OS.

there's a difference between bugs and being actively malicious

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#68
post #50

Earlier quoted context omitted.

Or all those `curl install.sh | bash -` scripts that nobody checks that could do pretty much anything, esp when they ask you to sudo

I never understand why people get more upset about the bash script running arbitrary code than the program it's actually installing.

Oftentimes the installer needs greater system access than the code you're running, particularly on Windows

IME most of the randomly-downloaded software I've used does what it says on the tin. But there is a whole screening process: where did it come from? Does the originating site look legit? What are the possible motivations for the creator?

Besides there is no signing mechanism for your random install.sh. Maybe you check the SHA256 but if an attacker alters the script why not alter the website with the hashes too?

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#69
post #42
post #39

Earlier quoted context omitted.

Basically, as per everything these days, the entire software industry is based on "download and run any old shit off the Internet" with little to no fucks given about the source or trustworthyness or correctness. End users are no better because for most people, including a lot of novice Linux users, this isn't even considered as part of fixing or dealing with any particular problem. Cut / paste / job done. Worst is I…

It doesn't have to be. Corporations which are FedRAMP[1] compliant, have to build software reproducibly in a fully isolated environment, only from reviewed code.[2] [1] https://en.wikipedia.org/wiki/FedRAMP [2] https://slsa.dev/

In theory, yes. Who has really reviewed and analyzed every line of Kafka or Spark? Even the bigcos.. don't.

Re: Free Download Manager backdoored – a possible supply chain attack on Linux

#70
post #50

Earlier quoted context omitted.

Or all those `curl install.sh | bash -` scripts that nobody checks that could do pretty much anything, esp when they ask you to sudo

Who is running random curl scripts without checking the code first? Is this common now?

Nobody reads the source code of all software they are running.
Post reply on HN