Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.security > #4810 > unrolled thread

Which Debian packages leak information to the network?

Started byPatrick Schleizer <adrelanos@riseup.net>
First post2016-05-18 18:00 +0200
Last post2016-05-20 04:50 +0200
Articles 17 — 12 participants

Back to article view | Back to linux.debian.security


Contents

  Which Debian packages leak information to the network? Patrick Schleizer <adrelanos@riseup.net> - 2016-05-18 18:00 +0200
    Re: Which Debian packages leak information to the network? Jakub Wilk <jwilk@debian.org> - 2016-05-18 18:40 +0200
      Re: Which Debian packages leak information to the network? Holger Levsen <holger@layer-acht.org> - 2016-05-18 19:00 +0200
        Re: Which Debian packages leak information to the network? "georg@riseup.net" <georg@riseup.net> - 2016-05-19 02:00 +0200
          Re: Which Debian packages leak information to the network? Paul Wise <pabs@debian.org> - 2016-05-19 06:00 +0200
        Re: Which Debian packages leak information to the network? Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-05-19 17:50 +0200
        Re: Which Debian packages leak information to the network? Patrick Schleizer <adrelanos@riseup.net> - 2016-05-19 18:10 +0200
          Re: Which Debian packages leak information to the network? "Adam D. Barratt" <adam@adam-barratt.org.uk> - 2016-05-19 18:30 +0200
        Re: Which Debian packages leak information to the network? donoban <donoban@riseup.net> - 2016-05-20 10:40 +0200
          Re: Which Debian packages leak information to the network? Elmar Stellnberger <estellnb@gmail.com> - 2016-05-20 11:00 +0200
            Re: Which Debian packages leak information to the network? ale <ale@wwb.cc> - 2016-05-20 11:30 +0200
              Re: Which Debian packages leak information to the network? donoban <donoban@riseup.net> - 2016-05-20 12:00 +0200
              Re: Which Debian packages leak information to the network? Jakub Wilk <jwilk@debian.org> - 2016-05-20 18:20 +0200
    Re: Which Debian packages leak information to the network? Paul Wise <pabs@debian.org> - 2016-05-19 18:50 +0200
      Re: Which Debian packages leak information to the network? Weber <kweber33@gmx.de> - 2016-05-20 03:50 +0200
        Re: Which Debian packages leak information to the network? Geert Stappers <stappers@stappers.nl> - 2016-05-20 08:30 +0200
      Re: Which Debian packages leak information to the network? Paul Wise <pabs@debian.org> - 2016-05-20 04:50 +0200

#4810 — Which Debian packages leak information to the network?

FromPatrick Schleizer <adrelanos@riseup.net>
Date2016-05-18 18:00 +0200
SubjectWhich Debian packages leak information to the network?
Message-ID<rAc39-439-33@gated-at.bofh.it>
Hello we are a privacy-centric distro based on Debian and wanted to know
what Debian packages leak information about the system to the network
without a user's consent/expectation.

As documented on the page below, a system's security also depends on
avoiding leaking any identifiable information to network adversaries by
accident. Popcon, bts, wnpp-check are the noted examples so far (which
we blacklist in our distro). Please help notify us of any other such
packages.

https://wiki.debian.org/TorifyDebianServices

[toc] | [next] | [standalone]


#4812

FromJakub Wilk <jwilk@debian.org>
Date2016-05-18 18:40 +0200
Message-ID<rAcFP-4xl-1@gated-at.bofh.it>
In reply to#4810
* Patrick Schleizer <adrelanos@riseup.net>, 2016-05-18, 15:50:
>we are a privacy-centric distro based on Debian and wanted to know what 
>Debian packages leak information about the system to the network 
>without a user's consent/expectation.
>
>As documented on the page below, a system's security also depends on 
>avoiding leaking any identifiable information to network adversaries by 
>accident.

