LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-31-2024, 07:06 AM   #16
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667

Quote:
Originally Posted by Jeebizz View Post
So then this was an oversight - and those in charge of the repo should have perhaps questioned 'why is said feature prohibited' ?
The commit message of that commit did not exactly say "Now I am blocking an important security feature" and the change to the sources that did block it was not easy to spot. With the knowledge of the liblzma backdoor the project main maintainer did look more closely to older commits from the bad user and found "whoops, that commit fixing this also contains a small little dot blocking that".

regards Henrik
 
Old 03-31-2024, 09:30 AM   #17
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,676

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
My Debian machines run Stable, and were not up to the problematic versions. My Manjaro laptops had the patched version the next day. My source platforms pull source using GIT, and the GIT source was never compromised. My deuvan does not run the things that would make the backdoor usable. So far, no problems here.
 
Old 03-31-2024, 10:16 AM   #18
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by hazel View Post
Last year there was an academic research project (sadly I can't remember who carried it out) to see if it was possible to inject bad code into the Linux kernel. They used precisely this method, offering harmless patches that corrected minor stylistic errors and seemed only pedantic at worst, but one of them created an opening into which something worse could be inserted later.

Of course they immediately informed the kernel team and the world of their success.
At least the guy who did that to the kernel immediately reported it, and didn't keep it a secret - seems to me this actor had more malicious intent.


Quote:
Originally Posted by henca View Post
The commit message of that commit did not exactly say "Now I am blocking an important security feature" and the change to the sources that did block it was not easy to spot. With the knowledge of the liblzma backdoor the project main maintainer did look more closely to older commits from the bad user and found "whoops, that commit fixing this also contains a small little dot blocking that".

regards Henrik
Not directly no - however nobody seem to have caught the fact that commit would not work or compile with said sandboxing feature enabled, so whoever was in charge should have asked why disable it? So by that I guess who ever maintains code going forward when seeing such things should ask "hang on, why does it only compile without said security feature turned on?" And in that case should reject the code in question and demand the code be fixed and that then and there should in my view root out the bad actor - if say the actor had a pattern of such behavior.

Last edited by Jeebizz; 03-31-2024 at 10:39 AM.
 
Old 03-31-2024, 11:05 AM   #19
afb_etc
LQ Newbie
 
Registered: Sep 2022
Posts: 3

Rep: Reputation: 1
Quote:
Originally Posted by Jeebizz View Post
Not directly no - however nobody seem to have caught the fact that commit would not work or compile with said sandboxing feature enabled, so whoever was in charge should have asked why disable it?
From what I understand, the person who was committing the bad code was one of the maintainers. I believe they had social engineered their way to that position over a reasonably long time frame. This was not a rogue commit from a random anonymous person, it's a lot more insidious than that.
 
1 members found this post helpful.
Old 03-31-2024, 12:38 PM   #20
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,366

Original Poster
Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Quote:
Originally Posted by afb_etc View Post
From what I understand, the person who was committing the bad code was one of the maintainers. I believe they had social engineered their way to that position over a reasonably long time frame. This was not a rogue commit from a random anonymous person, it's a lot more insidious than that.

That's fascinating, but logical really. Questions spring to mind.

We know Governments are hiring coders as hackers like civil servants to do hacking. Now the Jesuits who educated me taught me to think like Machiavelli, as they did. So did the maintainer guy take bribes? Or are there 'bad actor' Government hackers in many OSS projects quietly making commits and working their way up? And how many unknown carefully concealed backdoors are known to some government and ready to use? They will be quickly patched of course, but not necessarily eradicated completely. It sounds like the xz one is being eradicated completely. If I'm right, we may see a few of such bugs before this Election year is out.

It is a relief that Slackware doesn't use Systemd.
 
1 members found this post helpful.
Old 03-31-2024, 04:28 PM   #21
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 146

Rep: Reputation: 60
***off topic****

"Xz format inadequate for long-term archiving"
article written by Antonio Diaz with the support of Lasse Collin
https://www.nongnu.org/lzip/xz_inadequate.html

We would have named this article "please stop doing the idiots with Xz"

Last edited by bigbadaboum; 03-31-2024 at 04:29 PM.
 
Old 03-31-2024, 04:35 PM   #22
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,524

Rep: Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492
Quote:
Originally Posted by bigbadaboum View Post
***off topic****

"Xz format inadequate for long-term archiving"
article written by Antonio Diaz with the support of Lasse Collin
https://www.nongnu.org/lzip/xz_inadequate.html

We would have named this article "please stop doing the idiots with Xz"
Oh yeah, that's an old one. Written by the author of lzip, lzlib, and plzip, so perhaps they could be biased. ;-)

Moving to .tlz is tempting, though.
 
1 members found this post helpful.
Old 03-31-2024, 05:09 PM   #23
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Rep: Reputation: 9
Is the name "Jia Tang" chinese?
If so, are they located in the PRC, or in Taiwan, or in some other community of the chinese diaspora?

If in the PRC, then I doubt this is one lone bad actor, and perhaps much more source code needs to be checked?
 
Old 03-31-2024, 05:10 PM   #24
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by afb_etc View Post
From what I understand, the person who was committing the bad code was one of the maintainers. I believe they had social engineered their way to that position over a reasonably long time frame. This was not a rogue commit from a random anonymous person, it's a lot more insidious than that.
Well again I guess hindsight is 20/20; and this is why anyone who is security minded no matter how insignificant should ask questions - I am not a dev; but again I would have still asked "well hang on, WHY do we need to disable a security feature to get this piece of code to work?" The code shouldn't bend over backwards that way, just like a system should bend over backwards for any security reason..

Quote:
Originally Posted by volkerdi View Post
Oh yeah, that's an old one. Written by the author of lzip, lzlib, and plzip, so perhaps they could be biased. ;-)

Moving to .tlz is tempting, though.
Maybe , does it offer as much compression as xz and decompresses in less time ? Or do you give up some compression ? On the one hand we are in the days of vast data storage, so it is not like it was decades ago where even a megabyte makes a difference, but yea at the same time we don't want to be bloated either and waste too much space...

Last edited by Jeebizz; 03-31-2024 at 05:16 PM.
 
Old 03-31-2024, 05:15 PM   #25
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Moving to .tlz is tempting, though.
Why not .zst?
 
Old 03-31-2024, 05:28 PM   #26
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,524

Rep: Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492
Quote:
Originally Posted by Didier Spaier View Post
Why not .zst?
Also under consideration, but support for .tlz is already there in the pkgtools.

But we'll probably stick with .txz, so don't get too excited. ;-)

