You are not logged in.

#1 2009-10-26 20:10:14

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Is Arch currently trustworth?

Okay, not to start a flame war or anything but... I know you guys got rooted not so very long ago. How do you now know that all the packages in the repositories are okay? I assume there were all rebuilt on a known safe machine, and the version number upped so that potentially compromised packages on users' machines would be replaced?

Also, what measures have been taken to prevent such a rooting from happening again?

Offline

#2 2009-10-26 21:33:13

sokuban
Member
Registered: 2006-11-11
Posts: 412

Re: Is Arch currently trustworth?

This is actually a good thing to bring up, and it represents one big problem with all Linux distributions. Are the repos safe? Even if they aren't rooted, what if the whole distro was made to steal credit card data from its users or whatever? I'm not saying Arch Linux is like that, but I always wondered what sort of defence you could use against those kind of stuff.

In the future when (if) Linux gets popular, there might be malicious distributions popping up like that and how would anyone know? Just use the popular distros? What if even the popular distros are in it?

And wait- what? We got rooted? When? Is my computer safe? O_o

Offline

#3 2009-10-26 22:05:10

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Is Arch currently trustworth?

Gullible Jones wrote:

Okay, not to start a flame war or anything but... I know you guys got rooted not so very long ago. How do you now know that all the packages in the repositories are okay? I assume there were all rebuilt on a known safe machine, and the version number upped so that potentially compromised packages on users' machines would be replaced?

Also, what measures have been taken to prevent such a rooting from happening again?

The packages was not comprimised. The reason for why everything dissapered was a bad script.

There have been lots of discussions about package signing, but that would't really help in this case.

One thing that has been done, is seperating the web stuff from the rest, by using virtual machines, so a intrusion into the mainpage/forum/flyspray/whatever won't affect the packages and so on.

Last edited by Mr.Elendig (2009-10-26 22:12:08)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2009-10-26 22:13:57

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: Is Arch currently trustworth?

You always have the possibility of building everything from source with ABS.

Last edited by Themaister (2009-10-26 22:14:06)

Offline

#5 2009-10-26 22:23:28

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: Is Arch currently trustworth?

Mr.Elendig wrote:

The packages was not comprimised. The reason for why everything dissapered was a bad script.

There have been lots of discussions about package signing, but that would't really help in this case.

One thing that has been done, is seperating the web stuff from the rest, by using virtual machines, so a intrusion into the mainpage/forum/flyspray/whatever won't affect the packages and so on.

No, the linked script did just prune the repo. But there was a breakin via flyspray. At that tie pacakges were checked against a local copy.

Anyway; package signing would help a lot. Its not just about the main server. There are a lot of mirrors and everything between to inject bad packages.

Offline

#6 2009-10-26 22:25:50

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Is Arch currently trustworth?

Pierre wrote:
Mr.Elendig wrote:

The packages was not comprimised. The reason for why everything dissapered was a bad script.

There have been lots of discussions about package signing, but that would't really help in this case.

One thing that has been done, is seperating the web stuff from the rest, by using virtual machines, so a intrusion into the mainpage/forum/flyspray/whatever won't affect the packages and so on.

No, the linked script did just prune the repo. But there was a breakin via flyspray. At that tie pacakges were checked against a local copy.

Anyway; package signing would help a lot. Its not just about the main server. There are a lot of mirrors and everything between to inject bad packages.

That's what I ment. The scrip was why all the packages dissapered, not the breakin itself. smile


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-10-26 23:35:40

_dunmer
Member
From: Bratislava, Slovakia
Registered: 2008-10-03
Posts: 40

Re: Is Arch currently trustworth?

sokuban wrote:

This is actually a good thing to bring up, and it represents one big problem with all Linux distributions. Are the repos safe? Even if they aren't rooted, what if the whole distro was made to steal credit card data from its users or whatever? I'm not saying Arch Linux is like that, but I always wondered what sort of defence you could use against those kind of stuff.

In the future when (if) Linux gets popular, there might be malicious distributions popping up like that and how would anyone know? Just use the popular distros? What if even the popular distros are in it?

And wait- what? We got rooted? When? Is my computer safe? O_o

This is not about Linux, with this kind of a thinking, you can trust only software written by you .)

Offline

#8 2009-10-27 02:14:14

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Is Arch currently trustworth?

Pierre wrote:

Anyway; package signing would help a lot. Its not just about the main server. There are a lot of mirrors and everything between to inject bad packages.

Arch can't be considered trustworthy until package signing is implemented. I can place my trust in the developers but I can not place my trust in the mirrors.

My suggestion, if anyone is willing, is to place the signature in the packages so that pacman -U can take advantage of the signing system. If I were to design it, I would have a new package format (perhaps *.pkg.sec) which would simply be a tar bundle of the old package type (*.pkg.tar.gz) and a signature file.

My 2 cents.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#9 2009-10-27 02:27:05

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,650
Website

Re: Is Arch currently trustworth?

The implementation of package signing at the makepkg end is (mostly?) done.  And pacman is about half way there.  There have been several starts at implementing this, but everyone seems to get bored and never finish...  So until someone steps up and actually gets this done, we will not have package signing.

Offline

#10 2009-10-27 04:29:56

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: Is Arch currently trustworth?

I think signing would be great, I also think a project like this is a great chance for http://bounty.archlinux.ca/ to make a difference.  I mean, if its been started multiple times, maybe some incentive for the coders would help get it finished.

edit: Also there is a wiki page on this, http://wiki.archlinux.org/index.php/Pac … ge_signing

Last edited by axion419 (2009-10-27 04:30:59)

Offline

#11 2009-10-27 05:26:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,650
Website

Re: Is Arch currently trustworth?

axion419 wrote:

I think signing would be great, I also think a project like this is a great chance for http://bounty.archlinux.ca/ to make a difference.  I mean, if its been started multiple times, maybe some incentive for the coders would help get it finished.

Go ahead and submit it.  I have previously suggested it here, but no-one seems up to actually writing the proposal.

Another great example of how interest disappears after an initial push.  Last real edit 4 months ago.

Offline

#12 2009-10-27 05:52:21

gog
Member
Registered: 2009-10-13
Posts: 103

Re: Is Arch currently trustworth?

I sync the database to arch's server but dl the packages from the mirrors.

I also use powerpill's segmented downloading... there's very little chance of getting an injected package, unless all servers are in conspiracy!

Offline

#13 2009-10-27 07:45:16

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Is Arch currently trustworth?

I seriously wonder about the paranoia inherent in the assumption that YOUR machine is a good target. Anyone here gives their chairs a shake before sitting down, just in case?

Some paranoia is good, but for a personal machine where my main concern is that I don't lose data rather than my boring life is open to some no-life hacker or big conglomerate, I'd worry much more about having high-integrity backups than some possible loopholes allowing external parties access to my machine.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#14 2009-10-27 08:36:00

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Is Arch currently trustworth?

gog wrote:

I sync the database to arch's server but dl the packages from the mirrors.

I also use powerpill's segmented downloading... there's very little chance of getting an injected package, unless all servers are in conspiracy!

You just need to get malicious packages on the main rsync server.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#15 2009-10-27 08:37:09

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Is Arch currently trustworth?

ngoonee wrote:

I seriously wonder about the paranoia inherent in the assumption that YOUR machine is a good target. Anyone here gives their chairs a shake before sitting down, just in case?

Some paranoia is good, but for a personal machine where my main concern is that I don't lose data rather than my boring life is open to some no-life hacker or big conglomerate, I'd worry much more about having high-integrity backups than some possible loopholes allowing external parties access to my machine.

I would agree if someone accessing your machine only affected the confidentiality and not the integrity of your data.
But that is obviously not the case smile


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#16 2009-10-27 08:48:41

gog
Member
Registered: 2009-10-13
Posts: 103

Re: Is Arch currently trustworth?

shining wrote:
gog wrote:

I sync the database to arch's server but dl the packages from the mirrors.

I also use powerpill's segmented downloading... there's very little chance of getting an injected package, unless all servers are in conspiracy!

You just need to get malicious packages on the main rsync server.

Well if the head server is also up for grabs then I don't think package signing will satisfy the OP

Offline

#17 2009-10-27 12:51:53

new2arch
Member
Registered: 2008-02-25
Posts: 235

Re: Is Arch currently trustworth?

shining wrote:
ngoonee wrote:

I seriously wonder about the paranoia inherent in the assumption that YOUR machine is a good target. Anyone here gives their chairs a shake before sitting down, just in case?

Some paranoia is good, but for a personal machine where my main concern is that I don't lose data rather than my boring life is open to some no-life hacker or big conglomerate, I'd worry much more about having high-integrity backups than some possible loopholes allowing external parties access to my machine.

I would agree if someone accessing your machine only affected the confidentiality and not the integrity of your data.
But that is obviously not the case smile

I figure the chance of getting your system compromised thru man-in-the-middle-attacks via the mirrors is smaller than losing your data little by little, mostly gone unnoticed by bit rot & silent data corruption and hardware failures.

Offline

#18 2009-10-27 16:04:42

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Is Arch currently trustworth?

Allan wrote:
axion419 wrote:

I think signing would be great, I also think a project like this is a great chance for http://bounty.archlinux.ca/ to make a difference.  I mean, if its been started multiple times, maybe some incentive for the coders would help get it finished.

Go ahead and submit it.  I have previously suggested it here, but no-one seems up to actually writing the proposal.

If someone were to do this, I would immediately contribute $50 of Schwag profits to the project. The conditions would have to be acceptance of the finished product by the developers, including the evil patch-eater, Dan McGee.

Dusty

Offline

#19 2009-10-27 16:31:59

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Is Arch currently trustworth?

Dusty wrote:

If someone were to do this, I would immediately contribute $50 of Schwag profits to the project. The conditions would have to be acceptance of the finished product by the developers, including the evil patch-eater, Dan McGee.

Maybe this could go directly to Dan, he already did some work on it, and he kept repeating over the last two months he is willing to do this. But he still need some extra motivation I guess smile


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#20 2009-10-27 21:24:38

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Is Arch currently trustworth?

I can give it directly to Dan, but I'd rather see it as a bounty project so:

a) more people can donate
b) arch bounty can be tested and justified
c) people can help Dan

I have no problem with Dan or other developers doing bounty work, I just want the bounties to be well defined before donations are accepted, so there are fewer arguments when the work is completed.

Dusty

Offline

#21 2009-10-27 23:17:21

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Is Arch currently trustworth?

Dusty wrote:

I can give it directly to Dan, but I'd rather see it as a bounty project so:

a) more people can donate
b) arch bounty can be tested and justified
c) people can help Dan

I have no problem with Dan or other developers doing bounty work, I just want the bounties to be well defined before donations are accepted, so there are fewer arguments when the work is completed.

Dusty

Wow, awesome. I will see if I have funds I can siphon from. big_smile

One condition I would like to see is a requirement the package signature verification be decoupled from the transport. But I guess that goes without saying. wink


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#22 2009-10-28 00:25:18

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Is Arch currently trustworth?

Wow, awesome. I will see if I have funds I can siphon from.

One condition I would like to see is a requirement the package signature verification be decoupled from the transport. But I guess that goes without saying.

First step would be that someone writes up a proposal to define the goals of this project - if you have clear conditions what package signing should provide, please go ahead and write one! (I'm out, no clue about it)

Offline

#23 2009-10-28 00:51:42

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Is Arch currently trustworth?

shining wrote:
ngoonee wrote:

I seriously wonder about the paranoia inherent in the assumption that YOUR machine is a good target. Anyone here gives their chairs a shake before sitting down, just in case?

Some paranoia is good, but for a personal machine where my main concern is that I don't lose data rather than my boring life is open to some no-life hacker or big conglomerate, I'd worry much more about having high-integrity backups than some possible loopholes allowing external parties access to my machine.

I would agree if someone accessing your machine only affected the confidentiality and not the integrity of your data.
But that is obviously not the case smile

Back-ups smile.

Seriously, an offline backup in some external hard disk and you're set.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#24 2009-11-06 20:02:24

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: Is Arch currently trustworth?

Alright I want to get something wrote of for the bounty.  The main problem is that I am not very knowledgeable about the process of signing lol.  Is basically seems the packages need to be signed with a key from maintainers and then verified by pacman. Here is my meager attempt so far, If people can please post up some more ideas for me I can do the actually writing up of the bounty.


Idea
    The general idea would be to verify that all packages that are created by the maintainers maintain their data integrity throughout the process of being synced to mirrors and then onto our machines.

Goal
    Implement a system where the packages are cryptographically signed by trusted maintainer keys and then verified by pacman when they are downloaded by a user.    The maintainers should either have a gpg ( is there something better?) key that they share or their own individual keys that they use to sign package once they are created. The public keys should be able to downloaded enmass from Arch.  The keys will be downloaded and the packages will be compared against the key that was used to create the packages.  On the users end the keys could be downloaded, compressed and stored in a common directory.  When keys are changed or a new developer is created the package manager would have to be able to compare the keys on the local host to the keys on the main key server.

Last edited by axion419 (2009-11-06 20:59:09)

Offline

#25 2009-11-06 20:50:48

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Is Arch currently trustworth?

Nothing to see here

Last edited by Nezmer (2009-11-06 20:51:32)


English is not my native language .

Offline

Board footer

Powered by FluxBB