python-requests used to include kernel version number in User-Agent. 
(And also Python version, but that's less exciting.) This was fixed 
upstream in 2.8.0:
https://github.com/kennethreitz/requests/issues/2785

pip leaks even more stuff in U-A:
$ python -c 'import pip; print pip.download.user_agent()'
pip/8.1.2 {"cpu":"x86_64","distro":{"libc":{"lib":"glibc","version":"2.7"},"name":"debian","version":"stretch/sid"},"implementation":{"name":"CPython","version":"2.7.11+"},"installer":{"name":"pip","version":"8.1.2"},"openssl_version":"OpenSSL 1.0.2h  3 May 2016","python":"2.7.11+","system":{"name":"Linux","release":"4.5.0-2-amd64"}}

(As a side note, I don't think this is RFC-2616-compliant...)

>Popcon, bts, wnpp-check are the noted examples

Could you explain how any of these tools leak any information "without a 
user's consent/expectation"?

-- 
Jakub Wilk

[toc] | [prev] | [next] | [standalone]


#4813

FromHolger Levsen <holger@layer-acht.org>
Date2016-05-18 19:00 +0200
Message-ID<rAcZc-4DW-15@gated-at.bofh.it>
In reply to#4812

[Multipart message — attachments visible in raw view] — view raw

On Wed, May 18, 2016 at 06:33:52PM +0200, Jakub Wilk wrote:
> Could you explain how any of these tools leak any information "without a
> user's consent/expectation"?

gnome-calculator contacts a web page/service with currency exchange
information *on every start*, I think that's a good example of the kind
of programs Patrick is looking for.


-- 
cheers,
	Holger

[toc] | [prev] | [next] | [standalone]


#4815

From"georg@riseup.net" <georg@riseup.net>
Date2016-05-19 02:00 +0200
Message-ID<rAjxD-pB-7@gated-at.bofh.it>
In reply to#4813

[Multipart message — attachments visible in raw view] — view raw

On 16-05-18 16:54:27, Holger Levsen wrote:
> gnome-calculator contacts a web page/service with currency exchange
> information *on every start*,

Is this "publicly" known? Is this discussed with the upstream devs?

[toc] | [prev] | [next] | [standalone]


#4818

FromPaul Wise <pabs@debian.org>
Date2016-05-19 06:00 +0200
Message-ID<rAnhT-2Tv-5@gated-at.bofh.it>
In reply to#4815
On Thu, May 19, 2016 at 7:56 AM, georg wrote:
> On 16-05-18 16:54:27, Holger Levsen wrote:
>> gnome-calculator contacts a web page/service with currency exchange
>> information *on every start*,
>
> Is this "publicly" known? Is this discussed with the upstream devs?

https://bugzilla.gnome.org/show_bug.cgi?id=741828

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[toc] | [prev] | [next] | [standalone]


#4820

FromCindy-Sue Causey <butterflybytes@gmail.com>
Date2016-05-19 17:50 +0200
Message-ID<rAymZ-1DD-11@gated-at.bofh.it>
In reply to#4813
On 5/18/16, Holger Levsen <holger@layer-acht.org> wrote:
> On Wed, May 18, 2016 at 06:33:52PM +0200, Jakub Wilk wrote:
>> Could you explain how any of these tools leak any information "without a
>> user's consent/expectation"?
>
> gnome-calculator contacts a web page/service with currency exchange
> information *on every start*, I think that's a good example of the kind
> of programs Patrick is looking for.


Ah, good one for developing a train of thought.. Instantly made me
think of my weather app which reaches out to the Netherlands very
regularly to garner its information. It would seemingly be disclosing
a user chosen location to gather what it needs, but perhaps not. I
(shamefully) don't know, *grin*.

And there used to be a package install/uninstall documenting
"popularity" program somewhere along the lines that I THINK was
reporting back very quietly in the background. I can't remember what
distro had that but it caused an understandable stink (an extended
disgruntled discussion). Mentioning this one in case it likewise stirs
up thoughts of anything operating similarly these days..

Just thinking out loud... :)

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *

[toc] | [prev] | [next] | [standalone]


#4821

FromPatrick Schleizer <adrelanos@riseup.net>
Date2016-05-19 18:10 +0200
Message-ID<rAyGm-1Zx-29@gated-at.bofh.it>
In reply to#4813
Holger Levsen:
> On Wed, May 18, 2016 at 06:33:52PM +0200, Jakub Wilk wrote:
>> Could you explain how any of these tools leak any information "without a
>> user's consent/expectation"?
> 
> gnome-calculator contacts a web page/service with currency exchange
> information *on every start*, I think that's a good example of the kind
> of programs Patrick is looking for.
> 
> 

Yes! :)

[toc] | [prev] | [next] | [standalone]


#4822

From"Adam D. Barratt" <adam@adam-barratt.org.uk>
Date2016-05-19 18:30 +0200
Message-ID<rAyZN-270-29@gated-at.bofh.it>
In reply to#4821
On 2016-05-19 17:03, Patrick Schleizer wrote:
> Holger Levsen:
>> On Wed, May 18, 2016 at 06:33:52PM +0200, Jakub Wilk wrote:
>>> Could you explain how any of these tools leak any information 
>>> "without a
>>> user's consent/expectation"?
>> 
>> gnome-calculator contacts a web page/service with currency exchange
>> information *on every start*, I think that's a good example of the 
>> kind
>> of programs Patrick is looking for.
>> 
>> 
> 
> Yes! :)