EDIT: also .tzs would probably be a better three letter suffix.
 
Old 03-31-2024, 05:33 PM   #27
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by volkerdi View Post
Also under consideration, but support for .tlz is already there in the pkgtools.

But we'll probably stick with .txz, so don't get too excited. ;-)

EDIT: also .tzs would probably be a better three letter suffix.
Darn I was hoping for ZFT
 
Old 04-01-2024, 05:11 AM   #28
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by volkerdi View Post
Also under consideration, but support for .tlz is already there in the pkgtools.

But we'll probably stick with .txz, so don't get too excited. ;-)

EDIT: also .tzs would probably be a better three letter suffix.
The disadvantage of .tzs as a package suffix is that it would break the current situation of all packages being named *.t?z.

As you say, xz still seems like a rather good compression:

https://linuxreviews.org/Comparison_...ion_Algorithms

For packages we most of all want small size to allow us to have many packages on limited installation media size and second we want quick decompression for fast installations.

regards Henrik
 
Old 04-01-2024, 05:36 AM   #29
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by mw.decavia View Post
Is the name "Jia Tang" chinese?
If so, are they located in the PRC, or in Taiwan, or in some other community of the chinese diaspora?
Yes, "Jia Tan" is a name given to some real people in China. However, "Jia Tan" is probably a fake name used by the bad actor.

regards Henrik
 
Old 04-01-2024, 08:13 AM   #30
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,904

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
Quote:
Originally Posted by henca View Post
The disadvantage of .tzs as a package suffix is that it would break the current situation of all packages being named *.t?z.
Yes, I'm sure my scripts are not the only ones that take advantage of that particular pattern. .tzz would work while maintaining the status quo.

I can work-around anything you decide to go with, but if you can let us know one way or the other then those of us who write package related tools can get ahead of the game should you decide to switch.

Last edited by GazL; 04-01-2024 at 08:20 AM.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
To allow anything to be written on a dir, but also to not erase anything. coltson Linux - Software 1 07-11-2020 06:30 PM
Using libreoffice or anything to print anything from terminal MattFly Programming 5 09-06-2015 04:06 PM
backup to qcow2 (or anything VM compatible) using dd (anything) serafean Linux - Software 3 07-02-2010 02:39 AM
OT: anyone need anything slack/linux/newbie related hosted? user1442 Slackware 1 10-18-2005 11:28 AM
i cant install anything or get anything to work!! karupt Linux - Software 2 03-04-2004 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration