News for hackers. Stuff that matters.
Re:You’re infected—if you want to see your data again, pay u... by crb on Thursday October 17, 2013 @05:26PM (#6568242)
Doesn't Google Chrome run under %AppData% in a default (non-MSI) install? (This is how it's able to silently update itself, even when run as a non-administrator.)
Re:You’re infected—if you want to see your data again, pay u... by Silhouette on Thursday October 17, 2013 @06:35PM (#6568625)
Doesn't Google Chrome run under %AppData% in a default (non-MSI) install?

Yes, and from a security point of view it should be treated as hostile accordingly.

There is no need to actively circumvent Windows security like this. Firefox, among many other examples, is quite capable of automatically updating itself using a proper Windows service mechanism.

It's long past time that Google were called out on this one. Not only is it a potential security risk, it also interferes with backups of %AppData%, which is generally an area of Windows PCs that you do want to save regularly in case of disasters.

Re:You’re infected—if you want to see your data again, pay u... by Pxtl on Thursday October 17, 2013 @09:48PM (#6569307)
Installing into %AppData% is, iirc, Microsoft's intended approach with ClickOnce installers (which Chrome uses). The difference is that ClickOnce installers have a far more restrictive permissions model than old MSIs.

ClickOnce-installed applications are limited to "Internet Zone" permissions. This can make them immensely frustrating to develop with, actually, since many of MS's own development frameworks fail miserably in Internet Zone even when they have no reason to do so (mostly they generate temporary files in places they aren't allowed).

I'm not sure how Google Chrome gets permissions to save files into your documents and whatnot from there - I don't recall Chrome requesting a permissions escalation during install or anything.

Re:You’re infected—if you want to see your data again, pay u... by Silhouette on Thursday October 17, 2013 @11:01PM (#6569526)
Fascinating. Thanks for sharing this information. I had no idea this was actually a sanctioned installation option, but clearly it is if you know what to look for[1]. That's actually rather disturbing, from a security point of view...

[1] http://msdn.microsoft.com/en-us/library/142dbbz4%28v=vs.90%2...

Re:You’re infected—if you want to see your data again, pay u... by FedRegister on Friday October 18, 2013 @08:52AM (#6571061)
Signed ClickOnce deployments can request elevated (above Internet Zone) permissions. We do that with the ClickOnce app we deploy.
Re:You’re infected—if you want to see your data again, pay u... by scott_karana on Thursday October 17, 2013 @07:22PM (#6568832)
"Chrome for Enterprise" is a standard MSI that installs in Program Files for exactly this reason.

They have had it for ages, presumably to answer your mentioned complaints.

Re:You’re infected—if you want to see your data again, pay u... by im3w1l on Friday October 18, 2013 @07:10AM (#6570742)
It surprises me that there is not central update service that every program can use, and that every program instead have to use it's own always on update poller.
Re:You’re infected—if you want to see your data again, pay u... by mattmanser on Thursday October 17, 2013 @06:56PM (#6568737)
I thought it was so you didn't need admin to install it?
Re:You’re infected—if you want to see your data again, pay u... by Silhouette on Thursday October 17, 2013 @07:03PM (#6568764)
It probably is, but that doesn't make it any better as an idea. There is a good reason why every decent operating system's security model in the past few years has segmented this kind of functionality so only people with elevated privileges can do it.
Re:You’re infected—if you want to see your data again, pay u... by Volpe on Thursday October 17, 2013 @07:22PM (#6568833)
And that good reason is?

EDIT: If I want to run/update something (Chrome) in Userland, why should an OS security model stop me? My guess is, Microsoft have successfully confused a common business requirement with a security one.

Re:You’re infected—if you want to see your data again, pay u... by keeperofdakeys on Thursday October 17, 2013 @07:59PM (#6568988)
No, it's a required security feature that goes back decades in some operating systems. You need to be able to trust the code that runs on your system, and to do that you want to ensure only admin can install things.

Of course, Windows has now partially solved that with UAC. Unfortunately you can never know if you can trust the software or not though. However this does stop malware from secretly running without your permission, since it would require a UAC prompt to run. Then we get into uneducated users.

Re:You’re infected—if you want to see your data again, pay u... by mbreese on Thursday October 17, 2013 @09:40PM (#6569282)
Or you could just not trust the code to begin with. The user should be able to run any program they want to. The OS just shouldn't trust the users programs. (And shouldn't autorun programs that the user didn't request).
Re:You’re infected—if you want to see your data again, pay u... by Pxtl on Thursday October 17, 2013 @09:49PM (#6569311)
Yes, but UAC has the same weakness as Linux permissions - it only protects the OS and programs, not the user-data. Programs can screw with userland data all they like without user permission.
Re:You’re infected—if you want to see your data again, pay u... by keeperofdakeys on Friday October 18, 2013 @07:50AM (#6570849)
The point is that UAC will (hopefully) prevent installing untrusted code in the first place, there by preventing those types of attacks. Unfortunately, you have to either trust that the user knows what programs are good, or go down the dark road that leads to things like an app store.
Re:You’re infected—if you want to see your data again, pay u... by venomsnake on Thursday October 17, 2013 @11:27PM (#6569604)
Yeah but ... in Linux at least you have to set +x yourself on the downloads. Which is basic sanity check.

In windows there are too many ways to get elevated. And only one level of elevation.

Re:You’re infected—if you want to see your data again, pay u... by pgeorgi on Friday October 18, 2013 @02:38AM (#6570104)
not as if users care about watching out before setting +x.

After all, there are tons of popular projects requesting users to run "curl http://... | sudo sh" and consider that a good idea, too.

Re:You’re infected—if you want to see your data again, pay u... by Pxtl on Friday October 18, 2013 @08:47AM (#6571038)
Exactly. This is just a more elaborate form of Windows little pop-up-boxes asking you "are you sure you want to...."

I keep trying to teach my nephews that the default answer to that question is no... but of course, "yes" is the way you get anything done.

Re:You’re infected—if you want to see your data again, pay u... by pjmlp on Friday October 18, 2013 @02:23AM (#6570070)
Normal users just set them without thinking twice about it.

Do you know one of the most asked questions in Mac OS X user forums from new users is how to disable root?

Re:You’re infected—if you want to see your data again, pay u... by Volpe on Friday October 18, 2013 @03:15AM (#6570188)
An interactive shell (like bash/python/irb) is untrusted code (i.e the user can type whatever the hell they like). But I don't/shouldn't need root to run it.
Re:You’re infected—if you want to see your data again, pay u... by riquito on Friday October 18, 2013 @04:51AM (#6570398)
His point was that you need root "to install it", not "to run it".
Re:You’re infected—if you want to see your data again, pay u... by Volpe on Friday October 18, 2013 @06:15AM (#6570606)
Wait, but 'install' means 'download' ? So if chrome was a single .py file, which I downloaded, and ran with python. Thats fine. But because it's a .exe, i need root... ?

I fail to see the difference. Sorry.

Re:You’re infected—if you want to see your data again, pay u... by kevindication on Thursday October 17, 2013 @07:25PM (#6568850)
This. I love Chrome, but their target market is using Windows, and asking them to click "Yes" to upgrade Chrome (or leaving this question up to the administrator) is not a barrier worth circumventing.
Re:You’re infected—if you want to see your data again, pay u... by Silhouette on Thursday October 17, 2013 @08:20PM (#6569058)
asking them to click "Yes" to upgrade Chrome

You don't even need to do that. You should need administrator access to install software initially, but that installation process can set up a system service that handles any subsequent updates automatically. This then runs independent of any current user on the system, and therefore does not depend on their personal privileges, nor does it need to prompt anyone for permissions for every update.

Clearly there is a risk involved with any process that can automatically download code you will subsequently execute. However, with proper access control, at least a compromised application running in user space can't do things like modifying its own executable so the malware has a place to live or, more generally, anything else that the user couldn't do without elevating their privilege level.

This certainly doesn't get us to an ideal security model. As I noted elsewhere in this discussion, a user on most systems today can probably still do things like e-mailing all the sensitive work documents they can access to a hostile party with just their normal privileges. However, it does at least prevent one common kind of attack.

Re:You’re infected—if you want to see your data again, pay u... by jussij on Thursday October 17, 2013 @06:21PM (#6568559)
Google Chrome Updater certainly does have a few virus like characteristics.

Every time my interent connection slows (WiFi) I know it's Chrome Updater so I kill it via Task Manager and everthing is good again.

There doesn't apear to be away to turn it off inside Chrome itself and turning off updates via the registry does not seem to stop it.

Re:You’re infected—if you want to see your data again, pay u... by socillion on Thursday October 17, 2013 @08:23PM (#6569071)
You can try disabling (not deleting) the startup task. Start > Run > msconfig > Startup > Disable GoogleUpdater.exe

Or try Firefox!

Re:You’re infected—if you want to see your data again, pay u... by jussij on Thursday October 17, 2013 @09:01PM (#6569179)
Thanks. I give that a shot.
Re:You’re infected—if you want to see your data again, pay u... by samstave on Thursday October 17, 2013 @06:50PM (#6568702)
>Google Chrome Updater certainly does have a few virus like characteristics.

You could say it's in its DNA

Re:You’re infected—if you want to see your data again, pay u... by WiseWeasel on Thursday October 17, 2013 @08:56PM (#6569167)
Wouldn't it have to be in its RNA?

/ducks

Re:You’re infected—if you want to see your data again, pay u... by mbreese on Thursday October 17, 2013 @09:41PM (#6569284)
There are both DNA and RNA viruses.
Re:You’re infected—if you want to see your data again, pay u... by WiseWeasel on Friday October 18, 2013 @12:30AM (#6569781)
G(uanine), C(ytosine) and U(racil) are RNA nucleotides, so it seemed more appropriate somehow...
Re:You’re infected—if you want to see your data again, pay u... by mbreese on Saturday October 19, 2013 @12:26AM (#6575334)
I missed the fact that you were referring to "GCU". That was a little too subtle for my simple mind. :)
Re:You’re infected—if you want to see your data again, pay u... by _-_-_- on Thursday October 17, 2013 @11:01PM (#6569529)
And retroviruses- an RNA virus that reverse transcribes itself into a DNA provirus: http://en.wikipedia.org/wiki/Reverse_transcribing_virus
Re:You’re infected—if you want to see your data again, pay u... by jrabone on Thursday October 17, 2013 @06:16PM (#6568529)
And that's just as good an idea as executable data segments in a binary format (ie. not a very good idea). It's taken MS literally YEARS to get to half-decent default filesystem permissions in Windows 7 and this kind of thing just undermines it totally.
Re:You’re infected—if you want to see your data again, pay u... by derefr on Thursday October 17, 2013 @06:33PM (#6568618)
What do you suggest instead? People who work at BigCorps and have shitty outdated IE installs are motivated to install alternative web browsers, even when they don't have administrative rights (and they almost never do.) Google is motivated to enable them to do so.

The real problem, I think, is that Microsoft thinks requiring admin rights to write to "Program Files" is the be-all and end-all of solving the "application-environment integrity problem." That works for enterprise-wide deploys of sysadmin-supported software, but falls down for user-specific installations. On OSX, "application-environment integrity" can be enforced easily enough, since the OS delineates applications by a line called "the app bundle." OSX can (though I'm not sure it does) just disallow apps from writing into other apps' bundles without a "do you really mean it" prompt. But in Windows, the The Directory Is The Application Bundle[1], and so Windows doesn't know that this directory is special and should be protected from having other apps in other directories tinkering with it.

[1] http://blogs.msdn.com/b/oldnewthing/archive/2011/06/20/10176...

Re:You’re infected—if you want to see your data again, pay u... by MartinCron on Thursday October 17, 2013 @05:28PM (#6568255)
Yes, I was able to install Google Chrome on a PC which the user didn't have administrative rights just yesterday. It delighted me to no end.
Re:You’re infected—if you want to see your data again, pay u... by lstamour on Thursday October 17, 2013 @06:10PM (#6568496)
My understanding is they changed that and by default it wants admin rights. Then if that fails, it asks if you want to continue without. (At least, this was my experience the last time I had to install Chrome on a machine without admin rights.)
Re:You’re infected—if you want to see your data again, pay u... by missing_cipher on Thursday October 17, 2013 @06:54PM (#6568724)
I'm also seeing Dropbox, uTorrent and PunkbusterB in %appdata% according to fekberg's command.