fwiw I'd still be interested in an answer to Jakub's original question.

Regards,

Adam

[toc] | [prev] | [next] | [standalone]


#4827

Fromdonoban <donoban@riseup.net>
Date2016-05-20 10:40 +0200
Message-ID<rAO8r-3ca-41@gated-at.bofh.it>
In reply to#4813
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 18/05/16 18:54, Holger Levsen wrote:
> On Wed, May 18, 2016 at 06:33:52PM +0200, Jakub Wilk wrote:
>> Could you explain how any of these tools leak any information
>> "without a user's consent/expectation"?
> 
> gnome-calculator contacts a web page/service with currency
> exchange information *on every start*, I think that's a good
> example of the kind of programs Patrick is looking for.
> 
> 

I am running Debian on Qubes OS, I use gnome-calculator on a vault
domain (a VM without any network device) because I though it does not
need Internet or data/files from another domain. So without any
knowledge I was protecting myself from this privacy leak...

Maybe Debian should adopt a strong policy about what packages should
have Internet access and what does not... All packages not supposed to
have Internet access will be blocked by firewall or a similar approach
(probably some kind of whitelist).

Then, the privacy leak surface will be very small and easy to audit.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXPsweAAoJEBQTENjj7Qil9oUQALTcpe+hrqSccXeqTGSieIEs
Lf6pHoVSNU6grzvIs4YTxKPhTbzq/ZBohmBhps1FLJbeeDHNtZisxVOwj0lcTKpZ
835QmWZ0+fOXgwbh6V6UqwCjraKj9g7236RhfXmob//ejKhrZHfKoYfYl1KzO6nx
/Q9sMj7XoKL1tFItyWX6Edq9BqIvPZwmsrGLmOaTkPtWRI1GWFFgOjYwLv9vjUBY
z+AwX8eEGG7DUvfYMqez1HkEvDhcxnxw0wS+Yn0aQL33jhS1beoh4lI1GXcLbm8F
3gny5ZizMiA4lmaRC+HPUOW6bcEeNEemH8zumQNu3A3CxStW62s6rSaf9C9WK++G
TRwtP43gN6OlM6GZM4jssYk7GD4chjmbb74LujQWuuHSMyxED6MOhUH2RyMTHl1y
gPx2x6XGyByyu8s/DcbuJzjhQ16Xy64GIx1/uOb03HuxnHRrM5astHM0FqF4kWW4
JrzXU5jMzm7/a2Fqz3MZBZsBgUAZTql+LerkZG8WIrIJing1ocnDQvo/bYS/yL7G
LN4h2Iojsq/NE3mIZbpRsP/60nRyFagRjNDWAL3HrZ8h9dLRec4NrsGisGB7NqDc
ypOHEwPrZ25Ha2w5hGBz1LPH0tNvK1KNX9IWbYFABPm8qIQ9uNB7R+Eej+WyRdVQ
CoSqJxhqugd/FlFFL74/
=OPRB
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#4828

FromElmar Stellnberger <estellnb@gmail.com>
Date2016-05-20 11:00 +0200
Message-ID<rAOrL-3iw-11@gated-at.bofh.it>
In reply to#4827

Am 2016-05-20 um 10:34 schrieb donoban:
>
> I am running Debian on Qubes OS, I use gnome-calculator on a vault
> domain (a VM without any network device) because I though it does not
> need Internet or data/files from another domain. So without any
> knowledge I was protecting myself from this privacy leak...
>
> Maybe Debian should adopt a strong policy about what packages should
> have Internet access and what does not... All packages not supposed to
> have Internet access will be blocked by firewall or a similar approach
> (probably some kind of whitelist).
>

   Well, in order to block network access for individual apps you would 
need something like SELinux. However I do not know abouot the 
availability of security profiles for all such apps, neither do I know 
about a convenient tool to browse such profiles f.i. in order to see 
whehther a given app is allowed to access the network.

[toc] | [prev] | [next] | [standalone]


#4829

Fromale <ale@wwb.cc>
Date2016-05-20 11:30 +0200
Message-ID<rAOUN-3HG-3@gated-at.bofh.it>
In reply to#4828

[Multipart message — attachments visible in raw view] — view raw

I think you could also use AppArmor profiles to filter network access
per application in the way you describe.

