News for hackers. Stuff that matters.
Re:Active North Korean campaign targeting security researchers by wheelerof4te on Thursday September 07, 2023 @02:16PM (#37423259)
"How do Linux/Mac package managers solve this?"

By building their binaries from source and hosting them on their servers?

Re:Active North Korean campaign targeting security researchers by dewey on Thursday September 07, 2023 @02:58PM (#37423895)
Wouldn't help if the source code already has the backdoor in there though. Most people would just download and build a tool off GitHub if it has 200 stars and does what they need.
Re:Active North Korean campaign targeting security researchers by pixl97 on Thursday September 07, 2023 @03:58PM (#37424748)
Github stars are also complete bullshit that can be gamed itself.
Re:Active North Korean campaign targeting security researchers by wheelerof4te on Thursday September 07, 2023 @04:29PM (#37425115)
It's extremely hard to sneak backdoors in open-source code.

Which is one of the reasons why a lot of people promote that openness.

Re:Active North Korean campaign targeting security researchers by dewey on Thursday September 07, 2023 @04:34PM (#37425182)
Into a popular repository yes, but into a small tool like that it would most likely be very possible.
Re:Active North Korean campaign targeting security researchers by wheelerof4te on Thursday September 07, 2023 @04:44PM (#37425309)
Small tool = less code to read through.

If you want to use that suspicious tool, you should at least take a glance at the source code.

Re:Active North Korean campaign targeting security researchers by dewey on Thursday September 07, 2023 @04:58PM (#37425479)
In an ideal world that would be the case, but people barely read the README or documentation.
Re:Active North Korean campaign targeting security researchers by tough on Thursday September 07, 2023 @05:54PM (#37426125)
That's on their own fault, and on the alternative closed source scenario nobody would be able to read the source without reverse engineering it first
Re:Active North Korean campaign targeting security researchers by userbinator on Thursday September 07, 2023 @11:11PM (#37428767)
I did, and on the rare occasion that I need to use a downloaded binary today, still open it in a text editor and scroll through it for a cursory look. Packed -> reject. Bigger than expected -> reject. URLs or other strings, especially obfuscated, not related to expected functionality -> reject. Online AV multiscanners offer a reasonable alternative for those who aren't familiar with this sort of quick-glance RE, although they do have false positives too.
Re:Active North Korean campaign targeting security researchers by account42 on Friday September 08, 2023 @04:17AM (#37430956)
> Online AV multiscanners offer a reasonable alternative

You're right, (not just) online AV multiscanners are also FUD machines that will happily accept malicious programs but reject anything well crafted and optimized because it doesn't like exactly like the shit MSVC craps out with default settings.

Re:Active North Korean campaign targeting security researchers by userbinator on Thursday September 07, 2023 @11:08PM (#37428746)
It's extremely easy to sneak backdoors in open-source code that contains automatic update functionality.
Re:Active North Korean campaign targeting security researchers by imadj on Thursday September 07, 2023 @10:53PM (#37428649)
>> By building their binaries from source and hosting them on their servers

> Wouldn't help if the source code already has the backdoor in there though

I'm not sure if you're aware but random tools don't just spawn in official package repositories overnight.

There's a vetting process, for both new packages and new maintainers. Also in established distros, packages don't get accepted to official repositories unless it's a critical and highly demanded one.

So yeah, any software can have vulnerabilities, regardless of OS. But stray tools and dubious actors, are pretty much a solved problem in linux distros. The situation on Windows is laughable in comparsion. No need to spread FUD.

Re:Active North Korean campaign targeting security researchers by zx14 on Friday September 08, 2023 @03:04AM (#37430430)
The maintainers can be compromised though. Is every single version of every single "vetted" package / maintainer also vetted?
Re:Active North Korean campaign targeting security researchers by imadj on Friday September 08, 2023 @05:46AM (#37431576)
> The maintainers can be compromised though. Is every single version of every single "vetted" package / maintainer also vetted?

Pretty much, packaging is not a brainless process. One of the effort that specifically target this is the Reproducible builds project [0], along with many other security measures set by each distro.

There are also usually multiple testing and updates rolling stages.

The best evidence of how effective these measures is its actual reputation and record on the ground.

[0] https://reproducible-builds.org/

Re:Active North Korean campaign targeting security researchers by 3np on Friday September 08, 2023 @06:12AM (#37431744)
This is a good thing to consider when picking Linux distros. Who are the maintainers, is maintenance done in the open, do they enforce reproducible builds, how is review process done, what are requirements for mainters/packages/releases?

You also have the option of building from source yourself. Some package managers and distros (Gentoo, NixOS, Guix) do this for you.

This is BTW the main reason I wouldn't use derivate distros for anything serious.

Debian's generally trusted in the community - their slow pace come from risk-aversiveness.

Re:Active North Korean campaign targeting security researchers by dewey on Friday September 08, 2023 @04:59AM (#37431234)
Package managers are not the only way to get software. People build software off GitHub all the time.
Re:Active North Korean campaign targeting security researchers by imadj on Friday September 08, 2023 @05:48AM (#37431590)
> Package managers are not the only way to get software. People build software off GitHub all the time.

The question asked by parent comment was:

"How do Linux/Mac package managers solve this?"