Malware Found In The Ubuntu Snap Store

Here you can discuss every aspect of Debian. Note: not for support requests!

Re: Malware Found In The Ubuntu Snap Store

Postby ticojohn » 2018-05-14 14:28

None1975 wrote:Just install xul-ext-noscript. Do not use unclear origin and quality addons.

I agree, more or less, with your statement. However, I also stated that I found the No Coin addon to not be to my liking. Also, I further stated that uBlock does a good job of blocking the cryprocurrency mining. And I think that uBlock is a pretty well known addon.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 790
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Malware Found In The Ubuntu Snap Store

Postby stevepusser » 2018-05-14 17:09

Oh, Snap! :evil:

Sorry, someone had to say it.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.4, Pale Moon 27.9.4, wine-staging 3.12, MPC-QT 18.03, Linux kernel 4.17.6, Krita 4.1.1
User avatar
stevepusser
 
Posts: 9726
Joined: 2009-10-06 05:53

Re: Malware Found In The Ubuntu Snap Store

Postby HuangLao » 2018-05-14 19:34

Bulkley wrote:ticojohn, thanks for the tip. I found this: uBlock Origin Developers Take Steps to Block Cryptocurrency Mining Scripts


uBlock is great for this, of course they need to stay current with the changes to "mining" that will surely evolve/grow.

Keep an eye on memory and CPU usage, if it is going crazy for an extended period and/or for an unknown reason it could be a miner at work, damn gremlins.

I think they work similar to those deep browser cookies (can't recall the actual name for them, LTO or something), there used to be an add-on that could remove them. Anyway, as soon as the browser opens, they go to work, regardless of the site you are on, nasty buggers.

Should be highly illegal, sorta like someone stealing your cable, biting off your internet/wifi etc... If you are going to make money off my sh*t, where is my cut? :lol:
User avatar
HuangLao
 
Posts: 449
Joined: 2015-01-27 01:31

Re: Malware Found In The Ubuntu Snap Store

Postby HuangLao » 2018-05-14 19:40

Lysander wrote:So what's the takeaway from this? Use only software in the official repos? I don't use Snaps [don't know what they are, never looked into it], haven't used Flatpak in Stretch and I've only used one AppImage, which was Libreoffice 6 from the official site.

EDIT, so a snap

is a squashFS filesystem containing your app code and a snap.yaml file containing specific metadata. It has a read-only file-system and, once installed, a writable area.
is self-contained. It bundles most of the libraries and runtimes it needs and can be updated and reverted without affecting the rest of the system.
is confined from the OS and other apps through security mechanisms, but can exchange content and functions with other snaps according to fine-grained policies controlled by the user and the OS defaults.


So similar to a Windows .exe file, as far as I can see. What is the screening process for these before they are uploaded to the snap store?


Build from source, or only use a "trusted" repo, and even then keep a close eye on your system. Even trusted packagers can go crazy or get hacked etc... Remember the Russian Debian dev. last year that was arrested and the Russian gov. confiscated all his gear/rigs, Debian had to quickly cancel his keys and access to help prevent unfortunate things from happening....

The reality is the Ubuntu Snap store is a crap shoot, Casino or the Wild Wild West (take your pick), there is little/no code inspection or quality control...see here:

"All apps uploaded the Snap store undergo automatic testing to ensure that they work and install correctly for users on multiple Linux distros. Both apps were uploaded as proprietary software so their code was not available to check. However, Snap apps are not checked line-by-line for anything suspicious or out-of-the-ordinary. Therefore, under the current framework, there was simply no way to detect or prevent this “malware” from being bundled up with an app and made available on the Snap store. Any theoretical pre-detection would’ve been hard to do given that both of the affected apps were uploaded as proprietary software. Their code was not available to check."
ref: https://www.omgubuntu.co.uk/2018/05/ubuntu-snap-malware
User avatar
HuangLao
 
Posts: 449
Joined: 2015-01-27 01:31

Re: Malware Found In The Ubuntu Snap Store

Postby HuangLao » 2018-05-14 19:42

None1975 wrote:Snap packets and Ubuntu are not needed.


I disagree, with Ubuntu not being needed, it serves a purpose and fills a role...I do agree that Snap packages are not needed and I would include Flatpack and appimages as well.
User avatar
HuangLao
 
Posts: 449
Joined: 2015-01-27 01:31

Re: Malware Found In The Ubuntu Snap Store

Postby bw123 » 2018-05-14 20:55

HuangLao wrote:
None1975 wrote:Snap packets and Ubuntu are not needed.


I disagree, with Ubuntu not being needed, it serves a purpose and fills a role...I do agree that Snap packages are not needed and I would include Flatpack and appimages as well.


yeah, well even a stray cat fills a role, are they really needed? I don't know... The one good thing about the snap idea is at least it runs in a semi-contained way in the user's home. I don't see why they would all have access to an active internet connection though?

Maybe if they set up some tighter controls, like a form when installed that says "this app accesses this, because of this, Allow (Y/N)?"

They really want to open up things on linux quite a bit I believe, because this will allow money to flow to developers. I'm not totally against it, but it's just not my thing.
User avatar
bw123
 
Posts: 3147
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Malware Found In The Ubuntu Snap Store

Postby HuangLao » 2018-05-14 23:08

I think that's to assist the auto update of snaps. Another Windows feature.
Money pouring into Linux? That's been happening for 20+ years, especially the last 10-15 years. But, I agree most of these ideas that I consider unnecessary, are necessary for some corporate client somewhere...systemd as an example.
User avatar
HuangLao
 
Posts: 449
Joined: 2015-01-27 01:31

Re: Malware Found In The Ubuntu Snap Store

Postby Head_on_a_Stick » 2018-05-15 05:07

The bitcoin miner only runs when the snap is running, it is inactive otherwise.

I'll just leave this here:

http://kmkeen.com/maintainers-matter/

Snaps, Flatpaks & Appimages are great for convenience but they take away control (and oversight).
Charlie don't hack
User avatar
Head_on_a_Stick
 
Posts: 7660
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Malware Found In The Ubuntu Snap Store

Postby steve_v » 2018-05-15 07:22

Head_on_a_Stick wrote:http://kmkeen.com/maintainers-matter
This ^. This is what makes the GNU/Linux ecosystem what it is, and it's pretty much the reason we have "distros" at all.

All the app stores I have ever used suck, because no maintainers and far too much junk.
steve_v
 
Posts: 695
Joined: 2012-10-06 05:31
Location: New Zealand

Re: Malware Found In The Ubuntu Snap Store

Postby Lysander » 2018-05-15 09:04

Head_on_a_Stick wrote:
Snaps, Flatpaks & Appimages are great for convenience but they take away control (and oversight).


This is the core of it. The problem with things like a Snap package - like a Windows .exe file - is that a] it makes the user unaware of which other dependencies are being installed and updated and b] more importantly, it teaches them not to care in the interests of usability and a system that 'just works'. If *nix is about anything, it's about user control, system knowledge, and for each program to do one thing and to do it well - and those things aren't going to happen if people are installing packages with no idea of their contents or not even caring. It's the start of the system controlling the user, which is one of the very things that Linux tries so hard to get away from.