On 20/05/16 09:55, Elmar Stellnberger wrote:
> 
> 
> Am 2016-05-20 um 10:34 schrieb donoban:
>>
>> I am running Debian on Qubes OS, I use gnome-calculator on a vault
>> domain (a VM without any network device) because I though it does not
>> need Internet or data/files from another domain. So without any
>> knowledge I was protecting myself from this privacy leak... 
>>
>> Maybe Debian should adopt a strong policy about what packages should
>> have Internet access and what does not... All packages not supposed to
>> have Internet access will be blocked by firewall or a similar approach
>> (probably some kind of whitelist).
>>
> 
>   Well, in order to block network access for individual apps you would
> need something like SELinux. However I do not know abouot the
> availability of security profiles for all such apps, neither do I know
> about a convenient tool to browse such profiles f.i. in order to see
> whehther a given app is allowed to access the network.
> 

-- 
ale [wwb.cc | 414c45.net | @414c45]

[toc] | [prev] | [next] | [standalone]


#4830

Fromdonoban <donoban@riseup.net>
Date2016-05-20 12:00 +0200
Message-ID<rAPnQ-3SW-23@gated-at.bofh.it>
In reply to#4829
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

>> On 20/05/16 09:55, Elmar Stellnberger wrote: Well, in order to
>> block network access for individual apps you would need something
>> like SELinux. However I do not know abouot the availability of
>> security profiles for all such apps, neither do I know about a
>> convenient tool to browse such profiles f.i. in order to see 
>> whehther a given app is allowed to access the network.
>> 
On 20/05/16 11:26, ale wrote:
> I think you could also use AppArmor profiles to filter network
> access per application in the way you describe.
> 

The problem with AppArmor (I am not sure with SeLinux) is that all the
information about what packages/programs are allowed to use Internet
will be distributed on different AppArmor profiles which are pretty
difficult to maintain and manage.

The ideal scenario should be some file on /etc/ with a list of all
packages with access granted, so an user could easily add or remove
permissions.

A package which network access by default will be added automatically
on install. Some packages could be optional (like gnome-calculator),
on install (or on first run) the user will be asked if they want to
grant access to it.

I do not know any distribution doing something like this, so probably
it has some problems or backwards.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXPt27AAoJEBQTENjj7QilPgIQAJ/FQKZrkI3FhvKgEr1GcX2B
1igMBMfdcHLZvZZb5vG3P018mrA1XbPFOuhCfiCMCKilmzTiyMk9KJCSGPbdRgKs
iEXvavK4AVXGHTu2b0q4PxEtM507Eg+sAdcrJZUIQZ4p+kwflqZ/yCPGVcbHL/Go
g6cNiioG1DCTxI7zuuLpkOZFk/ykkdEfAwCFeiWkGyNSLWRfdVBKLbJ+rkMG/JQd
4xTauFJ8Eo8LY2GT1TOlJ4yP4e0Lj/bJYxO4n5zg5k5yAwss4YyFhmsCNLoemn/s
a0gI1GZl1uxs80X9Ll4Tma+mvZvX7v/L/tTF+KG72qS8AeDqJe8gZ4PJbKrTbbzw
Uy0zgmh+lstTqfpj0SXyIP4nUKpue9gAoPHEfp4Tt0TmhzBGsPzeNHDk24isy7QR
gp+l0TpEfc58ONHeBZAdVwdiJTmW0fRDaA5Lfj26773S3jYzxND8Igpsigqn8kuB
ahnn+/yY4ucI/YWu9n7ntaA2R9vHjaOP7Cj+FqlZs8qvTbUnM8X7naEuSpqI8PoS
DuefP9XgeIxLuumNtRkzZRt4DbqsHkPu6qe9Lt2CNl6FZCkhVPCzA8qUFO9E0A5G
zLoZZM6ENkBQP2qrEb3Yhgq9+9PSyfD6uqF38OplxTdkyx4NgVFAgqnVukplken+
q5440aqvJHK09tevWSjC
=vzxJ
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#4831

FromJakub Wilk <jwilk@debian.org>
Date2016-05-20 18:20 +0200
Message-ID<rAVjz-7HU-1@gated-at.bofh.it>
In reply to#4829
* ale <ale@wwb.cc>, 2016-05-20, 10:26:
>I think you could also use AppArmor profiles to filter network access 
>per application in the way you describe.

I don't believe Debian kernels support this: #712451

-- 
Jakub Wilk

[toc] | [prev] | [next] | [standalone]


