News for hackers. Stuff that matters.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @10:15AM (#9303691)
You can't trust anybody except for open source repositories.

The easiest way to get such trash on your computer is installing software from a commercial vendor. Oracle is one major source of headache, if you aren't careful you'll find your 'java' install also gives you a severe case of malware/crapware.

There are whole companies dedicated to this concept of piggy-backing junk.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by sheetjs on Wednesday April 01, 2015 @10:28AM (#9303815)
> There are whole companies dedicated to this concept of piggy-backing junk.

... including a YC company called InstallMonetizer: https://news.ycombinator.com/item?id=5092711

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @10:47AM (#9303998)
Fortunately they have 'watsi' too.

Downvoters are invited to explain what's wrong with this comment, I see installmonetizer as one of the low points in the history of YC and watsi as the high point, possibly the high point in VC investing in the last decade or more.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by pavel_lishin on Wednesday April 01, 2015 @11:41AM (#9304439)
Spending your weekends volunteering at a soup kitchen doesn't give you the right to throw litter onto the highway.

Just because YC has watsi doesn't mean they shouldn't have to explain why they're affiliated with InstallMonetizer, and justify their decision.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @02:27PM (#9305720)
I agree with that in principle, but: YC invests in companies at an absolutely enormous rate, they have relatively few 'rotten apples' when you take into account that they encourage companies to pivot post investment and that they couldn't change what a company actually does even if they wanted to (they own a very small minority of the stock after all).

If I were in YC/PGs shoes I would have dropped installmonetizer the second I found out what they did but then again, I don't run the most successful start-up accelerator on the planet for a good reason.

In fact, I wouldn't have invested in them in the first place. But on the whole if you select for hackers driven to make money at any cost you can expect to get a rotten apple every now and then.

Whether or not YC should have dropped installmonetizer once it became clear what they were up to (if that wasn't clear from the application alone) is something everybody has to decide for themselves, for me it is clear that they should have.

Also, to their credit I haven't seen them invest in anything as shady as installmonetizer after that point so maybe some lessons were learned.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by joosters on Wednesday April 01, 2015 @10:27AM (#9303796)
You can't trust anybody except for open source repositories.

Like Sourceforge? http://blog.gluster.org/2013/08/how-far-the-once-mighty-sour...

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @10:35AM (#9303885)
Ah yes sourceforge. How far the mighty have fallen.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by DannyBee on Wednesday April 01, 2015 @10:57AM (#9304113)
Sourceforge was doing this on like day 3, so i'm not sure they fell that far?
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @11:01AM (#9304152)
They were pretty good for years, I'm not sure where you got your 'day 3' reference from but I was an early sourceforge user and they were pretty much like github today in terms of reputation.

Then times got tough and sourceforge sold to new owners and that's when the trouble started.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by dec0dedab0de on Wednesday April 01, 2015 @11:05AM (#9304194)
There was a time where I would tell friends, family, and clients that the top sourceforge projects were the only safe things to download on the internet.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by keithpeter on Wednesday April 01, 2015 @12:56PM (#9305022)
I read the gp comment as something like a distribution repository. Apt-get or perhaps like brew on Mac OS and so on. Checksummed binaries and a single source for each machine.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by bradleyland on Wednesday April 01, 2015 @10:27AM (#9303800)
> You can't trust anybody except for open source repositories.

Meanwhile, in the real world, Sourceforge injects adware in to downloads for open source projects. Trust is more subtle than open source/closed source.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by icebraining on Wednesday April 01, 2015 @10:35AM (#9303888)
Well, that depends if you read that has a "repository of open source software" or a "repository that is open source". Sourceforge doesn't qualify as the latter.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by dragonwriter on Wednesday April 01, 2015 @12:04PM (#9304626)
"You can't trust anybody outside of group X" does not imply "You can trust everybody inside of group X".
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by cowls on Wednesday April 01, 2015 @12:29PM (#9304796)
True, but then that is not what he said, you conveniently reworded it ;)
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by dragonwriter on Wednesday April 01, 2015 @12:37PM (#9304861)
> True, but then that is not what he said, you conveniently reworded it ;)

I reworded it for generality, but specifically, "You can't trust anybody except open source repositories" does not imply "You can trust all open source repositories" in exactly the same way as, in more general terms, "You can't trust anybody outside of group X" does not imply "You can trust everybody inside of group X".

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by unstabilo on Wednesday April 01, 2015 @10:36AM (#9303900)
He didn't say all open source is trustworthy, only that closed source is not. And Sourceforge, the repository itself is not open source.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by pannallas on Wednesday April 01, 2015 @10:34AM (#9303881)
You can't trust open source repos either; you can only verify them.

And is anyone really reading all of the code they run before they run it? With all of its third-party dependencies?

I don't think open source repositories are safer because they're open source, but precisely because there is no commercial benefit to shoveling BS into them. In fact, with the bigger commercial open source software, you often do see crap you don't want being included as a means to funnel users into commercial channels.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @10:37AM (#9303904)
Yes, that's an excellent point, I highly doubt anybody verifies what they install end-to-end. We all put a lot of trust in reputations and a couple of checksums.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by TeMPOraL on Wednesday April 01, 2015 @10:47AM (#9304003)
Trust is fundamental to society, having a civilization is impossible without it. We shouldn't expect people to verify everything all the time.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by seanwilson on Wednesday April 01, 2015 @10:57AM (#9304101)
You also need to verify that the binary you run is the same source code and be able to identify malware in source code that may be very well hidden. This isn't remotely practical and for even simple software.

The only practical solution I can see is proper sandboxing of applications so you don't need to trust them in the first place.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @11:03AM (#9304176)
That's probably where we're headed. Hypervisors running single-application kernels talking via message passing over some networking protocol to display servers and other virtualized hardware.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by TeMPOraL on Wednesday April 01, 2015 @12:09PM (#9304658)
Am I the only one who thinks this reality sucks? Everything locked down, no way to tweak or repurpose any of your software. I know, there are bad actors out there, etc. but shouldn't there be a limit for destroying utility of things in the name of security?
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @02:10PM (#9305591)
It definitely sucks to some degree, but it is the same kind of change when going from a small town or a rural area into a big city.

The houses where I lived in Canada weren't locked, they didn't even have locks. In Amsterdam it would take about 6 seconds from the time you left to have your house burgled if you did that.

As far as it reduces your ability to tweak or repurpose your software: I don't think that it has to be that way but it will definitely be harder than in an environment of trust.

Maybe there is an easy way to get both ease of fiddling and very high security but I haven't seen anything like that yet. There are some interesting research projects revolving around 'capability based operating systems' and such, maybe that's where they key lies, or in some other development currently underway.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by code_duck on Wednesday April 01, 2015 @12:43PM (#9304914)
Why would proper sand boxing limit tweaking or repurposing of software? (I must admit I'm not sure exactly what you mean by that). It just limits apps interactions with each other and the OS environment.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @02:20PM (#9305672)
You answered your own question:

> It just limits apps interactions with each other and the OS environment.

That makes a whole slew of modifications and tricks harder and/or impossible without having access to the sourcecode of the software, which is (on windows at least) not rare at all.

Any kind of interaction not explicitly allowed is then forbidden and the sandboxing will be a lot harder to overcome than two apps on the same machine talking to each other using a third.

Maybe some kind of unified app-to-app messaging protocol can take care of this, similar to how linux systems uses 'dbus' and the likes.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by TeMPOraL on Wednesday April 01, 2015 @02:36PM (#9305792)
Exactly this. I still remember the times when if I needed to change something in an application, I could just write to its process memory directly. Those were fun times...

What I want is to retain the ability to repurpose the software on my terms. To move data in and out of the software whether software's authors like it or not. It's becoming harder each day, as more and more tools move to the cloud and turn into apps. I'm happy we still have userscripts in the browser but how long will it take before they get banned too?

This problem has many names. "War on General-Purpose Computation" is one of them, but I suppose the "professionalization of programming" is another. How long will it take before you'll need an engineering license to be allowed to use a compiler, or work with a Turing-complete language?

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @02:46PM (#9305864)
I really hope not to see that day. So, how to avoid it and not be open to security issues like these?

It used to be that you could get a lot of use out of a computer all by itself, nowadays that's changed and the trend to 'always on, always online' translates into having your machine potentially under attack 24/7.

Being vigilant against enabling the war on general purpose computation is very good, it is the biggest threat in the longer term and one of the reasons why I think that all these large silos are a very bad development.

I don't think we have much to fear from the 'professionalization of programming', not if the kind of code I see on a daily basis is anything to go by ;)

There have been numerous attempts at slapping a gateway on the ability to write software for the hardware that you already own, the only environment where this has taken hold is on mobile platforms, I sincerely hope that that is a development that we will sooner or later be able to revert.

But in order to revert it you'd have to come up with a solution for the pandemonium that would ensue if everybody and their brother would use the likes of 'download.com' or some equivalent to install their software from. Maybe something along the lines of apt-get for phones would be a starting point.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by TeMPOraL on Wednesday April 01, 2015 @03:58PM (#9306389)
> I really hope not to see that day. So, how to avoid it and not be open to security issues like these?

I don't know. Part of the answer likely lies in determining who the "owner" actually is. I want to be the owner of my computer, but business interests go against it. For instance, MAFIAA doesn't want me to be the owner, because they want secure means to enforce DRM on me. Other businesses would also like to be the owners, because they can monetize me better this way.

> I don't think we have much to fear from the 'professionalization of programming', not if the kind of code I see on a daily basis is anything to go by ;)

Let's hope so, but I think it naturally follows from Trusted Computing - the technology will enable proffessionalization. Because right now, there isn't much you can do to prevent people from getting their hands on a compiler and using it.

> There have been numerous attempts at slapping a gateway on the ability to write software for the hardware that you already own, the only environment where this has taken hold is on mobile platforms, I sincerely hope that that is a development that we will sooner or later be able to revert.

I hope so, but I fear we won't - that at some point a company will finally figure out how to lease PCs to general population instead of selling them. You'll get a nice, cheap laptop, but it will be locked down, equipped with trusted computing hardware (the company will be the trusted actor, of course) and require to connect to the Internet every now and then to verify everything is ok. Basically, what happened to mobile, only worse. And people will buy into it if the price difference will be significant enough. Actually, I'm not sure what's stopping companies now from doing this.

> But in order to revert it you'd have to come up with a solution for the pandemonium that would ensue if everybody and their brother would use the likes of 'download.com' or some equivalent to install their software from. Maybe something along the lines of apt-get for phones would be a starting point.

Yup. Crap like this is a huge problem, but I'm not sure if it requires locking things down. You can go the Apple way and aggressively verify every piece of software you allow in your repository. This makes you the trusted authority, which carries risks like abuse of trust, but solves the problem without heavy sandboxing.

So far I see the issue of distributed vs. centralized as a tradeoff between secure but inefficient, and efficient but with serious failure modes. I wish there was a way to capture benefits of both while avoiding the risks.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @04:57PM (#9306827)
> I hope so, but I fear we won't - that at some point a company will finally figure out how to lease PCs to general population instead of selling them.

They'll give them away just to get you to be part of the ecosystem!

Apple does provide some verification services but the major reason the app store in its current form exists is as a choke point to extract revenues and as a way to remove any credible competition to Apple supplied applications.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by tristor on Wednesday April 01, 2015 @01:19PM (#9305196)
I haven't done this in most cases, but for some systems this is a practical action to take (embedded system, minimal software, security sensitive). The reality is any modern OS + apps for "basic" functions is far too complex and has too many SLOC in too many disparate languages for any one person to be able to reliably verify it all. Knowing that the very simple basic functionality of all the code you plan to run on an embedded device is secure though is still an achievable objective.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by aw3c2 on Wednesday April 01, 2015 @12:12PM (#9304678)
Actually, I do trust them and I do not verify them. So far I have had only good experiences.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by Sir_Cmpwn on Wednesday April 01, 2015 @12:00PM (#9304594)
The Linux model: you install software from repositories curated by people you trust - distribution maintainers. No viruses, no bundled adware, just simple no-bullshit software repositories. I have a hard time understanding why techies continue to put up with Windows and OSX.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jsolson on Wednesday April 01, 2015 @01:52PM (#9305451)
Perhaps because in OS X I (mostly -- about on par with Linux) install software from repositories curated by people that I trust (Apple, Homebrew), and then I don't have to put up with Linux.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by code_duck on Wednesday April 01, 2015 @12:39PM (#9304874)
Agreed, every time I clean or set up a Windows computer for someone I marvel at how poor the entire process is, and how little it has changed in the past 15 years.

OSX still has very little adware attached to downloads, in my experience - plus there's the Mac App Store. It's pretty much just Windows users who endure that.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by maccard on Wednesday April 01, 2015 @04:00PM (#9306411)
Setting up a windows 8 pc is wonderfully simple. Theres an option to reset to defaults, and the default driver discovery is quite good. Windows 8 has picked up display drivers, wifi drivers and pretty much everything else that I care about in every laptop and desktop pc I've tried. I haven't tried Linux recently (about two years ago) but when I did I had major headaches with a Broadcom wireless driver, and a Bluetooth chip, that both worked flawlessly on windows 8.

Installing "common" software is a doddle too, wth Ninite. You get Firefox, vlc, Dropbox, spotify, Skype (now in windows updates though) notepad++, up to date Java and .net run times, pdf reader etc etc. I set up the installer once about 3 years ago and the same one still works, with a one click update.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by sjolsen on Wednesday April 01, 2015 @06:12PM (#9307319)
>I haven't tried Linux recently (about two years ago) but when I did I had major headaches with a Broadcom wireless driver, and a Bluetooth chip, that both worked flawlessly on windows 8.

As someone who has used Debian almost exclusively for a few years now, I've got to admit that Windows 8 really does handle drivers nicely. Linux systems are generally pretty good about drivers these days, at least if you allow proprietary drivers, but nothing beats total out-of-the-box automation.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by Ded7xSEoPKYNsDd on Thursday April 02, 2015 @06:48AM (#9309815)
The most popular Linux distribution for end-users (Ubuntu) comes pre-installed with adware. To be fair, they ask you nicely whether to enable it nowadays, which makes it a few magnitudes better than most Windows adware. But it's sadly still enough to refute "no bundled adware".
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by sp332 on Wednesday April 01, 2015 @10:19AM (#9303724)
At least you can get some projects crap-free from https://ninite.com/ The notable exception is Flash. The only place you can get up-to-date, crap-free versions of Flash is this URL: https://www.adobe.com/products/flashplayer/distribution3.htm... and scroll down, don't use the big "Download Adobe Flash Player" button on the right.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by Lawtonfogle on Wednesday April 01, 2015 @10:20AM (#9303735)
These companies are exploiting trust for the sake of making money. We all lose when the trust is destroyed just for a few to make few extra dollars. Privatized profits, socialized losses.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jfuhrman on Wednesday April 01, 2015 @11:29AM (#9304361)
Open source isn't some magical protection. Even with being a much smaller target, there have been malware on Linux repos.

Example on Gentoo(ignore the over the top headline):

http://www.zdnet.com/article/linux-infection-proves-windows-...

Not to mention that the repos themselves have been having security issues over the years.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by makomk on Wednesday April 01, 2015 @04:01PM (#9306423)
Gentoo systems refused to accept the backdoored source code because the SHA1 hash no longer matched - that's how the backdoor was discovered in the first place.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by Sir_Cmpwn on Wednesday April 01, 2015 @02:54PM (#9305926)
Gentoo is hardly a server-ready operating system. Find similar stories on Debian or CentOS instead?
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by ksk on Wednesday April 01, 2015 @01:03PM (#9305074)
>You can't trust anybody except for open source repositories.

That is patently false.

Established profitable companies in a market with multiple competitors usually do not fuck with their customers, if they charge up-front for their product/service.

On the other hand, companies that give away stuff for "free" have to find unique ways to pay the bills (be it hosting fees, or hardware costs, or developer time, etc). In recent years the most common way is to create some way to essentially trick people into clicking ads.

Open Source repositories have not found any long term sustainable method to get compensated for their hosting fees or hardware costs. At the moment, they are run on donations - mostly from commercial vendors, universities and the like. At some point in the future, lets say if 500 million desktop users all start using those repositories, there will come a time when that cost is going to stick out on a balance sheet. I hope that they figure out a way to get paid for their efforts by then.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by jacquesm on Wednesday April 01, 2015 @02:31PM (#9305759)
> Established profitable companies in a market with multiple competitors usually do not fuck with their customers, if they charge up-front for their product/service.

Lenovo (and lots of other hardware manufacturers) are proof positive that this is absolutely not the case. There isn't a windows machine bought over the years by my extended family that did not have a whole pile of junk on it right from day one including ad injectors such as described in the article.

Whether or not open source is 'viable' for large numbers of users is no longer a question that needs settling. For bandwidth we have torrents if need be.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by ksk on Wednesday April 01, 2015 @05:04PM (#9306885)
My computer didn't come with any junk on it. Even otherwise, pointing out what some companies do in ONE market means nothing. That is why I used the word usually. I guess it is no longer expected to read what someone says before responding. Good job on that.
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by cazum on Thursday April 02, 2015 @12:27AM (#9308672)
As long as you say "usually", nobody can ever disagree with you!
Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by ksk on Thursday April 02, 2015 @02:28PM (#9312509)
Heh. :) Even though I could, I won't disagree with you.

Anyway, I view most comment sections as informal/idle chit-chat, and not courtroom/dissertation situations where everything needs to be cited and/or "proved". When I'm commenting I'm usually smiling to myself or amused, not angry or trying to "win" anything.

Re:Google Says 5% of Visitors to Its Sites Have Ad Injectors... by cazum on Thursday April 02, 2015 @12:25AM (#9308659)
Open source projects are often developed by volunteers, and hosted by free services like github or bitbucket.

I've actually never seen an an freedom respecting project that included adware, and I can confidently say that the reason for that is that if a team were to do that, somebody would fork the repo and remove the offensive junk. As long as it gets caught, it's a self healing ecosystem. The same cannot be said for non-free software, as the pool of people who could find junk is so much smaller, but also because if junk were to be found by an employee, they'd have very little power to actually do anything about it.

Open source is volunteers, and when its not, they run on donations. When the donations stop, they stop. Some have found clever ways to make money, such as pay4premium or pay4support, but I've never seen ad injectors. Those come from third party distributors who aren't affiliated with the projects and can be avoided.