this post was submitted on 30 Mar 2024
6 points (100.0% liked)

linuxmemes

20688 readers
1170 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
top 18 comments
sorted by: hot top controversial new old
[–] CameronDev@programming.dev 1 points 5 months ago

To be fair, we only know of this one. There may well be other open source backdoors floating around with no detection. Was heartbleed really an accident?

[–] CodexArcanum@lemmy.world 1 points 5 months ago (1 children)

I've gotten back into tinkering on a little Rust game project, it has about a dozen dependencies on various math and gamedev libraries. When I go to build (just like with npm in my JavaScript projects) cargo needs to download and build just over 200 projects. 3 of them build and run "install scripts" which are just also rust programs. I know this because my anti-virus flagged each of them and I had to allow them through so my little roguelike would build.

Like, what are we even suppose to tell "normal people" about security? "Yeah, don't download files from people you don't trust and never run executables from the web. How do I install this programming utility? Blindly run code from over 300 people and hope none of them wanted to sneak something malicious in there."

I don't want to go back to the days of hand chisling every routine into bare silicon by hand, but i feel l like there must be a better system we just haven't devised yet.

[–] Killing_Spark@feddit.de 0 points 5 months ago (1 children)

Debian actually started to collect and maintain packages of the most important rust crates. You can use that as a source for cargo

[–] JustEnoughDucks@feddit.nl 0 points 5 months ago (1 children)

Researchers have found a malicious backdoor in a compression tool that made its way into widely used Linux distributions, including those from Red Hat and Debian.

https://arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-breaks-encrypted-ssh-connections/

[–] Killing_Spark@feddit.de 0 points 5 months ago

Yeah they messed up once. It's still miles better than just not having someone looking at the included stuff

[–] the_seven_sins@feddit.de 0 points 5 months ago

Ever wondered why ${insert_proprietary_software_here} takes so long to boot?

[–] squaresinger@feddit.de 0 points 5 months ago (4 children)

The only real downside on the open source side is that the fix is also public, and thus the recipe how to exploit the backdoor.

If there's a massive CVE on a closed source system, you get a super high-level description of the issue and that's it.

If there's one on an open source system, you get ready-made "proof of concepts" on github that any script kiddy can exploit.

And since not every software can be updated instantly, you are left with millions of vulnerable servers/PCs and a lot of happy script kiddies.

See, for example, Log4Shell.

[–] DemSpud@lemmy.dbzer0.com 0 points 5 months ago (3 children)

bUt gUyS WhAt aBoUt sEcUrItY ThRoUgH ObScUrItY??

[–] squaresinger@feddit.de 0 points 5 months ago

hEy, yOu lEaRnEd A bUzZwOrD aNd rEcEnTlY dIsCoVeReD tHe sHiFt KeY!!!! cOnGrAtS!?!

[–] squaresinger@feddit.de 0 points 5 months ago

hEy, yOu lEaRnEd A bUzZwOrD aNd rEcEnTlY dIsCoVeReD tHe sHiFt KeY!!!! cOnGrAtS!?!

[–] squaresinger@feddit.de 0 points 5 months ago

hEy, yOu lEaRnEd A bUzZwOrD aNd rEcEnTlY dIsCoVeReD tHe sHiFt KeY!!!! cOnGrAtS!?!

[–] oce@jlai.lu 0 points 5 months ago* (last edited 5 months ago) (2 children)

If your security relies on hidden information then it's at risk of being broken at any time by someone who will find the information in some way. Open source security is so much stronger because it works independently of system knowledge. See all the open source cryptography that secures the web for example.
Open source poc and fix increases awareness of issues and helps everyone to make progress. You will also get much more eyes to verify your analysis and fix, as well as people checking if there could other consequences in other systems. Some security specialists are probably going to create techniques to detect this kind of sophisticated attack in the future.
This doesn't happen with closed source.
If some system company/administrator is too lazy to update, the fault is on them, not on the person who made all the information available for your to understand and fix the issue.

[–] prettybunnys@sh.itjust.works 0 points 5 months ago (1 children)

Crowd sourcing vulnerability analysis and detection doesn’t make open source software inherently more secure.

Closed source software has its place and it isn’t inherently evil or bad.

This event shows the good and bad of the open source software world but says NOTHING about closed source software.

[–] oce@jlai.lu 0 points 5 months ago (1 children)

Crowd sourcing vulnerability analysis and detection doesn’t make open source software inherently more secure.

It does, because many more eyes can find issues, as illustrated by this story.

Closed source isn't inherently bad, but it's worse than open source in many cases including security.

I think you're the only one here thinking publishing PoC is bad.

[–] squaresinger@feddit.de 0 points 5 months ago

But this issue wasn't found because of code analysis per se, but because of microbenchmarking.

[–] squaresinger@feddit.de 0 points 5 months ago

If the vulnerability is in the wild, what other security mechanisms do you have until it's patched?

[–] ris@feddit.de 0 points 5 months ago

In this case it seems the backdoor is only usable with someone who has the correct key. Seeing and reverting something fishy is in some cases, like this easier than finding an exploit. It takes a lot of time in this case to figure out what goes on.

Fixing a bug never automatically give an easy to use exploit for script kiddies

[–] Pantherina@feddit.de 0 points 5 months ago

It is not, it requires a private key to be used.