#4823

FromPaul Wise <pabs@debian.org>
Date2016-05-19 18:50 +0200
Message-ID<rAzj4-2e6-13@gated-at.bofh.it>
In reply to#4810
On Wed, May 18, 2016 at 11:50 PM, Patrick Schleizer wrote:

> Hello we are a privacy-centric distro based on Debian and wanted to know
> what Debian packages leak information about the system to the network
> without a user's consent/expectation.

Debian probably needs a privacy team to audit all packages that send
data to the network and develop mitigation, configuration or patches
to counter these.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[toc] | [prev] | [next] | [standalone]


#4824

FromWeber <kweber33@gmx.de>
Date2016-05-20 03:50 +0200
Message-ID<rAHJE-7zo-5@gated-at.bofh.it>
In reply to#4823
hi

this is a very good plan.


my idea:

- make a new "info table" for all packages

"privacy data used by app "

- what exact meta data

- who gets the data ; if third who?

- how long ist the data saved and in which country



-->  write to all developers an email ,and ask them to fill out the
tables for their packages .Now and in future.


If they will not  do it , make a button "unsafe" or else...

This job should do the programmer,and a team
should control if their inputs are correct.


Ps.

This idea was sent to google and Mozilla ,too
But they dont want to write this infos to PLAY or Firefox Apps .
Because then users could see,what data is sniffed and will perhaps
stop millions to use it...

You know , privacy is not really wanted from some companies...

cheers


Am 19.05.2016 um 18:42 schrieb Paul Wise:
> On Wed, May 18, 2016 at 11:50 PM, Patrick Schleizer wrote:
> 
>> Hello we are a privacy-centric distro based on Debian and wanted to know
>> what Debian packages leak information about the system to the network
>> without a user's consent/expectation.
> 
> Debian probably needs a privacy team to audit all packages that send
> data to the network and develop mitigation, configuration or patches
> to counter these.
> 

[toc] | [prev] | [next] | [standalone]


#4826

FromGeert Stappers <stappers@stappers.nl>
Date2016-05-20 08:30 +0200
Message-ID<rAM6B-1Zw-13@gated-at.bofh.it>
In reply to#4824
On Fri, May 20, 2016 at 03:47:35AM +0200, Weber wrote:
> Am 19.05.2016 um 18:42 schrieb Paul Wise:
> > On Wed, May 18, 2016 at 11:50 PM, Patrick Schleizer wrote:
> > 
> >> Hello we are a privacy-centric distro based on Debian and wanted to know
> >> what Debian packages leak information about the system to the network
> >> without a user's consent/expectation.
> > 
> > Debian probably needs a privacy team to audit all packages that send
> > data to the network and develop mitigation, configuration or patches
> > to counter these.
> > 
> 
> this is a very good plan.
> 
> 
> my idea:
> 
> - make a new "info table" for all packages "privacy data used by app "
> 
> - what exact meta data
> 
> - who gets the data ; if third who?
> 
> - how long ist the data saved and in which country
> 
> 
> 
> -->  write to all developers an email ,and ask them to fill out the
> tables for their packages .Now and in future.
> 
> 
> If they will not  do it , make a button "unsafe" or else...
> 
> This job should do the programmer,and a team
> should control if their inputs are correct.
> 
> 
> Ps.
> 
> This idea was sent to google and Mozilla ,too
> But they dont want to write this infos to PLAY or Firefox Apps .
> Because then users could see,what data is sniffed and will perhaps
> stop millions to use it...
> 
> You know , privacy is not really wanted from some companies...
> 

Who knows the english translation
of the french words 'libre' and 'gratuit'?



P.S.

Thanks for replying below the text.
It is good to read in the discussion order.


Groeten
Geert Stappers
-- 
Leven en laten leven

[toc] | [prev] | [next] | [standalone]


#4825

FromPaul Wise <pabs@debian.org>
Date2016-05-20 04:50 +0200
Message-ID<rAIFH-8db-1@gated-at.bofh.it>
In reply to#4823
On Fri, May 20, 2016 at 12:42 AM, Paul Wise wrote:

> Debian probably needs a privacy team to audit all packages that send
> data to the network and develop mitigation, configuration or patches
> to counter these.

Looks like there are a few related teams but they are mostly about tools:

https://wiki.debian.org/DebianPrivacy
https://wiki.debian.org/DebianSanctuary
https://wiki.debian.org/Teams/AnonymityTools

If someone wants to organise a BoF at DebConf16 I will be willing to
attend and brainstorm this.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.security


csiph-web