bw123 wrote:yeah, well even a stray cat fills a role, are they really needed? I don't know...


It's about the usefulness and effectiveness of that role. Ubuntu has got a lot of people into Linux, which is a great thing.
User avatar
Lysander
 
Posts: 546
Joined: 2017-02-23 10:07
Location: London

Re: Malware Found In The Ubuntu Snap Store

Postby None1975 » 2018-05-15 12:31

Lysander wrote:Can you qualify "not needed"?

Yes, of course. Why do I need a system that, after some "upgrades", is breaking everything? What needs a system that turns a computer into bricks (case with Ubuntu 17.10), which is a system that does not have a clear perspective? Who needs a system with an unclear security policy (case where the snap was included and many more unknown cases we are expecting to come into the daylight). I can continue and continue ...
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 507
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Malware Found In The Ubuntu Snap Store

Postby Bulkley » 2018-05-15 15:39

What drew me to Debian, what keeps me with Debian is Apt. Not only is package management relatively easy, I know that when I install a package from the Debian repositories that said package will be clean. That's simply not true when taking software packages from random suppliers on the Internet.
Bulkley
 
Posts: 5581
Joined: 2006-02-11 18:35

Re: Malware Found In The Ubuntu Snap Store

Postby n_hologram » 2018-05-15 16:15

Bulkley wrote:What drew me to Debian, what keeps me with Debian is Apt. Not only is package management relatively easy, I know that when I install a package from the Debian repositories that said package will be clean. That's simply not true when taking software packages from random suppliers on the Internet.

"B-but muh convenience"
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing

the crunkbong project: scripts, operating system, the list goes on...
n_hologram
 
Posts: 433
Joined: 2013-06-16 00:10

Re: Malware Found In The Ubuntu Snap Store

Postby Wheelerof4te » 2018-05-15 16:34

Bulkley wrote:What drew me to Debian, what keeps me with Debian is Apt.

This.
Lysander wrote: If *nix is about anything, it's about user control, system knowledge, and for each program to do one thing and to do it well

And this.
It is fundamentally important for a Linux distribution to provide it's users with trusted software. That is what made Linux unique and different from the rest. Package management and good, clean repositories are the core of every distro. Now, both Canonical and Red Hat are trying to provide low key actors the opportunity to squeeze in their software into Linux ecosystem.

Canonical tried this before with PPAs, but those had two critical flaws:
a) eventually incompatible libs will break newer versions of software.
b) they weren't distro-agnostic.
You don't have to be an expert to understand what snaps and Flatpaks imply. Users get easy way to install previously unavailable software at the cost of not knowing (and not caring) about what exactly they get. Sources anyone? You really think they will let us see the sources after these new package managers become the norm? I don't think so.

"But, Wheeler, aren't you pro-flatpak?" Yes, I am, for now. I still think Flatpak has more chance of ethically distributing software than snaps. Reasons being that it's more transparent, has a cleaner repo, has multiple repos, sources are not hidden on some random page, etc.
User avatar
Wheelerof4te
 
Posts: 1041
Joined: 2015-08-30 20:14

Re: Malware Found In The Ubuntu Snap Store

Postby KBD47 » 2018-05-15 18:07

bw123 wrote:If you want linux to work like windows, it will work like windows.


This. If I wanted to use Windows I would use it. Keep Linux free of this junk.

Edit: regarding Ubuntu: when Ubuntu allows garbage like this onto new Linux users computers it ruins any argument for using Ubuntu. And hurts Linux altogether.
KBD47
 
Posts: 58
Joined: 2011-09-04 09:07

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable