Slashdot Mirror


UAC Whitelist Hole In Windows 7

David Gerard writes "Microsoft tried to make Vista secure with User Access Control (UAC). They relaxed it a bit in Windows 7 because it was such a pain in the backside. Unfortunately, one way they did this (the third way so far found around UAC in Windows 7) was to give certain Microsoft files the power to just ... bypass UAC. Even more unfortunately, one of the DLLs they whitelisted was RUNDLL32.EXE. The exploit is simply to copy (or inject) part of its own code into the memory of another running process and then telling that target process to run the code, using standard, non-privileged APIs such as WriteProcessMemory and CreateRemoteThread. Ars Technica writes up the issue, proclaiming Windows 7 UAC 'a broken mess; mend it or end it.'"

496 comments

  1. If it was easy-- by Geoffrey.landis · · Score: 5, Insightful

    Hey, if security was easy, everybody would do it.

    --
    http://www.geoffreylandis.com
    1. Re:If it was easy-- by spyrochaete · · Score: 4, Interesting

      I agree 100%. I guess I'm in the minority but I love Vista UAC. Fairly often I will carelessly click something, and UAC gives me a second chance to abort before it's too late. UAC is only useful 1 time in 20, but I thank my lucky stars that 1 time.

    2. Re:If it was easy-- by schon · · Score: 5, Insightful

      It sounds like what you're saying is that UAC is only useful for people who know what they're doing. You are savvy enough to recognize when it's protecting you from mistakes, but the average user won't.

      UAC is only useful 1 time in 20, but I thank my lucky stars that 1 time.

      My first car was made by Isuzu. Like many (all?) imports, in order to lock the door from the outside of the car, you had to hold the handle up as you closed the door. I asked why this was, and was told that it was a mechanism to prevent you from locking your keys in the car. You couldn't just carelessly close the door, you had to actively hold the handle up.

      One hot summer day, I got out of the car, took off my coat, and put it inside. Out of habit (because I needed to do it every time) held the handle up as I closed the door. A few minutes later I realized that the keys were in my coat pocket. And the door was locked.

      The designers of this car though they were making it harder to lock your keys in the car, but in reality they were simply training people to hold the handle up when they closed the door.

      UAC reminds me of the exact same thinking. It doesn't really prevent you from making mistakes, it just conditions you to click "OK".

    3. Re:If it was easy-- by thetoadwarrior · · Score: 2, Funny

      I agree 100%. I guess I'm in the minority but I love Vista UAC. Fairly often I will carelessly click something, and UAC gives me a second chance to abort before it's too late. UAC is only useful 1 time in 20, but I thank my lucky stars that 1 time.

      Your comment reminds me of that a shirt sold by T-shirt hell which said on it "What about the good things Hitler did?".

    4. Re:If it was easy-- by Anonymous Coward · · Score: 3, Interesting

      You are so right. I hate to be one of those "I am awesome because of X" but I have not run virus or malware software on windows in many, many years and I have not had ANY problems. Other than the reg getting full of crap and having to re-install, about once a year. My system doesn't slow and things are great. Now, how do you teach a user to think about what they are doing before they do it and to have enough knowledge to make an informed decision? You don't I guess. I try with my friends and family to keep them educated and to use no-script, firefox and to stay away from IE. It works but I still wind up cleaning their PC's of badware.

      My point is that if I never get in the habit of "holding the handle" then in the long run I will be better off. Be aware of what you are doing and use that damn melon in your head.

    5. Re:If it was easy-- by newcastlejon · · Score: 0, Offtopic

      I never heard of that. All the cars I have owned either prevent you from locking the driver's door when it's open or unlock the door if you close it when it's locked. (I assume you might bypass this by holding the handle as you described) For myself, I'd simply suggest that you lock doors after you use them rather than during.

      --
      If God forks the Universe every time you roll a die, he'd better have a damned good memory.
    6. Re:If it was easy-- by Kaboom13 · · Score: 4, Insightful

      Thats really the problem with UAC. It comes up so often for no good reason, and gives no information to the user why it even came up. The only people with the technical skill to make intelligent choices about it don't need it. Of course, the problem in some ways is not even MS's fault. The reality is most Windows programs are doing things that trigger UAC prompts for no good reason. In the linux world, if an text editor or card game or whatever app required you to su every time you ran it, even when it didn't perform any functions that actually needed su level privileges, people would be pissed. But there's a lot of Windows apps that need to run as admin, even when their primary function has no need for admin level privileges. Their coders were just lazy, and instead of doing things following MS's guidelines, they take shortcuts that lead to big headaches for everyone down the line.
      Most apps don't handle a deny in UAC gracefully either, they either completely crash or have wildly unpredictable behavior. When they should be telling the user why they need a UAC ok, and giving an option to gracefully quit or retry, they seem to prefer to pretend it doesn't exist.

      I think everyone agrees, UAC as it stands is a clusterfuck. But I think MS deserves a little slack. They are fighting a major battle, trying to reign in the thousands of terrible windows coders and get them to finally play nice not being admin all the time. Granted it would not be as big a problem if they had not ignored it for so long, but 2000 and xp both prove that simply offering and recommending that users don't run as admin, and programs not require it, is not enough.
      Hopefully MS will keep working and improving it, and app designers will get tired of their users complaining about UAC prompts and design their apps to only need admin(and thus an UAC prompt) at install.

    7. Re:If it was easy-- by dna_(c)(tm)(r) · · Score: 3, Interesting

      Nice car analogy!

      I had a car that required you to close the driver's door with the key. Worked very well.

      It was much more like sudo/gksudo/kdesudo. Only those with the key can make big mistakes.

    8. Re:If it was easy-- by dna_(c)(tm)(r) · · Score: 2, Funny

      Your comment reminds me of that a shirt sold by T-shirt hell which said on it "What about the good things Hitler did?".

      I want one with "Remember Godwin's Law" on it.

    9. Re:If it was easy-- by Blakey+Rat · · Score: 4, Interesting

      That's fine, I hear a lot of valid criticisms of UAC.

      What bothers me is nobody seems to answer the question: "What *should* they be doing?" in a reasonable manner.

      If you ask that on Slashdot, you get either "switch to Linux hur hur" or "they should write a new OS from scratch and run NT in a VM." Neither of those is a realistic option. The second is (slightly) more realistic, but it would be a decade of work even assuming MS started this minute.

      To make things worse, when Microsoft makes UAC comprehensive (like in Vista) people whine that it's too annoying. When they make it looser (like in Windows 7) people whine that the protection on rundll isn't sufficient. I almost feel sorry for Microsoft, because there's literally no way they could make everybody happy.

      So what should Microsoft be doing?

    10. Re:If it was easy-- by Blakey+Rat · · Score: 4, Insightful

      It was an analogy. You don't have to respond to the analogy whether or not you've heard of it. Respond instead to the *point* of the post. You're missing the forest for the trees: this topic isn't about locking keys in the car, it's about UAC in Windows 7. (For what it's worth, my Mitsubishi Cordia-L had that "feature.")

      Now someone mod this off-topic.

    11. Re:If it was easy-- by Anonymous Coward · · Score: 0

      great post

    12. Re:If it was easy-- by AliasMarlowe · · Score: 1

      Your comment reminds me of that a shirt sold by T-shirt hell which said on it "What about the good things Hitler did?".

      I want one with "Remember Godwin's Law" on it.

      Does making Godwin's Law possible count as one of the good things?

      --
      Those who can make you believe absurdities can make you commit atrocities. - Voltaire
    13. Re:If it was easy-- by TheLink · · Score: 1

      "You're missing the forest for the trees"

      People who keep missing the forest, should get plank in face.

      That wood help. Wouldn't it? ;)

      p.s. If there's central locking, just lock your car doors with your car key. Harder to lock your keys in the car then.

      And that's why UAC is crap like that "lifting handle method". There are actually better ways.

      --
    14. Re:If it was easy-- by spyrochaete · · Score: 1

      That was a great example, and you're absolutely correct. However, I think the same conditioning is true in this day and age of EULAs and "are you sure?" prompts. It's for that very reason why I appreciate UAC - because it's one last chance to undo something stupid I've done unwittingly. UAC protects my PC from PEBCAK as much as it does from rootkits.

    15. Re:If it was easy-- by aaronbeekay · · Score: 2, Insightful

      I thought the same thing you did, until I thought a little bit more about why those door locks work the way they do.

      No car company can really stop people from locking their keys in their cars without fancy solutions like RFID fingers or Bluetooth or some-such. I don't think the people at Isuzu who designed your car door thought that they could. Instead, they were trying to solve the problem of unintentionally closing the locked door. It seems like something that doesn't happen often, but what if you had locked the door, then went for something you had tossed on the roof, etc., then bumped the door shut? Maybe the wind blew? Holding the door handle isn't supposed to make you think about your keys, it's only supposed to confirm that it's a human performing the action. Wind doesn't hold door handles open.

      Of course, this doesn't really relate to your UAC analogy. Sorry.

    16. Re:If it was easy-- by techno-vampire · · Score: 1
      What bothers me is nobody seems to answer the question: "What *should* they be doing?" in a reasonable manner.

      I've never had the slightest problem with UAC personally, but that's because I use Linux. However, I do have a strong opinion about how UAC could be better: have it come up the first time a program needs extra privileges asking if you want that program to run as Administrator and be done with it. One warning that the program is trying to do things a normal user isn't authorized to do should be enough.

      As an example from the Linux world, I can run the program that examines what services are running as a regular user. If I try to use it to turn any service on or off, however, up pops a box asking for the root password, because that needs root access. And, once I've given it that password, it doesn't need to ask again if I change a second service's settings. To me, at least, that would make sense for UAC.

      --
      Good, inexpensive web hosting
    17. Re:If it was easy-- by Culture20 · · Score: 1

      So what should Microsoft be doing?

      They should keep UAC restrictive, but launch education campaigns for developers, teaching them that not _every_ setting needs to exist in HKLM, or in a file in "C:\program files\".

    18. Re:If it was easy-- by funkatron · · Score: 5, Funny

      So what should Microsoft be doing?

      The one thing that's always worked before. Design a new colour scheme and let the marketing department do the rest.

      --
      "Welcome to our world. We are the wasted youth. And we are the future too." Yes, I know these are stupid lyrics.
    19. Re:If it was easy-- by Korin43 · · Score: 1

      Except UAC in Vista is stupid. I'm glad it warns me when a program tries to do something I may not want, but I don't need it to confirm every time I try to do something. If I'm logged in as an administrator, then YES I DO WANT TO DELETE THAT FILE.
      Windows 7 fixes this by having three settings: "Warn me when anything tries to do anything needing admin priviledges", "Warn me if anything that isn't me tries to do anything needing admin priviledges", and "STFU". Although apparently the way they did option #2 isn't working out so well.

    20. Re:If it was easy-- by 10101001+10101001 · · Score: 0

      What bothers me is nobody seems to answer the question: "What *should* they be doing?" in a reasonable manner.

      If you ask that on Slashdot, you get either "switch to Linux hur hur" or "they should write a new OS from scratch and run NT in a VM." Neither of those is a realistic option. The second is (slightly) more realistic, but it would be a decade of work even assuming MS started this minute.

      Neither is the right answer, but the second is closer to the mark. The problem, though, is your question. If one acknowledges that Windows has significant problems and to fix those problems would take an "unreasonable" (ie, greater than 5 years) amount of time, then there simply is nothing that can be done right now. To ask Slashdot for some magical solution is simply silly. The only options for most people, then, are to try to mitigate the risk by running a new OS (Linux) and run NT in a VM.

      Of course, since Linux suffers from the same fundamental flaws as Windows (over-privilege of users, over-privilege of programs, irreversible actions, a lack of transparency to facilitate control, and an education system (tutorials or seminars, perhaps) for people to know enough to adequately control their system), such is really only a stop-gap to mitigate the risk of the homogenous danger of Windows-only machines. The long-term answer requires writing an OS from scratch and, more importantly, educating users with the tools they need to adequately control their own system. Even if the latter point doesn't directly resolve problems, there'd at least be a more firm basis for legal and social action against those who are knowingly negligent instead of misguided and uneducated.

      --
      Eurohacker European paranoia, gun rights, and h
    21. Re:If it was easy-- by spacefiddle · · Score: 1

      The designers of this car though they were making it harder to lock your keys in the car, but in reality they were simply training people to hold the handle up when they closed the door. UAC reminds me of the exact same thinking. It doesn't really prevent you from making mistakes, it just conditions you to click "OK".

      Bingo!

      Anyone who's worked with a network user has had this conversation:

      User: MY CPUTER R BROKEN!1!! HALP!
      Support: Okay, did you see anything unusual happen?
      User: Yes... it said something on the screen!
      Support: Okay, what did it say?
      User: Iono.
      Support: Ok, was it a dialog box... said something, then click a choice?
      User: Maybe.
      Support: Ok, what were the choices?
      User: Iono.
      Support: Okay then... which button did you click on?
      User: The one that made the bad nasty box go away!
      Support: Well, ok, it may take me a min to see what's going on...
      User: WAT?! FIX NAO! U SUK!
      Support: /facepalm

      People've been inundated with signs, pop-ups, dialog boxes, logins... they're trained to click click click click thru everything. They actually get pissed off if you suggest they need to read the funny words because they might actually, you know, say something interesting... and even those who want to help find themselves clicking by reflex before they realize something's wrong, and it's not just another endless meaningless useless "Are you Sure?" type deal.

    22. Re:If it was easy-- by PieSquared · · Score: 1

      The real solution to "not locking your keys in your car" apparently came a few years after your car. My car requires me to use the key to lock the drivers door. Very hard to lock your key in the car when you need your key out of the car to do it. Not like it's even that much trouble - you had your key in your hand about 2 seconds ago.

      Now someone has to preform the rare and enviable "reverse car analogy" to figure out how UAC *ought* to be.

      --
      Does a line appended to your comment give your post meaning in and of itself, or only in relation to those without?
    23. Re:If it was easy-- by Anonymous Coward · · Score: 1, Insightful

      Oh please. I suppose it was only a matter of time before some devils advocate tries to make MS look like victims that can never win.

      But, in truth, they are not victims. They designed UAC, and no one likes it because they designed it crappy. So they use a crappy 'solution' to make it less annoying. Now all they have done is increased its crappiness, and you claim they can not win? All they have to do is make it not crap.

      How could they do it? O, perhaps they should design a system for granting priveledge escelation. UAC was designed to annoy users, not to be a good system for what we suppose it should be.

    24. Re:If it was easy-- by schon · · Score: 1

      No car company can really stop people from locking their keys in their cars without fancy solutions like RFID fingers or Bluetooth or some-such.

      <sarcasm>
      Yes, that's right. That's why the deadbolt on my house don't work without fancy electronics!
      </sarcasm>

      The solution is simple: use the key to lock the door.

    25. Re:If it was easy-- by Blakey+Rat · · Score: 1

      That doesn't work. What if the program in question lets you download and execute programs? So I give Live Messenger a UAC confirmation *once* and from then on it's free to infect my computer with however many downloaded trojans it comes across?

      Seriously. That solution might work for some applications, but it needs to work for *all* applications.

    26. Re:If it was easy-- by schon · · Score: 3, Insightful

      "they should write a new OS from scratch and run NT in a VM." Neither of those is a realistic option.

      Why not? Apple did it, and people adjusted pretty well.

      Apple realized what MS didn't - that they had a single-user OS, and it was flat-out impossible to turn it into a true multi-user OS without changing everything about it, so they started over from scratch (well, with the help of Darwin) and ran legacy apps in a VM. It worked very well.

      Security is a necessary feature of any multi-user OS, and security isn't something that can be bolted onto something after the fact - you have to design software with security in mind. Windows (however much it tries to be multi-user) is still at it's core, a single-user OS. No amount of add-ons will change that. If they want security, they need to start over from scratch.

      Just like Apple did.

    27. Re:If it was easy-- by Blakey+Rat · · Score: 2, Insightful

      I definitely agree with you. It's a systemic problem, though... Lotus Notes took until version 6.5 to install correctly on multi-user systems. (And their first version was designed for NT3!)

      World of Warcraft, the most popular video game, not only doesn't work correctly in a multi-user setup, they've done half-assed "fixes" to make it kind of work in Vista. (Instead of storing the Plug-Ins folder in a sensible location, they've actually moved *the entire WOW install* to the Users folder. It's ridiculous!)

      So you have a big problem with the second-biggest corporate email system and the biggest video game simply do not get it.

    28. Re:If it was easy-- by Blakey+Rat · · Score: 1

      UAC just enforces the coding guidelines that have been in place since Windows NT3. The only difference between XP and Vista is that, by default, XP will let programs break those guidelines at will and Vista don't. But these guidelines aren't new! They're as old as the OS itself!

      Additionally, the applications that cause UAC now were actually completely broken in the past. Try running any of those applications as a normal user instead of an administrator, they did not work. They were *already broken*. UAC is just telling people "hey this app is broken."

    29. Re:If it was easy-- by onefriedrice · · Score: 1

      Actually, there is a way to make everybody happy. It's not like the problem UAC is trying to solve hasn't already been solved and implemented in other operating systems. Look at Mac OS X and some desktop environments available for Linux/BSD/etc. It will ask you for the administrator password when it needs the permissions.

      The problem with Vista UAC is that it pops up for actions which shouldn't require administrator privileges. The problem with this Windows 7 rundll hole is just that: it's a security hole, granting regular users elevated privileges without authentication. The source of this problem may very well be that a whitelist is actually just a very bad idea, since a flaw in any whitelisted code might be able to give you elevated privileges.

      However, I believe that to the extent that Microsoft is fixing UAC to only come up when actually needed and not actually implementing new security holes, they are on the right track.

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    30. Re:If it was easy-- by Technician · · Score: 1

      but in reality they were simply training people to hold the handle up when they closed the door.

      Actually it trained some to always lock the door with the key. Myself being one. It saved me several times. Those who bypass safety features are often surprised when they get hurt.

      It's like the chime that made noise when the seat belt wasn't fastened. Older cars with just a lap belt (old fart) instead of a shoulder harness didn't have a sensor switch in the buckle, but in the retractor. Many people simply pulled out the belt and sat on it instead of fastening it. Later seat belts were upgraded to require the buckle to be fastened.

      MS is in the learning stages in designing security. I wonder how long they will take to require an administrator login to perform administrator tasks.

      I have 2 logins on my Linux box. One is for everyday use. There are no software install privileges. The other is the administrator account which is used just for software install and configuration, not surfing.

      I laugh at malware sites. When the picture loads, I often get asked where to save the .exe file. Windows users are sitting ducks.

      --
      The truth shall set you free!
    31. Re:If it was easy-- by rantingkitten · · Score: 5, Insightful

      If you ask that on Slashdot, you get either "switch to Linux hur hur" or "they should write a new OS from scratch and run NT in a VM." Neither of those is a realistic option.

      How are these not realistic options? If you had a car that simply broke down every couple of days for no discernable reason, "get a different car" is a perfectly valid and realistic option -- a hell of a lot more reasonable than "continue with the car you have and make mostly random, incremental repairs hoping it'll get better."

      To make things worse, when Microsoft makes UAC comprehensive (like in Vista) people whine that it's too annoying. When they make it looser (like in Windows 7) people whine that the protection on rundll isn't sufficient.

      That's because Windows security is fundamentally flawed from the ground up and bolting on garbage like UAC isn't the answer, nor was it ever. If Microsoft can't get their stuff together, using a different OS is a perfectly reasonable answer.

      --
      mirrorshades radio -- darkwave, industrial, futurepop, ebm.
    32. Re:If it was easy-- by that+this+is+not+und · · Score: 0, Troll

      So what should Microsoft be doing?

      They should shut down all further OS development, and throw all their effort at futher and better service packs for W2K and XP.

      Really, they've done enough, and just need to focus for the rest of their existence on cleaning up the mess and maintenance.

    33. Re:If it was easy-- by Anonymous Coward · · Score: 0

      What bothers me is nobody seems to answer the question: "What *should* they be doing?" in a reasonable manner.

      -Have actual quality standards
      -stop bowing to backwards compatibility; sometimes crap just has to be let go
      -break this insane idea that people ought to be able to use computers without having any clue whatsoever about how they work; this is similar to expecting to be able to hop in a car for the first time in your life and just naturally drive it

      Ok, granted, MS can't do the last one, but they've sure done a lot to propagate it.

    34. Re:If it was easy-- by that+this+is+not+und · · Score: 1

      I want one with 'Godwin's Law only applies to USENET' printed on it. All of the threads Godwin's law apply to are at least 2 or 3 weeks long. More likely months long.

      Are you even old enough to remember the USENET flame culture?

    35. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Apple did it, and people adjusted pretty well.

      I didn't, I actually switched to Windows due in part to the poor quality of the OS X Finder and the removal of backwards-compatibility in OS X. The difference is that Apple, and "reality distortion field" Apple customers, don't give a third of a crap about backwards compatibility.

      Apple realized what MS didn't - that they had a single-user OS, and it was flat-out impossible to turn it into a true multi-user OS without changing everything about it, so they started over from scratch (well, with the help of Darwin) and ran legacy apps in a VM.

      And Microsoft create NT, made it compatible with their older Win32 applications, and released that. Different solution to the same problem.

      It worked very well.

      No it didn't. It killed your laptop battery even when doing absolutely nothing. It only ran maybe 75% of applications, and that's being generous. It killed all features of those applications that interacted with other parts of the system. It "worked" mostly, but "very well?" No.

      Windows (however much it tries to be multi-user) is still at it's core, a single-user OS.

      That's plain wrong. You know nothing about Windows.

      If they want security, they need to start over from scratch.

      They *did* start over from scratch, that's what NT is. The problem is that their developers are still writing software for Windows 98-- UAC is just telling people about the bugs in their existing software, nothing more.

    36. Re:If it was easy-- by Blakey+Rat · · Score: 1

      The problem with Vista UAC is that it pops up for actions which shouldn't require administrator privileges.

      That's because buggy applications are trying to do something that's indistinguishable from a malware attack.

      Normally, you'd consider an application (other than an installer) writing a file to Program Files to be malware. A LOT of Windows applications do this, it's a bug. In Windows XP, those buggy applications (when run as a normal user) would simply crash or give a vague error message. In Vista, Vista will ask you if you want to allow that application to do that operation.

      Vista doesn't know whether or not the operation is dangerous, and there's no way it could know. So it asks for everything.

      The real problem is buggy applications, and that's completely out of Microsoft's hands.

    37. Re:If it was easy-- by Anonymous Coward · · Score: 0

      I think you're missing the point that newcastlejon implied -- that schon misunderstood the mechanism on his Isuzu. Lifting the handle while closing the door wasn't the safety feature but rather the override to the safety feature. The intended safety feature seems to be to get the driver to always use the key to lock the doors from the outside, and lifting the handle is primarily for people who don't have the keys (such as a passenger who was waiting in the car alone and decided to leave) or people who don't want the hassle caused by using the safety feature.

    38. Re:If it was easy-- by Blakey+Rat · · Score: 1

      That's because Windows security is fundamentally flawed from the ground up

      It's the exact same multi-user security model used by Linux and OS X-- how come when Microsoft implements it, it's "fundamentally flawed" but somehow the exact same thing is perfectly fine in other OSes?

    39. Re:If it was easy-- by Anonymous Coward · · Score: 0

      Why should any program both download and run an application?

      Anyway the solution is to break the possible operations down into groups I.e. authorising an application to do X does not mean it can also do Y.

    40. Re:If it was easy-- by thePowerOfGrayskull · · Score: 1

      UAC just enforces the coding guidelines that have been in place since Windows NT3. The only difference between XP and Vista is that, by default, XP will let programs break those guidelines at will and Vista don't. But these guidelines aren't new! They're as old as the OS itself!

      Are you sure about that? The "local settings" region was introduced in Windows 2000 and Window ME. My Documents was introduced in Windows 95-2 . And as I recall, early versions of windows encouraged use of INI files that were stored in the application installation directory itself.

      Reference: Special Folders

    41. Re:If it was easy-- by anagama · · Score: 1

      I didn't, I actually switched to Windows due in part to the ... removal of backwards-compatibility in OS X. The difference is that Apple, and "reality distortion field" Apple customers, don't give a third of a crap about backwards compatibility.

      I don't get this -- you could install OS 9 support as recently as Tiger with Apple's tools and then run your OS 9 compatible apps alongside your OS X apps. OS 9 was introduced on Oct 23, 1999. Leopard (without OS 9 support) was introduced on October 27, 2007. That's 8 years of active support for OS 9, which doesn't really seem all that bad for a consumer machine. Besides, would you really want to run any hardware/software from 1999 except on a nostalgia basis?

      --
      What changed under Obama? Nothing Good
    42. Re:If it was easy-- by rantingkitten · · Score: 2, Interesting

      For one, I don't believe Windows was originally designed to be a multi-user OS, was it? Everything it does that pretends to be has been an afterthought kludge. I honestly don't know if this is the case with NT-based systems so feel free to correct me.

      But let's not pretend that it's the "exact same", either. In 2000 and XP none of it mattered because everyone ran as Administrator and did whatever the hell they wanted, which resulted in just about every Windows machine you'd ever come across being infested with malware and trash. In Vista, UAC hassles people to the point where they either get trained to just click "yes" to everything, or turn it off completely -- and it almost never tells you exactly what it's whining about either. I usually just see some vague message about how "Windows needs your permission to continue! If you started this action, continue. 'File Operation, Microsoft Windows." What the hell does that mean? I know what I'm doing and even I just blindly click "continue" to that because I have no idea what it actually means and I don't really have a choice.

      And that's just one of Microsoft's many problems with security. Here's another. The expected method of installing new software on a Microsoft system is to download an untrusted executable and run it. You have no way of knowing where it's coming from, no means of defeating MITM compromises, and no way of knowing what the installer is really going to do. Windows then happily lets the installer vomit anywhere it wants, make registry changes, dump files into important system folders, and so on.

      In any modern distro, the Linux method is to pull applications from the repositories of whatever package management system that distro uses. MD5 checksums prevent MITM attacks. The code has been examined and vetted by people who know what they're doing, and used by thousands more, so if there was some problem -- and there can be -- it quickly gets noticed, fixed, and pushed out as an update.

      (Yes, yes, on a Unix system you can go get source code and compile and install it yourself, potentially compromising your system, but that takes some know-how and isn't something the average yob is ever going to do. And doing this isn't the expected way of doing things anymore except in very specific, rare circumstances. Anyone doing this is also presumably a bit more knowledgable about what they're doing, as well. The average dope isn't opening a terminal any more than they're using the command shell in Windows; most people don't even know it's there.)

      Meanwhile we're all still waiting around for Microsoft to deal with known security holes; there was an article here on Slashdot yesterday mentioning the zero-day Excel problem, but it also talked about how two other crucial Excel holes, known since last April, are still open and it doesn't look like Microsoft intends to do anything about those. And no one else can do anything about it either since it's a closed-source system. That's just one recent example -- we see articles about major security problems all the time around here.

      This kind of garbage is what I mean by "Microsoft security is flawed from the ground up." Virtually everything it does, or expects a user to do, leaves gaping security holes, and the only way anyone can ever find out about them is by becoming a victim. Then, when enough noise gets made about the problem, Microsoft might, possibly, get off its ass and do something about it, but maybe not, and almost certainly never within a reasonable timeframe.

      UAC was a poorly-implemented band-aid to just one of Microsoft's many, many security problems, all of which are, as I said, from the ground up. Given that I think that using a different OS is a completely realistic and reasonable option. Maybe someday Microsoft will get their act together and release an OS that isn't poisoned by this kind of stupidity, but in the meantime, why stick with them?

      --
      mirrorshades radio -- darkwave, industrial, futurepop, ebm.
    43. Re:If it was easy-- by mathew7 · · Score: 2, Interesting

      Let's not forget WHY UAC was created: normal users (with little or no computer experience) used windows with an admin account (thank you legacy DOS and Microsofts reluctance to break the pattern). So any rogue program could install itself for ALL users.
      MS instead of enforcing limited accounts, they created UAC.
      My opinion: DO NOT USE UAC. EVER. For a computer with only 1 user, CREATE 2 ACCOUNTS, 1 admin and 1 limited. Their reasons (probably): not breaking applications which were created badly in the 1st place (which required admin rights for everyday use).
      I work for a big company (multi-national, 100.000+ employees) and I can tell you: LIMITED ACCOUNTS WORK. You want to install something, either do it only for you (if the installer does not complain), or ASK AN ADMIN. Someone who really knows what is doing.
      I use at home the 2-account setup since over 3 years, and it's great. My only problem is that some installers refuse to run without admin rights.

      I have tried Vista a long time ago and I don't remember what I though about UAC then. But now I've tried Windows 7 and I ended up disabling UAC (I started with 2-account setup form the beginning). My only problem: an explorer window can no longer be started as different user (run as). Although I do get the user/password prompt, it still starts as the logged-on user (defeating the run-as concept). Too bad because almost all control panel items are based on explorer.

    44. Re:If it was easy-- by techno-vampire · · Score: 1
      authorising an application to do X does not mean it can also do Y.

      And at that point, we're right back where we started. I'm sure there's a way to give a program groups of rights (e.g., the right to make modifications to C:/Program Files, the right to make changes to certain parts of the Registry, the right to download programs...) but not full Admin rights. Not being a Vista guru (or user) I don't know how that can be done, but I'd be astonished if there weren't some way to do it.

      --
      Good, inexpensive web hosting
    45. Re:If it was easy-- by junglee_iitk · · Score: 1

      Ok, I will take a bite.

      Problem: Frequent UACs make clicking "Yes" a habit.

      Solution: UACs occur during a number of actions. Thus the solution is to have different UACs have differnt visual cues. From the top of my head, background color and size of the window are two important things.

      Result: Suppose you are in habit of clicking yellow UAC every time you visit a website, and now you are in habit of saying yes to them. Next time you visit an infected website resulting in download of a malware and then its execution - which requires admin priviledges. That requires a red UAC, which you have been trained to press no to. (It is easier than it sounds - a very odd box filled with solid color is easy to recognize.)

      Any comments?

    46. Re:If it was easy-- by anagama · · Score: 1

      No car company can really stop people from locking their keys in their cars without fancy solutions like RFID fingers or Bluetooth or some-such. I don't think the people at Isuzu who designed your car door thought that they could. Instead, they were trying to solve the problem of unintentionally closing the locked door.

      There are other ways to solve that problem which are more effective or less effective. For example, in my old VW Jetta, it is impossible to push the lock plunger down on the driver's door when the door is open, and the door will not open while it is locked. The only way to lock the driver's door is to use the key from the outside (which also operated all the other locks), or reach across from the passenger side and press the lock while the driver's door is closed. I've done that one or two times when I didn't have the key on me, but of course, that left no risk of locking the key in the car. While not impossible, it is as close to impossible to unintentionally lock the keys in the car with this system.

      For the first couple months, it bothered me. Then I simply got used to it and felt happy knowing I would never lock my keys in the car. If Windows users would just get used to some security blocks, they'd ultimately be happier.

      On the other side of the coin, the convenience side, my wife's Honda CRV "conveniently" locks the doors automatically after about five minutes. As a result, it is exceptionally easy to lock the keys in the car -- all you have to do is leave the keys in it and then run inside to grab something you forgot -- a second too long and you suddenly face a huge delay and a locksmith bill. It's the most ridiculous thing I've ever seen. In the name of "ease of use", it creates tremendous user interference on rare but significant occasions.

      --
      What changed under Obama? Nothing Good
    47. Re:If it was easy-- by Hatta · · Score: 1

      So what should Microsoft be doing?

      Dying. And it is!

      --
      Give me Classic Slashdot or give me death!
    48. Re:If it was easy-- by Hatta · · Score: 1

      Why would you use the finder when you have bash?

      --
      Give me Classic Slashdot or give me death!
    49. Re:If it was easy-- by Tony+Hoyle · · Score: 1

      The problem is 'buggy applications are trying to do something that's indistinguishable from a malware attack' are mostly Microsoft applications - Windows Explorer (yes I *do* want to delete files off *my own desktop*), half the apps in the control panel (it should ask *once* when you run the control panel not every time you change a setting). Logging into a wifi network - why is this even privileged?

      I haven't had a lot of problem with 3rd party apps.. it's the builtin OS stuff that's the problem.

    50. Re:If it was easy-- by spitzak · · Score: 1

      Huh? I don't get it, and I don't have a Vista machine to really check this out.

      My impression was that UAC was a way to allow a non-administrator account to do
      things that programs want, so that everybody does not have to be administrator.

      But it sounds instead like "administrator" and "normal" are the same thing now.

      Actually this might make sense if they have to import previous Windows setups where people made all the accounts "administrator". This makes sense. But then they should add an "avoid UAC account" (perhaps called "superuser"?) that does avoid UAC. To prevent the end users making all their accounts be superuser, remove something important from the GUI so they don't want to do it, perhaps the entire start menu and desktop (they can only run file managers, a shell, and the control panels?).

    51. Re:If it was easy-- by spitzak · · Score: 1

      The programs being downloaded and executed do not get the rights so if they try anything they will pop up UAC.

    52. Re:If it was easy-- by Anonymous Coward · · Score: 0

      When he said "as old as the OS itself", I took it to mean NT specifically, since that represented a fundamental break from the attitudes that had prevailed in earlier versions of Windows, as well as a significant technological advance. You're correct that versions of Windows prior to that had been quite broken in one way or another.

    53. Re:If it was easy-- by vux984 · · Score: 3, Insightful

      Thats really the problem with UAC. It comes up so often for no good reason, and gives no information to the user why it even came up.

      Really? I almost never get a UAC prompt I don't expect. I do agree it should explain more about what it is trying to do.

      The only people with the technical skill to make intelligent choices about it don't need it.

      Yes and no. Its true only people with technical skill will know whether the UAC prompt is expected or not. However, when a technical person gets one he doesn't expect, that a sign of well, UN-expected, activity going on. And yes, technical people do need that. If I run something and I don't expect a UAC prompt, and I get one, that's real red flag.

      Of course, the problem in some ways is not even MS's fault. The reality is most Windows programs are doing things that trigger UAC prompts for no good reason. In the linux world, if an text editor or card game or whatever app required you to su every time you ran it, even when it didn't perform any functions that actually needed su level privileges, people would be pissed.

      Precisely. Once the software ecosystem catches up, the only time you will see Vista UAC prompt is when you are installing software, installing hardware, or performaning genuine system admin stuff. Even today, as long as you stick to new "Vista aware software" you really don't see Vista UAC prompts for no reason. None of the software I use requires needless UAC prompts.

      And the majority of UAC prompts I see are the result of auto-updates. And MS should start build a windows update site for 3rd parties and encourage companies to integrate with it. So I can authorize firefox, adobe reader, java updates all with one UAC prompt, instead of a separate one for each application.

      I think everyone agrees, UAC as it stands is a clusterfuck.

      I don't think its a clusterfuck. Its not perfect... I'd like to be able to see device manager without a UAC prompt (and only require one to make a change). I'd like more information on what exactly a program is doing that needs an elevation. But overall, its a very good first effort. MS had a much harder problem to solve than linux... on linux if an app tries to do something its not supposed to the OS just disallows it outright. That's ideal, but its just not an option on Windows... too much legacy stuff would just silently break... UAC's prompt is an acceptable transitional work around. Longer term, I think Windows will be able to move towards a *nix like system, but clearly that's not a jump they could just do all at once.

    54. Re:If it was easy-- by jmorris42 · · Score: 2, Interesting

      > MS is in the learning stages in designing security. I wonder how long they will take
      > to require an administrator login to perform administrator tasks.

      Better question. Will Linux have forgotten by then? The current trend is to have 'admin' users on Linux able to do things with their password instead of root, many even ban root from logging in. The 'sudo for everything' mental disease all in the name of making Linux look like Windows/Mac.

      Sudu is a wonderful tool when used to give occasional and controlled access to normal users. Replacing root with it is misusing an otherwise good tool.

      --
      Democrat delenda est
    55. Re:If it was easy-- by yacc143 · · Score: 1

      Because they allowed (by default setting up admin accounts) for decades users to ignore the security model.

      Furthermore, the security model is quite different, just because of the APIs involved.

      E.g. things that come to mind even with my minimal Win32 knowledge:

      EventLoop/PostMessage => you can make do other programs, no matter what user is running the program do things. (Consider the fact that most Linux systems allow way more innocent messages via X11 still do not run elevated root X11 apps)

      RemoteThread creation. While not a direct security problem, read the MSDN description of TerminateThread, think a moment about it, and weep. That's the mentality of many Win32 APIs.

      Combine that with the "undocumented" behaviour part, and you are in a world of pain. (Linux programs tend to rely on POSIX semantics, or at least defined and documented Linux extensions, not on app developer trying around till they get it to work.)

       

    56. Re:If it was easy-- by Blakey+Rat · · Score: 1

      You don't have to agree with me.

      Two things though:

      1) I do find that most people who say things like that didn't actually *use* Macintosh before OS X, and so they don't have any old software to lose. When you have expensive software that no longer runs, then it's more of a problem.

      2) Classic *sucks.* I can't emphasize this enough. It's not an acceptable level of quality of any product, especially not if that product is the *only* way to achieve backwards compatibility.

    57. Re:If it was easy-- by dzfoo · · Score: 1

      But WinNT 3 came out before Win 3.11, and before Win95; so the point still stands: those "rules" were not in place back then.

                -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    58. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Windows Explorer (yes I *do* want to delete files off *my own desktop*)

      Have you actually *used* Vista? This doesn't happen.

      half the apps in the control panel (it should ask *once* when you run the control panel not every time you change a setting)

      Yes, the ones that are administrative settings require UAC.

      Logging into a wifi network - why is this even privileged?

      It's not. Your copy of Vista is fucked up. Or maybe you're using some shitty-ass third party Wifi connection utility (which falls under "buggy third party applications.") Microsoft's wifi connection app doesn't do a UAC prompt. (Check that: it will if you tell it to auto-connect, then save that connection, because that's a systemwide setting and not a user setting.)

    59. Re:If it was easy-- by TheNetAvenger · · Score: 2, Insightful

      Ok, let's get this one out of the way...

      For one, I don't believe Windows was originally designed to be a multi-user OS, was it? Everything it does that pretends to be has been an afterthought kludge. I honestly don't know if this is the case with NT-based systems so feel free to correct me.

      Wrong. NT was very much designed around a multi-user model, they just did not enable any multi-user interfaces beyond telnet. The same multi-user NT level separation and code running today was in the first NT release.

      3rd parties were providing multi-user on NT back in 1992-1993 when it first shipped.

      NT 4.0 added in RDP, but the multi-user model and concurrent multi-user access was already there, it was just the GUI protocol added.

      But let's not pretend that it's the "exact same", either. In 2000 and XP none of it mattered because everyone ran as Administrator and did whatever the hell they wanted, which resulted in just about every Windows machine you'd ever come across being infested with malware and trash. In Vista, UAC hassles people to the point where they either get trained to just click "yes" to everything

      Not exactly... MS screwed up with XP, as NT users including Win2K users usually business or professional users in a work environment and people didn't run as Administrator anymore than they ran as root on a *nix.

      Along comes XP that is a replacement to the Win9X line of OS that had NO CONCEPT of security as they were a closed consumer level OS as most home users were not part of a network, let alone the Internet when Win9X was designed.

      XP is where MS made a fatal mistake. They had two choices - break Win9X Win32 applications, or relax NT security and also run standard users as Administrator by default.

      This was bad for several reasons.

      1) Developers that had no concept of security, were not forced to update their software to do Security API checks, so even more years of bad software.

      2) Users got 'use' to a everything runs at admin level and running as a 'power user' and elevating with "Run As..." was never needed, so users were never shoved down the path to understanding security.

      3) It left holes open in XP that cause a lot of the security backlash XP took up until around SP2. And is why people today thing Windows or NT are poor at security.

      Expanding on #3, this is where it gets interesting. NT itself and even the Win32 subsystem running on NT have a lot of security. In fact NT's security model was and probably still is more advanced than most *nix OSes.

      When you see NT security at work, you see even low level kernel call obtaining a security token and having a full object based security model for every process, message, call, etc.

      At kernel level NT does more security control than people realize, and then when you add in NTFS and ACLs and the 'object' nature of the NT messaging system, it is quite an expansive security model and there is NOTHING wrong with it.

      This is why when people yell for MS to re-write NT, they have no idea what they are talking about. Even Win32 is not bad when it comes to security and it is not even the final say on security on NT, as it is just an OS client subsystem running on the NT kernel.

      So move ahead from XP to Vista. Users are NOT use to dealing with elevating, have no concept of it, and developers still aren't writing software properly with security API checks or even keeping their hands off of OS level areas.

      This makes the UAC in Vista a bitch for Microsoft, as they have to now balance several more years of poorly written applications that have no idea of NT security, and they also have to deal with users that never had to use "Run As..." or be forced to elevate no matter what they were doing.

      This pissed off stupid developers as they now thing Vista is breaking their horrid software, it is also pissing off the users of that software.

      And the UAC is pissing off users because they are not use to dealing with security themselves. And strangely, even t

    60. Re:If it was easy-- by Blakey+Rat · · Score: 1

      WinNT != Win32

      "My Documents" was introduced in Windows 95, for Win32. WinNT has always had user-specific document folders.

      The point is that developers are still writing applications for Windows 95. They need to get it into their thick skulls that NT has different rules, that NT has always had different rules, and that consumers have been running NT and NT only for ALMOST A DECADE.

      And as I recall, early versions of windows encouraged use of INI files that were stored in the application installation directory itself.

      Only pre-Windows 95 versions. Which means Microsoft's been telling developers to not use INI files for 15 years now.

    61. Re:If it was easy-- by camcorder · · Score: 1

      Source of problem that make people use admin accounts without apparent reason is design fault of MS. So first thing they should is to change this design make it similar to how things done in unix way or if they can make it better. Second, they *should* broke backward compatibility. Whoever says that MS doesn't do that, they lie. They are breaking backward compatibility on lots of their applications feature-wise. They could do that for Vista. They could broke the backward compatibility and add helper tools to their development platform so that new binaries using Vista-specific apis could be released by vendors easily. Sky would not fall if they did that. Neither their market share would shrink. They knew it.

      One reason they don't do that they don't care. They want Windows to be broken that way. That's another exploitation of their market power. They want people to get infected with viruses, malware etc. in order to increase market around prevention of these tools. They basically try to extend economy around their product. As a result of that they don't spend engineer time to re-design their OS.

      Or maybe their engineers are incompetent. That's all.

    62. Re:If it was easy-- by Blakey+Rat · · Score: 1

      For one, I don't believe Windows was originally designed to be a multi-user OS, was it? Everything it does that pretends to be has been an afterthought kludge. I honestly don't know if this is the case with NT-based systems so feel free to correct me.

      It's not. Windows NT was designed with good security (in fact better security than Linux at the time) from day one.

      But let's not pretend that it's the "exact same", either. In 2000 and XP none of it mattered because everyone ran as Administrator and did whatever the hell they wanted, which resulted in just about every Windows machine you'd ever come across being infested with malware and trash.

      Yes, but why did they run as administrator? Microsoft shipped the OS to run as administrator by default, because their *buggy* Windows 98 applications* simply did not work correctly. Given the choice between people saying (wrongly) "Windows 2000 can't run any applications!!!" and lower security, Microsoft went the lower security route. Note that this is a "damned if you do, damned if you don't" situation-- either way, Microsoft gets years of bad PR because of buggy third party applications.

      * And yes, if you have a correctly-written Windows 98 application, it won't trigger UAC prompts even if it's never been modified for 2000, XP, or Vista. Even Windows 98 had guidelines on which areas of the filesystem and registry programs are allowed to store files in.

      In Vista, UAC hassles people to the point where they either get trained to just click "yes" to everything, or turn it off completely -- and it almost never tells you exactly what it's whining about either.

      Well, that's perhaps a valid complaint. Although I think saying "the application is trying to write a registry key to HKLM/Software" would be even more confusing, and that's what 90% of those UAC prompts would say.

      And frankly, unless you have a good understanding of why NT is designed the way it is, bring up a UAC prompt like: "this program is attempting to write into the Program Files folder" would just result in most users saying, "so what!?" The layman doesn't understand the security model, nor should they be expected to to use their computer, and messages like that would just make Microsoft sound stupid to them.

      The expected method of installing new software on a Microsoft system is to download an untrusted executable and run it. You have no way of knowing where it's coming from, no means of defeating MITM compromises, and no way of knowing what the installer is really going to do.

      Windows has file signing, and your other complaints are addressed by using .MSI installer packages. The problem is that Microsoft can't disable non-MSI installers, because they'd start screaming monopoly.

      Windows then happily lets the installer vomit anywhere it wants, make registry changes, dump files into important system folders, and so on.

      Yeah, but it asks your permission first. That's about all it can do, realistically.

      The code has been examined and vetted by people who know what they're doing, and used by thousands more, so if there was some problem -- and there can be -- it quickly gets noticed, fixed, and pushed out as an update.

      I don't have much faith in the "many eyes" concept to improve security, personally. I understand the theory, but it seems that Firefox has just as many security problems as any other (closed source) application.

      As for MITM attacks, you actually check the MD5 checksums? I sure as hell never do-- I'd love to see statistics on how many people actually do that. My guess is that it's less than 1% of downloaders.

      Meanwhile we're all still waiting around for Microsoft to deal with known security holes; there was an article here on Slashdot yesterday mentioning the zero-day Excel problem, but it also talked about how two other crucial Excel holes, known since last April, are still open and it doesn't look like Microsoft intends to do anything about those. And no one

    63. Re:If it was easy-- by lordtoran · · Score: 1

      Three words: You nailed it.

      --
      Want to hear the voice of GOD? cat /boot/vmlinuz > /dev/dsp
    64. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Possibility, but an application like iTunes adding a RUN key in the registry would look the same as the InfectR.exe virus adding a RUN key. It's definitely not a bad idea.

    65. Re:If it was easy-- by glitch23 · · Score: 2, Interesting

      Of course, the problem in some ways is not even MS's fault. The reality is most Windows programs are doing things that trigger UAC prompts for no good reason. In the linux world, if an text editor or card game or whatever app required you to su every time you ran it, even when it didn't perform any functions that actually needed su level privileges, people would be pissed.

      5 years ago I implemented a Windows system for a gov't agency which required to have the typical auditing capabilities of the OS turned on. So I turned on success and failure auditing for object access. I quickly found out that this generated way too much (useless) information. I turned off success audits but still got a ton of audit data. The problem was that many applications (even Microsoft apps) were trying to access registry keys and files with privileges higher than they really needed and were generating failure audits but the ACLs were still allowing the operations to succeed. Up until a few months ago I thought this was the nature of the Windows environment but found out while deploying some RHEL blades that even Linux applications do the same thing of trying to access files with more privileges than needed. Simple auditing provided me that information.

      Point being that even in the Linux world there are apps that try to do more than they should. Luckily this is still hidden from the user but if something like UAC was ever implemented (incorrectly?) in Linux then users would see the same thing as what is happening in Windows. As it stands, in audit records both OSes have the same problem of generating too many false positives. UAC just makes it worse for users of Windows.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    66. Re:If it was easy-- by Blakey+Rat · · Score: 1

      If program A is running as admin and it starts program B, program B is also running as admin. (The started runs under the same user account as the starter.)

      That's the way NT is designed, and changing that would break thousands of applications/system features/etc. It's not a realistic solution, if you're proposing changing that fundamental feature.

    67. Re:If it was easy-- by Arslan+ibn+Da'ud · · Score: 1

      If you ask that on Slashdot, you get either "switch to Linux hur hur" or "they should write a new OS from scratch and run NT in a VM." Neither of those is a realistic option. The second is (slightly) more realistic, but it would be a decade of work even assuming MS started this minute.

      Oh pish-tosh. Show of hands...how many people have a Windows VM up and running? Wow. MS doesn't even have to do anything...Dell or some other OEM could bundle machines with Linux, VirtualBox, and a Windows VM with snapshot facilities. And not even tell people there's Linux under the hood. And in case you get pwned, just revert back to a clean snapshot (like the one provided out of the box).

      The only parts that would take a decade is to get graphics working (eg games). and 'weird' hardware (that has no Linux or Mac ports).

      Of course, virtualization would commodatize Windows, which would interfere with MS's business model. So I don't think they're too eager to go that route.

      So I guess that answer is not realistic for MS anyway. After 5 years, I believe MS *is* doing everything it can (w/o saccrificing its business model). If they haven't fixed things, maybe they *can't*.

      --

      Practice Kind Randomness and Beautiful Acts of Nonsense.

    68. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Whether they *should* or not is immaterial. The fact is that they *do*, and they have to run under newer versions of Windows.

    69. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Source of problem that make people use admin accounts without apparent reason is design fault of MS. So first thing they should is to change this design make it similar to how things done in unix way or if they can make it better.

      Except Vista and Windows 7 *don't* make Admin accounts by default. And that's what we're talking about. Microsoft already does things the "Unix way", the problem is that their third-party developers don't.

      Second, they *should* broke backward compatibility. Whoever says that MS doesn't do that, they lie. They are breaking backward compatibility on lots of their applications feature-wise.

      Nobody is saying their record of backwards compatibility is flawless. But you have to admit it orders of magnitude beyond that of Linux or OS X. (Hell, I don't think Apple even pretends to care about compatibility at this point.)

      They could broke the backward compatibility and add helper tools to their development platform so that new binaries using Vista-specific apis could be released by vendors easily.

      Their development platform actually does things correct by default. The problem isn't new applications that people are starting right now, but applications that have been around for decades.

      One reason they don't do that they don't care. They want Windows to be broken that way. That's another exploitation of their market power. They want people to get infected with viruses, malware etc. in order to increase market around prevention of these tools. They basically try to extend economy around their product. As a result of that they don't spend engineer time to re-design their OS.

      Oh yes, it has to be a conspiracy theory. Better put on your tinfoil hat.

    70. Re:If it was easy-- by Arslan+ibn+Da'ud · · Score: 1

      Why not? Apple did it, and people adjusted pretty well.

      Some did. Others didn't.

      In the 90's, Photoshop was a Mac product...many people bought Macs to run Photoshop. When Apple switched to OSX, Adobe took what...three years to port Photoshop? Today it does run on OSX, but most users run it on Windows. Apple's switch to OSX cost them a big killer app.

      Can you understand why MS doesn't want to go that route?

      --

      Practice Kind Randomness and Beautiful Acts of Nonsense.

    71. Re:If it was easy-- by Anonymous Coward · · Score: 0

      Given the fabulously intricate NT security model ... why did they invent API calls to let you inject and run random code into any other process owned by the same user? WHAT FUNCTION DOES THIS SERVE? Good Lord.

    72. Re:If it was easy-- by nog_lorp · · Score: 1

      Applications run under administrator accounts are only run with user privileges, unless you "run as administrator" explicitly or allow the escalation via UAC. Basically, they handled the every-is-admin situation by making the default privileges for a program lower than the user account's.

    73. Re:If it was easy-- by Atlantis-Rising · · Score: 1

      World of Warcraft's failure, of course, is that it's idiotic Warden protection system would be totally useless unless it could supervise the entire system. If it was actually limited to only doing its own thing in its own area, it would be pointless.

      --
      "It is possible to commit no errors and still lose. That is not a weakness. That is life." -Peak Performance
    74. Re:If it was easy-- by Nick+Ives · · Score: 1

      I never see UAC whilst browsing the web. Why would you?

      --
      Nick
    75. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Maybe that's so, but that's no excuse for the half-assery of installing software into the Users folder.

    76. Re:If it was easy-- by Anonymous Coward · · Score: 1, Interesting

      Microsoft has published application guidelines since 1993 that state these very things. In order for a software application to become Windows Logo certified it has to demonstrate that it can run appropriately under a standard User account which has no ability to write to either location and that it can degrade gracefully (or, in the case of Vista, elevate appropriately) if the application has a genuine reason to perform an administrative task.

    77. Re:If it was easy-- by nog_lorp · · Score: 2, Informative

      Microsoft's behavior with Excel reflects their general behavior. They have taken YEARS to patch bugs like the CSRSS backspace exploit (unprivileged bug causing complete crash of system).

    78. Re:If it was easy-- by Nick+Ives · · Score: 1

      For one, I don't believe Windows was originally designed to be a multi-user OS, was it? Everything it does that pretends to be has been an afterthought kludge. I honestly don't know if this is the case with NT-based systems so feel free to correct me.

      Rest of your comment was tl;dr btw, so I'm only replying to this.

      NT is multi-user from the ground up. The problem is that a lot of Windows software can trace its heritage to back when Windows was single user and so expects to be able to do all sorts of privileged things, like write to the Program Files directory.

      MS needs to stand firm on the security improvements in Vista. Application writers need to stop assuming they can do privileged things. You should get a UAC prompt when you install and that should be the end of it, in that regard MS could streamline the install process so that the cases where you get multiple UAC prompts (e.g. UAC for install, UAC afterwards to confirm the app can listen on a port, etc) are handled more gracefully.

      --
      Nick
    79. Re:If it was easy-- by nog_lorp · · Score: 1

      I feel like average users should be made more aware of autoruns that are present. Perhaps a display at login saying "There are n process scheduled to run at startup. Click for details...". The dialog within could be covered with warning about breaking software, but I've heard enough whining about not being able to remove Norton, and things like that, that I think everyday users could benefit.

    80. Re:If it was easy-- by tkinnun0 · · Score: 1

      How could they do it? O, perhaps they should design a system for granting priveledge escelation.

      But that's what UAC does. The program that requested the priviledges is allowed to continue without them.

    81. Re:If it was easy-- by Vainglorious+Coward · · Score: 2, Informative

      The current trend is to have 'admin' users on Linux able to do things with their password instead of root, many even ban root from logging in. The 'sudo for everything' mental disease all in the name of making Linux look like Windows/Mac

      The main reason for requiring admins to use sudo is accountability - all actions can be properly logged and audited. That's not possible if you allow admins to su to root or login as root. In any environment of any consequence that has multiple admins with (possibly individually varying levels of) root privileges, using sudo is the sensible and secure way to do it.

      --
      My next sig will be ready soon, but subscribers can beat the rush
    82. Re:If it was easy-- by Ihmhi · · Score: 1

      That's why I prefer the cars where the driver's side door will only lock if you actually put in the key and lock it. Otherwise it's never locked.

      Some modern cars do this as well, but you have to have the remote or lock it manually. Either way, if your keys are in the car, you can't lock it up.

    83. Re:If it was easy-- by rantingkitten · · Score: 1

      Yes, but why did they run as administrator? Microsoft shipped the OS to run as administrator by default, because their *buggy* Windows 98 applications* simply did not work correctly.

      Fine, but why is that the case for MS and not for anyone else? Could it be, perhaps, that it's because Microsoft never really had or enforced any standards about how development should be done, where things should be written, and so on? Why does one installer want to create C:\ATI\Drivers while another dumps everything into the main Program Files folder, for example?

      And frankly, unless you have a good understanding of why NT is designed the way it is, bring up a UAC prompt like: "this program is attempting to write into the Program Files folder" would just result in most users saying, "so what!?"

      Agreed but that's half the problem, isn't it? The users who are savvy enough to understand how things work probably aren't putting their machines at risk. The users who need to be warned every five seconds don't understand the fuss. If the user is incapable of understanding security problems then why is it helpful for them to authorize this kind of thing? Might as well just not ask them at all, since they're not going to understand. Meanwhile, the Microsoft approach puts clued people at a disadvantage -- I could probably understand most of what UAC is whinging about if it told me, but it doesn't, so I'm at the same level as everyone else, blindly clicking "Continue" because I have no information.

      Yeah, but it asks your permission first [before allowing installers to vomit everywhere].

      Realistically there should be standards about what is allowed to put things where. See above. I can't think of a program that needs to touch the root of C: but half of them want to, and Windows lets them. It also lets them install useless systray garbage to hog memory, cruft up the Start menu with a dozen worthless entries, and so on. UAC asking if I want to install something does not address this problem. I want it to install -- that doesn't mean I want it to go Pompeii all over my system.

      I don't have much faith in the "many eyes" concept to improve security, personally. I understand the theory, but it seems that Firefox has just as many security problems as any other (closed source) application.

      Firefox is a fortress compared to IE, but then let's look at some other applications. Apache versus IIS? Apache has known flaws, it's true -- but despite being a much larger target it suffers substantially fewer breakins compared to IIS, simply because IIS is an insecure pile of garbage and there's nothing you or I or anyone else but Microsoft can do about it. And Microsoft only wants to do something about it after enough people have had an issue and start making noise -- and then they might get off their asses and do something, but they might not. When they do it's usually after several weeks of protesting that it isn't really a problem at all.

      If I have a problem with an open source application I have options -- I could fix it myself, I could hire someone to fix it, I could submit a bug report to the package maintainers, etcetera. None of these are options with Microsoft. If it's broken, that's it, too bad. Wait until we release a patch, if we ever do.

      As for MITM attacks, you actually check the MD5 checksums?

      No, I never do either. But the option is there if I wanted to, you see the difference? The package manager alone does a pretty good job of this anyway, so no user intervention is required unless you're really paranoid.

      Ok, but we're talking about Windows, not Excel. That's a completely different product team.

      Understood, but it's extremely representative of Microsoft's attitude towards supporting their products. Problems are brought to their attention -- usually things that should have been caught in QA in the first place -- and they sit on their thumb

      --
      mirrorshades radio -- darkwave, industrial, futurepop, ebm.
    84. Re:If it was easy-- by Anonymous Coward · · Score: 0

      Except that 90% of the games I want to play run on Windows.

    85. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Fine, but why is that the case for MS and not for anyone else? Could it be, perhaps, that it's because Microsoft never really had or enforced any standards about how development should be done, where things should be written, and so on? Why does one installer want to create C:\ATI\Drivers while another dumps everything into the main Program Files folder, for example?

      What's the alternative? Microsoft blacklists applications? In your example, both installers are wrong. Microsoft has its own installer system which works fine, but what can they do if developers don't use it? Nothing.

      The only real alternative would be for Microsoft to have implemented something like UAC years and years ago, but then we'd have the exact same thing we have now, just ... years and years ago.

      If the user is incapable of understanding security problems then why is it helpful for them to authorize this kind of thing? Might as well just not ask them at all, since they're not going to understand.

      Well, yes, but that's true of every security system ever.

      Untrue. Off the top of my head I remember reading about that Debian ssh flaw (which, incidentally, had been fixed and pushed to the repositories by the time I even saw it on slashdot) and that Intel driver a while ago that crashed a bunch of beta Ubuntu installs.

      And off the top of my head, I remember an article yesterday saying Firefox had more security bugs than IE, Opera, and Safari combined. Here it is: http://news.cnet.com/8301-1009_3-10190206-83.html?tag=newsEditorsPicksArea.0 This being Slashdot, now you're obligated to tell me in all the ways that article is flawed, because surely it can't be true! Gasp!

      We're talking about an OS where viewing certain websites can lead to arbitrary code execution, and where even reading certain types of emails can be an issue.

      We're also talking about an OS with hundreds of millions of uneducated users who hit "Accept" "Install" to every piece of malware they see. That's a unique situation with Windows, so I don't see statistics on the amount of malware for it being relevant to that for any other OS.

      But from the ground up it's lightyears ahead of anything Microsoft has ever done, or likely will ever do.

      Except for NT had more, finer grained, and better, security controls than Linux for a decade. If you're going to compare a Workstation/Server OS like Linux with Windows, you have to compare to the Workstation/Server version of Windows... and NT's security model compares very favorably with Linux in that arena. It's only in the last few years that Linux has been treated like a desktop system.

      Yes. UAC was years in the making and was a hilariously poor attempt at making something that pretended to increase security.

      Which brings up my original point, what *should* have they done instead? You've offered no answers, just gripes.

    86. Re:If it was easy-- by ozphx · · Score: 1

      You try to do something that requires admin privs. If you are an admin (which is kinda analogous to 'wheel'), you have to elevate the process performing the action. You get a "Cancel/Allow" in the secure desktop. No password needed.

      If you are a normal user you get the "Cancel/Allow with a login box, and you can pick an admin account to elevate that process to.

      --
      3laws: No freebies, no backsies, GTFO.
    87. Re:If it was easy-- by Blakey+Rat · · Score: 1

      That's how you did software plug-ins before computers had enough RAM to justify putting your own LUA/JS/VB/Whatever interpreter in every process. Remember, Windows is an OLD OS, there's a lot of cruft.

    88. Re:If it was easy-- by SleepingWaterBear · · Score: 1

      Well, Microsoft has a couple options, but clearly making a system with the half the inconvenience of the Vista UAC and none of the security is a bad choice.

      The problem for Microsoft is backwards compatibility. If they want old programs to run natively in Windows 7, that pretty much makes security completely impossible. To support all the old programs, you also have to support all the old security holes that lazy programmers used.

      So, Microsoft could just go back to the XP model, and abandon security altogether, or they could abandon backwards compatibility and build a secure system from scratch. There aren't any other options that I can think of. It may be the case that starting from scratch, and using some sort of seamless virtualization for old programs is the only way for Windows to achieve both security and backwards compatibility. With the power of modern computers, this isn't that far fetched a solution.

      I know I'm just repeating what you think are unrealistic solutions, but that's because there aren't any more realistic solutions. Microsoft has backed itself into a corner, and its going to have to do something pretty dramatic if it wants to stay competetive.

    89. Re:If it was easy-- by ConceptJunkie · · Score: 1

      Windows Explorer (yes I *do* want to delete files off *my own desktop*)

      Have you actually *used* Vista? This doesn't happen.

      Gee, that's funny. I *have* used Vista and it did it for me. It would pop up multiple times if I so much as renamed an icon on the desktop.
      Thanks, Microsoft. You saved the world from a botnet attack because I wanted to rename something on my desktop.

      Microsoft has gone past the incompetence part for me, I think malice is the only explanation for them now.

      --
      You are in a maze of twisty little passages, all alike.
    90. Re:If it was easy-- by spitzak · · Score: 1

      I believe that is true of Unix as well. However I think both systems have a way for program A to run program B *without* the privledges. If it does not do that, it is program A's fault.

    91. Re:If it was easy-- by Anonymous Coward · · Score: 0

      You said it, they should switch to Linux

    92. Re:If it was easy-- by IntlHarvester · · Score: 1

      Why not? Apple did it, and people adjusted pretty well.

      Most Mac users seem blissfully unaware that Classic was a gigantic security hole. The entire thing ran as suid root and could read/write anywhere on the hard drive.

      Even if Classic was a reasonable way to move users to a new OS, as long as it existed OS X had all the same security issues as OS 9. In the context of discussing UAC, Apple's approach is irrelevant.

      --
      Business. Numbers. Money. People. Computer World.
    93. Re:If it was easy-- by Anonymous Coward · · Score: 0

      You are mentally ill.

      The icon on the desktop UAC thing was typical slashdot troll shit from a Vista beta. It never happened to you, and if you think it did, see a doctor.

    94. Re:If it was easy-- by IntlHarvester · · Score: 1

      You are still operating under the old assumption that malware intends to be destructive. The malware industry survives on spam and stealing credit card numbers and so on.

      Putting Windows into a VM doesn't solve any of these problems.

      --
      Business. Numbers. Money. People. Computer World.
    95. Re:If it was easy-- by jamesh · · Score: 1

      You couldn't just carelessly close the door, you had to actively hold the handle up.

      That's a very good analogy of why UAC just doesn't work they way they think it does. Just like you get in the habit of always closing the car door with the handle up, you also get in the habit of just clicking 'allow' without thinking about why you are clicking it. It trains users to ignore warning messages.

      My first car was a 1963 Morris 850 (mini), and could only be locked from the outside (either by design, or just because it was 30 years old when I got it). Less convenient, but I never ever locked my keys in it.

    96. Re:If it was easy-- by Billly+Gates · · Score: 1

      This is usefull for those with kids.

      My kids are 8 and 10 and they go on an old laptop to play flash games and watch youtube videos.

      Whenver something pops up they always click ok and then wonder why the computer is slow. Computer is full of viruses click for Antivirus 2009? Wow daddy said viruses are bad I better click this ... etc.

      As a result the system is sloowww and the restore cd is long gone and its impossible to get rid of anti virus 2009 ... not to be confused with Nortan Anti virus 2008.

      Anyway with UAC on my vista desktop my kids stop and ask me to click ok or cancel. In essence it works.

      Why basu UAC if Ubuntu and MacOSX have Sudo?

    97. Re:If it was easy-- by dbIII · · Score: 1

      Nice car analogy!

      I think we need a Brittany Spears underwear analogy.

      Windows security is like the underwear of Brittany Spears. Even when it is there it is needlessly complicated, doesn't cover much and is easily removed.

    98. Re:If it was easy-- by dbIII · · Score: 1

      In fact NT's security model was and probably still is more advanced than most *nix OSes.

      Oh yes - the stupid F* choice to make it so that even "Administrator" can be locked out of files such as the ones put on there by malware. Some "advances" are a step backwards and have led to the current situation of millions of compromised machines around the globe - the stuff of bad and unlikely SF became reality due to a serious of incredibly stupid choices about where and when to apply the "security model".

    99. Re:If it was easy-- by dbIII · · Score: 1

      It's not. Windows NT was designed with good security (in fact better security than Linux at the time) from day one.

      Now where did this myth come from? Linux came with the *nix security model from the outset. It now can also have ACL style security if you really want it, just like NT, but it's not "better" (as you can see from millions of 0wned machines) it's different. IMHO the NT security model of letting people grant permissons all over the place and even lock Admin users out is bloody stupid. You really need to see both methods to do a comparision - and spreading myths like the above is very annoying for those of us that work on both systems and have to argue with accountants over paying for antivirus software etc.

    100. Re:If it was easy-- by dbIII · · Score: 1

      Except for NT had more, finer grained, and better, security controls than Linux for a decade

      Are you arguing that NT is a direct descendant of VMS and are saying that security of VMS in 1981 was better than security of linux in 1991? It's a pretty weird line of argument to take, but not as strange as the utter bullshit of claiming that linux and *nix security in general was no good until 2003.

      Please get off my lawn and go play with knoppix or something to get some idea of what everyone else is talking about. Better still, learn a bit about MS Windows at the same time and you won't get insulted by annoying people that actually have a clue about the subject matter and have nothing better to do on a Sunday arvo.

    101. Re:If it was easy-- by shutdown+-p+now · · Score: 1

      Apple realized what MS didn't - that they had a single-user OS, and it was flat-out impossible to turn it into a true multi-user OS without changing everything about it, so they started over from scratch

      Microsoft did the same a long, long time ago - the single-user OS they had was 9x, and they've replaced it with multi-user NT eventually.

    102. Re:If it was easy-- by Anonymous Coward · · Score: 0

      You're at least in the minority in using MS trash if we're talking about intelligent people. No one intelligent uses MS anymore.

    103. Re:If it was easy-- by cerberusss · · Score: 1

      Thats really the problem with UAC. It comes up so often for no good reason

      That's simply not true. It comes up in the following instances: (copy/paste from Wikipedia)

              * Changes to system-wide settings or to files in %SystemRoot% or %ProgramFiles%
              * Installing and uninstalling applications
              * Installing device drivers
              * Installing ActiveX controls
              * Changing settings for Windows Firewall
              * Changing UAC settings
              * Configuring Windows Update
              * Adding or removing user accounts
              * Changing a userâ(TM)s account type
              * Configuring Parental Controls
              * Running Task Scheduler
              * Restoring backed-up system files
              * Viewing or changing another user's folders and files

      --
      8 of 13 people found this answer helpful. Did you?
    104. Re:If it was easy-- by rsmith-mac · · Score: 1

      I personally would like to see default accounts on Vista and Win7 back like the WinNT3.x-5.0 days where users ran as power users and the UAC when it does pop up, needs the password, instead of just a click.

      Microsoft did consider this. The issue is that passwords are a greater risk for social engineering purposes. If you fake a click prompt, the worst the user can do is click on something. If you fake a password prompt, now you can trick the user in to giving up their password, the password that many of them tend to use everywhere else too. Now I'm not sure this is a good enough reason to justify using click prompts, but it's what made MS go the direction they did.

    105. Re:If it was easy-- by xigxag · · Score: 1

      One of the problems with UAC (in Vista) is the way it shuts your system down cold. If you're running a video or playing a game, and another program triggers the UAC, then your game or video will stop until you deal with the UAC. That's annoying. Just block the install until I get around to it, don't block everything and force me to cater to the computer's needs. The other thing is that a program should have a way of identifying itself to Windows as an install. And you should be able to "allow" the entire install at one go, not get annoyed for each .exe that gets called up during the process.

      --
      There are two kinds of people: 1) those who start arrays with one and 1) those who start them with zero.
    106. Re:If it was easy-- by Anonymous Coward · · Score: 0

      while deploying some RHEL blades that even Linux applications do the same thing of trying to access files with more privileges than needed.

      I call BS. Were you using Selinux for your auditing? Could it be that the Selinux profiles were just not complete?

      You would also need to define "more privileges than needed": clearly if the app tries to access a file, its developer thought it "needed" that file. As a systems administrator, you are free to disagree and modify the profile accordingly but then you should not complain about audit violations.

      Also, many programs will try to access a file just to determine its presence (/etc/environment, /etc/profile, ~/.profile) and will handle a deny the same way as ENOEXIST.

      So to conclude, examples or it didn't happen. Did you file bugs?

    107. Re:If it was easy-- by junglee_iitk · · Score: 1

      That really is a problem with iTunes!
      You do run setup.exe with admin priviledges already! If iTunes cannot install with admin privildeges, it should inform the user how to run as admin.

      Not to mention that iTunes should rather add a shortcut to Startup folder than adding a RUN key in the registry.

      Really! Right now my Startup folder is empty while GoogleTalk, Skype, Freecall, GoogleUpdate - they all are in registry! This is not a problem with Windows, it is a problem with software developers using "rehash the old code" mantra.

    108. Re:If it was easy-- by Anonymous Coward · · Score: 0

      That's a nice and informed post. I'm inclined to believe most of what you write about the NT security model, but I don't see how you can go from:

      Also Win7 and Vists should have also forced users that the default accounts were not even administrator

      and:

      I personally would like to see default accounts on Vista and Win7 [..] as power users

      to:

      Microsoft is really trying hard.

      Because having a non-administrator account by default is the very first step to making the OS more secure.

      They have a application compatibility layer for badly written application that the OS works around with regard to security or having to virtualize the applications actions

      And guess what... that compatibility layer still needs administrator privileges to run!

      The next version of Windows will probably put the final NT security enforcement locks on applications that XP removed and UAC serves to bridge.

      Then only when the next version of Windows comes along will I start re-evaluating my OS of choice and stop recommending people to switch off of Windows.

      Yes MS could rewrite NT, but it is not the problem. MS could virtualize NT, but again, this is not the problem

      Indeed. I'd say that the problem is MS' overhead departments (management and marketing). When will they start rewriting that?

      I tend to agree with most of your post, and it is a problem, but there are not easy solutions with human nature and people still running applications written in 1990.

      That's a non-argument. The only reason why people need to run 1990's software on 2010's OS is because MS has pulled the rug under those old systems: no support and no source code available.

      MS is trying to balance the tight rope and no matter what they do they will either piss off dumb developers, users, or security freaks like myself that want things locked down tight.

      They put themselves on that tightrope by being afraid of changes that might cost them users. The irony is, they still need that change, as you mentioned. If they had made the better engineering choice when they introduced XP, they might have pissed off users and developers but would have maintained most of their marketshare. But now, Linux-based OS's are already making inroads into their marketshare, so if they make the switch now they stand to lose much more than they would have 10 years ago.

      And hey everyone out there running a copy of Windows, stop running as administrator.

      I will, as soon as the installer lets me create a non-administrator account.

      This is how NT was designed to be run, not the bastard model XP created

      You do realize that you're blaming the user for MS' design failure here?

    109. Re:If it was easy-- by WNight · · Score: 1

      No, seriously. This isn't as some Slashdot geek, this is as a user.

      Why does program X need to violate normal security principles? Imagine hiring an employee whose skills you need but who informs you that he'll only work for you if you can install binaries on your servers - which you are legally forbidden to inspect. It sounds silly there...

      I'd rather my OS vendor took a tough pro-user stance. Not to mention Apple in a positive light, but by recompiling their libraries to break code which static linked to them they prevented a whole class of bugs that Microsoft eventually just had to upgrade to features.

    110. Re:If it was easy-- by Anonymous Coward · · Score: 0

      Lol! Most linux distros do not have any UAC-like shit, and still we see no malware for them. Still wait till this crap called MS Windows finally perishes.

    111. Re:If it was easy-- by Anonymous Coward · · Score: 0

      Give me an operating system as useful as Windows and with better security and I'll switch in a heartbeat. No, I'm not willing to pay way more for overpriced hardware with an apple logo on it.

      See the problem? For most people, that OS is pure utopia, it just doesn't exist. And that's why telling people to switch operating systems is a moronic, useless answer.

    112. Re:If it was easy-- by multi+io · · Score: 1

      According to the MSDN, the respective API calls have been introduces in Windows 2000. So it's not *that* old I figure.

    113. Re:If it was easy-- by Anonymous Coward · · Score: 0

      the reason you need to hold the handle is because of the sind ir someone bumping into the door could otherwise lock your keys in.

    114. Re:If it was easy-- by multi+io · · Score: 1

      Ok, let's get this one out of the way...

      For one, I don't believe Windows was originally designed to be a multi-user OS, was it? Everything it does that pretends to be has been an afterthought kludge. I honestly don't know if this is the case with NT-based systems so feel free to correct me.

      Wrong. NT was very much designed around a multi-user model, they just did not enable any multi-user interfaces beyond telnet. The same multi-user NT level separation and code running today was in the first NT release.

      3rd parties were providing multi-user on NT back in 1992-1993 when it first shipped.

      NT 4.0 added in RDP, but the multi-user model and concurrent multi-user access was already there, it was just the GUI protocol added.

      Wrong -- they didn't just have to introduce the RDP protocol, they had to change the kernel to support multiple Windows sessions on the server side (the terminal services). The Win32 subsystem only supports one interactive user at a time, so the kernel had to be modified to run several such subsystems at a time. in contrast to that, "Since UNIX was developed from the beginning as a multi-user system, it has been optimized to run multiple sessions on a single server.". Straight from the horse's mouth.

    115. Re:If it was easy-- by AmiMoJo · · Score: 1

      Thats really the problem with UAC. It comes up so often for no good reason, and gives no information to the user why it even came up.

      Actually, that's a problem with the software making it come up.

      Okay, it could give you more info (although I'm not sure how useful "Program setup.exe wants to register filetype .xyz with Windows" would be to Joe Bloggs) but the real problem here is that so much software things nothing of shitting out icons on your desktop, adding a few startup programs and hooking in to Explorer at every opportunity. Sony thought it would be okay to rootkit your PC, and the nasty DRM and copy-protection a lot of other stuff installs isn't far off.

      Linux and MacOS don't seem to offer any more information either - just a prompt for the root password with no explanation of why it is needed.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    116. Re:If it was easy-- by Geoffrey.landis · · Score: 1

      p>Are you even old enough to remember the USENET flame culture?

      I'm old enough to miss it!

      --
      http://www.geoffreylandis.com
    117. Re:If it was easy-- by AmiMoJo · · Score: 1

      Vista is actually half way to running NT in a VM, or at least the older parts of it. There is a virtualised filesystem and registry for programs which are not aware of the (much more secure, much cleaner) Vista way of doing things.

      Windows 7 should really have tried to ditch all that legacy and just keep the new stuff. Force programs to behave. Of course, they won't because backwards compatibility is far too important, but all the time they want to keep old software written in the days when everyone was running as root and you could just do pretty much anything you liked they are going to have this problem.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    118. Re:If it was easy-- by mathew7 · · Score: 1

      Right.... But I still don't like it this way. I also would like a "continue with limited" or "simulate success" option besides allow (continue as admin) and cancel (interrupt the action completely). I already sent a feedback to MS.

      Nevertheless, UAC is a priviledge lowering concept, not a priviledge elevation. So while you log-in with admin, there will be always be a way to go around.
      In security you need to start each program with "presume guilty", not "innocent until proven guilty" (as UAC does).
      Even 2 bugs rated "not important/low risk" may open a door for someone that can exploit them both at once.
      Definition of catastrophe: 2 or more mistakes made at the same time. UAC is just one waiting to happen. It's mistake: overconfidence that UAC will show you everything. Reality: I already seen news that some ways were found to go around UAC.

      MS should have made the default installation to create 2 accounts and forget everything about UAC. Even ubuntu's way of installing is safer: no root password, but every app that requires admin priviledges HAS to be executed under sudo or gksudo. Any other way is controlled by package creators/maintainers which are recommended to use app-specific groups and not root account/group, hence a bug would affect only that functionality, not the whole system.

      I'm really puzzled: in all these years MS tried to copy many competitors and broke several applications with a new version, but this time they opted to this UAC concept which keeps several bad-behaving apps working instead of copying su/sudo-concept (ok... su concept is already implemented as run-as).

      PS: I think UAC is created as a "trigger" to certain events. So what happens if MS missed a spot?

    119. Re:If it was easy-- by mathew7 · · Score: 1

      Of course, the problem in some ways is not even MS's fault. The reality is most Windows programs are doing things that trigger UAC prompts for no good reason. In the linux world, if an text editor or card game or whatever app required you to su every time you ran it, even when it didn't perform any functions that actually needed su level privileges, people would be pissed. But there's a lot of Windows apps that need to run as admin, even when their primary function has no need for admin level privileges. Their coders were just lazy, and instead of doing things following MS's guidelines, they take shortcuts that lead to big headaches for everyone down the line.

      But you foget one thing: if MS would have forced Joe Average to use a limited account, programmers would not have the option to take those shortcuts.
      The big mistake from MS was that when they replaced Win9x with 2000/XP, they DID NOT change the install steps and the original "workstation" installation was assumed where an admin installs the OS and then he creates user accounts. This is something that Joe Average never does for his home system. And the systems that are "bitten" by malware are mostly this kind of systems.
      So if MS will not break this pattern, they WILL suffer in OS department. In 5 years or 10, they will. My personal reasons to still stay with Windows are (in this order) games, Total Commander and "defragmenting". And the games are starting to fade in my view.

    120. Re:If it was easy-- by mathew7 · · Score: 1

      What bothers me is nobody seems to answer the question: "What *should* they be doing?" in a reasonable manner.

      Valid point. Here is my summary:
      1.Change the installation steps to create limited users, not admin users by default.
      2.Improve run-as functionality.
      Currently, I have the following problems:
              XP: run-as by defaults selects "restricted priviledges". You need 2 down-arrows to select "the following user" which by default is "Administrator", so I need the 3rd down-arrow to choose my admin account.
              Vista: shows only user/password boxes (good) but an user-selection list would be nice (like XP).
              Windows 7 public beta: same as Vista, except that for some reason explorer.exe WILL NOT RUN as another user (extremely annoying).

      Currently in XP you have "run-as" on almost all applications. In Vista and W7 beta you have "Run as Administrator" which start UAC and you need to shift+right-click to see "run-as". This is also the case of XP control panel items.
      Also, as I recall, in Vista if you disable UAC the "Run as administrator" dissappears. In W7 it remains but does nothing (again annoying).

      And realted to explorer.exe, you need to set "Launch folder windows in a separate process" for both, the current user and admin user, otherwise you will only get the logged-in user priviledges. But for some reason, this does not seem to work in Windows 7 beta.

    121. Re:If it was easy-- by mathew7 · · Score: 1

      so that even "Administrator" can be locked out of files such as the ones put on there by malware

      But HOW did that file got there? Because it was written by a process that ran with admin rights. And having those rights, it could make it be executed BEFORE an admin user has manual control EVERY TIME (even safe mode).
      I feel a "dog chasing it's tail" situation? Trust me, I can have many ideas to return to the "default user is an admin" whipping.
      I already said: 2K/XP/Vista/7 installations all assume that someone installs the system AND MANUALLY CREATES LIMITES USER ACCOUNTS. THIS DOES NOT HAPPEN IN HOME ENVIROMENTS. This is what they have to change. And I also vote to eliminate UAC totally.

    122. Re:If it was easy-- by argiedot · · Score: 1

      Isn't gksu very similar to UAC? You can use it to elevate permissions to root. You can use it to run as a different user. It even makes a dialog box that demands attention just like UAC.

    123. Re:If it was easy-- by argiedot · · Score: 1

      The OP is probably putting files in folders in C:/ instead of C:/Users/Username/. I like the way it is in Vista, I even removed the Computer shortcut and made one to point to my Home directory. It's very convenient. There's a nice separation between programs and my data.

    124. Re:If it was easy-- by ozphx · · Score: 1

      Nevertheless, UAC is a priviledge lowering concept, not a priviledge elevation.

      I understand what you are getting at here - but its really no different to being a member of wheel and being able to sudo without a password.

      As a logged in member of the Administrators group your processes are not running with superuser privileges. Elevation must be approved using the UAC prompts.

      There are new API calls to allow applications to request elevation in a controlled fashion, and to handle refusal gracefully.

      Theres also a bunch of heuristics to detect whether an application "really" needs elevation: An example is "CrapPad.exe" writing its config to its bin directory (resulting in a non-elevated virtualized write) vs "Setup.exe" writing to program files. These heuristics cause UAC to be triggered automatically - and can sometimes cause a bit of butthurt. If MS (or the developer) misses a spot, then your app will fail with permission denied.

      The ways around UAC that I've seen publicized are more general trust-domain issues (ie: the rundll32 exploit).

      The process elevation is an old part of 2000 era NT - called restricted tokens. Google for UAC and the CreateRestrictedToken API calls.

      --
      3laws: No freebies, no backsies, GTFO.
    125. Re:If it was easy-- by Nick+Ives · · Score: 1

      No. When I'm using Windows I've got automatic updates turned on.

      If MS were to release something I wanted via WU (unlikely as I only reboot into Windows for gaming) when that falls squarely into the "installing an application" category anyway and you'd expect a UAC prompt for that, just like an update in Linux asks me for my password so it can use sudo. WU hardly counts as using the web, it's a system update tool.

      --
      Nick
    126. Re:If it was easy-- by mathew7 · · Score: 1

      I understand what you are getting at here - but its really no different to being a member of wheel and being able to sudo without a password.

      Yes, you are right. However, is there any distribution that does this from installation? So if this is done, it was done by the user.

      As a logged in member of the Administrators group your processes are not running with superuser privileges. Elevation must be approved using the UAC prompts.

      As I understood, one of Windows 7 public beta bugs is that UAC could be turned off "without UAC prompt". That means after the restart and login with same user all applications start as administrators, not restricted admin. This is a perfect timing for a malware which previously put itself to start just for that user. After the restart, it can put itself for all users.
      Don't get me wrong, I may like the idea of changing priviledges during runtime, but I'm totally against the idea of regular-no-computer-knowledge-users having to just click "ok" on an administrative prompt.
      MS should really enforce limited user accounts. Who knows how many bugs could appear in UAC? In security, it is good to be paranoid.

    127. Re:If it was easy-- by junglee_iitk · · Score: 1

      It was just an example!

    128. Re:If it was easy-- by Anonymous Coward · · Score: 0

      I don't understand why UAC is such a big issue for some folks to deal with. Both OS X and Linux have a similar mechanism that requires the user to *gasp* type his/her password before installing a program or changing system settings. At least UAC only makes the user click a button.

    129. Re:If it was easy-- by Anonymous Coward · · Score: 0

      Recently, in my dept., we had our second major virus/worm outbreak associated with Windows. It was one that could not be detected using our (very decent) company wide anti-virus solution. (There was direct vendor involvement to generate files to detect it & remove it.) The virus installed a key-logger and was sending encrypted packets to a server in Asia. Many CPU's within our department were infected, and probably had been for > 3 months.

      I don't know what Microsoft should do, but after this last outbreak I bit the bullet and began to use Linux as my only computing solution. If I need Windows again, I'll create an ISO and use virtualization to access it, but I definitely won't use it for bank transactions or such again.

    130. Re:If it was easy-- by cbiltcliffe · · Score: 1

      The original Mini did this a lot better. If you locked the door from the switch inside, then closed it, it would unlock. The only way to lock the door from the outside was with the key.

      It was impossible to lock your keys in, because you needed them to lock the door from the outside.

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    131. Re:If it was easy-- by Blakey+Rat · · Score: 1

      Well, Windows has the Run As... server, which can probably be used to do this. The problem is, then Microsoft would have to trust the application developer to implement that, and they already know that their application developers don't follow Microsoft's instructions.

    132. Re:If it was easy-- by Blakey+Rat · · Score: 1

      That's a feature to prevent malware from programmatically pressing the "Allow" button. Windows XP had that problem with the signed drivers warning: nasty drivers that were unsigned could programmatically press the "Allow" button and install themselves without the user seeing the warning. With UAC, the prompt actually appears on an entirely different desktop, one that all of your running applications don't have access to send events to, making it secure.

      This all goes back to: what would you have done? How would you solve the problems of programs being able to hit "Allow" for their own malware-esque actions?

    133. Re:If it was easy-- by Blakey+Rat · · Score: 1

      My point is that you can't have UAC "classify" actions by their threat level, because Windows has no idea what the intent of the action is.

      My example is perhaps bad, because you're probably right that iTunes does that at install time and thus doesn't require a separate UAC prompt for it. But don't focus on the *example*, focus on the *point* I'm trying to make.

    134. Re:If it was easy-- by Blakey+Rat · · Score: 1

      You're describing UAC. When a program decides it wants to violate normal security principles, UAC pops up and asks you to either let it, or deny it.

      Are you just saying that UAC should always deny by default?

    135. Re:If it was easy-- by junglee_iitk · · Score: 1

      You do make a good point. But I am not asking UAC to classify actions by threat level. Just classify different actions.

      The gist of my suggestion is that the problem with UAC is not exactly "too many of them", but "occur at unexpected points". If I am installing a program, I totally expect a UAC. When a malware is covertly being installed, I am not. User CAN be trained for recognizing this difference. UAC fails not because you are installing too many softwares, but because too many things need priviledge elevation while the user thinks they shouldn't.

      But, yes, I see a big problem now. UAC knows one and only one thing: elevating priviledges. So, it cannot classify.

      I suggest a bigger overhaul. Elevating priviledges shouldn't be necessary. Common actions (editing registry/creating new directory in install folder/... - they ARE very common) should have APIs to do so. Using such an API will automatically prompt for your password. *Then* you can have different boxes for different APIs. In this way, a user will be trained to mark "yes" to only a small subset of actions, without affecting other actions.

      PS: I am not a windows developer so I don't know if it is already the case.

    136. Re:If it was easy-- by assassinator42 · · Score: 1

      First, it could be more like sudo. Include a command to launch a process with elevated privileges from the command line. Don't reprompt if it's been a short while since the user last successfully granted elevation.
      Secondly, whitelist control panel applets, but don't mess it up like they did with Windows 7. Give the processes high integrity so normal processes can't modify them in any way and put them on the secure desktop or something similar to prevent any input from a normal process. Or does this already happen with higher integrity processes, as it really should?

    137. Re:If it was easy-- by daveime · · Score: 1

      Yes, finally, they are starting to "get it" ...

      I was able to move documents, images, videos etc from my C: drive to my monster E: drive, separating programs from data.

      But why couldn't they just have allowed us to move "a whole user", or even "all users" to a different directory, instead of having to do each directory individually ? It's about 13 individual moves per user right now, and although it takes time, it IS worth it.

    138. Re:If it was easy-- by daveime · · Score: 1

      Yes, what a GOOD idea ... let's start with the malware writers who found the exploit to get around UAC in the first place ?

      I'm SURE they'll be happy to follow good programming practice, if only we educate them.

      We're talking about exploits here, the people who write these are NOT going to respect UAC, or the proper locations for installing things. Their whole raison d'ete is getting AROUND these things.

    139. Re:If it was easy-- by ConceptJunkie · · Score: 1

      I see. So I should believe an anonymous rude person on the Internet as opposed to my own eyes. You have an odd idea of what constitutes mental illness.

      --
      You are in a maze of twisty little passages, all alike.
    140. Re:If it was easy-- by glitch23 · · Score: 1

      I call BS. Were you using Selinux for your auditing? Could it be that the Selinux profiles were just not complete?

      No I wasn't using SELinux for my auditing. I was using the RHEL auditd subsystem. SELinux was actually disabled by the way. Quit making (incorrect) assumptions about my environment just because you don't believe me.

      You would also need to define "more privileges than needed": clearly if the app tries to access a file, its developer thought it "needed" that file.

      I can't define "more privileges than needed" because I didn't write down what they were. I just saw a lot of audit messages showing many processes were being denied what they were trying to do. It is even worse in Windows because in addition to file system access there is also access to the registry which is required by 99.999% of apps. As the parent said, many Windows apps are written so that the app must run as administrator but that is usually not actually required. A few years ago I found out that Rational's Requisite Pro had to run as a user with at least Power User privileges. The question I had was why? It could have been worse by them requiring the user being an administrator but power user was bad enough. If a company requires an app to need more than basic user rights then they should document why so that (informed members of) the public can complain when the company's justifications don't sound right.

      And if you think that the developer always does things correctly then maybe you can explain why even built-in Windows binaries generate failure audits when accessing objects? This behavior shows that developers are lazy. Why pick apart what security rights a program needs in a Windows environment so that it only executes with the privileges it needs when it is cheaper and faster to require the app run as a user with administrative rights? Microsoft should either restrict the privileges with which binaries request to do operations or they should be able to modify the permissions on files and registry values so that the failure audits do not even appear. The fact they do is ridiculous.

      So to conclude, examples or it didn't happen. Did you file bugs?

      It isn't my responsiblity to prove my statements to you. If you don't believe me then it isn't my problem. If you doubt me then you prove it for yourself. I have better things to do with my time. Given that my experiences occurred at work I can't give you examples anyway. And no, I didn't file bugs. As you said, the developer must know more than me so they can't be bugs given that logic. Nothing to file.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    141. Re:If it was easy-- by xigxag · · Score: 1

      Thanks. I realize the rationale but I still think there must be a better way to implement it. Basically I hate modal dialog boxes with a passion. :)

      --
      There are two kinds of people: 1) those who start arrays with one and 1) those who start them with zero.
    142. Re:If it was easy-- by WNight · · Score: 1

      No, I'm saying Microsoft should have taken steps to get software for their platform to conform to a useful standard early on. It was easier for Microsoft to complacently sit by and let developers install program files everywhere and write to any area of the registry, etc. They wanted non-stop development, quantity over quality, and they got it.

      Similarly, they could have tried to help users by cleaning up the minefield of EULAs and such. Instead they embraced this anti-user attitude. They could have tried to get rid of things like Flash which violate any sane security model, but instead they try to create their own versions.

      Instead of actually trying to produce a product that a new user could safely attach to the internet and browse with they've taken the same old rust-bucket and slapped UAC onto it. Whenever anything happens they can blame the user.

    143. Re:If it was easy-- by ozphx · · Score: 1

      However, is there any distribution that does this from installation?

      I'm not sure - I thought this was standard linux behaviour, but I'm not really a unix guy.

      As I understood, one of Windows 7 public beta bugs is that UAC could be turned off "without UAC prompt".

      To be fair, this is not a bug in UAC. Its a bug in the default permissions - allowing non-administrators to change whether UAC is enabled (probably bad ACLs on a registry key - well if you consider don't consider config permissions part of UAC - but you see what I'm getting at).

      This is a good example of the trust domain issues - and running as a user does not fix this. If a privileged process accepts instructions from just about anyone - then your install is boned. This is why IIS and SQL Server both extensively use the CreateRestrictedToken API - to make sure their code is running with the minimum permissions necessary.

      I'm a little uncomfortable about the single-click too. Fact is though that users will jump though as many hoops as you want to be able to see cats-in-hats. Hell they even try to click through virus checker messages that say "This program WILL steal your credit card infos" :(

      When it comes down to it, users are too stupid to understand the complexity of the tool they are using. So we can try and hide it - but they'll still hammer away with a silly monkey-grin on their faces - and even if we take their damn admin rights away they'll be demanding we install "LOLCat Viewer with The Sub Seven Trojan" until they're blue in the face :(

      --
      3laws: No freebies, no backsies, GTFO.
    144. Re:If it was easy-- by mathew7 · · Score: 1

      To be fair, this is not a bug in UAC. Its a bug in the default permissions - allowing non-administrators to change whether UAC is enabled (probably bad ACLs on a registry key - well if you consider don't consider config permissions part of UAC - but you see what I'm getting at).

      Yes, it is a bug in UAC "package" ....but who can say there are no more bugs in the same manner? Making workarouns for workarounds is a bad idea. Sometimes you just have to change things. Keep it simple. The more complex a code is, the more bugs it can have. Also with every fix a new bug can arrive.

      If a privileged process accepts instructions from just about anyone - then your install is boned.

      But UAC does run with admin priviledges if the account is admin.

      When it comes down to it, users are too stupid to understand the complexity of the tool they are using. So we can try and hide it - but they'll still hammer away with a silly monkey-grin on their faces - and even if we take their damn admin rights away they'll be demanding we install "LOLCat Viewer with The Sub Seven Trojan" until they're blue in the face

      So let them be blue in the face. Explain them what can happen. Make them sign that "responsability" clause. The idea is that they need to be informed. My opinion: in 90% of the cases they will abandon the idea. And that would be enough for malware programmers to stop trying this kind of social engineering. Even if they have the admin password, just by having to type it in will alert them more. Users are "trained" to click "ok" in web pages, but not to type passwords in them.

      joke:And even if they insist, at least you can tell them "I told you so" when they do get in trouble. /joke

      My point is that for an admin account UAC is useless. They should just create limited users by default and not expect someone to create them manually (as the initial point of the "professional" editions, before scrapping 9x). Also they should not allow admin accounts with no password or auto-login (maybe with a limited nr. of resets).

    145. Re:If it was easy-- by ozphx · · Score: 1

      Yes, it is a bug in UAC "package" ....but who can say there are no more bugs in the same manner?

      Yeah, it is. That said the extra attack surface exposed by the addition of UAC is much much smaller than the attack surface without it.

      Users will find having to authenticate as a seperate user clumsy - I know I would. The password is probably a greater deterrant, I agree. However it wouldnt take more than a couple of elevations before the user is trained to just bang the root password in :(

      I'm all for UAC. It provides the protection of SU, but its convenient. Saying that MS shouldn't implement it is like saying that linux shouldn't have su/sudo for the same reasons "What if theres bugs in it?".

      Apart from that badly permissioned config in a beta (which is fixed) any other "bugs" I've seen reported are as-designed - basically approving a (usually overcomplicated) UAC bypass system by using UAC, and then grandstanding on a blog about it :P

      --
      3laws: No freebies, no backsies, GTFO.
    146. Re:If it was easy-- by TheNetAvenger · · Score: 1

      Given the fabulously intricate NT security model ... why did they invent API calls to let you inject and run random code into any other process owned by the same user? WHAT FUNCTION DOES THIS SERVE? Good Lord.

      Ok, not sure how to handle this, if you are serious.

      1) Do you think Windows is the only OS that you can access non-owned threads/processes? You need to look at every OS out there I'm afraid.

      2) The specific 'subclassing' APIs you are talking about are actually Win32, NOT NT. Win32 is just an OS subsystem running on NT.

      3) As for low level protections, when MS did introduced 'protected' pipelines in Vista, Slashdot users thought it was DRM and went nuts.

      When it was just what you are talking about 'processes/thread' protected from other processes/threads even with the same security. And like I mention above, they are actually more protected under NT than most other OSes.

      4) Even the realtime prioritization schedulers were shoved through protected pipelines for security and performance, so that media on Vista was more BeOS like, and again SlashDot users thought it was DRM and screamed.

    147. Re:If it was easy-- by TheNetAvenger · · Score: 1

      Oh yes - the stupid F* choice to make it so that even "Administrator" can be locked out of files such as the ones put on there by malware.

      Actually, no...

      1) If you boot into the WinPE with Admin rights, you can access and delete anything off the volume.

      2) If the file 'locks' itself when the OS loads, the Administrator can't override a system level 'lock' 'easily' anymore than a root user could on Linux, you have to resort to a terminate level command, and taskmanager doesn't just offer this up, so people like apparently never looked any further.

      There are 'ways' to use your administrator rights and 'unlock' malware files. Tools you can get in the resource kit do just fine with dumping any locks and gaining control of anything, even on a 'normal' boot where the malware tries to add additional FS and other 'tricks' to lock the file or process.

      Truly, resource kit, whitepapers or anything beyond TaskManager would give you these answers.

    148. Re:If it was easy-- by TheNetAvenger · · Score: 1

      I'm glad you put time in your response, but there is so much factually wrong with your points that I just don't have the time to properly address them.

      Let me just say, your post is really flawed in that you seem to find it strange that I blame MS for the security problems of the past few years.

      I am not a MS employee or advocate, just someone that deals with NT a bit more than most Slashdotters.

      MS did screw up with XP - users and compatibility should have been secondary to security, no matter if they did a more *nix like UAC back then or just let things break.

      Oh and PS...
      I will, as soon as the installer lets me create a non-administrator account.

      Really, you want to install an OS with no root/admin level account at all? How do you suggest you would even install an application?

      Administrator is not an automatic account like root anymore, it is the user's Administrator account created at installation that is the semi-root equivalent.

      You see having all installations with Administrator as the login name is a security hole, as hackers only have to snatch the password, just like USERNAME: root is a security flaw, because you can shove passwords at or even look for root logins if you are hacking the system to obtain the root password.

      Give me 30mins and a Van outside your office and I will show you how I can tag what the root access to your systems (unless your computers are highly shielded, and I doubt it unless you work at the FBI). With Windows, it is not as easy, as there is not one account you are looking for, and have to guess which one has 'admin' level access.

      The default account should be the admin/root with a password, and then the 'installing administrator' should create the non-administrator accounts for the users. This is pretty basic stuff, even if you are setting up your computer for a grandmother.

      Also, there is no reason not to do this when Windows also gives you several options for account levels, from non-static content accounts to guest shared users, to average users, to power users, and to Administrators.

    149. Re:If it was easy-- by schon · · Score: 1

      And Microsoft create NT, made it compatible with their older Win32 applications

      Which is why it's still (at it's core) a single-user OS. It was supposed to be multi-user, but they threw all that away to achieve compatablity with win32.

      Different solution to the same problem.

      Umm, no. If you throw everything away, it's not a solution. NT is still (at it's core) a single-user OS. Regardless of the multi-user features they've tried to tack on, the security model is single-user. So it's not a solution.

      That's plain wrong. You know nothing about Windows.

      Wow, your astonishing logic has convinced me!

      Windows is single-user. It was designed as a single-user OS. It's security model is single-user. It's file-locking is single-user. It is a single-user OS. As I said (and you didn't deny) security must be designed into a system. You cannot bolt it on after the fact. Security is a requirement for a multi-user system, NT didn't have it (due to integrated support for win32), therefore NT is single-user.

      They *did* start over from scratch, that's what NT is.

      No. It's what NT was supposed to be. However, they threw that away when they integrated Win32 compatability. The proof of this is as follows:

      The problem is that their developers are still writing software for Windows 98

      If they had *really* started over from scratch, then this wouldn't matter.

      UAC is just telling people about the bugs in their existing software, nothing more.

      This is absolutely laughable. Win98 compatabilty is supported by Vista, so therefore the bug is in Vista itself.

    150. Re:If it was easy-- by dbIII · · Score: 1
      Of course there are many little tricks using various security holes - but how is that someting to praise the security model for? The largest problems I have had with the model itself is users that lock everyone else (including Administrator) out of network shares by accident and users granting global access to files that they are really not the owner of by a more traditional security model.

      The major problem however is the inconsistancy of how it is applied and the vast number of privelege escalation problems that render it entirely irrelevant when some malware exploits one.

      Also irrelevant is mucking about with arcane poorly documented tools (when not even chkdsk has the docs for the right version in the recovery console) on machines where just about anything could have been modified. The best MS Windows security is to have a lot of backups and easy access to read only install media. When some random user decides they are going to pirate DVDs at work and download something dodgy to do it the inconsistant way the security model is applied leads to an owned machine. Remember Active-X is part of the MS Windows "security model" now, and even early NT was needlessly complex, confusing and counterproductive as you'll see before your eyes with userids before the GUI refreshes them into usernames.

      I only look after MS windows machines because they are such time eating monsters to keep running that anyone working with computers eventaully gets drafted in to help. They are hobby systems that you have to pay for.

    151. Re:If it was easy-- by mathew7 · · Score: 1

      Please stop comparing su/sudo to UAC. Compare su to the old run-as and sudo has no equivalence in windows. Besides, those are very simple programs compared to UAC. And they did have bugs at the beginning. And you still can leave you system open to attacks with them. But they are safer if Joe Average installs a distribution and just uses it.
      My problem with UAC is that it still does not stop the admin account from being used all the time. This still leaves lazy (or beginner) programmers in a position to NOT update their programs. And they even can instruct their customers to disable UAC and still use the admin account.
      And popping-up mid-runtime is not always a good idea. Someone already gave an example that it can appear during a fullscreen game session and it had no relevance to the game. I may accept the idea of popping-up to a foreground application, but if I'm gaming and suddenly yahoo messenger wants to update itself I would get angry very fast.

      That's it...no more comments from me. I just wanted to highlight that windows installer still is targeted at knowledgeable people and not Joe Average and that is where MS should make changes. Most infected computers are those running default configurations (pre-SP2 XP most likely).

    152. Re:If it was easy-- by ozphx · · Score: 1

      Im comparing su and UAC (which is basically consent.exe) because they are indeed very simple (bear with me) and similar programs. All consent.exe does is take a password/approval click, and then elevate a particular process to maximal permissions for the user. Not much difference there.

      The only complexity introduced by UAC is MS compromising a good idea with backwards compatibility. In Windows 8 UAC will work like so: "All programs will be started with a restricted token. Programs must trigger elevation using the API, or face the usual permission denied errors." Nothing different to "You must remember to su to run this (but better usability)".

      Popping up mid-runtime, popping up on the wrong programs, popping up far too late in a wizard, having a "UAC disabled" mode - its all shit aimed at backwards compatibility triggering it. If that wasnt there it would all be peachy - read the MS dev guidelines, or look at the built in Vista apps that play nicely with UAC.

      Popping up for an updater when you are gaming is just bad damn practice for an updater anyway.. ffs.. the example is not even relevant, or UAC specific.

      Theres no damn reason why I need a seperate account to "administer" my computer. The problem is one of restricting when my programs use my full permission set - something that UAC does well. Something, again, that the .Net verification/permission framework does on an even finer grained level.

      Having to run the process as "root" is a dodgy hack - a workaround for a very coarse permissioning setup. In the ideal world - and we arent there yet - different processes will have a subset of permissions granted (see the CLR, clickonce, zones & signing), and be maximally restricted (CLR again - also IE8 sandboxing "secure mode" and Google's Chrome).

      Joe Average should get something like the Clickonce dialog. By default programs can run without any approval IIRC are able to use limited isolated storage, a single form, and can chat back to the originating web server over WCF. Any more needs permissions...

      I'm not knocking the unixy way of thinking - just that trust and permissioning has come a long way since user/group/global rwx - and if it wasnt for backcompatibility, things would look a lot nicer to techies.

      --
      3laws: No freebies, no backsies, GTFO.
    153. Re:If it was easy-- by omfglearntoplay · · Score: 1

      I hate UAC with a passion. It's like this... you learn to walk after years of growing and the one common thing throughout your walking days at 2 years old and walking days at 30 years old is that you pick up one foot and move it in front of the other, set it down, repeat. It's effortless after you learn how to do it.

      Compare the windows or similar GUI experience. You click or double click on something, and voila you get what you asked for.

      Putting in UAC into Windows is like putting tiny little hurdles in front of every flipping step you take when you walk so that you have to concentrate on stepping rather than the rest of your life. It throws off your rhythm, and makes you unlearn everything you learned before... and slows you down.

      The passion that people hate UAC with far outweighs any benefit 5% of the population gets 5% of the time. I'm sorry.

  2. ..bungle, bungle.... by gadget+junkie · · Score: 5, Insightful

    I still think that Microsoft will have a very hard time prying customers away from the fiercer of its competitors: WIN XP.

    In all the financial institutions I work with, or know, WIN XP is the validated standard, and as far as I know no one takes the XP "expiry date" seriously, so no plan B is in place.

    This is still in Microsoft favour, since no one is actively pursuing things like ubuntu/open office or such, but it's anyone's guess how long this state of grace will go on; after all, many applications work in terminal emulation, which is an ancient technology by any standard; why use Vista of Windows 7 for that?

    --
    "If a boss demands loyalty, give him integrity. But if he demands integrity, give him loyalty." (John Boyd, 1927-1997)
    1. Re:..bungle, bungle.... by myxiplx · · Score: 3, Insightful

      Yup, Microsoft have a real fight on their hands retiring XP. I think Windows 7 is a huge improvement over Vista, I really like the thought that's gone into the new task bar (and can name probably a dozen users at our company who will benefit as they never did grasp the difference between a button to launch a program, and one to switch to the existing copy).

      The new drive encryption stuff sounds promising too, as does AppLocker (provided you don't look too hard at it...).

      But then I found that we don't get drive encryption without the full blown enterprise product, and associated subscription costs. AppLocker sounds painfully hard to implement, and while the task bar is nice, it's not really £50+ per user nice. So even though I think they're finally getting things right with Windows 7, I still can't see any good reason for us to upgrade. So far there's absolutely nothing that we can't achieve with XP.

      And that's the crux of the problem: This is a business decision, it's straightforward cost/benefit analysis. Right now I can't see any benefit that even comes close to justifying the cost of the upgrade.

    2. Re:..bungle, bungle.... by Anonymous Coward · · Score: 0

      NEVER upgrade. Retire the old system when it dies (or becomes obsolete) and get the latest OS when you buy a new computer.

    3. Re:..bungle, bungle.... by Anonymous Coward · · Score: 3, Informative

      He's talking about use in a business. They're not going to have a deifferent OS on every desktop. They either keep buying XP with each new PC or they upgrade all existing PCs.

    4. Re:..bungle, bungle.... by Anonymous Coward · · Score: 0

      Reread the word NEVER.

    5. Re:..bungle, bungle.... by maird · · Score: 1

      For many companies getting "the latest OS when you buy a new computer" _is_ an OS upgrade. I used to work at a very large accountancy firm. They had a standard "load-set". Every new PC that came in the door got the load-set installed on it. I'm sure that's still true there. For many companies with lots of cubicles occupied by people all doing the same job I'm sure there is a pre-built load-set deployed on every PC when it arrives and before an employee gets it. Microsoft will have a hard time denying suport to lots of companies with tens of thousands of XP seats they don't want to...let's call it "replace with the latest OS".

    6. Re:..bungle, bungle.... by flyingfsck · · Score: 1

      Some very large government departments are only now switching from Win2000 to WinXP.

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    7. Re:..bungle, bungle.... by geckipede · · Score: 1

      Maybe Microsoft should sell UAC as part of a security bundle aimed at XP business users. It would piss off several firewall makers but that would be a small price to pay to be able to get more money from ancient XP licenses.

    8. Re:..bungle, bungle.... by mysticgoat · · Score: 1

      Running WinXP applications under WINE under a Linux distro, and running a WinXP image as a VM under Linux are both becoming increasingly useful options. In business applications there are no significant penalties and the level of security is much higher. The cost of recovery from the various misadventures that business workstations are prone to get into is very much reduced.

      I think more than a few businesses will be looking at this approach: Continue with the tried and true processes they have developed under WinXP but run the software within a Linux wrapper.

    9. Re:..bungle, bungle.... by myxiplx · · Score: 3, Insightful

      Go google Winternals Protection Manager sometime. That *was* UAC (and then some) for Windows XP.

      Strangely enough, a couple of months after it launched, Microsoft bought the company producing it, and promptly buried the product. After all, you can't have good security getting in the way of Vista sales.

      That's yet another example of Microsoft making my life harder, and putting marketing ahead of good tech. I might be a Windows admin, and I've been running, supporting and recommending Microsoft products for a while, but I am *not* impressed with Microsoft these days.

    10. Re:..bungle, bungle.... by Anonymous Coward · · Score: 0

      My company uses multiple OSes. XP, Vista, there are even a scattering of Windows 7 Betas so we can be ready when we have to move to it. Different jobs require different tools. In this case, we have to be using whatever the client for a given project does.

    11. Re:..bungle, bungle.... by Anonymous Coward · · Score: 0

      He's talking about use in a business. They're not going to have a different OS on every desktop.

      That depends on the business. :(

  3. Futurama Analogy by nurhussein · · Score: 3, Funny

    Microsoft's approach to security is like putting too much air into a balloon! And when exploiters find a way around their measures, it's like.. a balloon, and... something bad happens!

    1. Re:Futurama Analogy by troll8901 · · Score: 1

      it's like.. a balloon, and... something bad happens!

      It floats on water. More air = easier to float. What's wrong? :)

  4. Good thing it's a beta by Nimey · · Score: 4, Insightful

    Aren't you glad this was caught in testing? Yeah, I am too.

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
    1. Re:Good thing it's a beta by rsmith-mac · · Score: 5, Insightful

      Unfortunately it's not a bug, or even a design flaw. Microsoft's in the position of trying to placate as many customers as they can. They tried doing security the "correct" way with Vista, only for the loudmouths of the world to run around telling everyone else that Vista sucked because they kept getting "those damned prompts." Hell, Apple even got in on the action and made TV advertisements about it lambasting Microsoft for doing security right*. So Microsoft does something about it: they scale back the security and scale up the convenience.

      Now Peter makes a good point in the article that Microsoft should have stuck to their guns, and I agree with him. Users won't do the right thing unless it's also the easy thing, so now and then you're going to have to club them over the head and make them do the right thing anyhow. But if Microsoft isn't going to do this, then they're in effect (back to) designing an insecure OS, because that's what people want. At some point you have to trade some convenience for some security, it turns out most people (or at least the loudest of them) will trade away every bit of security for every bit of convenience they can get.

      This isn't something that's going to be fixed. It's a design choice. It's what the people - in all their infinite stupidity - want.

      * OS X has a pretty big hole: any admin user account can write to the Applications directory willy-nilly. Just like with Windows, people tend to use admin accounts for day-to-day work. From a high-level perspective, Vista does more things right than OS X does

    2. Re:Good thing it's a beta by MeanMF · · Score: 1

      It may be the "correct" way, but it's worthless if it's so intrusive that people turn it off completely - that just sets you back to the broken XP model. Finding a balance is a good thing, and the option is still there to set it back to "Vista" mode if you want to run that way.

    3. Re:Good thing it's a beta by rsmith-mac · · Score: 3, Insightful

      The only correct way is the secure way. Anything that allows code to run with admin privileges without user confirmation is a problem.

    4. Re:Good thing it's a beta by Anonymous Coward · · Score: 3, Informative

      Bull-Shit

      People do not tend to use "admin accounts" for day to day tasks on OSX. You have no idea what you are even talking about. OSX uses a sudo mechanism to elevate privileges (after authentication) for processes.

      It is not annoying, and fairly secure. The design is possible since they are based on a proper multi-user OS (BSD) and multi user and privilege separation is not an afterthought.

    5. Re:Good thing it's a beta by Hal_Porter · · Score: 2, Interesting

      This shows the benefit of Microsoft's development model. They have an (effectively) open beta so everyone interested will have downloaded the beta and tested it. Closed source, signed binaries and software that phones home (or DRM as slashdot inaccurately calls it) means that they can give away the beta and be confident that most (note: not all) people will stop using it when it expires and buy the full version.

      In the meantime the software is going to be widely used and people will check for exploits like this. Many eyeballs make all bugs shallow as ESR pointed out. There are more eyeballs on Windows 7 than Linux, and more programmers working to fix the bugs the eyeballs find, because Windows is a multibillion dollar product. Even more profoundly, it's not just bugs that getting fixed. Any features in Vista that irritate people, like UAC are getting changed as well. That can only happen with commercial software. If it was FOSS the developers would just tell us that security was important and we mere users were idiots for not understandind this. With Windows they were forced to change things improve security in Vista and userfriendliness in 7.

      Windows isn't even a monopoly either. Vistas flaws have seen the OS X market share increase. In response to that they are working hard to fix those flaws for 7.

      This is the closed source empire, striking back. Don't expect Window's market share to drop by much if they keep behaving like this.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    6. Re:Good thing it's a beta by MeanMF · · Score: 1

      They're trying to find a balance that is as secure as possible while encouraging as many people as they can to leave UAC enabled. It's not realistic to think that they can force everybody to run with Vista-style UAC. They're leaving that option in there for those that want it, and they're including new options for people who would otherwise disable UAC completely. Maybe it'll stop a lower percentage of attacks, but that's better than stopping none at all.

    7. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      The whole sudo thing is what he means by "admin account." In most everyday cases, sudo can be implemented in such a way that its level of security is equal to that of the root/user model, but the point is that OS X has a flawed implementation that allows anyway who can sudo to write to the Applications directory without sudoing.

    8. Re:Good thing it's a beta by Anonymous Coward · · Score: 5, Insightful

      The problem is that when the UAC box pops up 4 times for the same file copy, people will naturally start ignoring it / not paying attention to it / turning it off. They habitually start clicking yes to everything because clicking yes means they get to do what they want, whereas clicking no stops them from doing what they want.

      This doesn't mean users want to trade "all security for convenience". It means users, shock and horror, actually want to use their computers to do what they want to do. If Microsoft cannot find a better way than to shove multiple nag boxes in your face every time you try and do one little thing, then they should immediately give up, because they are lost.

      I remember a study done ages ago that said that most people don't even read the text in a message box. They choose the option that allows them to do what they want to do. Nobody wants to pick the option that prevents them from doing the action they initiated - why else would they have initiated it?

      So why even pay attention to the box at all? After you've seen 50 of them, they are completely ignored. Users are not in the wrong here. It is not stupid to want to use your computer for something you want to do without being annoyed to death by idiocy.

      Regardless of intent, UAC does not work for humans. The human mind actively circumvents it as noise, just as it does with thousands of other distractions we deal with every day. Since Vista is presumably being marketed exclusively to humans at this point, it must either fit with the way human minds work, or perish entirely.

      The idea that UAC is great because of all those popups is ridiculous. The idea that users should enjoy those popups and actually be thankful of them is ignorant in the extreme. Microsoft has never made a worse UI decision in their entire history.

      You can claim the users are 'infinitely stupid' if you want, but from where I sit, the only stupid person is you.

    9. Re:Good thing it's a beta by salesgeek · · Score: 2, Interesting

      No. People piled on Microsoft because UAC was a nuisance and did little to improve security because even experienced users became conditioned to click on continue whenever they heard "bing".

      It was the world's largest exercise in Pavlovian conditioning. The Unix sudo model tends to work much better, and there are far fewer points where root access is required to get a particular task done.

      --
      -- $G
    10. Re:Good thing it's a beta by MadAhab · · Score: 2, Insightful

      Wow, I had better throw away my BSD and Linux boxes then. They have suid programs that run code with admin privileges without user confirmation!

      --
      Expanding a vast wasteland since 1996.
    11. Re:Good thing it's a beta by goombah99 · · Score: 2, Insightful

      * OS X has a pretty big hole: any admin user account can write to the Applications directory willy-nilly. Just like with Windows, people tend to use admin accounts for day-to-day work. From a high-level perspective, Vista does more things right than OS X does

      It's true admin users can write to the app folder and even some worse stuff. Which is why people should not run as admin users all the time.

      The difference in my experience is that running as a non-admin user on a mac is pleasant. If you have both an admin and non-admin account then life is good when you run as non-admin. anytime you need privledges it asks you for the admin user id and password. it's not disruptive.

      I have not tried win 7 so I don't know if things have gotten better but it used to be that On windows doing simple things (like changing the clock time) often required admin access. Worse, many install applications would simply go belly up and die unless you were running as admin.

      in otherwords being non-admin was the excpetion to the rule on windows to the point where it was painful to even try.

      Now *nix folks have a bit of this problem as well. I've had many an makefile that would not run correctly unless you were root. (and many of those fail on NFS because of rootsquashing!).

      On macs people tend to frequently run as admins by default not because they need to but because that's how an out of the box mac sets up the first account. The nice thing is that it's well worked out for the non-admin user.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    12. Re:Good thing it's a beta by Windowser · · Score: 1

      If it was FOSS the developers would just tell us that security was important and we mere users were idiots for not understandind this.

      And they would be right

      --
      Avoid the MS tax, always buy I.B.M. PC's (I Built-it Myself)
    13. Re:Good thing it's a beta by gillbates · · Score: 1

      But if Microsoft isn't going to do this, then they're in effect (back to) designing an insecure OS, because that's what people want.

      No, people don't want an *insecure* OS; they want an *easy to use OS* that is also secure. UNIX, Linux, BSD, and Apple got the security model right; Microsoft didn't. That's why in Windows, security and usability is a zero sum game. Had Microsoft gotten the security model right in the first place, UAC wouldn't be an issue.

      At this point, backward compatibility and familiarity are the only things keeping Microsoft in the game. If they abandon their broken security model, they'll be obsoleted by Ubuntu or Apple. They really don't have much of a choice except to continue with their broken architecture.

      --
      The society for a thought-free internet welcomes you.
    14. Re:Good thing it's a beta by mspohr · · Score: 0, Redundant

      Unfortunately it's not a bug, or even a design flaw. Microsoft's in the position of trying to placate as many customers as they can. They tried doing security the "correct" way with Vista...

      I don't think they did it right in Vista. What good is security that irritates users into clicking OK for everything (and to top if off, still has holes in it)?

      I don't understand why they just didn't do it like Linux which has rock solid security and absolutely none of that irritating UAC dialog. They had five years to rewrite the OS and they still did a lame job of security.

      --
      I don't read your sig. Why are you reading mine?
    15. Re:Good thing it's a beta by AmiMoJo · · Score: 1

      I think part of the problem with UAC is that it tries to maintain backwards compatibility for applications, most of which just assume you are an administrator and proceed to pollute your system with all sorts of background tasks, explorer add-ons, codecs, toolbars etc.

      UAC is actually pretty similar to having to type the root password on Linux or MacOS when trying to do something which could compromise security. Sure, it goes a bit further than Linux or MacOS (e.g. requiring permission to change the time) but mostly it just highlights how poorly most apps treat your system. IIRC one of the stated goals of UAC was to make programmers do less stupid stuff.

      I'd rather they just ditched all the compatibility crap like the visualised filesystem and registry. Sure, it would break some apps, but it's better than trying to keep hundreds of old APIs and hacks around, especially from a security point of view.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    16. Re:Good thing it's a beta by QuestorTapes · · Score: 1

      > They tried doing security the "correct" way with Vista, only for the loudmouths
      > of the world to run around telling everyone else that Vista sucked
      > because they kept getting "those damned prompts."

      Can't agree.

      "Correct" would be to plan security proactively. Vista UAC was entirely reactive. The "Correct" way of preventing a car accident is not to invest in the best, top of the line anti-lock brakes with the best computer technology to prevent collisions...it's to not follow the car ahead of you too closely.

      Which is not to say that *nix is perfect. Merely that sudo is fundamentally different is requiring you to decide -before- running the install whether you want to escalate privileges.

      Vista UAC waits until after you start the install and then throws up a message box, which users have already been conditioned to click "yes" on.

      "Buy this [wotzit] for $20" is not the same request as "You can receive your free [wotzit] for only a $20 shipping fee". That's why scammers always use the second form; it's a loaded question.

      > This isn't something that's going to be fixed. It's a design choice.
      > It's what the people - in all their infinite stupidity - want.

      Also have to disagree. You -may- be right. But since the people - in all their stupidity - have never been given a fair choice, but only the chance to select from a few deliberately stacked options, the question is, in my view, still unanswered.

    17. Re:Good thing it's a beta by drsmithy · · Score: 2, Insightful

      UNIX, Linux, BSD, and Apple got the security model right; Microsoft didn't. That's why in Windows, security and usability is a zero sum game. Had Microsoft gotten the security model right in the first place, UAC wouldn't be an issue.

      From a low-level perspective, the security model in Windows is far superior to classic UNIX.

      From a high-level perspective, the security model in Windows is the same.

      What's your problem, again ?

    18. Re:Good thing it's a beta by MobyDisk · · Score: 1

      Vista's way isn't correct at all. BSD, Linux, did it right. Windows 2000/XP were almost right.

      Here's the things that Vista does wrong with security:

      1) Doesn't prompt for admin password. Instead, it just prompts Cancel / Allow.
      2) Doesn't tell you what or why it is prompting.
      3) Double prompts. (And worse)
      * They needed to prompt for the duration of the app (or a time limit), not for each individual operation.
      4) Prompts at places where security is not relevant, such as
      - Modifying the start menu. Other OS's just modify your local one.
      - Read-only access to system level items. Going to the various control panels should not require admin access.

      What Microsoft should have done on Windows Vista:

      - Modify XP so that the various built-in apps prompt for admin password when they actually need it. (Ex: Committing changes in control panel)
      - Default users to limited users
      - Chastise developers who do not write code to work as limited users. (They needed to do this back in 1993 with Windows NT - CERTAINLY by 2000 this should have been eliminated.)
      - Make workarounds for specific applications that wrote things to the wrong place. Ex: Directing HKLM registry entries to HKCU.
      - Make prompts for applications where the above workaround doesn't apply. That might be based on a white list of those few apps that are important enough to not break, but where the above workarounds were not sufficient, and where the manufacturer was unable to issue a patch in time.

      Despite the workarounds I listed, my solution would have no really been any more work, since they already do heavy application testing and have tons of hacks and workarounds for compatibility. (Microsoft does a good job of this, overall). If they wanted to make a check box somewhere "don't prompt for admin password, just display cancel/allow" then that would be fine. But the point is, prompting twice at every stupid registry change or file I/O operation is too granular. Some times moving a file in the start menu displays multiple prompts instead of just a single one.

    19. Re:Good thing it's a beta by drsmithy · · Score: 1

      Sure, it goes a bit further than Linux or MacOS (e.g. requiring permission to change the time) [...]

      You need elevated privileges to set the time on a Linux system (as you should). It's been a while since I actually did it manually, but I would assume you do on OS X as well (and if you don't have to, then you should).

    20. Re:Good thing it's a beta by drsmithy · · Score: 1

      Windows isn't even a monopoly either. Vistas flaws have seen the OS X market share increase.

      Note that from a legal perspective, Windows and OS X are not competitors, so OS X's marketshare has zero impact on whether or not Windows is a "monopoly".

    21. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      From a low-level perspective, the security model in Windows is far superior to classic UNIX.

      [citation needed]

    22. Re:Good thing it's a beta by Darkness404 · · Score: 1

      Um, honestly that kinda makes sense. I don't want to be prompted for my password when I try to install everything, I instead want to be prompted for the first thing in a long list of dependencies. For example, without having a package manager (which OS X does not natively come with) it would be equivalent to me having to "sudo apt-get install firefox" "sudo apt-get install firefox-dependency-1" "sudo apt-get install firefox-dependency-2" "sudo apt-get install firefox-dependency-3" etc, and being prompted for my password every time. Sure, it is slightly less secure, but I would prefer secure in the fact that it is reasonably secure without being annoying, because, if the security is too annoying I can't do my work, if I can't do my work, why am I using a computer?

      --
      Taxation is legalized theft, no more, no less.
    23. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      Statements like this demonstrate a complete lack of understanding regarding operating system security. Running as root, exactly how does Linux prevent you from trashing your box? It can't, and doesn't. Windows was designed in the exact same way. If you create a standard user profile and use that as Microsoft has been recommending in their documentation, including that which ships with the OS, for the last 15 years then you would be in the same boat as you would be with Linux.

      The problem became a downward spiral because developers who were used to running as Admin wrote programs that made poor security assumptions, defying the security guidelines that Microsoft has actively published for the last 15 years. Those applications would require Admin privileges as a result. Those vendors, rather than fix their applications, would simply tell people to run as Admin when those programs didn't work. When Intuit tells the owner of a company that he must be an Admin to run QuickBooks then that owner will insist on being Admin regardless of the fact that it is horrifically bad practice and it is also unnecessary as the few additional file permissions could be granted individually without modifying the role of the user. Of course if Intuit were to actually submit QuickBooks to Windows Logo certification they would fail on this point alone as following the documented security guidelines has always been required.

      Operating Systems generally offer no security protections for users who insist on running as superuser. Linux has two advantages in that the user base is generally more tech-savvy and therefore understands nobody should use root for day-to-day activities and because such a mindset had been enforced in the community early on that few applications make stupid security assumptions. Windows had to cater to the masses, both in terms of users and in terms of developers, and is now forced to work backwards. You could argue that Microsoft should just pull the band-aid off all at once and lock it down hard, but apart from breaking a lot of apps the users would simply find out how to run as Admin and just keep doing that. UAC was a compromise that allows the user to run as Admin in a constrained context that can elevate while silently correcting for the common assumptions that often lead to software requiring Admin privileges such as redirecting file writes to the user's profile. The majority of software, even the broken software, works without changes on Vista. And if you create a standard user and use that for day-to-day activity while leaving Admin for only administrative tasks then it is a lot like sudo where instead of just clicking "OK" you are prompted to enter the Admin password.

      A lot of people decry Windows and UAC but have simply no alternative approaches that don't involve time machines. Do you think that you could do any better? I'd like to see how you would secure a system given that in this case the vulnerability is not in the software.

      Of course the other fallacy in your post is that Microsoft rewrote Windows with Windows Vista, which certainly isn't true, and the only people who seem to believe that are the tards trolling around on Slashdot.

    24. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      >> From a low-level perspective, the security model in Windows is far superior to classic UNIX.
      >
      > [citation needed]

      aw, he just confused "superior" with "complex" and did not yet get the memo that complexity usually does not help security. At least not when that complexity is not necessary for most users.

    25. Re:Good thing it's a beta by Darkness404 · · Score: 4, Insightful

      When I do day-to-day tasks on Linux, the only time I ever have to type in my password is when I am updating my software. On Windows I needed to use UAC for all kinds of daily things, some programs just *HAD* to be ran as admin, certain non-critical settings HAD to be clicked through a UAC prompt. Oh, and the fact that all UAC did was annoy me. The entire OS stopped until you clicked OK, the dialogue didn't even say why you had to be an admin nor did the program documentation, for most Linux programs a quick search in the man page would tell you why you need to be root, for Windows, nothing did.

      The fact that UAC pops up out of nowhere, doesn't give you any intelligent advice on to if you should click it or not, and basically if you don't, the program just fails, just conditions people to click OK to everything, everything from day-to-day programs to the latest worm or malware.

      --
      Taxation is legalized theft, no more, no less.
    26. Re:Good thing it's a beta by Darkness404 · · Score: 0

      They would never kill apps. Legacy programs is about the only reason people even run Windows anymore. If suddenly Windows didn't run pre-2006 programs, there would be absolutely no reason to upgrade Windows, no reason to ever buy Windows again, and many businesses would jump ship to OS X or Linux. I mean, if every Windows app could be run on Linux or OS X, who would be using Windows?

      --
      Taxation is legalized theft, no more, no less.
    27. Re:Good thing it's a beta by nstlgc · · Score: 1

      Haha, 4 times for the same file copy? I can see why you posted that as AC. Mod parent Insightful only if you have no clue.

      --
      I'm Rocco. I'm the +5 Funny man.
    28. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      No. You're a retard.

    29. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      OS X doesn't have a flawed implementation of sudo that magically bypasses /Applications, /Applications is owned by root:admin and group writable.

      Change permissions on the folder and the hole is closed.

    30. Re:Good thing it's a beta by Stormwatch · · Score: 2, Insightful

      There are more eyeballs on Windows 7 than Linux, and more programmers working to fix the bugs the eyeballs find, because Windows is a multibillion dollar product.

      No, because the "eyeballs" law does not refer only to testers, but also developers.

      Microsoft has a legion of unpaid beta-testers, sure. But those people are not allowed to read the code. They can't fix stuff by themselves. To use a popular car metaphor: even those with mechanical skills can't fix the "Windows car" because the hood is welded shut. They can say: "it won't start if I turn the key and the radio at the same time", or something like that, but they can't really say why. The "Linux car" is the opposite: everyone so inclined can look under the hood and find just why something is not working right.

    31. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      Haven't you noticed that Vista, with default configuration, will give you more than one UAC prompt for just one file operation? It has something to do with Remote Desktop security - one of the boxes is visible over the remote connection, and the other is only visible on the local monitor. You can adjust whether the boxes appear or not, but the default settings are strange.

    32. Re:Good thing it's a beta by DrXym · · Score: 1
      Unfortunately it's not a bug, or even a design flaw. Microsoft's in the position of trying to placate as many customers as they can. They tried doing security the "correct" way with Vista, only for the loudmouths of the world to run around telling everyone else that Vista sucked because they kept getting "those damned prompts." Hell, Apple even got in on the action and made TV advertisements about it lambasting Microsoft for doing security right*. So Microsoft does something about it: they scale back the security and scale up the convenience.

      Fortunately Vista probably shook the tree pretty hard so the number of "offending" new / unpatched applications in general use would be fairly low now. For example apps that read the registry will know not to do stupid stuff like ask for read/write access when they only need read access and so on. Obviously legacy apps could trigger annoying alerts, which is why I think MS should allow admins / power users to be able train or customize UAC if they wish.

      I have no problem with a whitelist either but it should be extremely selective and throw some kind of switch if the app loads any untrusted DLL. For example, I have no issue if rundll32.exe is whitelisted so long as loading an untrusted DLL causes it to revert to the default UAC policy behaviour.

    33. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      Which is not to say that *nix is perfect. Merely that sudo is fundamentally different is requiring you to decide -before- running the install whether you want to escalate privileges.

      Perhaps you've not used a modern Linux distro (released in, say, the last 5 years or so), but they all prompt the user, UAC-style, to elevate privileges. The most obvious example of this is starting the package manager.

      OS X is the same - it *prompts* the user for privilege escalation, just like UAC.

      In fact, UAC is constantly criticised on Slashdot for having just copied the same functionality from Linux and OS X. If all you want is 'sudo', then Windows has had that forever - it's called "Run As".

    34. Re:Good thing it's a beta by drsmithy · · Score: 1

      1) Doesn't prompt for admin password. Instead, it just prompts Cancel / Allow.

      Irrelevant for the common case. You can configure it to ask for full credentials if you want to.

      2) Doesn't tell you what or why it is prompting.

      It does tell you what. The "why" could be useful, but it's highly likely this information could not be presented in a user-friendly manner.

      3) Double prompts. (And worse)

      As I understand it, this has been improved with SP1.

      - Modifying the start menu. Other OS's just modify your local one.

      Modifying your Start Menu items does not prompt. Modifying the system-wide one, obviously, does.

      - Read-only access to system level items. Going to the various control panels should not require admin access.

      Er, you don't...

      What Microsoft should have done on Windows Vista:

      What you list is basically what they did.

    35. Re:Good thing it's a beta by _Quinn · · Score: 1

      So on a technical level, Microsoft could certainly use some TPC magic to allow the keyboard and mouse drivers to emit signed events, so that you could be certain that they came from a person. (Well, from the hardware, anyway.) Similar magic would allow trusted libraries to sign the conversion from mouse event to command. At that point, you could avoid prompting the user to confirm their action, because you know they did it. Now the question is: for things that don't have direct OS-level call mappings (e.g., aren't Explorer), what do you do?

      I think the principle of least astonishment applies here; kind of a variant of what another poster suggests with SELinux-style capability-base computing. There are certain things you probably don't expect applications to do (very few should send e-mail, for example). Figuring that list out and reducing 'false positives' is an ugly, ugly task. MS might be able to do it because the control the whole application stack, but if they design it finely-grained enough to be really useful, all the other application developers will try to lazy out of it and give themselves too many privileges, and become exploitable.

      --
      Reality Maintenance Group, Silver City Construction Co., Ltd.
    36. Re:Good thing it's a beta by _Quinn · · Score: 1

      This is why people suggest VM-based backwards compatibility is the direction for MS to go. It's not quite trivial to do (well, maybe it would be if they bought VMWare for "Fusion"), but it would at least give them a chance to get the rest of the system right.

      --
      Reality Maintenance Group, Silver City Construction Co., Ltd.
    37. Re:Good thing it's a beta by int69h · · Score: 2, Interesting

      The problem with the doors on my house is I have to unlock them whenever I want to enter my house after I come home from work. I just want to enter my house, I don't want to mess with door locks. Locks do not work for humans.

    38. Re:Good thing it's a beta by thePowerOfGrayskull · · Score: 1

      If they did not give an option to disable it, then they would not have to find a balance, and it would not be unrealistic.

      People would complain, but they're going to do that anyway.

    39. Re:Good thing it's a beta by Ralish · · Score: 1

      The Unix sudo model tends to work much better, and there are far fewer points where root access is required to get a particular task done.

      Ok, firstly, UAC effectively IS a sudo model, and can be made to behave exactly like a traditional Unix sudo system with very little effort.

      Secondly, the latter part of your sentence explains the problem exactly. There are far too many programs on Windows that require administrative access, and most don't need it, the requirement is due to bad programming. This being the case, you have three options:
      * Run as an administrator all the time, and run all this code
      * Run as a standard user all the time, and never run any of this code
      * Run as a standard user most of the time, and run programs that require such permissions as required.

      From a usability (I want to run this program) vs. security (don't run this program) perspective, the final option is the sensible one, minimising processes assigned administrative privileges to those that explicitly need it. This is what UAC does. Quibbles aside about how the "sudo" system should manifest itself (confirmation vs. credentials vs. silently elevating), I'd like to hear a better solution for enabling all of these poorly designed applications to run until they are either fixed or obsoleted. Because the "unix sudo model" is exactly what is inside Windows right now, and it clearly isn't working in your view.

    40. Re:Good thing it's a beta by Tony+Hoyle · · Score: 1

      The maximum is about 6 times for 1 operation, if you're copying a directory.

      IIRC that was fixed in Vista SP1, although I'm told it still prompts multiple times it's not so insane.

    41. Re:Good thing it's a beta by Tony+Hoyle · · Score: 1

      The problem with rundll32 is it seems to be used everywhere. Originally (IIRC) it was just a way to run control panel libraries without using control.exe, but it's suffered from feature creep. As an app that can run other apps it should never, ever be whitelisted. It's just a hole waiting to happen.

      In Vista it wasn't privileged - there was a separate app RunLegacyCplElevated for that task.

    42. Re:Good thing it's a beta by spitzak · · Score: 1

      I was completely unaware that on OSX a non-administrator can do things like change the time. I thought it was prevented completely, so therefore I created all the accounts as administrator ones. So they need to at least improve their documentation, I did not waste time making a non-administrator to test this.

      I still think the adminstrator allowing system calls to do things that don't seem to be allowed, like modifiy /Applications, looks like a Microsoft-sized blunder and is probably a shamefully huge security hole. It really should mean "sudo works" (or the apparent thing from above that "sudo works with this users' password rather than another one").

    43. Re:Good thing it's a beta by CreateWindowEx · · Score: 1

      I've build a couple of internal GUI tools at work, and I see this all the time among my less-technical coworkers--they just click Ok on anything that pops up without reading it, even if it's an error message, and then come and ask me why is something not working. It's a problem of too many apps crying wolf with too many needless popups and confirmation boxes that have trained people, but it's also just the nature of most people just to keep clicking on different things semi-randomly until they get the result they wanted.

      I think the only real solution is better UI design--make things work the way people expect them to, make doing the right thing seem easier and more obvious than doing the wrong thing, try to make dangerous things more buried away, etc.

      Probably the only good time to use a popup box if it is a failure state where the app just can't do what is requested, where even if they close the box, they'll keep trying it again and getting the box again, eventually they might read it.

      This is one of the things I prefer about OS X, in that it seems much more "quiet" with far fewer popups, flashing task tray notifications, etc. The one exception is the way the System Update icon just keeps bouncing up and down if it has a new update--it would be nice if after ten seconds it would switch to a less annoying animation, or maybe just bounce every now and then, so that if you're in the middle of reading an article or something, you don't feel like you have a two-year-old tugging your pant leg.

    44. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      He means it's superior in theory, even if it isn't in practice.

      And that's only the low-level NT kernel security that Dave Cutler wrote - Win32 is still made of Swiss cheese.

    45. Re:Good thing it's a beta by Anonymous Coward · · Score: 0

      From a high-level perspective, Vista does more things right than OS X does

      And which operating system has the most malware and security risks? :)

      No one runs OS X as administrator by default. What your saying is just bullshit.

      The funny thing is, I actually like vista. I have it installed on one of my computers and I find it much more enjoyable to use then XP. I'm definitely not a vista hater but from experience I can say that OS X is a lot more secure then Vista.

    46. Re:Good thing it's a beta by BollocksToThis · · Score: 1

      If we had to unlock doors to look out the window, to make a new style of breakfast, to move from the living room to the bedroom, then FUCK YES locks would not work for humans.

      --
      This sig is part of your complete breakfast.
    47. Re:Good thing it's a beta by Simetrical · · Score: 2, Insightful

      On windows doing simple things (like changing the clock time) often required admin access.

      I never got why everyone always complains about this. Every multiuser operating system I know of requires you to be admin to set the system time:

      $ date 02071828
      date: cannot set date: Operation not permitted

      Using the Ubuntu GUI requires you to enter your password too. An unprivileged user with the right to set the system time arbitrarily could completely mess up the system, such as stopping critical system cron/at jobs from running or throwing log analyzers into a state of continuous bafflement. That's exactly what ordinary users are not supposed to be able to do.

      Besides, how often do you need to set the time? Most people's timezone doesn't change too often, and the rest should be handled by NTP.

      --
      MediaWiki developer, Total War Center sysadmin
    48. Re:Good thing it's a beta by Blakey+Rat · · Score: 1

      1) Doesn't prompt for admin password. Instead, it just prompts Cancel / Allow.

      You can tell it to ask for your password, instead.

      Pop-quiz: UAC that asks for passwords by default would be considered:
      A) Less annoying
      B) More annoying
      than the current UAC model?

      2) Doesn't tell you what or why it is prompting.

      Valid complaint. When I used OS X, their version of UAC told me less than Microsoft's, so it's not like Microsoft's UAC is worse than the competition because of this point.

      3) Double prompts. (And worse)
      * They needed to prompt for the duration of the app (or a time limit), not for each individual operation.

      So your program can get a UAC approval for writing an .ini file in Program Files, then within the time limit it'd be fine to add a virus to run on startup? Your first two items argue for a more secure UAC, this one argues for a LESS secure UAC-- which is it?

      4) Prompts at places where security is not relevant, such as
      - Modifying the start menu. Other OS's just modify your local one.

      Windows only prompts if you're editing the All Users start menu, as it should since that's a system-wide setting and not a user setting. You have to go out of your way to do this-- if you simply right-click a start menu item and choose "pin to menu", you'll never get prompted.

      BTW, the lack of the ability to edit the systemwide menu in other OSes would be considered a flaw by many.

      - Read-only access to system level items. Going to the various control panels should not require admin access.

      Valid complaint. Microsoft should be able to re-code control panels to only prompt when you hit "Ok" or "Apply." Some control panels already do this, like the "Local Users and Groups" inside Administrative Tools, most do not.

      - Chastise developers who do not write code to work as limited users. (They needed to do this back in 1993 with Windows NT - CERTAINLY by 2000 this should have been eliminated.)

      How do you believe Microsoft could do this? I mean, I agree with you 100%, but how?

      - Make workarounds for specific applications that wrote things to the wrong place. Ex: Directing HKLM registry entries to HKCU.

      They already do that in a LOT of places. Depending on what the application is trying to write to HKLM, it'll sometimes get redirected to a key inside of HKCU. Ditto with filesystem operations, sometimes Vista will spoof another Program Files folder inside the user folder as needed for misbehaving apps.

    49. Re:Good thing it's a beta by IntlHarvester · · Score: 1

      Bull-Shit

      People do not tend to use "admin accounts" for day to day tasks on OSX. You have no idea what you are even talking about.

      Open the "Accounts" preference pane and read what it says under your username.

      Congrats, you learned something. Two-button mouse training starts next week.

      --
      Business. Numbers. Money. People. Computer World.
    50. Re:Good thing it's a beta by gillbates · · Score: 1

      Windows hardly got the security model right, at any level.

      In the first place, UNIX has a very limited API set for which the security implications are well understood. Windows, OTOH, grows its API by thousands of functions with each iteration, and the security implications are often not understood until well after release. Microsoft has so reliably failed to get security right that malware is now offered as a service.

      Windows, though, has other problems, one of them being the need to support backward compatibility with older software which doesn't use the current security model. It's not security if adherence is optional. For example, even on XP, an MSDOS program can take full control of the monitor and write directly to graphics memory. I could, if I really wanted, mimic a Windows XP logon screen merely by pasting a bitmap to video memory. As long as my executable format is COM, XP allows me complete control over video, and will gladly assist me in capturing mouse and keystrokes with the BIOS.

      --
      The society for a thought-free internet welcomes you.
    51. Re:Good thing it's a beta by wvmarle · · Score: 1

      This is an example where locks work perfectly well for humans. You do lock your front door when you go out, no? You rather leave it open to save the inconvenience of having to open it again when you come home? And at night I do assume you will lock that front door. This all to prevent other humans to come in without your knowledge/permission.

      You have to open that one lock once, and you are in, and you can do whatever you want in that house. You can not enter your neighbour's house as you do not have the lock for it. So you can not do anything in there unless that very neighbour opens the door for you, and allows you in. You may be able to enter the garden, and peek through the windows without the key.

      Now replace lock with "(super)user account password" and house with "computer system". One time you need the password to reach the required permissions, and do stuff. Only once, after that you're in. No dozens of locks for every single action to open, even if it is with a single key. You may look around in other places without special permission, read files from system directories, but you can not go in and change stuff without special permissions.

    52. Re:Good thing it's a beta by DrXym · · Score: 1
      The thing is rundll32.exe does what it says on the tin - it runs DLLs. It should be quite feasible to hook LoadLibrary() in Win32 API so that whenever it's called, the system checks if the DLL being resolved is on the whitelist or it isn't. This would include checking the DLL to see if its digitally signed and matches what fingerprint of what is expected of course. If it isn't then you flip the UAC controls on the rundll32.exe process into regular mode. If it is on the whitelist then rundll32.exe continues to run as a whitelist app.

      I'd add that I'm talking as if its an on or off thing, but its quite possible that the "whitelist" is really a more liberal security policy than the default that allow certain apps to access certain resources and do certain things without bugging the user. Other instances where the whitelist permissions might get flipped? If the app opens a socket, or reads from an untrusted file, or reads from a registry entry outside of its regular policy.

      Obviously its a tough nut to crack and a whitelist demands very serious consideration but it should be feasible to identify certain core apps whose behaviour is well defined and whitelist them. SELinux is a similar but not quite analogous concept on Linux - it restricts apps using a policy too and some apps need greater access than others. The biggest issue is getting the policies right. There was a time when Fedora was practically unusable with SELinux enabled because making policies is quite tricky.

    53. Re:Good thing it's a beta by Hal_Porter · · Score: 1

      Well most of the Linux eyeballs are not developers either, people have looked at the authors of signoffs on Linux

      http://lwn.net/Articles/222773/

      Developers with the most signoffs
      Andrew Morton 1422 13.7%
      Linus Torvalds 1366 13.2%
      David S. Miller 483 4.7%
      Jeff Garzik 331 3.2%
      Greg Kroah-Hartman 269 2.6%
      Al Viro 241 2.3%
      Paul Mackerras 232 2.2%
      Andi Kleen 177 1.7%
      Mauro Carvalho Chehab 170 1.6%
      Russell King 166 1.6%
      Adrian Bunk 120 1.2%
      Arnaldo Carvalho de Melo 119 1.1%
      Ralf Baechle 117 1.1%
      James Bottomley 109 1.1%
      Patrick McHardy 96 0.9%
      Jiri Slaby 94 0.9%
      Avi Kivity 87 0.8%
      Josef Sipek 79 0.8%
      Paul Mundt 78 0.8%
      Gerrit Renker 78 0.8%

      It drops off I'd say exponentially. I'd guess there are much more people working on Windows 7 at Microsoft.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    54. Re:Good thing it's a beta by AmiMoJo · · Score: 1

      There is a rather obvious flaw in your logic. If a company already has a Windows network, especially if they have a Windows server and use Exchange, why would they move to Mac OS? Surely it would be easier just to get the problematic software fixed (not that difficult usually) instead of changing their entire system.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    55. Re:Good thing it's a beta by Agronomist+Cowherd · · Score: 1

      This is a general problem. The first access, though "insecure", may be so obviously right that you let it go by. With sudo, it remembers that you allowed the actions recently, and keeps going [1]. UAC evidently picks up the next unauthorized action and prompts again. This would be good, in that you get to see all the bad things the program does, but of course it's annoying and trains people to just click through.

      A better way would be to let the program do all its unauthorized actions, present them all to the user in a single pop-up, and then undo them if the user decides that this program looks suspicious. You'd need either a very good sandbox, or a versioning file system, as well as lots of hooks in the operating system.

      A record should be kept of what actions the program takes, so if it starts doing something unauthorized that the user has NOT previously approved then it can be flagged again. Otherwise you would get a single nag pop-up, you could make a decision once, and never have to be bothered again.

      Malware would get around this as well, but it would be harder.

      [1] I'm thinking of a script with multiple sudo's in it, here. Of course sudo gives the whole program it runs su authority, and really you're saying that you trust this entire program, and any other programs run with sudo within a certain time window, completely. That's a hole as well.

      --
      -DwS
    56. Re:Good thing it's a beta by chrismeidinger · · Score: 1

      * OS X has a pretty big hole: any admin user account can write to the Applications directory willy-nilly. Just like with Windows, people tend to use admin accounts for day-to-day work. From a high-level perspective, Vista does more things right than OS X does

      Actually, that's not entirely true. You can write new files willy-nilly, and overwrite your own files, but you need a password to overwrite other users' files. Which seems like pretty solid security to me.

    57. Re:Good thing it's a beta by Stormwatch · · Score: 1

      I'd guess there are much more people working on Windows 7 at Microsoft.

      But that list you just posted is about contributors to the kernel. Produce a list of contributors to everything else that makes an operating system, and you will have a fair comparison.

    58. Re:Good thing it's a beta by salesgeek · · Score: 1

      A) Wrong. UAC is a trap and approve model. Sudo is simply a command that runs a program as root. UAC tries to catch escalations and ask the user for an ok to do so. With sudo, the user runs a program as root. Some programs are smart enough to spawn a process using sudo to get the user's permission to do something, but for the most part, it's about launching a program with the right permissions to begin with.

      B) Totally agree on the usability points, except that UAC and sudo are kissing cousins. One is a bald-faced hornet, and the other is a Japanese Giant Hornet. (if you know your hornets, the American bald-faced hornet is actually a wasp, and the other can kill 30,000 honey bees in about three hours)

      C) It will be a cold day in a very hot place when someone finds a magic patch for legacy Windows apps and programmers who have not updated their skills.

      --
      -- $G
    59. Re:Good thing it's a beta by Hal_Porter · · Score: 1

      Do you really think that you can find more skilled people willing to work for free than Microsoft can hire, given that Microsoft have vast amounts of money.

      Note the word skilled. Most software is not something a total amateur can muck in and fix because they will do more harm than good. Most companies think that programmers (on average) only become productive after a few months on the job. In fact their productivity continues to increase until two years on the job. By that point a programmer is a sort of guru on the subsystem they worked on.

      Now Microsoft can afford to hire a lot of people, pay the ones who become gurus very well and sack the ones who don't make it. Given this steep learning curve, it seems pretty naive to think that giving average members of the public source code actually buys you much.

      Actually, I'm sure it doesn't. I've released open source stuff myself. Tens of thousands of people have downloaded it, and hundreds of people have reported it working or not working. I've only had one bug report that suggested a fix, and that was a bad integer type caste that was obvious to anyone that didn't write it.

      The code I at work is much worse than this. Even experienced people can quite easily break it when they change it. In practice companies only allow a small number of people even inside them to touch code because that is the only way to stop it being destroyed. Especially these days where people build big systems in C and and very scared of security and stability issues.

      Most programmers are actually pretty awful - if you assign a bug to them they will most likely not be able to fix it properly without breaking something else. Only a few percent are actually guaranteed manage. Those people are usually very busy though, it's not like many of them have the freetime to work on things they are not paid for.

      Of course quite a lot of the core group in any open source project are paid. However then it comes down to a bidding war for skills and Microsoft have far more money that the open source companies, because they can still sell software as opposed to just services.

      Of course the GPL doesn't prohibit you from selling software, but it does prohibit you from keeping your source secret. That means that anyone else can come in and take that source, compile it and undercut you on the binary. So you're pretty much forced to sell services and provide the source/binaries for free. However that business model, combined with OSS's low market share means that the open source world will inevitably have less money than Microsoft, who make $50 for every PC sold with a Windows OEM license.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    60. Re:Good thing it's a beta by MobyDisk · · Score: 1

      You just picked at my wording instead of the actual issues.

      (2) It does tell you what. The "why" could be useful, but it's highly likely this information could not be presented in a user-friendly manner.

      "what" or "why" - the point is it needs to be meaningful. And many times, it really does know why. Possible things would be: "Adding items to system startup" or "Registering new system component (COM)" or "Modifying file extension associations" - The registry is a hierarchy, and the UAC can know what the registry entries mean. How about "updating system file" for file system stuff.

      Double prompts

      Not fixed on my mom's computer.

      Modifying your Start Menu items does not prompt. Modifying the system-wide one, obviously, does.

      That's still wrong.
      First, the user doesn't, and should not have to, understand the difference. They drag something in their start menu, it should change. If it was a system-wide setting, then it should now be a local setting. On OS X, I've never had to understand that there was a difference at all.

      Er, you don't...

      Depends on which ones.

    61. Re:Good thing it's a beta by MobyDisk · · Score: 1

      You can tell it to ask for your password, instead.

      Oh good.

      Pop-quiz: ...

      More annoying. I didn't mean it should be default, I just wanted to make sure it was available. Although remember: In Microsoft's mind, it is SUPPOSED to be annoying. :-)

      So your program can get a UAC approval for writing an .ini file in Program Files, then within the time limit it'd be fine to add a virus to run on startup? Your first two items argue for a more secure UAC, this one argues for a LESS secure UAC-- which is it?

      There's lots of ways to deal with that, not sure which one is best. But the most common scenario is when someone modifies a start menu entry. It should just execute an explorer.exe with escalated privileges. After Microsoft deals with the common scenarios, then I'll give them some slack on dealing with these tougher ones.

      How do you believe Microsoft could do this? I mean, I agree with you 100%, but how?

      Well, one way would be to enforce the Microsoft logo requirements. Officially, they said that all apps must run as limited users to qualify. By they put other garbage in the requirements, and then never enforced it, so it is useless. Today, it probably wouldn't even matter to anyone.

      There's lots of other ways. Putting out a tool to verify that things run as limited user. Educating developers. Warning them in Visual Studio. Listing their apps as incompatible with various OS releases. Sending them notices. Promoting apps that were compliant. etc. There's a billion ways. Some of these suggestions might suck, I dunno. Point is, they could have done it.

      They already do that in a LOT of places.

      Oh good! I didn't know that. Then I'll stop thinking about an app to do that. I know they have a thing to redirect INI files to the registry, that was added in NT or 2000 or so.

    62. Re:Good thing it's a beta by Blakey+Rat · · Score: 1

      Flamebait, but I'd respect your opinion a lot more if you were less ignorant of how Windows actually works.

      There's lots of other ways. Putting out a tool to verify that things run as limited user. Warning them in Visual Studio.

      That tool already exists, but Microsoft can't force people to run it.

    63. Re:Good thing it's a beta by drsmithy · · Score: 1

      "what" or "why" - the point is it needs to be meaningful. And many times, it really does know why. Possible things would be: "Adding items to system startup" or "Registering new system component (COM)" or "Modifying file extension associations" - The registry is a hierarchy, and the UAC can know what the registry entries mean. How about "updating system file" for file system stuff.

      I am not going to argue the implementation could not be improved. However, my point was that it *does* provide more information than the alleged none at all. With that said, it's pretty much a certainty that most users would have neither the knowledge, nor interest, to understand such information.

      Not fixed on my mom's computer.

      For example ?

      First, the user doesn't, and should not have to, understand the difference.

      99% of the time, they never have to.

      They drag something in their start menu, it should change.

      And that's what happens. The only time you will get prompted is modifying the "All Users" Start Menu, which means either a) you're trying to modify an existing "All Users" item, or b) you've deliberately delved into the directory structure behind the Start Menu and are changing the "All user" section. Just dragging and dropping something onto the Start Menu won't hit the "All Users" section (unless you're trying to drop it into some folder already in the "All Users" section).

      I can only see this being a problem if you're the kind of person who likes to constantly rearrange and rename items in the Start Menu just for the hell of it. I doubt such people are a significant proportion of users.

      If it was a system-wide setting, then it should now be a local setting.

      This kind of defeats the purpose of a system-wide "setting".

      On OS X, I've never had to understand that there was a difference at all.

      OS X doesn't have the same focus on centrally managed environments that Windows does. (Fundamentally, Windows is built to be used in a centrally-administered, domain-authenticated, corporate environment. The "home user" stuff is tacked on afterwards, and not always well.)

    64. Re:Good thing it's a beta by againjj · · Score: 1

      Sorry, we do. The default account created with an install is an admin account. The default for a new account is admin. An admin account is one where the group is set to wheel. The applications folder is owned by the group wheel, which means any admin can do anything in the Applications folder. The Finder will sometimes do something special here, but not always, and outside the Finder is no protection, except generally installers ask for permission too, as the Installer program wants to work that way. However, if you create a regular user, then the group is not wheel, and that user can not modify the Applications folder. Instead, the Finder asks for an admin name/password so that permissions can be bypassed (the "sudo mechanism").

  5. A bit early for this comment? by Anonymous Coward · · Score: 1, Insightful

    Isn't Windows 7 still unreleased as a final product? One would think they could, idk, fix it possibly? I think all this doom and gloom about it being worthless is a little early.

    1. Re:A bit early for this comment? by thetoadwarrior · · Score: 1

      They could but they won't. They programmed it to work that way.

    2. Re:A bit early for this comment? by dna_(c)(tm)(r) · · Score: 1

      Isn't Windows 7 still unreleased as a final product? One would think they could, idk, fix it possibly? I think all this doom and gloom about it being worthless is a little early.

      I agree, let's all wait until it is released. Then start calling it worthless.

  6. Try OpenBSD by gearheadsmp · · Score: 1, Informative

    It has great documentation and with NoScript I feel safe everywhere on the Internets.

  7. Just rip off the band-aid by dgr73 · · Score: 4, Interesting

    I had my try with UAC and came to the conclusion that it's just a lose/lose situation for Microsoft.

    Lose 1. They're basically advertising to users that "The feature you're about to use is buggy as hell and totally insecure, so you'll have to accept the responsibility for using it". Great way to sell a product.

    Lose 2. It's so annoying, people just turn it off completely, thus negating any "security" it supposedly provides

    The only upside is that they insulate themselves legally by having the user do the "not recommended" thing whenever they use the OS. Then again, they've never been much to accept responsibility for security problems anyways, it's kind of a moot point.

    1. Re:Just rip off the band-aid by Shados · · Score: 5, Insightful

      Its not a bandaid, since its basically a copy of what every other OS does and is considered critical. Run as a least priviledged user and elevate only when necessary. The only real differences is:

      If you have an account thats not administrator, but is part of the administrator group, you still need to elevate.
      Its awkward and sometimes not possible to elevate an explorer window or the control panel (so you would only need to elevate once for multiple operations)
      You need to elevate an installer even if you only want to install a program for yourself, not computer wide.

      If those 3 main things were fixed, it wouldn't be much different from sudo, and even has some advantages over it. But people spoiled by running constantly as administrator, or worse, being so arrogant that they think UAC is just "for noobs", would still disable it.

    2. Re:Just rip off the band-aid by Anonymous Coward · · Score: 0

      If they would just put some granular control in there it wouldn't be that bad. I tried it for a few weeks and the same few programs set UAC off every time. Yes I want to allow YES I'm sure Just let me do it already I know what the program is. Repeat every time you want to use the program.

    3. Re:Just rip off the band-aid by PNutts · · Score: 0

      Lose 1. They're basically advertising to users that "The feature you're about to use is buggy as hell and totally insecure, so you'll have to accept the responsibility for using it". Great way to sell a product.

      It's about elevated privleges and the same as the prompt I get I AIX sudo.

      Lose 2. It's so annoying, people just turn it off completely, thus negating any "security" it supposedly provides

      Some people do find security annoying and turn it off. Good luck to them.

      Then again, they've never been much to accept responsibility for security problems anyways...

      How much responsibility should they (Microsoft) assume when users ignore the prompt or turn off UAC and then open that eCard from someone they don't know? Oops, I forgot. This is Slashdot. Any comments defending Microsoft is a moot point.

    4. Re:Just rip off the band-aid by Daniel+Weis · · Score: 1

      Your post reeks of troll.

      Lose 1: So any permissions based system that requires privilege escalation is "buggy as hell and totally insecure"? I suggest you open a shell in linux and type "reboot". Oh, crap - we need more privileges to do that! Would you want any individual without the correct privileges to restart the system? (Although then again, you may be running as root, in which case I might have to ask - WHY?).

      Lose 2: Seriously? Users come first. They want all their stuff to work just as it used to and they (sort of) want to be secure. There's a trade off here that Microsoft is making that is a completely understandable business decision. They are trying (and for the most part, succeeding) to please everyone.

      Your position reminds me of this: http://xkcd.com/538/

      In the real world, software development is about trade offs and pleasing your customer base - not perfect algorithms and rms everywhere... Most users can't tell the difference between a secure system or not - but they sure as hell can tell when program XYZ won't run.

    5. Re:Just rip off the band-aid by similar_name · · Score: 4, Insightful

      But people spoiled by running constantly as administrator

      I don't know if users are more spoiled or programmers are. Most users don't know the difference until a program request it. I find it interesting that you can install Mozilla as a user into a user folder but then you can't install Adobe Flash for it unless you're an Admin.

    6. Re:Just rip off the band-aid by annerajb · · Score: 1

      i never wanted to upgrade to vista but since i work at making games. i wanted to work on directx 11 and 64 bit so i had too. they prompts get annoying BUT. you have to realize something those prompts are what let you use your computer without getting a virus or accidentally deleting the wrong files. so i learned to live with the prompts for the greater good. ie my security. but some people prefer convenience instead of safety.

    7. Re:Just rip off the band-aid by choseph · · Score: 1

      You don't have to elevate for a self-only install provided the developer made the installer correctly. As long as you aren't writing to common areas like programFiles, you are free to install to the user's profile folders without requiring admin elevation.

    8. Re:Just rip off the band-aid by Anonymous Coward · · Score: 0

      Lose 2: Seriously? Users come first. They want all their stuff to work just as it used to and they (sort of) want to be secure. There's a trade off here that Microsoft is making that is a completely understandable business decision. They are trying (and for the most part, succeeding) to please everyone.

      No they're not. As it is this is a toy system. Hopefully this is only in the beta. If it stays in the release we're better off disabling UAC and giving up the pretension that there is something resembling security here.

      If Microsoft has to go to these lengths then they should probably be considering taking all control away and just keep a whitelist of acceptable apps that users are allowed to install. I doubt that would go over well but in the end it's the only way to preserve this 'it just works' model of theirs and yet produce an OS that can be secure enough to be trusted outside of a lab.

    9. Re:Just rip off the band-aid by Anonymous Coward · · Score: 0

      It's amazing how posting to Slashdot makes one unable to process the word "lose". Usually it's a confusion with "loose", but we see it's also with "loss". Quick summary: lose is a verb, loss is what was lost, and loose is an adjective. So to say "Lose 1" is nonsense; you probably mean "Loss 1".

    10. Re:Just rip off the band-aid by MeanMF · · Score: 1

      Installing applications into a non-priviliged area doesn't sound like a good idea. If a user can write to it without elevation, then anything they run can also write to it without elevation. The idea of putting applications in Program Files is that once they're installed, the files are no longer writable.

    11. Re:Just rip off the band-aid by MobyDisk · · Score: 1

      Since its basically a copy of what every other OS does

      Under the hood, yes, it is what other OSs do. The problem is that the UI was terrible. Your second point hits the nail on the head.

      Microsoft could have easily fixed this in a service pack to Vista.

      In practice, I can run Windows XP as a limited user, and modify the short cuts on the start menu so that they prompt me to run as admin, and I can get Windows Vista without all the pain. I wanna change 10 things on the start menu? I just click "edit start menu" and type in the admin password. Sure beats 20 prompts to move 10 shortcuts.

    12. Re:Just rip off the band-aid by Tarlus · · Score: 1

      Your post reeks of troll.

      I don't think that means what you think it means.

      Lose 1: So any permissions based system that requires privilege escalation is "buggy as hell and totally insecure"?

      RTFA. dgr73 is talking about Win7's UAC, not the general philosophy of privilege escalation.

      Microsoft's "user-first" approach in this regard is what resulted in this whole mess to begin with. Had they adhered to the 'sudo' angle from the beginning, then people would not have become lazy and intolerant of UAC. In the *nix world this philosophy is completely commonplace, and those users don't complain about it one bit.

      Software development does indeed involve trade-offs to please the user, but you compromise convenience or cleanliness of your code in order to make the UI user-friendly; not cutting corners around good security practices to save people the 5-second hassle of typing an admin password.

      --
      /* No Comment */
    13. Re:Just rip off the band-aid by fast+turtle · · Score: 1

      It's a loosing proposition for MS because they spent over a decade (Dos 5/6/6.2/6.22/Win1/2/3/WFW-3.11/Win95a/B/C/98/SE/Me) teaching all of their devs (MS and Third Party) that there was only a single user on the system and to change that is going to take em 5+ decades to solve unless they go for broke.

      The first part is to fix all of the problems with Vista or simply dump Vista and backport dx10.1 to XP and get started on a completely new OS based around the NSA Secure NT solution that follows a proper Least Privelaged User model and ram it down everyones throat.

      One of the other things they need to do is follow the Unix model of /home/~ being a seperate directory and the idea of copying the .skel folder over to it. Furthermore, they need to lock things down hard and prevent users from even seeing directories they have no permissions for such as /program files and /windows.

      As a final step, drop any support for 32bit CPU's and go to a true 64bit OS as the Hardware vendors would love that (sells more new machines) while ensuring that the specs state that it requires a CPU of such a generation and give people a decent readiness app that checks to see if the CPU is 64bit capable. If not, tell them so folks don't spend the money on an OS their hardware can't run.

      I already hear the gamers beefing yet all they have to do is use the Windows On Windows (WoW Compatibility Mode) with VirtualPC and sandbox the damn game. Hell this even works for many of the older apps (simply checkmark a compatibility mode) and run the app in it's own sandbox. These steps would improve Windows so much that we'd finally be able to prevent the common user (Joe Sixpack and Friends) from having as many problems while ensuring that the RIAA and MPAA are happy with proper DRM, while also preventing the system scragging of DRM solutions like the recent Spore and Sony debacles.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    14. Re:Just rip off the band-aid by UncleTogie · · Score: 1

      It's not a bandaid, since its basically a copy of what every other OS does and is considered critical. Run as a least priviledged user and elevate only when necessary.

      No, it's NOT a copy of what other OSes try to do... it's a pale imitation.

      Example: My eldest son, at the age of *5*, could turn on a Win 95 PC, knew to hit {ESC} to get past the password prompt, knew which CD to insert and which icon to click to do what he wanted, dismissing any dialogue boxes that appeared.

      That's the UAC. Security a 5-year-old could click past. I put the same kid {8 years later} on Ubuntu to see if he could get past the prompts to do some damage. The password stopped him every time.

      Security theater != security.

      --
      Don't tell me to get a life. I'm a gamer; I have LOTS of lives!
    15. Re:Just rip off the band-aid by blueg3 · · Score: 1

      Its awkward and sometimes not possible to elevate an explorer window or the control panel (so you would only need to elevate once for multiple operations)

      This one *is* really annoying. If you could elevate an Explorer window, it would probably solve a lot of stupid file-operation bugs I've run into with UAC.

      You need to elevate an installer even if you only want to install a program for yourself, not computer wide.

      Most Linux distros get this equally wrong -- you can only access the systemwide installation manager if you're an administrator. Otherwise, you need to just dump code in your own personal directory. (A common Linux operation, and at one point a fairly common Windows operation, but superseded by "running the installer is the only way".)

      being so arrogant that they think UAC is just "for noobs"

      This is just silly. People completely unfamiliar with security might want to turn UAC off, since they're unlikely to differentiate intentional, benign actions from hostile ones. People familiar with security should be annoyed by its quirks and bugs, but understand its usefulness as a guard.

    16. Re:Just rip off the band-aid by Shados · · Score: 1

      Yeah, though i was talking about the problems on Microsoft`s side. Windows Installer by default will tend to ask for elevation. It was one of the big complains when UAC was first revealed, if memory serves.

    17. Re:Just rip off the band-aid by Shados · · Score: 1

      This is just silly. People completely unfamiliar with security might want to turn UAC off, since they're unlikely to differentiate intentional, benign actions from hostile ones. People familiar with security should be annoyed by its quirks and bugs, but understand its usefulness as a guard.

      100% agreed. Unfortunately, most "power users" I know (people who can make Windows or even Unix do whatever they want, but don't "understand" either) will turn UAC off. Not because of its "quirks and bad design", but because "anyone who knows how to use a computer shouldn't have any problem running always as administrator". The vast majority of people I heard turning it off, did it for that. Average users, with a few exceptions, don't care enough. Professionals and people who really understand what its doing (which goes beyond the prompt, such as splitting the registry in multiple files, instead of centralizing it), leave it on. Its the arrogants in between that are problematic.

    18. Re:Just rip off the band-aid by Shados · · Score: 1

      Put the user as a non-priviledged one. Then when the prompt pops, it will do the same thing, but also ask for a password. The password-less prompt is an compromise for people who are spoiled by running as admin. If you run as a normal user, you'll get the same prompts at the same times, but requesting for password. So yes, same damn thing, just with extra options if you really enjoy the spoiled realm of running as "root".

    19. Re:Just rip off the band-aid by dna_(c)(tm)(r) · · Score: 1

      If Microsoft has to go to these lengths then they should probably be considering taking all control away and just keep a whitelist of acceptable apps that users are allowed to install.

      Why not, have central repository of open source and free software and payware metadata that is considered OK by their devs.

      Like Gentoo, Ubuntu, Debian, Mandrake, Red Hat, Suse and others do.

      Obviously, they should not be able to control it themselves...

    20. Re:Just rip off the band-aid by drsmithy · · Score: 1

      That's the UAC. Security a 5-year-old could click past.

      So if you're one of the minority where a password is required, configure it to use one.

    21. Re:Just rip off the band-aid by UncleTogie · · Score: 1

      So yes, same damn thing, just with extra options if you really enjoy the spoiled realm of running as "root".

      You can't be trying to tell me that it works like that by default, and that a user will know how to set it like that, or that they should to begin with.

      I'm not saying that fixes don't exist. I AM saying that the users that need it most will be the ones least likely to know about and implement them. I'd like that as a default, not a buried setting that Joe six-pack will never see...

      --
      Don't tell me to get a life. I'm a gamer; I have LOTS of lives!
    22. Re:Just rip off the band-aid by Shados · · Score: 1

      Yes, its unfortunately true that the default has you as admin. "Buried" though? It IS obscure for grandma, but all you have to do is create a new user, and thats far from obscure (and required for a lot of stuff). I've seen some seriously computer illiterate people that could do it.

    23. Re:Just rip off the band-aid by Anonymous Coward · · Score: 0

      Well, the UI is terrible for two reasons. One, programmatically it is impossible to know the intention of the triggering application. All it knows is that application x written by signed publisher y, assuming the application is signed, is attempting to do one of several tasks which you can't do without being Administrator. If the application requests elevation itself then it can provide better details.

      The second reason, which is why the prompt blacks out the rest of the screen, is to prevent some other application from attempting to programmatically click the "OK" button. UAC launches in a separate desktop from the working desktop. It takes a screenshot of the working desktop to use as a background for effect, but none of those windows are really there. Because of this, short of a rootkit, the prompt is completely isolated from other applications.

    24. Re:Just rip off the band-aid by tkinnun0 · · Score: 1

      Example: My eldest son, at the age of *5*, could turn on a Win 95 PC

      OK, that's your error is right there. You should have installed NT 3.51.

    25. Re:Just rip off the band-aid by Anonymous Coward · · Score: 0

      It depends on the ALLUSERS flag in the MSI. If it is set to 0 then the MSI doesn't require escalation initially, but will require escalation prior to installation if the user makes a selection that will change that value to 1 or 2. Lots of MSIs set ALLUSERS to 1 or 2 by default, and those MSIs do require escalation up front.

    26. Re:Just rip off the band-aid by ais523 · · Score: 1

      I'm one of the few people who (when they use Windows Vista, which is rare, although it's my favourite version of Windows so far precisely because of UAC) leaves UAC on, and makes sure that I know why a prompt came up before clicking allow. (By default, I click cancel unless I was expecting the prompt, and nothing seems to have gone wrong yet.) UAC is, as mentioned several times above, a good security model if done properly, and remarkably similar to the one generally used by Linux-based systems and used by Mac OS X. The problems are lack of information about why it's there, and the huge numbers of programs not designed for it. (Also the lack of setgid on Windows, I don't know if it's possible or not, but it's certainly not commonly used. That's a useful alternative to dangerous setuid or even more dangerous elevate-everything-by-not-reading-prompts. What do games on Windows do for things like high score tables, for instance? Localise per-user?)

      --
      (1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
    27. Re:Just rip off the band-aid by MobyDisk · · Score: 1

      Well, the UI is terrible for two reasons. One, programmatically it is impossible to know the intention of the triggering application.

      That is a common misconceptiopn. The OS actually knows quite a lot.

      Writes to HKCR are either shell extensions, COM components, or new extensions registered to an app. The UAC could say things like "updating .doc files to point to Microsoft Word" or even "Updating 'Open' for .doc files to point to Microsoft Word v9.0 in C:\..\Word.exe" Not that they need to, but they get a lot of detail. Updating startup components is obvious too. That covers the most common cases. File system too: "Adding items to start menu" or "updating system files" is clear.

      The screen freeze thing doesn't bother me, except for the delay.

  8. Mend it or end it? by Igarden2 · · Score: 3, Insightful

    Let's see, how long did it take for M$ to realize many users weren't thrilled with IE and it's so called security? I'm betting UAC is here to stay for a loooooong time. They will just keep trying to patch it and in the process further irritate users.

    --
    Normally I ascribe all life to intelligent design, but in your case I'll make an exception.
    1. Re:Mend it or end it? by fat_mike · · Score: 1, Offtopic

      Seriously, it is 2009, can we knock off the stupid M$.

    2. Re:Mend it or end it? by Anonymous Coward · · Score: 0

      Don't worry, M$ is on the way out. Window's Vista is a failure, Vista7 is a failure and staff are being fired by the droves. Be patient. It's not a question of if it's gone, but when and of how many small companies it will attack and destroy on the way out.

    3. Re:Mend it or end it? by Anonymous Coward · · Score: 0

      Looking at their financials, Mc will be more like it soon.

  9. Security is often an all or nothing affair. by Anonymous Coward · · Score: 0

    If you are using Windows 7 and want to be protected against silent elevation then turn UAC up to the highest level.

    1. Set UAC to full
    2. ???
    3. Profit

  10. I don't understand the fuss over UAC by rjmx · · Score: 5, Insightful

    First, let me say where I'm coming from. I've been using Linux for over twelve years; I have two full-time Linux servers at home, and a desktop and a laptop that both dual-boot Linux and Vista. I have an XP box and a Linux box at work, where I'm a Linux/Windows sysadmin and programmer, and I do most of my serious stuff there on the Linux box. At home, I stay in Linux most of the time, and I just boot into Vista when I want to run iTunes, or a game, or something else that only runs on Windows.

    That said, I actually like Vista. As I see it, its main problem is that is needs a fairly hefty machine to run it. If you're trying to run it with less than 1G of memory, or a not-very-fast processor, forget it. It certainly works for me.

    And I don't mind UAC at all. When it comes up, it's usually trying to tell me that I'm about to do something that may have serious consequences, and that I need to think about what I want Vista to do before I press OK. It just takes a moment, really.

    So why is everybody complaining about it? Have I missed something?

    1. Re:I don't understand the fuss over UAC by SpaceLifeForm · · Score: 1

      It is 'Security Theater', it will not stop botnets from being formed.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    2. Re:I don't understand the fuss over UAC by Sycraft-fu · · Score: 5, Insightful

      People are bitching because they want to, as the saying goes, have their cake and eat it too. They want their OS to keep them safe. When something bad could happen, they want the OS to jump in and say "Hey there, this could have serious consequences, you sure?" However, they don't want to be bothered to think. They want this all automatic. They want the OS to magically know if things are bad, and thus only bother them in that case. They want security, but without any responsibility.

      Also some bitch because it is Microsoft. There are more than a couple MS haters out there that will hate on any and every thing MS does. If someone else does it, it is good, if MS does it, it's bad.

      So there isn't going to be any shutting up either group, unfortunately. You can't have magic security that keeps you safe, but never asks you questions. Personally, I was hoping MS would stick to the real security route: Have UAC a true privilege separation, with no exceptions. Yes this means you have to click a button when you want to do something as admin. Deal with it, it isn't as though it is that often in normal use, and it isn't as though it's a big deal. However, they are apparently caving in and making it less frequent by making things that don't have to obey the rules. Well guess what? When something can go around the rules, something else can use that hole to sneak through.

      It would be like having a security checkpoint for weapons. Everyone gets scanned and searched. However you decide "Well little old ladies aren't a threat, they wouldn't bring a weapon, so let's not inconvenience them, we'll let them go through." Then someone uses a little old lady to sneak a gun in. Maybe it is even done with out said lady's knowledge. They are able to circumvent your system because of your exception.

    3. Re:I don't understand the fuss over UAC by arndawg · · Score: 1

      It is 'Security Theater', it will not stop botnets from being formed.

      IT will not STOP. But it will help the users that are smart enough to know that their excel document shouldn't require admin-privelegies!

    4. Re:I don't understand the fuss over UAC by ukyoCE · · Score: 1

      I expected to like Vista, when I started using it at work *after* Service Pack 1 came out. WAY too many major bugs.

      As for UAC, it was obnoxious for the first week of installing programs, especially because it often (intentionally?) pops up *behind* the program being installed. As in the dialog isn't visible. I sat there in another window working for 5+ minutes before I started wondering why the installer hadn't finished unpacking/preparing yet, and eventually found a UAC dialog behind everything.

      I think the key problem is that UAC triggers way too often. One week of running on Vista I saw more UAC prompts than I have on my linux and Mac combined for the past 4+ years. I'm not 100% sure why - is it because most windows apps are badly designed (for historical reasons)? Is it because my mac and linux are "insecure" compared to vista?

      I badly wanted to like Vista, and I still found myself infuriated with it.

    5. Re:I don't understand the fuss over UAC by Ralish · · Score: 1

      Personally, I was hoping MS would stick to the real security route: Have UAC a true privilege separation, with no exceptions.

      So was I, and I'm very disappointed they are taking the route that they are. However, the silver lining on the dark thundercloud is that this behaviour can still be enabled in Windows 7. Going into the Control Panel you can modify the UAC behavior through a slider, choosing various levels of UAC confirmation. Choosing maximum security will disable any whitelisting, with all privilege escalations requiring explicit approval, ala. Vista.

      Of course, only security conscious people will make this modification in the first place, and it should really be the default. However, it's nice that it's still there, the default setting might be "broken", but the UAC implementation as a whole isn't.

    6. Re:I don't understand the fuss over UAC by mysticgoat · · Score: 1

      So why is everybody complaining about it? Have I missed something?

      Uh, for one thing, you are out of touch with the realities of computer usage that most people face. There is a world full of common users who are yelling for a WinXP replacement that will meet their bread and butter needs, and you are saying to them "You should really try this delicious cake."

      Yeah, I think you have missed something. Why don't you get in line (metaphorically speaking) behind Marie Antoinette? You seem to be missing the same basic sensibilities that she was missing.

    7. Re:I don't understand the fuss over UAC by CodeBuster · · Score: 1

      So why is everybody complaining about it? Have I missed something?

      TFA is complaining that Microsoft has altered UAC in Windows 7 so that certain signed Microsoft programs, like Explorer and run32dll, can silently auto-elevate their privileges without notifying the user or generating a prompt. This opens the door for various methods of piggy backing malicious or abitrary code into processes which automatically run with root privileges, potentially negating entirely the benefits of UAC since neither Microsoft nor clever mawlware authors (and those wiley Russian Business Network hackers are nothing if not clever) will now be blocked or even just inconvenienced by UAC. From TFA:

      Unfortunately, the "Microsoft-signed application" restriction is easily bypassed using a standard Windows trick that allows one process to insert code into a second process, as long as both processes are being run by the same user. The limitations of the file management component are probably unavoidable (it can only do the things it has been programmed to do, after all), but it turns out it doesn't really matter. The file management component can place files into various locations on the system that an unelevated user cannot; an auto-elevate program can then be tricked into loading those files and executing code from them.

      So basically people are complaining that the "do as I say, not as I do" approach that Microsoft is taking to UAC in Windows 7 for their own products sends the wrong message to 3d party developers and re-opens the door to malware bypassing UAC altogether via "special" windows programs that can bypass UAC to reduce "annoying prompts" because obviouslly Microsofts own software would never have flaws or need to ask permission...yeah right.

    8. Re:I don't understand the fuss over UAC by mgblst · · Score: 1

      You don't get it.

      It is like saying, I stopped punching you in the arm, now I am kicking you in the leg, and you are still complaining?? Some people just aren't happy.

      Microsoft tried to do the right thing with UAC, but they fucked up. Should I really get this message when I copy a file? What the fuck for? They made it to onerous.

  11. Bug? by Altreus · · Score: 1

    Is this a bug? I mean, with Microsoft's track record and unwillingness to learn from mistakes, I can only theorise that this is actually a feature.

    --
    74.117.115.116 32.97.110.111 116.104.101.114 32.80.101.114 108.32.104.97 99.107.101.114
  12. No Script Bragging -- please stop by blahbooboo · · Score: 4, Insightful

    It has great documentation and with NoScript I feel safe everywhere on the Internets.

    You "no script" people are so funny with your need to Slashdot brag about using the internet without scripts. Yes, we get it, you're so amazing! The internet without scripts, wow that's so neat!

    1. Re:No Script Bragging -- please stop by meist3r · · Score: 4, Insightful

      The internet without scripts, wow that's so neat!

      You're doing it wrong. It's not about "No"Script it's about "Only those that are actually useful for the experience" Script but that would make a terrible extension name.

    2. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      Actually, that bragging serves a useful function: it's where I heard about noscript and through me several friends. Someone's bragging about security actually makes the internet more secure.

      Granted, I learned about it from a more insightful comment than "YAY OpenBSD!"

    3. Re:No Script Bragging -- please stop by mysticgoat · · Score: 5, Informative

      You don't know anything of what you speak.

      No Script is about MY having the choice of whether to run an arbitrary program on MY computer. I set up the whitelist, and I decide whether to make an exception.

      My ruff & reddy rules of usage:

      1. On first visit to any trustworthy site, add all its javascript sources that I also think are trustworthy to my white list. A one-time overhead of maybe 3 seconds.
      2. When following a /. lead to a site that I don't know anything about, assess whether any useful content is being hidden by a NoScript block
        • If so, unblock the bolded item in NoScript's list of javascript sources being used on the page. If the page smells worthy of it, I'll add this source to the whitelist, otherwise I'll do the unblock as a one-time thing. Reassess whether useful content is still being hidden, and if so repeat until good.
        • Else, leave all script sources blocked since I can get what I came for without them, and I'm unlikely to come back.
      3. When mucking about in the web's darker corners, do as above, except never permanently add a javascript source to the whitelist. Do it all as one-time only.

      Web pages that are using scripts from three different sources are not uncommon any more. Web pages that are using scripts from 5 or 6 sources are not rare. There are web pages that are using sources that in turn draw on other sources. When running NoScript, I decide not only whether I trust the developer of this web page, but whether I trust his judgment about the scripts that he is importing from elsewhere. I decide how wide I will let the circle of trust get.

      It's really a no-brainer. If you recognize the possibility that you might do something of value with the computer you are using, then use NoScript or something like that as a low cost method of protecting that potential. Otherwise, I would appreciate it if you would disconnect your virus infected, zombied machine from the internet, because your negligence is diminishing the common good.

    4. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      NOscript is like wearing a condom when you're married..no real point. Just stay away from those seedy places if you're so scared.

      But I jest...and take computers way to serious. You actually have a thought plan (with steps) on how to gauge a web pages 'worthiness!' WOW!!!

    5. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      Here's my ruff and reddy rules of usage:

      1. Don't visit warez sites.
      2. Don't visit p0rn sites.
      3. Er... that's it.

      You fall out of love with NoScript the minute you are in the middle of a secure transaction and you realize you have forgotten to whitelist the site.

    6. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      I've encountered malicious scripts on otherwise legit sites, due to third party ads.

      You are right about the secure transactions. The trick with this is to have a virtual machine configured to roll back all changes when closed, and to run an unprotected Web browser as a user with no admin rights under the guest OS.

    7. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 1, Funny

      seriously. Why wear a condom when you're jacking it to porn while your wife sleeps. Seems kind of silly.

    8. Re:No Script Bragging -- please stop by onefriedrice · · Score: 0

      No Script is about MY having the choice of whether to run an arbitrary program on MY computer.

      Yeah, an "arbitrary program" that is already sandboxed by the browser anyway. The worst it could do is use up some system resources, but if you're using your machine to browse the internet, you probably have a few resources to spare anyway. The problem some people have is that they use NoScript for security reasons. Those people need to learn to chill and trust their browser sandbox.

      I'm not making fun of you; I completely accept that there exists a type of people who really like NoScript, and that's fine with me. I think my solution is easier, though: If I go to a site that I don't like, I don't go back. There, problem solved. If I run into a site with an annoying, resource-hogging script, it'll steal about one or two seconds worth of my system resources, then I'm gone and I won't even lose sleep over it. If I go to a site with useful scripts, everything works already and I don't have to waste my time managing a whitelist.

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    9. Re:No Script Bragging -- please stop by jawtheshark · · Score: 5, Insightful

      NOscript is like wearing a condom when you're married..no real poin

      Contraception is quite a nice side effect of condoms, even when married.... Some women don't support the pill well.

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    10. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 5, Informative

      No Script is about MY having the choice of whether to run an arbitrary program on MY computer.

      Yeah, an "arbitrary program" that is already sandboxed by the browser anyway. The worst it could do is use up some system resources [...]. Those people need to learn to chill and trust their browser sandbox.

      [ ] You know that most security holes needing little to no user interaction require JavaScript to function properly.
      [ ] You know that NoScript can also block other techniques (Flash, Java) that are posing security risks.

      No?

    11. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      otherwise legit sites...third party ads

      If they're using a dodgy ad provider, they are in NO WAY a "legit" site.

    12. Re:No Script Bragging -- please stop by vux984 · · Score: 1

      No Script is about MY having the choice of whether to run an arbitrary program on MY computer. I set up the whitelist, and I decide whether to make an exception.

      My ruff & reddy rules of usage: 1.. 2.. 3... ...

      And people moan that Vista's UAC gets in their way too much?

    13. Re:No Script Bragging -- please stop by yacc143 · · Score: 1

      Well, you stupidly assume that going too www.sitea.com involves only sitea.com. You do not only rely on your browser sandbox, you do rely on sitea.com not to try something bad. Now guess, that implies that the owner of sitea.com does not get an unexpected new technical management (does not get hacked). Furthermore there are nowadays quite a number of things a malicious site can do to your computer, starting with a DoS (by running some bad Javascript), going over installing stuff on your computer (usually by relying on some kind of embedded media [especially flash allows sick things]), or do sick 3rd party site attacks (e.g. many sites that use cookies for authentication, which was state of the art some years ago, are attackable this way), .... So your premise that the "browser is adequately sandboxed" is naive. Especially if you include attacks like tracking my behaviour (I do consider that an attack. Guess ad networks are IMHO attackers :-P). E.g. ways to track an user: -) cookies => can be dealt with builtin Firefox tools, allowing or disallowing cookies from sitea.com -) non-expiring script URLs (only NoScript protects against that in most cases.) -) flash cookies (again, NoScript protects against that in most cases.) So dream on about how secure your sandbox is. *lol*

    14. Re:No Script Bragging -- please stop by Jurily · · Score: 1

      No Script is about MY having the choice of whether to run an arbitrary program on MY computer. I set up the whitelist, and I decide whether to make an exception.

      Thank you for articulating it. I still don't know why there is a culture of "running everything the website tells me to" among browsers. Let's just get over the flaws of IE5, shall we?

      The lack of an easily configurable blocker is what's keeping me away from Opera. With Noscript it's two clicks to temporarily OR permanently allow a given site; actually a given subsite.

    15. Re:No Script Bragging -- please stop by soren202 · · Score: 1

      I've never had that problem, actually.

      I use anti-virus maybe once a month, and never come up with an actual virus. The rest of the time, it's off my computer (it slows down my computer too much to be forgivable)

      To be honest, all you need to do to stay safe on the internet is common sense, and the ability to sense danger on the internet. Sure, things like No Script or the virtual machine setup you described might help, but the drawbacks usually far outweigh the benefits when it comes to things like that.

      Although, this is all moot. I use Ubuntu for most of my web surfing, so I can get away with a lot more than most other computer users. Why wear a condom when you're immune to all but the rarest of STD's?

    16. Re:No Script Bragging -- please stop by Hurricane78 · · Score: 1

      But those that are useful are usually those that get hacked. Plus, you never know what scripts there are, until you activate them. NoScript is a bad solution for a bad problem.

      The correct way, would be a XSS/injection audit on sites, saved in a whitelist. Much like an anti-virus program. Only the other way around. Hey, we might just program such a add-in for Firefox. It's really easy. Adblock Plus already has the remote-update code. We just have to mix it with the script-filtering of NoScript and create a new whitelist, stored on a server, and managed via Trac.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    17. Re:No Script Bragging -- please stop by Lennie · · Score: 2, Insightful

      It's not uncommon for people to get a STD because their spouse sleeps around.

      --
      New things are always on the horizon
    18. Re:No Script Bragging -- please stop by nog_lorp · · Score: 1

      NoScript also stops browser-killer scripts such as Last Resort and endless prompt scripts. It is a pain otherwise to kill Firefox and try to stop the page from loading when you reopen the session.

    19. Re:No Script Bragging -- please stop by tkinnun0 · · Score: 3, Insightful

      You know that most security holes needing little to no user interaction require JavaScript to function properly.

      Yes, and even more security holes need HTTP to function properly. I hear you can surf the web using daemons and email; I'd rather use Firefox.

    20. Re:No Script Bragging -- please stop by repvik · · Score: 1

      Yes, because a whitelist will help you a lot if the server is hacked and the script replaced.

    21. Re:No Script Bragging -- please stop by sortius_nod · · Score: 1

      So what you're saying is you're relying on someone else to decide what's safe and what's not? And this seems to give you the peace of mind to browse like a blind wombat?

      GREAT security regimen there...

    22. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      Your comment would make sense if there were many security holes that functioned solely through HTTP. There aren't, and your comment is stupid, or at best extremely ignorant.

    23. Re:No Script Bragging -- please stop by Ihmhi · · Score: 1

      That explains the "Fire" in Firefox.

      BA DUM PISH

      Thanks, I'll be here all night! Tip your waitress!

    24. Re:No Script Bragging -- please stop by tkinnun0 · · Score: 1

      There have been security holes that have worked thru TCP/IP. Is that low-level-enough for you?

    25. Re:No Script Bragging -- please stop by segra · · Score: 1

      what exactly are you talking about? noscript lets you select which sites you want to allow and block, better than the default... allow scripts on every website i visit

    26. Re:No Script Bragging -- please stop by wisty · · Score: 1

      No, what we need is a Javascript engine that won't run XSS. If a script from one site makes a request to another, the JS engine should ask permission. Your webbrowswer sends referrer tags to the next site, so should Javascript.

      (Wait, does Javascript already tag XSS with a from parameter?)

    27. Re:No Script Bragging -- please stop by ozphx · · Score: 1

      Especially the OP.... no reason... ;)

      --
      3laws: No freebies, no backsies, GTFO.
    28. Re:No Script Bragging -- please stop by ozphx · · Score: 1

      My ruff & reddy rules of TCP usage:

      1) Check the Evil bit on the packet. If its clear, I then handcraft an ACK and send it back.

      This is a one time overhead of a couple of seconds when I am sent a new packet.

      --
      3laws: No freebies, no backsies, GTFO.
    29. Re:No Script Bragging -- please stop by Blakey+Rat · · Score: 1

      That's the only reason to turn scripting off on the modern web: so you can outraged about how everything requires it and comment on it in really geeky (yet somehow also amazingly luddite) forums like this one.. (Also see: Cookies.)

    30. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      Without a way to assess the code before you run it, how can you do what you say and run a piece of JS or Flash again, ever? One way or the other you have to trust it, and all you got to go on is the host name.

    31. Re:No Script Bragging -- please stop by nicolas.kassis · · Score: 1

      You WIN!

    32. Re:No Script Bragging -- please stop by nicolas.kassis · · Score: 1

      Like with anything in computer security. There a tradeoff between ease of use and security. While the threat exist, the tradeoff of not being able to use a large number of website is a pain in the ass. I do block Javascript or Flash or ... because currently it's required for an enjoyable web experience. I believe that possible attacks will get patched quickly enough by Mozilla. The risk is there but it's not large enough to be worth the trouble of NoScript.

    33. Re:No Script Bragging -- please stop by jamesh · · Score: 1

      It's really a no-brainer.

      If it takes you a page of text to write up then it's not a no-brainer.

      When Mr WantsToLookAtSmut visits a page promising him the smuttiest smut he's ever seen, but when he goes there he is told "this webpage is incompatible with noscript. Please disable noscript and try again. This page is digitally signed by Microsoft and your bank.", he'll do exactly what he's told. The page is, after all, signed by Microsoft and his bank.

      Safe surfing on the web involves lots of judgment calls, often based on past experience and knowledge about the tricks that are possible. My plan is to develop a special training computer containing an arm holding a cardboard tube. The trainee will sit down in front of the computer and be presented with various scenarios that they will encounter on the real internet - nigerian bank scams, chain letters, offers of free porn, 'your bank account will be closed unless you use the following link to log in right now', etc. If they fall for anything like that they get whacked on the head. After 6 months of training they should be ready to access the real internet. Supervised of course.

    34. Re:No Script Bragging -- please stop by mysticgoat · · Score: 1

      Wow... world view of author of post is SO totally pwned... Give Microsoft mindshare one more point.

      Of greater interest, this came to me with 4+ mod points:

      • the 1 point everybody starts with
      • a second point because it was authored by someone with a little bit of karma
      • then two more points because post was from a 'friend of friend' and I add 2 pts to all such posts (so I can skim at 3+ or 4+ and not miss these posts)

      So how should I tune my slashdot settings? Drop the 'friend of friend' boost? or prune my list of friends? Seems like I need to spend a few weeks thinking about this.

      With a fool no season spend
      or be counted as his friend.

      That's still good advice, but maybe applying it on /. is a bit harsh. Or maybe if more /.ers did this, it would improve the quality of discourse.

    35. Re:No Script Bragging -- please stop by Thinboy00 · · Score: 1

      NoScript has clickjacking protection (IE doesn't: A while ago IE made it possible to prevent framebusting scripts from working by adding a parameter to the iframe. Now there's a header that can be used to emulate a framebuster script, but that only works if the browser supports it -- i.e. IE. MS marketed it as clickjacking protection, but it's really nothing more than a protection every other browser already has.)

      --
      $ make available
    36. Re:No Script Bragging -- please stop by d3ac0n · · Score: 1

      If a script from one site makes a request to another, the JS engine should ask permission.

      No Script already does this (Although I agree it should be part of the JS engine). Even on "Allowed" scripts, XSS operations cause a prompt who's default behavior is to stop the XSS action. You actually have to uncheck a box to unblock the XSS behavior.

      --
      Official Heretic from the "Church of Global Warming". Proven right thanks to whistle blowers. AGW = Flat Earth Theory
    37. Re:No Script Bragging -- please stop by Thinboy00 · · Score: 1

      UAC was "forced" in the sense that it was on by default and you had to go to the control panel to turn if off (not rocket science, but people are stupid). Therefore, it was more of a nuisance than is NoScript, which is only present on your machine if you want it. If you don't want it, have fun de-virusing your computer.

      --
      $ make available
    38. Re:No Script Bragging -- please stop by Thinboy00 · · Score: 1

      How many? 5? By comparison, how many are there in JScript?

      Also, which is easier to write in?

      --
      $ make available
    39. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      You know that most security holes needing little to no user interaction require JavaScript to function properly.

      Yes, and even more security holes need HTTP to function properly. I hear you can surf the web using daemons and email; I'd rather use Firefox.

      I'm rather flabbergasted how many negative comments on NoScript my above and other comments on its usage have provoked. Haven't you ever used it? It is so easy to configure, most websites still function properly, really no hassle.

      And its not just the point of intentionally visiting a malware site, NoScript protects from the accidental malware script you stumble upon. How many different websites do you visit regularly? I have about 10-30 news sites and a dozen or so technical/scientific resources I visit day-by-day, most don't need any scripting. If one does, I check the list of embedded scripts, temporarily allow them until it works and then allow them permanently. And I never have to go back and change anything again (unless they change domains), all the while beeing protected from virtually every scripting malware out there.

      Well, if that's too difficult to comprehend ... use Firefox without NoScript, it's great we have choice, isn't it?

      On the other hand, your note about "surf[ing] the web using daemons" is a valid and a good point. Instead of using clumsy bookmarks to go to a web page do download a resource (I partially live on daily updated PDF files with changing names, e. g., the menu of our canteen ;)), I'd rather just use an automatically or manually run shell script that
      a) downloads (not saves, just downloads) the web page in question with wget disguised as Firefox,
      b) parses the output for the URL string in question,
      c) downloads the resource to a predefined folder,
      d) renames it, if necessary,
      e) checks it for viruses, if necessary,
      f) and logs all its actions.

      No malware there, too.

    40. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      Without a way to assess the code before you run it, how can you do what you say and run a piece of JS or Flash again, ever?

      See my comment above. It's not the optimal solution, and I don't feel completely secure, but I am not paranoid, after all.

      One way or the other you have to trust it, and all you got to go on is the host name.

      There are always trade-offs in security. I "trust" a dozen or so domains permanently and from time to time I "trust" another temporarily. Maybe there's malware, maybe there isn't, well, that's life. But without NoScript, I would permanently trust every creepy little domain out there that tries to fetch me some script.

    41. Re:No Script Bragging -- please stop by Anonymous Coward · · Score: 0

      Sorry, I did the quoting wrong by not opening some tag. But I think you'll get the picture ...

    42. Re:No Script Bragging -- please stop by yacc143 · · Score: 1

      NoScript is not trouble, trivial to use. ;)

    43. Re:No Script Bragging -- please stop by meist3r · · Score: 1

      Having a single huge whitelist for that kind of stuff is pointless. It would be bloated and not very helpful. Different users use different sites and need different whitelists. Then again, who would do the audit? Who would have rights to add/remove to the list? Much better solution is individual vigilance and blocking rights. Most people don't even control their scripts so that would be a good place to start. Centralized structure comes later.

    44. Re:No Script Bragging -- please stop by Mattsson · · Score: 1

      Plus, you never know what scripts there are, until you activate them.

      But you can see if there are scripts from other sites that's trying to run.
      And even with a securely authenticated white-list of signed scripts ensuring that all the scripts a site want to run on my computer is probably safe to run, I'd want the final say in if I actually run them or not.
      Many sites are actually much more usable with scripts and flash turned off and even if a site is harder to use without scripts, I might elect to use it that way simply because I feel that they use scripts without a reason.

      --
      /.Mattsson - My native language is not English, so please don't whine over linguistic errors. (That's lame anyway...)
    45. Re:No Script Bragging -- please stop by cbiltcliffe · · Score: 1

      Of course, there are sites like BusinessWeek that get infected by SQL injection attacks, as well as United Nations, UK Government sites and the U.S. Department of Homeland Security.

      Then there's also the time Microsoft got hacked to distribute malware.

      Unless your definition of a non-legit site is "any site that's connected to and live on the Internet," then you are wrong.

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    46. Re:No Script Bragging -- please stop by daveime · · Score: 1

      I think the point he's trying to make is how do YOU determine if a script is safe UNTIL you enable it to run at least once ?

      Oh sorry, I didn't realise it was you, Brendan

    47. Re:No Script Bragging -- please stop by QuietObserver · · Score: 1

      I second that; I've not noticed a marked difference in Firefox operation from before installing NoScript to after, except a possible improvement, since there aren't anywhere near as many scripts, hazardous or otherwise, running by default anymore.

  13. The problem by Sycraft-fu · · Score: 5, Insightful

    Is that whiny users want something that magically protects them, but doesn't bother them. That's a nice idea and all, but you can't have that. You can't have it both ways with something like this: Either it is a real separation of privileges like it is in Vista, or there's going to be holes.

    Well, they gave people the real security that they'd been crying about with Vista. When UAC is on it is a no bullshit, you have to escalate to do things as admin. There aren't exceptions or the like, you escalate when you need admin. This does mean it asks in a lot of situations. Well, there's no avoiding that. Like I said, no exceptions. It is also very granular. It isn't one of these "Oh just click it once and we'll escalate everything for the next few minutes," things. That again would be insecure. No, it is per item. That thing and that thing only gets the elevated privilege.

    But people whined and bitched, including many of the same people who whined and bitched in the first place, so now they are backing off. Well, as part of that, you open up some potential holes. Sorry, but that's just life. If there are exceptions to the rules, then something can make use of those exceptions.

    You can't have a system that magically knows what the bad apps are, and only asks permission on those, well at least you can't without some sort of draconian trusted computing BS. That's what users want, but they can't have it, it isn't possible. Thus you've got three choices:

    1) Allow everything for administrators. Assume the admin knows what they are doing, and let them do whatever they want. Don't ask for permission for any action. This is the Windows XP method. It's very convenient, but also means that you'd better be careful.

    2) Have truly separate permissions, and require escalation. Everything has to go through the procedure, no exceptions. This is the Vista method. Means you get asked a lot (though personally I don't find it bad at all) but it is secure. Nothing gets to slide through because there aren't special cases.

    3) Have separate permissions, but allow exceptions to make things easier. Ask only in certain situation, or only so often. Just let everything else go by. This is the Windows 7 method (and also several variants of Linux I've seen). Fairly convenient, and more secure than #1, but only superficially so. Because there are exceptions, there are back doors for things to sneak through.

    So really, users have to come to terms with what they really want. The "I want it to protect me from bad things, but not bother me," doesn't work. That is akin to saying "I want security to make sure nobody sneaks a weapon on a plane but I don't want to go through a security checkpoint." No, sorry, doesn't work that way. If it is really going to work, then it has to be consistently applied to everyone or everything.

    1. Re:The problem by leomekenkamp · · Score: 1

      In which of your three choices would you categorize MacOS X? And this is a genuine question, not fanboism.

      --
      Wenn ist das Nunstueck git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput.
    2. Re:The problem by Anonymous Coward · · Score: 1, Insightful

      You can't have a system that magically knows what the bad apps are, and only asks permission on those, well at least you can't without some sort of draconian trusted computing BS. That's what users want, but they can't have it, it isn't possible. Thus you've got three choices:

      This is what I hate about modern computer security. So "You can't have a system that magically knows what the bad apps are" but my mother is supposed to magically be able to disassemble the machine code by visual inspection and reverse engineer a formal proof that the code is safe to run?

      These sorts of questions are a complete cop-out by the designer. The user never has enough information to make an informed choice. Either they click "yes" to everything or "no" to everything because how are they supposed to decide on a case-by-case basis? Astrology? Asking their cat? Taking a whizz on the keyboard and seeing what words are formed?

      I assume that in almost all cases the real reason they are being asked is just to shift the blame for the shitty state of normal computer security onto the users.

      In any event the security model you are assuming is so incredibly limited - a two-level authorisation framework where you assume the important thing is protecting system integrity. Many people are quite fond of their data as well, which is stored under the user priviledges. That's why the user/root distinction on Linux doesn't really help me as a home user - the only things I care about are on ~/ and the rest is more-or-less a stock install with a few modified config files. Sure an exploit on a program running as my user account couldn't affect /etc, but it could sure affect ~/docs/banking.

    3. Re:The problem by Anonymous Coward · · Score: 0

      > 2) Have truly separate permissions, and require escalation. Everything has to go through the procedure, no exceptions. This is the Vista method. Means you get asked a lot (though personally I don't find it bad at all) but it is secure. Nothing gets to slide through because there aren't special cases.

      Actually, this is also the Linux method, with one major difference: Vista escalation is once per every action, whereas on Linux you can also get "at most once per X minutes" (with a bit of a security problem) or "for that specific application" or for me most important "for this console window".
      Differences to windows:
      1) I can actually get stuff done with that console Window (personally I also consider PowerShell as combining the disadvantages of a programming language with the disadvantages of a shell combined with a lack of command-line tools).
      2) The "for that specific application" exists in Windows, too, except for the one application I consider most important: the Windows Explorer. You can hack it to work for it, but then each explorer window runs in an extra process. Just a "give me one explorer window with full admin"-feature I suspect would make many power-users happy.

    4. Re:The problem by DarkOx · · Score: 1

      As to the two level problem in Unix, its not you can be a member of multiple groups you don't have to use ACLs and ~/docs/banks does not have to have write access for your default group. Oh and groups can be password protected as well. As a home user where you have total control over the system you would be free to create as many user accounts as you like as well. I for one do things like banking and taxes in a different account than I do everything else. I run those apps, browser included for banking under sudo and only use that account for those activities.

      You could do much the same on Windows, even XP with its run as feature. I suspect it would be just as secure. The problem with the Microsoft world is not the software its the expectation that the user does not have to understand the tools. To get any work done at all you have to trust somebody some time.

      You need to to turst your OS vendor.
      You need to trust you business parterners
      and you need to trust you know you are really dealing with each via some CA authority or similiar at some point.

      Beyound that you probably need to run things unprivileged in their own sandbox. So maybe you don't use your same account for surfing the web and youtube and the like as your do for your work, and use a third account for your finacnces and record keeping. All separate with their own tokens(passwords most of the time).

      If you are going to run some kind of script or install a new version of software like a browser that might get run in the accounts you care about you need to trust the provide or read the source if its something manageable like a script.

      No matter what software you are using the computer does not think it only does. You will never have security as long as the user is not expected to KNOW something about how the machine works and what tools they have at their disposal to know who their dealing with. To use the car analogy would you expect a car to be safe in the hands of someone who does not know how to drive?

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    5. Re:The problem by Anonymous Coward · · Score: 0

      It's easy to take the attitude that the users are idiots, particularly since most of us are developers who have to deal with the supposed idiocy of users all the time. But seriously stop and think about how far we will get if we blindly take that attitude.

      Developers (particularly in OSS ego-land) seem to have this attitude that the solution they've provided is the best and that there's a set way to do something and if the user doesn't like it they have to put up with it. It can be reasonable, but it can also be a case of developer ego blocking the real issue. Case in point: gedit has had an open bug for 2 years now relating to saving files on CIFS shares. The developers have essentially stated that certain functionality causing the problem is necessary and the bug will not be fixed, resulting in the situation that there is a severe problem saving files on CIFS shares in gedit out of the box. If users can't use or complain about your program, is it your fault or the users? "Assume users are idiots" is right up there with "don't trust user input".

      I'm not saying that the UAC whitelist is the way to go, but a blanket attitude that security is done a certain way and the users are wrong is not going to improve the user experience, move product or convince users that it's worth upgrading. And in the end it's the users who are using your software.

    6. Re:The problem by Sycraft-fu · · Score: 1

      I haven't used OS-X enough to render an informed opinion on that. We are a Windows/Linux/Solaris shop at work so I use OS-X only rarely, and then usually only as an "end user" type not as an admin.

    7. Re:The problem by Anonymous Coward · · Score: 0

      The root/user model doesn't protect your data and it was never meant to do that. It protects the system from the users and the users from each other.

      If you want your data to be secure and safe you surely need other means of protection, like encryption and backups. But the point is, if you can't protect your system then every added security is meaningless.

      And for your first point. You are right in that you can't expect users to magically know what is secure and what is not. But I don't come to the same conclusion. You can't expect people to just know how to handle a car in a secure way either. They have to learn it.
      Why can't we expect that of computer users? You don't have to know much to use UAC to your advantage. I don't know much about what a program does when the prompt shows up either. But I know that my actions triggered that dialog.
      Showing up when opening some administrative tool: expected to show up, just click ok.
      Showing up with a normal program: better do some research about it.

      Thats what they need to know to keep their computer quite safe and be happy with UAC. It needs some effort of them, but so does everything else in the world.

    8. Re:The problem by drsmithy · · Score: 1

      In which of your three choices would you categorize MacOS X? And this is a genuine question, not fanboism.

      OS X would be a '3'.

    9. Re:The problem by QuoteMstr · · Score: 1

      Do you run your bank browser in the same X11 session as your regular user account? If so, you've opened up a security vulnerability. Windows people call this a "shatter attack", but X11 is just as vulnerable to it. Security is hard.

    10. Re:The problem by DarkOx · · Score: 1

      No to be honest I don't go as far as a spearate X session. I was aware there is risk there though. At some point a trade off does need to be made between security and usablility.

      I am drawing the line at having to close everything else I was using, and start a new X session. I have considered things like Xscreen but there are limits.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    11. Re:The problem by QuoteMstr · · Score: 1

      But then all you're doing, really, is fooling yourself. It's no better than Microsoft's now-you-see-it-now-you-don't UAC. A way around a security barrier means there's no barrier at all.

    12. Re:The problem by leomekenkamp · · Score: 1

      Oh. As an active os x user for about 2 years now, I must say that I would not place it in 3... Neither in 2 nor 1.

      --
      Wenn ist das Nunstueck git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput.
    13. Re:The problem by Simetrical · · Score: 1

      3) Have separate permissions, but allow exceptions to make things easier. Ask only in certain situation, or only so often. Just let everything else go by. This is the Windows 7 method (and also several variants of Linux I've seen).

      "Several"? Name me one distro in which /bin/ping isn't setuid root. On my Ubuntu desktop, find /usr /bin /sbin /lib -perm -4000 | wc -l returns "38". My RHEL server is only marginally lower, at 32. Every security system needs to have exceptions, and Unix has allowed them since the early 1970s.

      --
      MediaWiki developer, Total War Center sysadmin
    14. Re:The problem by Anonymous Coward · · Score: 0

      OS X's permissions are considerably looser than a typical big-boy *nix system. If you've ever dragged something to /Applications, you should know this.

      Think of it this way: If Vista had OS X's permissions, nobody would be complaining about UAC.

    15. Re:The problem by Anonymous Coward · · Score: 0

      No, the problem is that user do not want to be bothered by senseless dialog boxes popping up for security reasons and asking them to make a choice about something:
      a) they did not even know existed (and will forget about it soon anyway, the computer is a tool not a subject of interest to most people you know),
      b) they haven't got the faintest idea of their choice consequences,
      c) they cannot google because suddenly the fucking computer is all locked up!
      d) ... (you see my point?)
      It's a usability problem and most people on /. being power users fail to see it.
      Not to say it's perfect on OSX or Linux (never used), but it is less nagging and annoying, and seems to come up at the right time only ... But I am sure even on other OSes it can be improved, but usability starts to get real attention now for application development, so for security I think we can wait another 20 to 30 years unfortunately ... :-(

  14. UAC was an interesting experiment by Eric+Desrosiers · · Score: 2, Interesting

    Microsoft went an interesting way with UAC and security in Vista. If you are running as a normal user, then if you attempt to do an operation that requires elevated priviliges, then you get prompted for an admin user id and password. Which is what you want.

    Where it goes weird is if you are running as administrator then it prompts you with the allow or deny box. This is silly for power users, but for people who only used the older versions of windows and don't know much about the other user rights model in other OSes, then at least it does provide some information that some software is trying to do something significant.

    I always thought the point of UAC was to push people to run as a normal user for their day to day operations. However, I don't believe Microsoft attempted to do even a little bit of education and the UAC prompt itself is not very informative.

    However, I don't think Microsoft should be blasted for UAC: They tried something new and interesting to attempt to make their OS more secure.

    As for the story, as long as the behavior when running as a normal user is not affected, then I don't really think it matters.

    1. Re:UAC was an interesting experiment by John+Hasler · · Score: 1

      > I always thought the point of UAC was to push people to run as a normal user for their
      > day to day operations.

      Then non-admin would be the default. Is it?

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:UAC was an interesting experiment by Anonymous Coward · · Score: 0

      It is not silly for power users.

      It is NOT silly for power users.

      You are retarded.

      What happens when you download and run something apparently innocuous but actually malicious? On XP, it has admin rights and destroys your computer.

      On Vista, it asks for privilege escalation and you refuse it because you're a power user and you know it should not have privileges.

      If anything, it's silly for normal users, because they'll be more likely to click OK for everything. That's not Microsoft's fault.

    3. Re:UAC was an interesting experiment by mabinogi · · Score: 1

      On Vista, it asks for privilege escalation and you...

      ...accept it because in its current implementation there's no way to know exactly what its wanting to do, and escalation is required too often by too many important programs for this innocuous one to raise any eyebrows. (Software firewalls fail in this way too).

      I like the idea of UAC, and I think it's a good move if implemented properly, but I ended up turning it off.
      Not because of the "allow or deny" dialogues - which were a little annoying, but only a little bit - you knew when you were going to face them. The reason I turned it off is because stuff just didn't work.
      There were programs that either wouldn't run, or wouldn't install properly with it on.
      Sure, that means it's probably the fault of the developers of those programs, not Microsoft's - but it doesn't change the fact that I had to turn it off to use my computer they way I wanted to.
      Not using those programs isn't an option, because I just don't care enough - I just wanted to get on with what I was doing, and had already lost enough hours figuring out it was UAC causing the problem.
      So now I leave it off so that there's one less potential cause of frustration in the future.

      --
      Advanced users are users too!
  15. Mend it or end it. by ciderVisor · · Score: 3, Funny

    "Ending is better than mending. The more stitches, the less riches; the more stitches ..."

    --
    Squirrel!
  16. Human error by mc1138 · · Score: 2, Insightful

    Microsoft's problem is that they tried to fix human stupidity with a technical solution. The problem with UAC is that people would either just click ok without reading, or turn it off entirely. Then, complain that windows was insecure. What Microsoft failed to really come to terms with, is that there are a lot of dumb users out there that will circumvent everything, go to all the nasty porn sites they can, and get viruses that they will then blame on something other than their own user error.

    1. Re:Human error by Heather+D · · Score: 1

      Truth. I'm not a fan of MS but it does seem that they cannot win with this. People just want the trains to run on time and they'll get that and damn the consequences.

    2. Re:Human error by Anonymous Coward · · Score: 0

      That's one way to look at it. For sure, you can't fix human stupidity with a technical solution. But you can mitigate the damage that human stupidity causes, as it isn't going away.

      Why do all programs installed run *as* the user who is logged in with all their permissions? This is actually a hold-over from multi-user system days, when the object was to protect users from other users on the same system. Anything a user actually decided to run was basically fine: they either knew what they were doing, or the admin had installed it all for them. If they really screwed up, it might do awful things to their data, but it wouldn't affect the other user's data on the same system.

      Nowadays, the problem is protecting the (usually single user) of system from their own actions when connected to the untrusted internet. Microsoft have made some moves in this direction, with integrity levels for untrusted code, but it's only the very start of even beginning to properly model trust and security in this new age.

    3. Re:Human error by EXTomar · · Score: 1

      Why is it "human stupidity" to use Windows in the way it was meant to be used? People want to install stuff but they don't want the installed stuff to wreck their machine. People want to browse web pages and read email with out fear of picking up something heinous. It would be one thing if users where abusing Windows causing it to malfunction but that isn't what is happening. They are using Vista as designed and being pestered at too many steps.

      I don't see why Windows doesn't provide a space to install anything a user wants in their own part of the file system. If more than one user needs to use the same software, then use a different installer and mode. And people make mistakes so they may install some trojan adware which at worst makes them lose their personal data but still doesn't wreck the machine.

      There is a way to engineer multi-user systems where I believe "the original sin" was that Windows NT never really embraced that. Was it because Microsoft wanted NT to hang onto WfW or 95 behavior? That is probably a /. topic for another day but the side effects are what we have today. UAC is born out of this mess where it is literally that Windows can't figure out what is the safe thing to do any more so it must lean on the user who may or may not know any better either.

  17. The end of the empire? by Trip6 · · Score: 2, Insightful

    I'm mostly an office user and switched to Mac - there's no way I'll run Vista or, at this point, W7 (which looks like a Vista retread). I'm not at all alone. How fast will MS OS share decline if W7 doesn't stop the bleeding?

    --
    I hate being bipolar; it's awesome!
    1. Re:The end of the empire? by Anonymous Coward · · Score: 0

      Windows will hit 80% in 2034. Everyone's ditching Microsoft - lol!

  18. It's all a workaround by AnalPerfume · · Score: 2, Insightful

    Windows was designed as a single user system with the user sitting at the box. As soon as you connect it to other boxes via a network it's dead. All of Microsoft's plans for Windows security are based around trying to get a level of multi-user protection into a system not designed for it. They are desperately trying to apply a band aid to a broken leg with solutions like UAC; some of the damage may be limited but it's not a great solution and will never be, no matter how much they work on it.

    The only solution is to scrap Windows altogether and build a new multi-user OS from scratch.....or do what Apple did; take the BSD kernel, add a few bells and whistles with a fancy skin and pretend they invented it. The two areas they have a problem if they go that route, is that they are hemorrhaging money on the products they do have on the market since more and more people are deciding that they don't want what Microsoft are offering them, and that they have the world convinced that the Microsoft way is king, that any change is bad because it's confusing and means relearning.....which would be an issue if they changed Windows with another OS.

    Companies only put work into a product if that somehow feeds results back into the profits. Like any company, they want to do as little for the most gain. Constantly tinkering with the security applications is much easier and cheaper than a complete rewrite. It also helps when you have a software sector which rely soley on your incompetence. The anti-malware companies wouldn't exist if you did your job right, they also have to compete with each other as to who can cover your ass the best; which also lets you cut back on spending money to really make it secure.

    As the internet evolves, as people find new ways to use and abuse it, Windows gets more and more obsolete. The more FOSS improves, evolves and continues to offer users flexibility, freedom, security and stability, Windows gets more and more obsolete. It's only a matter of when, not if it becomes a minority player.

    1. Re:It's all a workaround by ettlz · · Score: 2, Funny

      The only solution is to scrap Windows altogether and build a new multi-user OS from scratch....

      And what might they call this... this New Technology?

      OWAIT

    2. Re:It's all a workaround by npcompleat · · Score: 1

      For those who don't know, Windows NT has an interesting ancestry:

      VMS ----> WNT

      Here's another example of the same relationship:

      HAL ---> IBM

    3. Re:It's all a workaround by drsmithy · · Score: 1

      Windows was designed as a single user system with the user sitting at the box.

      Windows NT has been a multiuser system since day 1.

    4. Re:It's all a workaround by AnalPerfume · · Score: 1

      That depends on how you define "multi user". If you mean it can have multiple user accounts but only one can be logged on at any one time on the same box then it is. This is what Microsoft define as "multi user". In the non-Windows world "multi user" means that multiple users can be logged on at the same time; Windows has never been able to do this. This is vintage Microsoft problem solving at work; just redefine the terms rather than fixing the real problem.

      Part of the problem Microsoft have in taking a real multi-user approach (in addition to Windows not being designed for it) is that they have different licensing models and prices for seats on some Windows products. Hence desktop Windows is a one seat / one logged on account deal.

      Since only one user can be logged on at any one time, that user must be able to install / uninstall software, which means Microsoft have their default user as an Administrator; which means all actions are run with admin rights....which includes malware. Third party developers are also lazy when they need rights for their apps to run; they figure that every Windows user is going to be running as an Administrator that they don't need to figure out if their app needs admin rights, so they just set it to need them. This means that even if you do try to modify your Windows box to something resembling a more secure *nix like model, every app will be fighting you on it, demanding admin rights for the simplest, most menial things. At some point you will get pissed off with the constant battle that you're gonna go back to running as admin all the time; which puts you back to square one.

      UAC is an attempt to glue in a kinda *nix sudo function which is long overdue, but it's never going to work that well.

      This is the reason why *nix boxes would never have the same malware problem if they had Windows market share. Most malware writers would definitely target the biggest market share, but how many pea shooters could damage a tank? There would no doubt be plenty of different approaches like infecting repos but the diversity and open source development model would keep that vector closed for the most part.

    5. Re:It's all a workaround by drsmithy · · Score: 2, Insightful

      That depends on how you define "multi user".

      Indeed. If you define it the same was as computer scientists and OS developers, then Windows NT is multiuser.

      If you define it like an anti-Windows troll, then it isn't.

      A multiuser OS is one that can run processes in different user contexts. Everything above that is userspace gravy. An OS doesn't even need to be capable of supporting interactive logins *at all* to qualify as multiuser.

      If you mean it can have multiple user accounts but only one can be logged on at any one time on the same box then it is. This is what Microsoft define as "multi user".

      No, they don't.

      In the non-Windows world "multi user" means that multiple users can be logged on at the same time; Windows has never been able to do this. This is vintage Microsoft problem solving at work; just redefine the terms rather than fixing the real problem.

      Firstly, NT has always been able to handle, say, multiple users telnetted in - if you want to use that definition of "logged in". If you want to use another definition, "Run As" has always existed and when you "Run As" a program as another user, that user account is logged in. If you want to use the "GUI login" definition, then multiple GUI logins have been around since NT 4.0.

      Secondly, by your wrong definition, the only thing you need to turn a single user OS into a multiuser OS is a telnet server (or something similar). Do you seriously want to try and argue that Windows 95 running a telnet server is a multiuser OS ?

      Thirdly, by your wrong definition, running Linux on embedded hardware that has no ability to facilitate interactive logins, makes it a single user OS. Do you really want to argue that when you can't login to it, Linux is a single user OS ?

      This means that even if you do try to modify your Windows box to something resembling a more secure *nix like model, every app will be fighting you on it, demanding admin rights for the simplest, most menial things.

      Actually it's nowhere near that bad. I've been running Windows NT as a regular user since early 1996, and even back then it was unusual to find something "Run As" (or some judicious filesystem permissions mangling) couldn't make work.

      UAC is an attempt to glue in a kinda *nix sudo function which is long overdue, but it's never going to work that well.

      UAC is basically an attempt to put a prettier and more automated face on "Run As". The underlying technology to facilitate has been there since the first version of NT, back in 1992.

      This is the reason why *nix boxes would never have the same malware problem if they had Windows market share.

      Yes, they would (especially if they'd had that marketshare through the same time period - do you have any idea how common UNIX exploits were in the 90s ?). User privilege separation is almost completely irrelevant to malware. A piece of malware can do basically anything it needs to from a regular user account.

    6. Re:It's all a workaround by AnalPerfume · · Score: 1

      "User privilege separation is almost completely irrelevant to malware. A piece of malware can do basically anything it needs to from a regular user account."

      Linux boxes can't install or uninstall anything as a regular user, they need root priv's to do that. Whether that's a su into a separate root account, or a sudo to elevate those commands to root, they still need to be root. Doing anything to the root file system, program binaries, system wide settings etc can only be done with root privs too. This is a huge defense mechanism that Windows does not have, it is very much central in protecting the system from malware.

    7. Re:It's all a workaround by drsmithy · · Score: 1

      Linux boxes can't install or uninstall anything as a regular user, they need root priv's to do that.

      A process running as a user can do whatever it wants to the user's home directory. Why do you think malware can't be run from a user's home directory ?

      This is a huge defense mechanism that Windows does not have, it is very much central in protecting the system from malware.

      Windows most certainly does have it. That many people run as Administrator and effectively circumvent this is a separate issue.

      The whole point is, however, it's almost completely irrelevant. Malware doesn't need elevated privileges to do pretty much everything it might want to do.

    8. Re:It's all a workaround by jmorris42 · · Score: 1

      > The only solution is to scrap Windows altogether and build a new multi-user OS from scratch.....

      Someone else did a detailed rebuttal but I will just add a small observation. Windows NT was and is multiuser. By XP they had even bolted on the Win9x stuff fairly well. The problem is they can make Windows multiuser all they want, it solves nothing. The apps were still making assumptions from WfW 3.1 and many never truly adapted, instead Microsoft has been adapting by making changes to allow them to keep doing stupid things. That is what dooms them. They could have drawn a line and said beyond this date no app written correctly is going to run. And watched users not upgrade in droves. Because they don't care about security nearly as much as they do about backwards compatibility. Even it means allowing some damned game to write to the \Windows directory.

      --
      Democrat delenda est
    9. Re:It's all a workaround by AnalPerfume · · Score: 1

      It can indeed run in the users home directory, but it can't affect system wide settings. The worst it can do is destroy a users data. Malware is not written to damage only a users data, it wants access to the whole system, which means outside as well as inside the users home directory.

      The reason most Windows users run as Administrator is that it's set up like that by OEMs. Windows has always edged on the "easy to use" side, which could be done in 2 ways:

      1 - Educate users on the choices
      2 - Make the users decisions for them in the background and don't ask them.

      Microsoft have never entertained the option of educating their users, specially when there's money in repairing boxes hosed with malware....again. When they have expensive certifications to sell people the last thing they want is average users getting knowledgeable; it dries up other revenue streams. Microsoft have long relied on people just buying new PC's with fresh Windows licenses when their old PC is so clogged with malware. Teach the people to avoid infestations and their PC's last longer which means less sales. Around 80% of Windows sales come from new PC's with Windows pre-installed.

    10. Re:It's all a workaround by spitzak · · Score: 1

      NT has always been able to handle, say, multiple users telnetted in

      This is absolutley false. At Digital Domain this was a huge problem with running the render farm machines using NT. The machines had multiple processors which were much more efficiently utilized by running a different job per processor (mutlithreading was somewhat primitive back then). This was trivial on Linux but an absolute pain in the ass on NT, I believe the final solution was to run everything as a single "render farm user".

      Enormous amounts of stuff about the "current user" was written to fixed locations in the file system, so it really was impossible for multiple users to use the machine at once.

      They did fix this in Win2K. But don't lie when there are people here who know the truth, it does not help your arguments.

    11. Re:It's all a workaround by Blakey+Rat · · Score: 1

      That depends on how you define "multi user".

      Pray tell, sir, what definition of "multi-user" includes Linux and OS X, but not WinNT?

      If you mean it can have multiple user accounts but only one can be logged on at any one time on the same box then it is. In the non-Windows world "multi user" means that multiple users can be logged on at the same time; Windows has never been able to do this.

      You can have as many user accounts logged on to WinNT as you like at one time. Originally this was only supported over Telnet, but then 2000 (I believe) let you do it over RDC, and XP and up had "Fast User Switching" to do it with interactive GUIs applications.

      The fact that you don't know any of this makes you completely unqualified to talk about WinNT.

      Part of the problem Microsoft have in taking a real multi-user approach (in addition to Windows not being designed for it) is that they have different licensing models and prices for seats on some Windows products. Hence desktop Windows is a one seat / one logged on account deal.

      This paragraph is complete gibberish. I've (personally) created over 100 user accounts on a single XP Professional install. Without paying anything, or punching in any serial keys, or anything. (The machine was at a hospital sleep room, shared between dozens of doctors. We created an account for each doctor for security reasons.)

      Since only one user can be logged on at any one time, that user must be able to install / uninstall software, which means Microsoft have their default user as an Administrator; which means all actions are run with admin rights....which includes malware.

      Wow. Just wow. Running as Administrator has *nothing* to do with compatibility with Windows 98 applications, it's all about running installers. It's hard to believe one person can be so idiotic.

    12. Re:It's all a workaround by diamondsw · · Score: 1

      "do what Apple did; take the BSD kernel, add a few bells and whistles with a fancy skin and pretend they invented it"

      The kernel is Mach, not BSD (although the userland is). The driver model (IOKit) and kernel extension system are completely Apple-designed. They're even thrown out venerable systems like cron, init, and rc.d in favor of the much more flexible launchd - which is open source and Apache licensed. All of this neglects the higher-level APIs, which are based on NeXT although hugely expanded over the last 12 years. And the "pretty skin" is a PDF-based, resolution independent, compositing, GPU-accelerated windowing system - all of which Apple has had since 10.2 in 2002. X11 is just now managing some of this (good luck on GPU-accelerated windowing with the state of open source drivers).

      Apple has certainly taken advantage of a powerful open-source foundation in Mach and BSD. But they've then done a hell of a lot with it and made a much better product. And where it makes sense (launchd, WebKit, etc) they've given back to the community. Isn't that how open source is supposed to work?

      Impressive ignorance. It makes the rest of your comment and opinions rather suspect.

      --
      I don't know what kind of crack I was on, but I suspect it was decaf.
    13. Re:It's all a workaround by shutdown+-p+now · · Score: 1

      They could have drawn a line and said beyond this date no app written correctly is going to run. And watched users not upgrade in droves.

      Isn't that pretty much what happened with Vista?

    14. Re:It's all a workaround by mabinogi · · Score: 1

      It can indeed run in the users home directory, but it can't affect system wide settings.

      Why would it want to? it doesn't need to affect system settings to scan your evolution/thunderbird/kmail settings for your ISP's smtp server, start listening on a TCP port (above 1000), or connect to an IRC channel and then wait for the orders to start spamming. It probably doesn't even need root to start keylogging.

      The worst it can do is destroy a users data.

      Which is also the worst it can do as root - except as root it can do it to multiple users.
      Reinstalling the operating system is a pain, but not disastrous.
      Losing all your data is devastating.
      How many of the sorts of users that are prone to running random executables do you think have an effective backup regime?

      But having said that, losing all your data or destroying your computer is not what modern malware does - that would make people notice it. Instead it's either going to be sending spam, or trying to grab your passwords. (which are probably nicely stored in places like ~/.mozilla/profile/ with only simple encryption). Neither of those require root.

      --
      Advanced users are users too!
  19. Full Featured Windows API by Sponge+Bath · · Score: 3, Funny

    ...APIs such as WriteProcessMemory and CreateRemoteThread.

    At first glance I was wondering why Microsoft would supply and API function CreateRemoteThreat().
    Even for Windows, that would be a little out there.

    1. Re:Full Featured Windows API by mysidia · · Score: 1

      WriteProcessMemory should be a privileged call.

      I don't see how it could possibly be secure to allow one process to write to another process' memory area, without special privileges needing to be exercised.

      If for no other reason, than WriteProcessMemory could in theory easily be used by malware to inject code into other running programs (like injecting code into AV software to negate detection, while leaving the program _appear_ to stay running without disruption)

    2. Re:Full Featured Windows API by Anonymous Coward · · Score: 0

      WriteProcessMemory should be a privileged call.

      WriteProcessMemory is protected by the PROCESS_VM_READ access right. This access right is automatically given to processes when they create a child process and also to processes running as users that have the debug privilege.

      Which of these options would you like to restrict? Should you not be able to debug your own processes? Should the admin not be able to debug any process on the system?

    3. Re:Full Featured Windows API by yacc143 · · Score: 1

      Well, the barn has already burnt down, you could manipulate process memory via Edit Controls and posted Messages for a long time.

      Add the TIMER message, at voila execute code in the target process. Not as neat as WriteProcessMemory and a remote thread, but workable.

    4. Re:Full Featured Windows API by Anonymous Coward · · Score: 0

      Hey. I have a legitimate use for that one. Granted its for working around another one of Microsoft's bugs, but hey.

  20. The first thing I will do after getting Win 7... by sam0737 · · Score: 3, Interesting

    ...is to re-configure the UAC to make it as strict as Vista.

    Hell, UAC is good. It's better than sudo. With sudo I will be tempted to use "sudo -s".

    The most common scenario to meet an UAC dialog for me is when installing new apps or drivers. Other than that, you shouldn't really see an UAC dialog...
    Most of the apps I came across have adopted to require no admin privileges. After all, it's the App fault to requires UAC in the first place for those doesn't really need admin privileges.

    BTW, I think in Win 7, AFAIK all Microsoft signed EXE are exempted for UAC prompt by default. There isn't a whitelist but simply all MS signed binaries are exempted.

  21. OSX UAC by goombah99 · · Score: 2, Insightful

    OSX has both the unix permissions and something like the UAC.

    I find the UAC so mind boggling I don't use it. Some applications seem to respect it and some don't. e.g. if you can't do something in a Finder window, sometimes you can do it in a terminal window. I have not figured out what the pattern is or if the UAC are there to allow actual secure protection or just guard railings to keep the riff raff from doing stupid things.

    I suspect the Windows folks would say the UAC is just guard railings not actual security.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:OSX UAC by Anonymous Coward · · Score: 1, Insightful

      Some applications seem to respect it and some don't. e.g. if you can't do something in a Finder window, sometimes you can do it in a terminal window.

      The reason you can do things in Terminal that you can't do in Finder is because you're running as Admin, most likely for no good reason.
       
      If you don't run as Admin, you're a lot safer. This is because, even if a script said 'cd Applications; rm *' it wouldn't be able to (non-Admin OSX accounts cannot modify the Applications folder).

    2. Re:OSX UAC by Anonymous Coward · · Score: 0

      I'm curious about this. I don't own a Mac so I'd like to hear more about the things you can do in a terminal that you can't do in Finder. Are you saying that if you clicked on program YYY in Finder that UAC might nag you but if you were to go to the terminal and type "/path/to/YYY" that it will(might) bypass UAC? If so it sounds like the UAC isn't as integrated as Apple would have everyone think or they figure that anyone running a program from command line would know what they're doing in the first place but that wouldn't be a good assumption.

      Please, tell me more.

    3. Re:OSX UAC by thetoadwarrior · · Score: 1

      I suspect the Windows folks would say the UAC is just guard railings not actual security.

      The proper term is now guide rail because a guard rail doesn't actually guard against anything and as usual, someone probably sued someone over the technicality after having an accident.

    4. Re:OSX UAC by Anonymous Coward · · Score: 0

      I am not sure what the original poster was talking about. If I wanted to delete everything from within /Applications, I could do so from within the Finder.

      I am trying really hard to think of something I could do from the terminal (without sudo) that I would be prevented from doing so in the Finder. I am having a really difficult time coming up with anything.

    5. Re:OSX UAC by e4g4 · · Score: 4, Informative

      As best I can tell from what this guy is saying, there are some places (like, for example, deleting a file in the /System or /Library directory) where the Finder would prompt you for a password. As OS X matures, there are still some times where the Finder simply doesn't do it right - and simply refuses permission, when it should prompt you for permission. This happens less frequently in Leopard than it did in Tiger. There is nothing separate from the POSIX permissions in OS X, there is nothing like UAC that can be turned on and off. If you have permissions, you can do something, if you don't, you can't, or you are prompted for a password (the gui equivalent of 'sudo').

      --
      The secret to creativity is knowing how to hide your sources. - Albert Einstein
    6. Re:OSX UAC by flydpnkrtn · · Score: 0, Troll

      e.g. if you can't do something in a Finder window, sometimes you can do it in a terminal window

      Wait, you're talking about doing this on Windows right? s/Finder/Explorer/ and s/terminal/command prompt/ right? Otherwise I'm so confused...

    7. Re:OSX UAC by blueg3 · · Score: 2, Informative

      Actually, what it has is essentially like sudo but with a graphical authentication system. (The authentication controls allow a fairly large amount of flexibility, but one of its major purposes is a gateway to setuid.)

      If you've ever written these sorts of programs, it's not "mind-boggling" at all. The Terminal will let you sudo-run any command you want; of course you can do it through the Terminal. They haven't covered in the Finder every possible situation you might need privilege escalation -- they have to call the authentication and escalation themselves.

    8. Re:OSX UAC by Anonymous Coward · · Score: 0

      so why don't they change the nature of the registry? I know MANY of the errors are with HKLM and HKCU, so why doesn't Microsoft create a new key for 'machine' such as "NTLM" and leave the current writable keys as a "writable user registry" stored in their local profile? Also, provide a place for users to install software that's not system wide?

      Limited user account, their own personal registry and place to install programs w/o needing to be an administrative user -OR- request admin password for installing files to the usual place but write all changes to the user account (apart from upgrades of the actual program) and they get their own user registry etc?

    9. Re:OSX UAC by that+this+is+not+und · · Score: 2, Funny

      Maybe he's talking about MacOS 7.5.3 and the command prompt you can get in classic MacOS if you install Gnu Emacs and do a ' X shell' to get the command prompt.

      (yes- a command prompt reachable on MacOS 7)

      I have a mind the flips to the opposite automatically. I hear 'finder' and automatically think 'loser' for some reason....

    10. Re:OSX UAC by 93+Escort+Wagon · · Score: 1

      I am not sure what the original poster was talking about. If I wanted to delete everything from within /Applications, I could do so from within the Finder.

      I am trying really hard to think of something I could do from the terminal (without sudo) that I would be prevented from doing so in the Finder. I am having a really difficult time coming up with anything.

      You're not getting the parent post's point. The only way you can delete everything within Applications from terminal without using sudo is if your regular user account is in the admin group. OS X makes it brain-dead easy to run from an unprivileged account - if an unprivileged user wants to take an action that requires admin privileges, the OS automatically prompts for an admin username and password. It's no more work than running as an admin all the time, and it prevents the types of workarounds you're talking about.

      The unfortunate thing is that, on single-user Macs, the default is for the main account to be in the admin group. What you need to do (it's very easy) is create a new admin-level account (make note of the username and password obviously), then for your account uncheck the box labeled "allow this user to administer the computer". I'd like to see this be the default setup for a Mac, but it is dead simple to do on your own.

      If you're a terminal junkie and feel like you can't live without sudo, you can pretty easily add your non-admin account to /etc/sudoers. Your Mac won't overwrite this change either. This gives you the best of both worlds.

      --
      #DeleteChrome
    11. Re:OSX UAC by 93+Escort+Wagon · · Score: 1

      I'm curious about this. I don't own a Mac so I'd like to hear more about the things you can do in a terminal that you can't do in Finder. Are you saying that if you clicked on program YYY in Finder that UAC might nag you but if you were to go to the terminal and type "/path/to/YYY" that it will(might) bypass UAC? If so it sounds like the UAC isn't as integrated as Apple would have everyone think or they figure that anyone running a program from command line would know what they're doing in the first place but that wouldn't be a good assumption.

      Please, tell me more.

      No, see my longer post above. The only way you can bypass UAC is if your account is in the admin group. A smart user will run as a non-admin, since the OS makes it trivially simple to invoke admin privileges as needed.

      --
      #DeleteChrome
    12. Re:OSX UAC by flydpnkrtn · · Score: 1

      Troll? I wasn't trolling for a riled up response, I really was curious if he was talking about OS X's version of "UAC" or Windows UAC

    13. Re:OSX UAC by spitzak · · Score: 2, Interesting

      It does appear that an "administrator" has the file system privledges to modify the /Applications directory, and thus commands typed at the shell will work (so will the system calls to mess with those files so any program can mess it up, but running prorams in /bin from the shell is the easiest way to do it).

      For some reason they decided to instead have the Finder do a "is this guy Administrator?" test before doing things that the Finder decided were illegal.

      I agree this sounds stupid. The user should not be able to do thise things without sudo! And the Finder should simply get those permission-denied errors from the system and use them to decide if sudo is needed, rather than having to keep it's own model of how system permissions are laid out.

      Almost certainly they did this so that applications could be installed/removed, but it does seem like there are better ways. Perhaps if you tried to drag an application to /Applications, the Finder could not do it, but it could recognize the attempt and run a setuid program that refuses to allow overwrite but will add the file.

    14. Re:OSX UAC by wumpus188 · · Score: 1

      There is nothing separate from the POSIX permissions in OS X

      This is not correct and has nothing to do with Finder. In addition to file permissions, there are also "file flags" that add additional file security:

      $ touch test.txt
      $ ls -la test.txt
      -rw-r--r-- 1 user staff 0 Mar 8 11:12 test.txt
      $ chflags uchg test.txt
      $ rm text.txt
      rm: test.txt: Operation not permitted

    15. Re:OSX UAC by Anonymous Coward · · Score: 0

      Sounds like you don't know about the OSX ACL yet. Man page chmod then scroll way down past the unix permissions. There you go, a whole nother permission suite.

      if you do ls -le on various directories you may find lots of files with extended permissions beyond the normal user/group/world permissions.

    16. Re:OSX UAC by Ilgaz · · Score: 1

      One of best examples how OS X manages to be secure and non irritating same time comes with OS X fink (fink-project.org) installation.

      Look, as Admin (not root) user I want to see information without manipulating
      mini:~ $ fink list gtk2-engines
      Information about 7982 packages read in 2 seconds.
              gtk2-engines 2.16.1-1 Theme plugins for Gtk

      what happens if I want to _install_?

      mini:~$ fink install gtk2-engines
      Password:

      It asks my password. So, it is possible to be both secure and convinient. In addition, there is timeout scheme which Apple invented meaning users won't be asked their password until some timeout occurs. Is it too secure? Not but you can bet OS X users doesn't enter their passwords like automated robots as result.

    17. Re:OSX UAC by Ilgaz · · Score: 1

      There is a very thin line between absolute insecurity and driving user nuts for a Desktop OS. Apple seems doing everything not to pass it, MS doesn't.

      If you think about houseviwes running a Unix 03 certified OS instead of Windows because it is easier and more secure, you can understand where such crazy things come from.

      Finder can't say ''Permission denied, this will be reported''. It should make easier (and even advertise) for end users to run with non admin accounts. That is why Finder does that crazy thing, to make it possible for user to stay on his/her non privileged account without the horrifying real security risk ''Run As'' scheme.

    18. Re:OSX UAC by shutdown+-p+now · · Score: 1

      There is nothing separate from the POSIX permissions in OS X, there is nothing like UAC that can be turned on and off. If you have permissions, you can do something, if you don't, you can't, or you are prompted for a password (the gui equivalent of 'sudo').

      This is precisely how UAC works, and that's really all there is to it - it's a thing that pops up the authentication dialog for an otherwise forbidden operation. If you disable UAC, and do not run as admin, then it just won't let you access stuff you don't have permissions to.

    19. Re:OSX UAC by Tolkien · · Score: 1

      They didn't invent the timeout scheme, Ubuntu (at the very least) has it too.

    20. Re:OSX UAC by e4g4 · · Score: 1

      You are quite correct - however, the immutable flag is a different part of the posix standard - and really has nothing at all to do with permissions. With root privileges - I can override the immutable flag and still delete the file - and so can the Finder (but only the user immutable flag - the system immutable flag must be unset in order for the file to be removed). The behavior is different from what the GGP is talking about as when you try to change/delete a file with the immutable flag set (be it user or system) in the Finder it will tell you that the file is "locked", *not* that you "don't have permission" to delete the file, which is the behavior that the GGP was describing.

      --
      The secret to creativity is knowing how to hide your sources. - Albert Einstein
    21. Re:OSX UAC by spitzak · · Score: 1

      I think you misunderstood.

      The finder should instead, internally, try to do the do the operation it was asked to do. If it then gets a "permission denied" it then runs a special setuid program that is basically "should the administrator be allowed to do this? If so, the setuid program does it, and returns 0. If not it returns 1 and the finder then reports the error.

      The result will be the same to the user, but the user (and programs they are running) will not be able to mess with /Applications without sudo. The fact that an Administrator account can do a system call that is the same as "mv ~/virus /Applications/Terminal" sounds really bad to me.

  22. Except this should have been caught WAY earlier by SmallFurryCreature · · Score: 1

    The flaw is fundemental to the design, this is NOT a coding error, the entire idea is flawed. It should have died at the drawing board. For it to have made it to the beta shows just what is wrong with software development especially at Microsoft.

    For the famous car anology, a brake that malfunctions under stress is something you find during a driving test. A brake that is only attached to one wheel, that being the spare should have been caught a bit earlier. But of course the car industry isn't that stupid, that is because car makers are liable for any damages. Software makers aren't.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

  23. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  24. Yes... but... by TerranFury · · Score: 5, Insightful

    I agree in spirit, but the implementation is bad.

    I once tried to write a "sudo for Cygwin" that would bring up the UAC confirmation box and run a program with associated elevated permissions in Vista. (Other people have written programs that they call "sudo for Vista," but none of them do what I want. In particular, they don't run programs in the same console.) In the process of poking through the security APIs, I learned a little about what a mess UAC is uder the hood.

    Windows NT/XP has a perfectly good security model, if only people would use it. In some ways it's more sophisticated than Linux's: For instance, file permissions are more fine-grained on NT. The problem really hasn't been with XP/NT; it's been "social:" it was the culture of software development on Windows to too often require, unnecessarily, that users have administrative rights.

    Microsoft's solution in Vista was to restrict the rights of administrators and add GUI confirmation boxes. This was the wrong solution, I think. In my (admittedly armchair-quarterback's) judgment, the right one would have been to,

    1 - Keep traditional XP-style administrator and user accounts, with roughly the same privileges as they'd always had.

    2 - Require OEMs to ship computers with user, rather than admin accounts, enabled. Randomly-generated default admin passwords should be written on a sticker on the front of the PC's case.

    3 - Add a "sudo" mechanism, perhaps with the following modifications from 'nix sudo to make it easier for novices:

    ... a - The sudo prompt pops up automatically when a program attempts to do certain classes of things for which it does not have privileges. This differs from Linux, in which a program will simply fail with an "Insufficient permissions" error; this would be pretty opaque to novice users I think.

    ... b - "sudo" could be configured (and perhaps should be by default) so that it is sufficient to click a "confirm" button in lieu of typing in a password.

    This is almost what UAC is. But the devil is in the details. What Microsoft actually did was make "Administrator" accounts into something more like "user" accounts, and add a level of privilege yet higher than administrator. But it feels tacked-on, and not really "at home" in the NT security model, which in fact provides plenty of control on its own over what rights different users and groups have, if only it were used correctly.

    In other words, Microsoft shouldn't have restricted Admin accounts in this poorly-documented way; it should have instead added a sudo mechanism to make it more feasible to run as a User, and kept the nicely-documented and well-designed security model that NT has always had but people have simply never used.

    1. Re:Yes... but... by noctrl · · Score: 1

      a - The sudo prompt pops up automatically when a program attempts to do certain classes of things for which it does not have privileges.

      No, this opens up for social attacks.
      Please remember that regular computer users will doubleclick on anything (including landmines) and will in general have no clue on what elevated privileges means.

      This differs from Linux, in which a program will simply fail with an "Insufficient permissions" error

      And this IS the correct way to do it.

    2. Re:Yes... but... by drsmithy · · Score: 1

      What Microsoft actually did was make "Administrator" accounts into something more like "user" accounts, and add a level of privilege yet higher than administrator.

      On a UNIX system, these are called the wheel group (might be 'admin', or something similar, depending on exactly which UNIX), and root, respectively.

      While the underlying implementation is quite different, from a high level, all Microsoft have done with UAC is implemented a somewhat automated "sudo" with "%admins ALL=(ALL) ALL" and made the default user an 'admin' instead of an 'Administrator'.

      This is why it is hilarious to hear all these people going on and on about how the "security model" in OS X or Linux is so much better because of sudo, etc. It's exactly the same.

    3. Re:Yes... but... by Cl1mh4224rd · · Score: 1

      No, this opens up for social attacks.

      Err... Both the current UAC and sudo are open to "social attacks".

      Please remember that regular computer users will doubleclick on anything (including landmines) and will in general have no clue on what elevated privileges means.

      It's the same for sudo. Your average user will simply be conditioned to type in their password when prompted.

      I don't know a whole lot about Linux, but what's to stop an installer from firing off the command `sudo badshit.sh` and letting the user enter their password, which they've probably already grown accustomed to doing?

      And this IS the correct way to do it.

      Perhaps. Like you said above, though, your average use has no clue about permissions and privilege escalation. They aren't going to understand why the this awesome screensaver that they just have to check out won't install. They're going to call up tech support and ask them how to "fix" the problem.

      Is it then tech support's job to prevent this user from installing a potentially malicious screensaver? No, of course not. They're simply going to tell the user to, let's say, "Right-click on the file, select "Run as Administrator...," then enter your password.

      --
      People will pass up steak once a week, for crap every day.
    4. Re:Yes... but... by Ralish · · Score: 1

      I think you've misunderstood how UAC is implemented, and more importantly, how it can be configured.

      UAC in no way replaces the existing NT security model, it's layered on top of it, and can be outright disabled or quite finely tweaked. It works by assigning seperate security tokens to user logins, one with a limited set of permissions, and one with the full set of administrative permissions. The obvious result being, the administrative security token is only assigned when permission is explicitly granted (or the application is whitelisted, as in Windows 7 in the default configuration).

      However, the default behaviour of UAC can be changed in many ways. It can be outright disabled, taking you back to the traditional XP account model, but the better option if this is your ideal behaviour would be to disable "Admin Approval Mode", silently elevating all applications that require Administrative permissions while retaining some of the other benefits of UAC (e.g. IE Protected Mode).

      You can also modify the UAC prompt to ask for credentials (versus just requesting confirmation), the default for standard users, but also applicable to Administrators. All of these options and other more advanced configuration can be modified in the systems Local Security Policy. In this respect, I'm not sure what you mean by your last paragraph?

      What aspect of your sudo mechanism can't be achieved by UAC with the appropriate configuration?

    5. Re:Yes... but... by Anonymous Coward · · Score: 0

      DING! We have a winner!

      This is entirely what's wrong with UAC. It neuters an administrator account instead of adding a level of security to the system and allowing controlled elevation of a user account. It's really sad too, because as you said, Windows is quite capable of being as secure as any OS out there. Microsoft just chooses to pander to the least secure ideas from developers AND users, leaving them in a quagmire of bad ideas and nasty hacks.

    6. Re:Yes... but... by Anonymous Coward · · Score: 0

      In some ways it's more sophisticated than Linux's: For instance, file permissions are more fine-grained on NT.

      You can have pretty much the same fine-grained file permissions in Linux using ACL, which are supported on Ext2/3/4, ReiserFS, XFS and JFS.

    7. Re:Yes... but... by TerranFury · · Score: 1

      You know, I'm starting to think that my arguments above are bogus, and my real complaints are just with the user interface and the MSDN documentation.

      Mostly, I wish I could use runas without launching a new command window. When I look at it this way, this is a much smaller complaint.

      As for runas in the same window: Ostensibly, this can be achieved with LogonUser and CreateProcessAsUser, if you clear the CREATE_NEW_CONSOLE bit of CreateProcessAsUser's dwCreationFlags argument. However, this does not actually work; a new window is created regardless of that bit's setting -- behavior which is not described in the MSDN documentation. I played with a workaround involving hiding the new window and copying its input and output using named pipes, but I didn't spend a lot of time on it and didn't get it to work.

      Any thoughts on how such a thing could be gotten to work?

    8. Re:Yes... but... by Ralish · · Score: 1

      Any thoughts on how such a thing could be gotten to work?

      I have a few, but I'm not sure they are really what you're after.

      At the binary level, runas.exe is really the application that exposes "sudo" functionality to other applications. Bizarrely, despite being a console application, it doesn't seem to expose any functionality to select how an application is executed. In this case, is it executed in the parent console or in a new console? This seems to me to be a pretty odd oversight for a console application that could clearly see use for launching other console applications from a command line.

      So, to achieve what you want, it seems to me you need to delve into Windows API's. So, you could do what you want in either Cygwin or Cmd through a "helper" application that uses the right API with the right parameters, but this to me seems quite clumsy for what ought to be a simple problem with a simple solution.

      There is a potential alternative, but I'm not sure if it's viable for you. PowerShell (a new shell by Microsoft for Windows designed from the ground-up) is both .NET based and can directly interact with the .NET API from the shell. This might present a unique opportunity to solve your problem without resorting to actually building a simple (or not so simple depending on how customizable you need it to be) helper application.

      You could, for instance, leverage the ProcessStartInfo Class. An example piece of script that you could adapt for your purposes (you'll need to customize it and probably use different/additional properties):
      $runas = new-object System.Diagnostics.ProcessStartInfo
      $runas.Arguments = "/noprofile /user:Box\Admin `"C:\example.exe`""
      $runas.FileName = "runas.exe"
      $runas.UseShellExecute = $false
      $runas_proc = [System.Diagnostics.Process]::Start($runas)

      The UseShellExecute property should ensure that your program runs in the parent console window, and it's the property I use to do exactly that in a script of mine (though, it doesn't use runas or any UAC functionality). The above class has a CreateNoWindow property as well, but I vaguely recall that not working for me, and someone gave me a technical explanation as to why it isn't applicable in this case but UseShellExecute is. My memory has faded somewhat though, so experimenting with both may well be worthwhile.

      PowerShell V2 which is still in development adds many new cmdlets, one being a Start-Process cmdlet which should eliminate the need to script the .NET API directly for this case. Of course, you'd need to be using alpha software (CTP3 is the latest) to do this currently. The prior method would work in V1 and V2.

      A quick google search suggests numerous other ways to use UAC in PowerShell through various approaches. PowerShell may well be worth a look, and there's no reason you can't call Cygwin applications from a PowerShell instance.

      A quick bit of advice, if you do choose to investigate PowerShell, don't approach it like just another shell, as it's design is fundamentally different from anything on Unix or the prior Cmd shell. I'd recommend reading the wikipedia article on it for a good overview. However, if you do choose to use it, you'll have an extremely powerful shell with a featureset easily on par with the bash or zsh shell. The limitation will be in the frequent lack of 3rd party console applications that Unix has had for a long time, but, as I mentioned before, there's no reason you can't use these from PoSH.

      I hope some of this is useful for you :)

    9. Re:Yes... but... by Anonymous Coward · · Score: 0

      On a UNIX system, these are called the wheel group

      No, the wheel group is an ordinary user group that usually carries no permissions of itself. Wheel users have exactly the same right as normal users, with only one exception: wheels can be elevated to root.

      how the "security model" in OS X or Linux is so much better because of sudo, etc. It's exactly the same

      Close, but no cigar. In order to request privilege escalation via sudo, a program has to request such via a security API. The user will then be prompted for a password or it will be silently allowed if thusly configured. Most apps are designed to handle such authentication failure, and will give an error message.

      Contrast this with UAC: the app can trigger a UAC prompt by touching a file or writing a registry key, not via a security API. The user will be presented with a non-informative Cancel/Allow box which can easily trigger a Pavlov response. Finally, most applications will simply crash when you click cancel because they aren't designed to handle such failures.

      How again are they similar?

    10. Re:Yes... but... by drsmithy · · Score: 1

      No, the wheel group is an ordinary user group that usually carries no permissions of itself. Wheel users have exactly the same right as normal users, with only one exception: wheels can be elevated to root.

      Which is the same as the 'admin' group (or whatever they've called it) in Vista.

      In fact, on some systems the wheel/admin/whatever group *does* have additional permissions. In OS X, for example, members of that group have write access to /Applications and some other system directories.

      The user will be presented with a non-informative Cancel/Allow box which can easily trigger a Pavlov response.

      Actually the box will tell you which application is requesting elevation, and ask you if it was because you triggered it.

      How again are they similar?

      In pretty much every way except UAC being slightly more automated and heuristic. Especially from the end user perspective, where the distinction between "requesting an elevation prompt" and "triggering an elevation prompt" is, at best, irrelevant. The idea that security prompts in other OSes are any less "Pavlovian" because the underlying triggers have somewhat different implementations, is laughable.

      The typical end user does not understand and does not care why an elevation prompt has appeared. If they did, the "malware problem" would never have grown past the "slightly irritating" phase.

    11. Re:Yes... but... by ais523 · · Score: 1

      Windows NT/XP has a perfectly good security model, if only people would use it. In some ways it's more sophisticated than Linux's: For instance, file permissions are more fine-grained on NT.

      When that breaks, it can break spectacularly. The Windows XP systems here are locked down. On one memorable occasion, an admin was trying to install new software, and the install went really wrong for no obvious reason. It turned out the installer was creating files under a temporary filename then renaming them to the correct filename (sort of like .part downloads from Firefox), and for some reason the directory it had created had permissions to create files but not to rename files in it! I agree with that sort of thing in principle, but something seems to have gone rather wrong with the Windows implementation; in particular, the defaults for it normally come out completely wrong.

      --
      (1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
  25. Summary of the stupidity by v1 · · Score: 4, Insightful

    In the original Vista release, this activity would cause an annoying back-to-back double elevation: once to create the folder, and again to rename it to its intended name. Service Pack 1 streamlined this a little, reducing it to only a single elevation, but Microsoft clearly wanted to get this down to zero.

    NO! Bad monkey, no cookie! There is NO reason to allow ANYTHING to write to my /Program Files (or /Applications if you prefer) folder without my permission. None. Zero. I want a prompt. Yes, just one, but I want a prompt!

    And that passes right into the hands of an almost unbelievable standard method in windows:

    Unfortunately, the "Microsoft-signed application" restriction is easily bypassed using a standard Windows trick that allows one process to insert code into a second process, as long as both processes are being run by the same user. The limitations of the file management component are probably unavoidable (it can only do the things it has been programmed to do, after all), but it turns out it doesn't really matter. The file management component can place files into various locations on the system that an unelevated user cannot; an auto-elevate program can then be tricked into loading those files and executing code from them.

    The result is, just as with the rundll32 problem, silent and automatic elevation, able to do anything.

    WHY ON EARTH would you arbitrarily allow any random program a user is running to pass commands to a signed application that by its signature can walk right through locked doors?? I'll admit there probably are instances where you would like to pass commands (requests) to another app to handle something, you either (1) have to severely restrict the scope of the requests it will process, or don't sign it to give it rights to do whatever it pleases. This is like a mall security guard being given the keys to the maintenance halls, and the guard letting any joe public in that asks him. Either give him some common sense or take away his keys. A filemanager that has the power to do anything you ask it to, and will do so blindly and willingly, is just a jaw-dropper.

    Sometimes the scope of Windows security stupidity astounds me. And yet they consistently keep finding ways to top themselves.

    --
    I work for the Department of Redundancy Department.
    1. Re:Summary of the stupidity by myxiplx · · Score: 1

      The stuff you put in bold? Absolutely, 100% agree with you. I don't want *any* application fiddling with other programs unless I specifically allow it.

      Years ago I suggested to Microsoft that they implement application signing to restrict exactly this. Have applications signed by the creators, and you can easily restrict applications so that while they can modify themselves, and work with suites of software from the same company, each program is protected from others. You can also add extra layers of security, restricting what applications are allowed to do, and which types of file they can modify, all of which is under the users control.

      It would stop most viruses in their tracks
        - Modifying startup settings wouldn't be allowed
        - Modifying files they don't own is not possible (no cross infection)
        - You can't even damage documents that you've not been granted access to.

      And even when a virus tries to spread by a vulnerability in word, acrobat, etc, it's not going to go far. That program isn't allowed to write .exe files, so that's out. It can't modify your system startup settings, and it can't modify any documents other than .DOC or .PDF files.

      And you can do all of it with just signatures for files and processes, and a bit of enhancement to process and file security.

      It gives you two checks each time a program tries to do something:
        - Does the user have permission to do this?
        - Does *this program* have permission to do this?

      While it'll cause problems for some software, the majority of programs will be fine with it, and it would have a massive effect on security. Far more than UAC on its own imho.

    2. Re:Summary of the stupidity by Anonymous Coward · · Score: 0

      It's worse than that. It's not just asking the app to undertake some predefined action, it is WRITING CODE INTO PROCESS MEMORY, and then ASKING THE APP TO CREATE A THREAD TO RUN IT.

      Windows, the only OS with a Insta-Exploit API.

    3. Re:Summary of the stupidity by Blakey+Rat · · Score: 1

      So you agree to:

      want easily bypassed using a standard Windows trick that allows one process to insert code into a second process ON EARTH severely

      (BTW the answer is: plug-ins. Old programs use that technique as a way of implementing plug-ins. For example, I think Explorer does. There was a time with computers didn't have 3 GB of RAM standard, and you couldn't justify putting a whole script interpreter in your application just for plug-ins.)

  26. Re:The first thing I will do after getting Win 7.. by InsertWittyNameHere · · Score: 1

    Hell, UAC is good. It's better than sudo.

    I'm not quite sure I'm convinced. I saw a documentary on this a few months ago that made it quite clear that the UAC doesn't really offer much value and is very annoying at best. I don't remember what it was called but it ended with the following quote (maybe you can use it to track it down online?)

    "You are coming to a sad realization. Cancel or allow?"

  27. Fix the HTML control by argent · · Score: 1

    Back out the huge mistake introduced in 1997 with Active Desktop... the ability of the HTML control to grant untrusted code full local user privileges. Building layers of soft internal sandboxes between local user processes is fine and dandy, but it won't provide a fraction of the benefit of reducing the surface area to initial infection.

    Remove the ability of the HTML control to grant local user access. Make ANY privilege escalation from a hard sandbox (via ActiveX, .NET, or active scripting, or even passing off a URL or downloaded object to a helper application) require an explicit operation (either ahead of time, as in KHTML's 'IO Slaves', or through a callback) from the process that launched that instance of the HTML control.

    Then, provide a wrapper that implements the old API, but require the user to explicitly launch this legacy mode and run any application that uses the legacy API inside a hard sandbox (either a virtual machine, or if the Windows APIs can be sufficiently firewalled something like a FreeBSD Jail) that provides no long-term storage visible outside that sandbox.

    Nothing less is going to solve Microsoft's security nightmare.

  28. civil liability? by mtrachtenberg · · Score: 1

    The internet is now critical infrastructure, becoming more so with every passing day.

    Microsoft is profiting by selling software.

    Because that software is broken by design, it makes it easy for unskilled kids to deploy networks of computers that can deny service on that critical infrastructure. Microsoft apparently understands how to prevent this, because posts here say Windows 7 security is a step back from Vista security.

    I honestly don't understand why this isn't considered criminal behavior or, at the very least, a source of dangerous civil liability for Microsoft.

    I honestly believe the internet needs some mechanism to prevent connections from machines running easily compromised software.

    Perhaps the solution is for a standards body to announce that starting n years from today, it will deploy software that will actively hunt out compromisable machines and run programs on them that will disconnect them from public networks.

    1. Re:civil liability? by Anonymous Coward · · Score: 0

      and we will call that day "Judgment Day" (a la SkyNet in Terminator 2 for those who didn't get the reference).

  29. sudo by Anonymous Coward · · Score: 0

    It's better than sudo. With sudo I will be tempted to use "sudo -s".

    Why don't you configure your sudo to not allow running shells directly and remove the temptation?

    That may be the default in your Linux distro (?), but not from the actual coders of sudo itself.

  30. Sudo man page by flyingfsck · · Score: 1

    The thing is, the MS developers should have read the sudo man page before they implemented UAC. They were too proud to do that. It seems like they forgot that many years ago, MS had their own Unix distribution (Xenix), so they had a clue back then.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  31. UAC? by Anonymous Coward · · Score: 0

    Union Aerospace Corporation did it again...

  32. Another way to mess with UAC by Myria · · Score: 2, Interesting

    Before Vista came out, during its beta phase, I already thought of a way to get around UAC using a form of social engineering. First, two background facts:

    1. When you run a signed program as Administrator, the UAC dialog box you get is colored differently, such that it looks more legitimate.

    2. Explorer runs as an unprivileged account, and as such can be injected into (same as TFA).

    The idea is rather simple. Have your malware inject into Explorer and wait. When the user finally does something that requires elevation, intercept the request.

    Instead of running the application the user intended, elevate a Microsoft program that can easily be told to run another program; simple examples are cmd.exe and rundll32.exe. The UAC dialog box will come up, as the user expected. The program name will say "Windows Command Processor" instead of whatever Control Panel feature the user was actually trying to use.

    But how many non-expert users know the difference? They were expecting to have to elevate and will click Yes. "Windows Command Processor" sounds legitimate enough.

    After your malware takes control, run the original program the user wanted to run, keeping the illusion that everything is normal.

    By the way, Administrator access is overrated. You can be a botnet node, steal bank account passwords, and still WoW passwords all without needing to ever access the Administrator account in Windows. Those passwords are the items of real value now, and they're in unprivileged processes within the reach of unprivileged malware.

    --
    "Screw Sun, cross-platform will never work. Let's move on and steal the Java language." - Visual J++ Product Manager
    1. Re:Another way to mess with UAC by mysidia · · Score: 1

      Those passwords are the items of real value now, and they're in unprivileged processes within the reach of unprivileged malware.

      Exactly..

      This further raises the question, why the hell does windows have ReadProcessMemory, and WriteProcessMemory system calls that don't require admin rights?

      It's like they _want_ to enable malware to eavesdrop on other unprivileged programs.

      Microsoft should be concetrating on erecting strong barriers between different applications, so that without admin rights, one application cannot easily manipulate or otherwise tamper with another app, even if both are run as the same user.

      And certainly, one app should never be allowed to capture or send keystrokes, mouse clicks, etc, that were directed to the active window of a different process...

    2. Re:Another way to mess with UAC by Myria · · Score: 1

      This further raises the question, why the hell does windows have ReadProcessMemory, and WriteProcessMemory system calls that don't require admin rights?

      Linux has ptrace() and /proc to do the same things. Mac OS has ptrace() and vm_write().

      The reason they exist is to allow the creation of debuggers. A debugger must be able to modify the state of a target process in order to be useful.

      Should we require users be Administrator in order to run a debugger, even on their own programs? That's the fundamental question. If we do allow it, malware can inject into other processes. If we don't, we may be severely restricting computer use, particular in situations where "shell accounts" are provided to unprivileged users for software development on UNIX systems.

      One approach is to limit the debugging API to specific debugger programs. This done by Linux using SELinux, and by Mac OS requiring debuggers to be setgid "procmod". This isn't secure because the most popular debugger for these systems - gdb - is a terminal program. Malware can just spawn a gdb process and type commands to it as if it were the user.

      You'd really need something like UAC to require confirmation to run a debugger. But how would you bring up a UAC dialog to a user logging in through SSH?

      --
      "Screw Sun, cross-platform will never work. Let's move on and steal the Java language." - Visual J++ Product Manager
    3. Re:Another way to mess with UAC by jmorris42 · · Score: 1

      > Should we require users be Administrator in order to run a debugger, even on their own programs?

      The difference is Linux doesn't yet have signed programs. Windows does but didn't bother to think through the security implications. Signed programs should be inviolate, even to root/admiinistrator. Granted nothing will stop root/admin for long until you get the TPM (and that just raises the bar a lot) into the act but somebody should have to crack their way around the locks even as root/admin to gain access to the memory space of a signed app.

      --
      Democrat delenda est
    4. Re:Another way to mess with UAC by mysidia · · Score: 1

      Mac OS also has a way for a program to make itself untraceable.

      An example, would be iTunes, which sets the process flags to deny the ability to dtrace or debug the application.

      And Linux has CAP_PTRACE. By setting the system binding set, ptrace can be disabled system-wide, with a single sysctl, or for untrusted processes, by simply turning off the right capability bit.

    5. Re:Another way to mess with UAC by mysidia · · Score: 2, Interesting

      The authentication process to run a debugger should be different.

      When a user logs in, they should be unable to run debuggers, they should have to perform another authentication, before they can do things like that.

      If they're SSH'd in or in a text-based terminal, they have to run a command like 'sudebug gdb' which authenticates much like 'su' does, and runs the 'gdb' process with ptrace bits enabled.

      Also, 90% of the population aren't computer programmers. Debugging should simply be disabled, by default, and require installation of additional userland tools and root/Administrator privileges to ENABLE the capability (not necessarily Administrator privileges to exercise the capability once it's enabled on a system).

      Keeping it off by default is enough to reduce the incentive of malware developers to attempt to use the debugging facilities, since they will normally be worthless.

    6. Re:Another way to mess with UAC by rdebath · · Score: 1

      You've got that the Windows UAC way round. The difference is that root always has full access.

      The simple rule could be, "you can ptrace a program if you can write to the executable"

    7. Re:Another way to mess with UAC by rdebath · · Score: 1

      You're thinking single user, it's quite reasonable for multiple users to use a machine, even at the same time. So sending debugging tools to the outhouse is not the solution.

      Furthermore, it often the right thing to run the debugger on the user's machine so you can actually see WTH the user has managed to break.

    8. Re:Another way to mess with UAC by John+Hasler · · Score: 1

      > You're thinking single user, it's quite reasonable for multiple users to use a machine,
      > even at the same time.

      If you have a user who needs debugging you enable debugging. No such user is present on most machines (most of which are actually single user anyway).

      > Furthermore, it often the right thing to run the debugger on the user's machine so you
      > can actually see WTH the user has managed to break.

      So you turn debugging on, do your work, and turn it back off again.

      As long as debugging is disabled on most machines (especially those belonging to non-technical users) it is useless to crackers.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    9. Re:Another way to mess with UAC by mysidia · · Score: 1

      The number of systems with multiple non-trusted users who need to run debuggers is so small as to be nearly ignored. The system Administrator could simply turn debugging on for such systems.

      The vast majority of desktop systems are single-user.

      The vast majority of server systems have no users except the system administrators, or possibly a few trusted users who have very specific jobs.

      In any case, the non-trusted (non-root) users have no business running debugging tools on non-development systems.

      If they do have a legitimate reason, then the system managers can weigh the cost/benefits of either enabling debugging tools for admins, and giving that user access to 'sudebug' (by adding their username to an /etc/sudebug.allow, or something like that), enabling debugging system-wide for all users.

      Or telling the user no, they need to try debugging the software on a development/test system first.

      I'm not saying debugging should never be available, only that the system management should have to opt-in.

    10. Re:Another way to mess with UAC by ais523 · · Score: 1

      Those passwords are the items of real value now, and they're in unprivileged processes within the reach of unprivileged malware.

      I agree with you about the passwords; however, the botnet thing, less so. No, you don't need to be an administrator to be part of a botnet. However, good luck hiding from antivirus programs or the like without administrator (or higher) access. Non-administrator malware can do all it needs to do (and for stealing passwords, that can just be done once and your job's done); but hiding to avoid being removed and shrinking your botnet size?

      --
      (1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
  33. But UAC is not the only way or even the way by TheLink · · Score: 1

    UAC is not the only way, nor is it the correct way.

    After all, what good is user confirmation in that case?

    How does the user know what the code is REALLY going to do after it gets admin privileges?

    Figuring it out is worse than trying to solve the "halting problem".

    Unlike the Halting Problem, the users don't even get a true description of the program ( unless you count having access to the binary object code), nor do they know what all the inputs are going to be.

    Their options are:
    a) Make a guess, hopefully a correct guess (education helps, but even the educated can only solve specific halting problems).
    b) not run any new/nonbundled programs
    c) only getting code from a "trusted repository" ala Debian/etc. Forgive me if I consider that dismal. Also, if Microsoft did that people would cry "Monopoly!".

    After so many decades, we're stuck with these crappy options because of crappy primitive operating systems.

    Crappy Unix style security (omnipotent root vs "everyone else"), or the usually impractical SELinux (who really thinks that's Desktop ready?), or Vista UAC. There's a glimmer of hope with AppArmor but it's still far from "Desktop Ready".

    If people think that's as good as it can get, I say they're not thinking or trying hard enough.

    For example here's what I came up with just a bit of thinking:

    https://bugs.launchpad.net/ubuntu/+bug/156693

    An analogy:
    With the Halting Problem, the user has to figure out whether the program will halt or not.

    With my approach, the program says "I want at most 30 seconds of CPU time", the user says "sounds reasonable. So, OK", the O/S then runs the program, and if the program is still running 30 seconds of CPU later, the O/S kills it. So no need to figure out whether it will halt or not. It will halt - the O/S ensures it.

    Whereas if the program says "I want infinite CPU time", it should be easier to train the user to click "No" or click "Too bad, you only get 30 seconds (you don't get to turn my machine into a zombie)".

    Detail: the program says which privilege template it wants, and if it matches the user's expectations, the user says "OK" (and possibly checks the "remember this decision for this program"), then the O/S _enforces_ the privileges - so the program only gets what it asked for.

    For example, if a program claims to be a "guest flash/shockwave applet", it is unlikely to need access to your microphone or your personal Documents and email. All it needs is the ability to draw graphics, get keyboard and mouse input when in foreground, play sounds, write and read from its temporary scratchpad directory. If it wants network access it better ask for "guest flash/shockwave applet (with network access)", otherwise the O/S should not allow it network access.

    Whereas if a program that initially claimed it was a "flash game", but when the user attempts to launch it, the O/S says it is asking for "Full System Privileges" (with all the scary red warnings), I think it's a lot easier to train users not to click "OK" (or at least call for help when they see "red").

    Yes, UAC is better than nothing and the sandboxing in Vista is better than what you get in XP and default Ubuntu, but I thought Microsoft hired all those super smart people who can pass all those fancy interviews.

    Maybe they did think of something better, but UAC is just Microsoft's way of shifting the blame to the users "aha - you disabled UAC, so it's YOUR FAULT, not Microsoft's". Cheaper and simpler to do that? But they still said it took them 6 billion dollars and many years to develop it!

    Maybe a lot of it went into DRM and getting it to kinda work...

    My suggestion isn't fantastic, but it's definitely better than UAC.

    I'm just showing how things can be better. I'll be happy if people come up with something far better than my suggestion.

    p.s. if anyone says it doesn't work just because I left out all the pages of details that

    --
    1. Re:But UAC is not the only way or even the way by blueg3 · · Score: 1

      As the halting problem is unsolvable, there's nothing more difficult.

    2. Re:But UAC is not the only way or even the way by TheLink · · Score: 1

      Yes the halting problem is unsolvable in the general case.

      But you can figure out whether some programs will halt or not.

      Similarly you can figure out whether some programs will screw up your computer or not.

      The difference in the latter case is typically you don't have the actual source code and knowledge of all the inputs. Thus users are being asked to solve a harder problem than the halting problem.

      Despite that, so many people keep saying the "lusers" are the problem because they can't solve it. Isn't that rather mean and unfair?

      Just because experts can solve _some_ specific cases, doesn't mean the nonexperts are at fault for not being able to do the same. It is hard. Even experts in most cases are NOT sure - they are just making statistically likely guesses (downloading something from sourceforge and running "make install" is unlikely to set up a user cron job or background task that causes your machine to spew spam and/or fetch more "instructions").

      Thus my suggestion - create a system which does not require people to solve "halting problems".

      --
    3. Re:But UAC is not the only way or even the way by jbengt · · Score: 1

      Doesn't the halting problem mean you can never be sure that the OS will always be able step in and kill the offending program after the 30 seconds is up?

  34. Secure your Windows-NT based OS better yourself by Anonymous Coward · · Score: 0

    "Sometimes the scope of Windows security stupidity astounds me. And yet they consistently keep finding ways to top themselves." - by v1 (525388) on Saturday March 07, @11:01AM (#27104913) Homepage

    Then it appears to be up to end users to help them out, by doing a little bit of work (1-2 hours or so) to secure themselves vs. the threats present today online, thus:

    ----

    HOW TO SECURE Windows 2000/XP/Server 2003, & even VISTA, + make it "fun-to-do" using CIS Tool Guidance (& beyond):

    http://www.tcmagazine.com/forums/index.php?s=09533d0df9933344bb7e42d05acb5cec&showtopic=2662

    ----

    It works, and has been working for myself since around 1997...

    (When I began writing up guides (I was doing it on forums like 3dfiles.com before 1998 though) to submit as articles for websites that were Windows NT-based, to improve the security &/or performance of a Windows NT-based OS, such as the one from NTCompatible.com's former 1998-2003 "Article #1", where it was later featured @ Neowin forums, circa 2001 -> http://www.neowin.net/news/main/01/11/29/apk-a-to-z-internet-speedup--security-text & rated very well)

    Currently?

    The guide is featured now on 20++ forums online, & has yielded some very good results (see my p.s. as an example) for people using its points on many levels!

    E.G,-> It has crossed 200,000++ views in the relatively short timeframe of the 1 yr. this latest iteration of it has been online, & it was made an "ESSENTIAL GUIDE/Sticky-Pinned Thread" on 15/20 of those forums, as well as being the most viewed in a short timeframe (considering it has only been online in THIS form for a yr. now, & some of those sites it is on have been around a decade++), &/or being rated 5/5 stars, etc. et al... )

    HOWEVER, AN IMPORTANT POINT (illustrated by "hard concrete evidence" in test scores):

    The tips/tricks/techniques in that older model still shown @ Neowin forums would yield between 60-72/100 on the CIS Tool test - the new model of said guide, by way of comparison? 99/100 possible & doable scores result (examples thereof are shown in said thread URL above in fact)).

    It just works, for both superior speed online AND security. From my own usage of it? 3++ yrs. now on this machine, no "bugs" or other hassles, & running as ADMINISTRATOR the entire time (& the system I had before this, 4++ yrs. same result).

    APK

    P.S.=> And, as to that guide's efficacy? The BEST testimonial I can provide, is the results of folks (others, not just myself) using it, such as those like THRONKA here, who have applied it to not only his own personal systems, but those of his clients, and NO VIRUS/TROJAN/ROOTKIT/SPYWARE/MALWARE-IN-GENERAL INFESTATIONS or other screwups, for more than 1++ yr. now, see here:

    http://www.xtremepccentral.com/forums/showthread.php?s=4e5e02a13dff9594f890b9f5c7d4ae75&t=28430&page=3

    ----

    SALIENT QUOTE/EXCERPT:

    "Its 2009 - still trouble free!

    I was told last week by a co worker who does active directory administration, and he said I was doing overkill. I told him yes, but I just eliminated the half life in windows that you usually get. He said good point. So from 2008 till 2009. No speed decreases, its been to a lan party, moved around in a move, and it still NEVER has had the OS reinstalled besides the fact I imaged the drive over in 2008.

    Great stuff!

    My client STILL Hasn't called me back in regards to that one machine to get it locked down for the kid. I am glad it worked and I am sure her wallet is appreciated too now that it works. S

  35. Why security sucks in Windows by 140Mandak262Jamuna · · Score: 4, Insightful
    The main problem is that most app developers in Windows world hard wire stuff and assume the users will have admin privileges. On the unix side, because it was used in multi user env from the get go, and it was real pain to get the sysadmin to install something for you, most unix apps are designed to run without admin privileges. If an unix app asks for extra privilege it immediately sets of alarm bells and people ask "why do you need root access?" and the app developer has to convince the user that the process really needs root privilege. It is easier for the app developer to work around the problem by not requiring root privlege. And the system has been poked and probed for years in college campuses and almost all the privilege escalation hole has been found and patched.

    In the windows side, people rarely ask the question "Why do you need admin privilege?" Till the app developers learn to write code that lives comfortably in user space with user privilege, you will have problems.

    The problem is not users blindly klicking UAC dialogs or MS's auto privilege elevation is not perfect. The problem is users not asking the question, "why the hell you want to be root?".

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:Why security sucks in Windows by FlyingGuy · · Score: 1

      If I had mod points today I would mod you, but since I don't I will simply agree with you.

      TOO MANY FUCKING TIMES I have been forced to upgrade a user account to "Power User" or worse yet make them a member of administrators because some asshole developer can't figure out that how to set things up correctly on install.

      Windows allows you to set access rights on certain parts of the system, including the registry so that a program or user has the required rights to be able to insert/update/delete the keys that they need, but can these assholes get it right? NO! Why? A lot of the blame rests with Microsoft because of the garbage libs that are in things like .Net which simply assume they can go trampling all over the entire OS.

      But most of the blame still remains with the devs because they cannot be bothered to take the time to map out their requirements and then have the installation program, which should only ever be able to be run as the local administrator BY the administrator that would set up the required resources, grant appropriate rights to those and ONLY those resources so that when their software was launched by the user, it would not be triggering UAC prompt after UAC prompt as the rpgram tries to go out and doe all the things it needs to do.

      --
      Hey KID! Yeah you, get the fuck off my lawn!
    2. Re:Why security sucks in Windows by Anonymous Coward · · Score: 0

      By extension, the problem is users not knowing what the hell root is in the first place. Security always starts with know-how, and the average MySpace/Facebook droid doesn't know a damn thing about security or technology in general. They just know that they need to click the blue 'e' to get to the Internets.

    3. Re:Why security sucks in Windows by Anonymous Coward · · Score: 0

      I'll bite.

      Can I have chroot as a non-root user please? I don't care if I cannot exec suid binaries afterwords. In fact, I don't care if I cannot exec anything afterwords.

      Anybody remember those archive symlink/.. traversal escape bugs? I do. The easiest way to prevent them is to have the unpacker call chroot(".") before unpacking.

      I pached my version of tar to do chroot("."); setuid(getuid()); immediately after opening the archive when in extract mode and do setuid(getuid()); immediately when in any other mode.

    4. Re:Why security sucks in Windows by cnvogel · · Score: 1

      It is easier for the app developer to work around the problem by not requiring root privlege.

      And if you really need elevated privileges, there's a proven mechanism (suid) that's been working for quite a while. Of course, you can have security holes that way, but at least the fundamental problems (like messing around with the elevated process) have been solved for ages...

  36. Only certain Microsoft files by nurb432 · · Score: 1

    Well of course, since they trust their own.

    --
    ---- Booth was a patriot ----
  37. OSX by dna_(c)(tm)(r) · · Score: 0, Flamebait

    The whole sudo thing is what he means by "admin account." [...]the point is that OS X has a flawed implementation that allows anyway who can sudo to write to the Applications directory without sudoing.

    The sudo 'implementation' has nothing to do with it.

    The /Applications directory has rwx for owner and (admin) group. The subdirectories belonging to applications (e.g./Applications/OpenOffice.org.app) belong to the admin user that installed them. A normal user has only rx, and can not delete/move apps. Every admin can without using sudo.

    In Ubuntu the /usr/bin directory belongs to root:root and in order to move/remove apps you have to elevate your privileges. Most Linux disttributions come with a software management application (apt-get, yast,...) that requires you to sudo. I think it's more a question about how well thought through the software management is. It's better in Debian/Ubuntu than in OSX which in turn is far better than XP/Vista/Win7.

    Of course, that's just an opinion.

  38. What Microsoft should do by TheLink · · Score: 3, Interesting

    They should be doing this:

    https://bugs.launchpad.net/ubuntu/+bug/156693

    http://slashdot.org/comments.pl?sid=1152645&cid=27105713

    Summary:
    UAC is like getting users to solve the "halting problem", e.g. figure out whether the program will halt or not (aka screw up your PC or not) without having the program's source code, or knowing all the inputs. Google the "halting problem" to see how hard it is.

    My suggestion is analogous to:

    Program: "Hi, I'm a flash demo, I want 30 seconds of real time"
    User: "Sounds reasonable. OK",

    The O/S then runs the program, and if the program is still running 30 seconds later, the O/S kills it.
    So no need to figure out whether it will halt or not. The program will halt - the O/S ensures it.

    If the program says "Hi, I'm a flash demo, I want infinite time", it should be far easier to train the user to go: "No" or "Too bad, you only get two minutes to do your stuff, that's all I'm willing to give you".

    AFAIK, Microsoft has lots of very very smart people working for them. I'm sure they have already figured out something far better than my idea, after spending 6 billion dollars and thousands of man-years on Vista.

    So UAC is either institution incompetence, or malice (they just want to shift blame to the users, or they don't actually want increased security).

    --
    1. Re:What Microsoft should do by drsmithy · · Score: 1

      So UAC is either institution incompetence, or malice (they just want to shift blame to the users, or they don't actually want increased security).

      Or they realise that your system would take about a decade to phase in and are currently at about year 3.

    2. Re:What Microsoft should do by Blakey+Rat · · Score: 4, Insightful

      It looks like you're suggesting sandboxing applications, like Vista and Windows 7 already do with IE. The problem is that sandboxed applications are terrible for backwards-compatibility, there are hundreds or thousands of applications that expect to be able to do things outside their "sandbox." It's potentially possible for Microsoft to create custom sandbox parameters for every piece of software on Windows, but again, that's not a realistic solution.

      And anybody who's used the sandboxed IE will tell you that the user experience suffers. Even simple tasks like dragging an image file from a webpage to the desktop require you to give permission for IE to break outside the sandbox. Imagine how hard it would be to drag an image from one sandboxed application to another, and that's a basic tasks that millions of people do every day.

      (I'm assuming your time-based solution is just an example, since 99.99% of applications on Windows are interactive and a time limit would make no sense.)

      So UAC is either institution incompetence, or malice (they just want to shift blame to the users, or they don't actually want increased security).

      Yes, it's impossible that the problem is more complex than you've thought about. It must just mean incompetency, eh? Or maybe a paranoid conspiracy!!! (This is why I hate having these discussions on Slashdot.)

      Yes, Microsoft has smart people. But this is a HUGE problem, probably a uniquely huge problem in the industry. It's not like "smartness" is some superpower that instantly solves the problem, it takes years of work, research, etc.

    3. Re:What Microsoft should do by TheLink · · Score: 1

      "it takes years of work, research, etc."

      And we still got UAC after all of that? Sad.

      My timed based "solution" is not a solution as you seem to think, it is an analogy from the POV of the "halting problem".

      See: http://en.wikipedia.org/wiki/Halting_problem (since nobody seems able to use google)

      My suggestion requires Microsoft to solve complex problems.
      Microsoft's UAC requires users to regularly solve impossible problems (or just guess the answer and hope for the best).

      Vista already breaks lots of applications/backward compatibility, and for what _benefit_ to the users?

      Sandboxing doesn't have to be done the way Microsoft is doing it now. If a user tries to drag an object from one sandboxed app to another sandboxed app, you could treat it as the "user actor app" taking the object from the sandboxed app, then putting it into another sandboxed app, instead of one sandboxed app trying to write the object to another sandboxed app directly.

      Sure it requires a lot of thinking and work.

      But to get Vista after 6 billion dollars and how many years...

      --
    4. Re:What Microsoft should do by Blakey+Rat · · Score: 1

      My timed based "solution" is not a solution as you seem to think, it is an analogy from the POV of the "halting problem".

      See: http://en.wikipedia.org/wiki/Halting_problem (since nobody seems able to use google)

      If you can't communicate clearly enough to make your point without relying on Wikipedia, I think the problem's with you and not me.

      In any case, my answer still applies if you were promoting some kind of sandbox solution to the problem. If you're promoting something else, then you'll have to explain what that is.

      Microsoft's UAC requires users to regularly solve impossible problems (or just guess the answer and hope for the best).

      Like, uh, what?

      Sure it requires a lot of thinking and work.

      But to get Vista after 6 billion dollars and how many years...

      Well, since you obviously have all the answers, why don't you just to to Redmond, tell Microsoft you can solve all their problems for only $1 billion, and be their greatest hero?

    5. Re:What Microsoft should do by Arslan+ibn+Da'ud · · Score: 1

      What you are describing sounds a lot like Java's SecurityManager class. It's the main reason Java is considered 'secure'...the SecurityManager lets Java applets (and other types of programs) run in a sandbox, request extra permissions, and provides APIs to enable users to grant said permissions. I know JS and Flash also have sandboxes, dunno much about their security management.

      The problem MS would face is providing a sandbox that is secure, yet is compatibile with the current environment that internet-based programs (eg DirectX) expects. Which (I'm sure) is terribly complex.

      Basically, I suspect MS could have 'secure' or 'compatible', but not both.

      --

      Practice Kind Randomness and Beautiful Acts of Nonsense.

    6. Re:What Microsoft should do by ericfitz · · Score: 1

      They should be doing this:

      https://bugs.launchpad.net/ubuntu/+bug/156693

      Won't work. If there is a policy mechanism to "always allow" (e.g. "don't annoy me any more for this program"), then clever software developers will figure out how to to solve the "UAC Problem" _once_ in their setup routine (by pre-setting the policy), rather than fixing their programs to run as non-admin. Then they just use and adapt the same setup.exe for all their programs.

      Then everyone is back to where we started- everything runs as admin.

      I suspect that the Microsoft dev team considered that before they decided to annoy the shit out of their customers. One has to assume that they are neither stupid nor contemptuous of the people who pay their bills...

    7. Re:What Microsoft should do by wvmarle · · Score: 1

      Yes, Microsoft has smart people. But this is a HUGE problem, probably a uniquely huge problem in the industry. It's not like "smartness" is some superpower that instantly solves the problem, it takes years of work, research, etc.

      And as yet still no proper solution. UAC in Vista everyone complains about and UAC in Win7 is apparently filled with huge holes.

      This means that they are either incompetent (possible but not likely, they have plenty of smarts in their company), or that this is actually an insolvable problem. The mess is so big it can not be solved, and the only real solution is to start all over. This is something touted here often and by many other considered impossible to do, it may just be the only solution out of the current mess.

      Though MS will most certainly not take BSD or so and build a new Win UI on it: this would make it way too easy to port apps from Windows to other BSD and to Linux and OS/X. It would mean bye-bye lock-in. And really starting from scratch... yes that would take ages. Especially for MS that takes seven years to move from XP to Vista. And fail.

    8. Re:What Microsoft should do by WNight · · Score: 1

      Microsoft's UAC requires users to regularly solve impossible problems

      Like, uh, what?

      Like, uh, rolling the complex issue of trust, especially without proper audit trails, sandboxing, etc, into a simple 'Yes/No' question.

      "Do you want to allow POTENTIALLY ANYTHING - note that if you say no you can't connect to your bank. Yes/No"

      Well, since you obviously have all the answers ... tell Microsoft ... and be their greatest hero?

      While it's true that if they simply saw the emperor had no clothes they'd be far better off, and it's true that many on Slashdot are qualified to point that out, it's not like simple exposure to the truth would do anything. A culture of willful ignorance is almost impossible to crack.

      Besides, the end-user isn't Microsoft's customer. The MPAA, Dell, Adobe, etc are. Understanding that explains a lot about their choices.

    9. Re:What Microsoft should do by mathew7 · · Score: 1

      Program: I'm a flash demo and I just need 1 micro-second to add a registry key"
      User: "ok then"

      Opps, the key was HKLM/Software/Microsft/Windows/CurrentVersion/Run which affects ALL users.

      That is the real problem with malware.

    10. Re:What Microsoft should do by daveime · · Score: 1

      Hmm, here's a little anecdote about my wife, who is computer literate, but not a whole lot of common sense when it comes to warnings etc.

      I have ZoneAlarm on my PC, and recently the missus wanted to use her USB memory stick to copy some files from work. I came home later to find my PC infected with some nasty virus. When I asked her what she'd done, (assuming that ZoneAlarm would have my back covered), here's the conversation ...

      Me : So, what did you do to the computer ?

      Mrs : Nothing, I put in my keydisk, and this popup told me it might be dangerous to open. You always told me to click "decline" when this happens.

      Me : Yes, so .... ?

      Mrs: Every time I clicked decline, nothing happened, and I couldn't open my keydisk. So after about 5 tries like that, I clicked allow instead, AND IT WORKED !!!

      You see, it doesn't matter what style of warning or popup or protection you put in place, users expect things to work, and when they don't, those same users will try to find a workaround.

      It's like being allowed to disable UAC, or for *nix bods, allowing things to run as root. Limited user accounts are great, until such point as it actually limits the user from doing something they REALLY want to do ... then they ask for workarounds, or passwords, and your system is just as insecure as every other system.

      So your timing solution, whilst might be suitable for us techies who probably don't NEED it in the first place, for an "average" user, it's just aother annoyance.

      Ask him/her, "Do you want to let this run for 60 seconds", and they'll try it. When their Flash Video Player keeps stopping after exactly 60 seconds, they'll soon work out what "letting it run for infinite time" does ... it solves the problem you gave them by restricting them in the first place. Never mind that the rest of the system runs like a dog because that Flash Video Player is hogging all the resources, they achieved what they wanted to.

      These kind of restrictions just train the users to find a way to work around them. It doesn't prevent them from doing stupid things in the first place, if they really WANT to do those stupid things.

      And for the record, if you asked my missus about the "halting problem", she'd probably say "what's wrong with the halting, can't you fix the problem ? I thought you were supposed to be the computer wizard here ?"

    11. Re:What Microsoft should do by TheLink · · Score: 1

      It's not a time based solution at all (or at least strictly).

      In fact if you bothered to read the post before clicking "submit" it was stating that it was NOT a timed based solution.

      I was using the time based solution as an _analogy_ sort of solution, to the "halting problem" - which is "will this program halt or not". It is an ANALOGY. The real solution is sandbox templates.

      I brought up the halting problem, because I assumed that this was Slashdot and people like your missus wouldn't be replying to my post.

      Seems I was wrong.

      --
  39. evil be thy name ... by neilobremski · · Score: 1

    ... "rundll32.exe". So many malicious programs already use this instead of their own, more easily-detectable executables, that I no longer trust ANY instance of this when I see it in the process list. I'm an ignorant fool that didn't read the article, but just the summary is enough to make me irritated. I can't believe they'd whitelist THAT. :S

    --
    -- NeilO
    1. Re:evil be thy name ... by John+Hasler · · Score: 1

      Are you saying that whitelisted programs are identified merely by name?

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:evil be thy name ... by neilobremski · · Score: 1

      Nope

      --
      -- NeilO
  40. When Windows OS Goes Bad by LifesABeach · · Score: 1

    The exploit is simply to copy (or inject) part of its own code into the memory of another running process and then telling that target process to run the code

    Sounds like a Rootkit to me.

  41. Re:The first thing I will do after getting Win 7.. by Shados · · Score: 1

    UAC as a normal (non-admin) user does provide a lot of value. It will prompt for a password, so its not just a one button click prompt. UAC as admin isn't as good, but it does a lot of things under the hood, such as making symlinks to reroute certain calls to priviledged areas to "compatibility" sections in the user directory, as it should be if the application was programmed well. It does similar things with the registry, sandboxes IE (if you need to use it...), etc.

  42. UAC is WRONG, but "the right way" is easy. by rdebath · · Score: 1

    They've got part of the right idea in that it shouldn't be possible to "work" (or play) as the real Administrator but the way they've completely fucked up the the NT security model is really the pits.

    To see what to do they only have to look at the unix world. Firstly it's pretty common that X (or rather common login programs for X) will refuse root. Then any program that has to be security conscious and doesn't need root will also refuse to run under root. Many programs that need root to start with will discard root privs when they have done the tiny bit of setup that they need root for.

    The point is there are two distinct classes here and users need to know it.

    We wouldn't want a Windows that has to be administered from the command line but you can do almost as well. If the Administrator account could only be used from what looks like an 800x600 local loopback RDP connection I think the social pressure would slam the admin requiring developers full force. If to this you add some simple things like IE, Winword and Outlook refuse to run in that little admin window it becomes quite obvious that there are two classes of program, system and user. You can actually SEE them, programs that run on the blue desktop are user programs, the ones on the burgundy desktop are system.

    It neatly sidesteps the need to logoff to do admin jobs as you just start the 'Administration client'. Also if the 'client' program takes over the desktop when it's given focus it has the security of a private desktop against things like a 'shatter attack'.

    The best part, it's simple, nearly all the code exists already and you just need a couple of minor tweaks to the default winlogon and the user applications. Sure it would be easy to override but that's not a problem, in fact I think there should be a downloadable winlogon/IE update to do it.

    The point is to clearly divide user programs from administration programs and to continually show the users the difference but without making "the right way" a complete PITA.

    1. Re:UAC is WRONG, but "the right way" is easy. by colinrichardday · · Score: 1

      Firstly it's pretty common that X (or rather common login programs for X) will refuse root.

      Not on OpenSuSe 11.0. It let me log in as root, but gave a warning (in GNOME, not KDE4). I do miss the days when the X background as root was an array of bombs.

  43. UAC, what's the fuss. by timmarhy · · Score: 1
    Put your nerd rage against MS aside for a minute and explain what's so bad about UAC.

    I installed vista the other day and UAC isn't a pain at all, it's certainly no worse than having to do an sudo in linux. I think people hate it because it works so well - it warns you when a privigle escalation is required.

    if windows 7 has improved and runs faster (not that there was much of a speed difference compared to xp SP3), i'll be loading it for sure.

    --
    If you mod me down, I will become more powerful than you can imagine....
    1. Re:UAC, what's the fuss. by Ash-Fox · · Score: 1

      Put your nerd rage against MS aside for a minute and explain what's so bad about UAC.

      Alternative file system drivers like the IFS driver is broken when UAC is enabled, prevents any newly copied/installed/generated executables from executing on said filesystems with a "parameter incorrect" error.

      UAC is exploitable via the window messaging API, making it possible for malicious software to automatically accept UAC dialogs.

      UAC adds annoying dialogs for things like copy operations, one after another "You will need admini.." "needs to have admnistr.." "are you sure you want to copy to this protected syst..".

      Best of all, it doesn't even deter the common computer user, since they will juts accept every dialog out of habit.

      it's certainly no worse than having to do an sudo in linux.

      When kdesudo or gksudo pops up, it tells me the command it's executing, when UAC pops up... For example, when adjusting windows update settings:

      "blah blah eeds admin privileges to continue" *click more details* "{kfpf-3-wsefsfse-f3f3fkfowfw3ffw}"

      Oh great, a GUID. Seriously, at least techs knew what was going on with gksudo and kdesudo for an action, but with UAC? Well.. Unless they're memorizing GUIDs and I'm pretty sure they aren't.

      --
      Change is certain; progress is not obligatory.
    2. Re:UAC, what's the fuss. by fl1ckmasterflex · · Score: 1

      UAC is exploitable via the window messaging API, making it possible for malicious software to automatically accept UAC dialogs.

      This is patently false. UAC dialogs are in their own session so you cant "OK" them programatically.

      UAC adds annoying dialogs for things like copy operations, one after another "You will need admini.." "needs to have admnistr.." "are you sure you want to copy to this protected syst..".

      Ya, you forgot to say its only for certain folders which contain program files. Do users on linux typically copy to ~/bin or ~/sbin everyday?

      When kdesudo or gksudo pops up, it tells me the command it's executing, when UAC pops up... For example, when adjusting windows update settings:

      There is a difference in philosophy here. UAC doesn't define a security boundary. Even if you OK ONE admin operation you might not want to OK another operation from the same program.

      sudo basically gives the entire process admin rights and you're screwed if it does anything malicious.

      Ya, UAC doesnt help if you just keep on clicking yes so its two different philosophies. It seems to me that MS took a gamble on some middle ground. They hope that application devs would fix apps so they wouldnt need the UAC popups and then in the next windows release they would make everyone by default limited user and use something like sudo.

    3. Re:UAC, what's the fuss. by Ash-Fox · · Score: 1

      This is patently false. UAC dialogs are in their own session so you cant "OK" them programatically.

      Window messaging doesn't care what session a Window is in. How do I know? I've written software to do it.

      Ya, you forgot to say its only for certain folders which contain program files. Do users on linux typically copy to ~/bin or ~/sbin everyday?

      No, infact I can't even recall the last time I had to do it on Linux.. Now Windows, that's a whole different story, I find it more common on Windows because of how certain applications expect a lot of stupid things.

      There is a difference in philosophy here. UAC doesn't define a security boundary. Even if you OK ONE admin operation you might not want to OK another operation from the same program.

      It's a GUID for hell sakes. They could of even made UAC look up the GUID action, but no, they just give you a GUID for details. Sorry, it's not a different philosophy, it's stupidity.

      They hope that application devs would fix apps so they wouldnt need the UAC popups and then in the next windows release they would make everyone by default limited user and use something like sudo.

      They added API calls that will request UAC elevation through dialogs - I am doubtful of such claims.

      --
      Change is certain; progress is not obligatory.
    4. Re:UAC, what's the fuss. by fl1ckmasterflex · · Score: 1

      Window messaging doesn't care what session a Window is in. How do I know? I've written software to do it

      You cannot pass messages between sessions, otherwise you could mess with another user who was logged into ... y'now his own session. This is such a basic fact, that you probably should reevaluate how you learned windows programming.

      It's a GUID for hell sakes. They could of even made UAC look up the GUID action, but no, they just give you a GUID for details. Sorry, it's not a different philosophy, it's stupidity.

      Huh? GUID Action? There is no such thing. A GUID is simply a unique ID. It doesn't mean anything till someone gives it meaning. It has been used to identify COM objects, but that has nothing to do with specific actions.

      Application developers can request elevation any time and windows cant know what they are going to do with that elevation. Only the user can know that because they chose to do a particular operation which lead to the popup.

      Obviously any program can mislead the user. The point is UAC is different from sudo. You can still get sudo like functionality on Vista, its just that its of no use because like I mentioned it elevates the entire process. So you end up running all the current programs as admin anyway. With the UAC annoyance, MS took a huge PR hit so that app devs could fix the apps.

      They added API calls that will request UAC elevation through dialogs - I am doubtful of such claims.

      Its not even a claim. Its what they hope will happen. They don't know or claim to know how its going to end up.

  44. Security hole by RAMMS+EIN · · Score: 1

    ``The exploit is simply to copy (or inject) part of its own code into the memory of another running process and then telling that target process to run the code, using standard, non-privileged APIs such as WriteProcessMemory and CreateRemoteThread.''

    Doesn't that sound like a huge security hole right there? I don't think the problem is really with UAC...

    --
    Please correct me if I got my facts wrong.
  45. What MSFT should do by DragonHawk · · Score: 1

    "What bothers me is nobody seems to answer the question: "What *should* they be doing?" in a reasonable manner."

    Require users to create a separate admin account from the limited user account. Require decent credentials on the admin account (e.g., non-trivial password, or biometric, or whatever). If the user also wants credentials on their limited account, require those credentials to be different vs the admin account. Require regular, day-to-day operations to be performed under the limited account. Elevate operations which can effect system stability or security to the administrator account from the limited account, without requiring a log off, user switch, command prompt, special right-click menu option, or anything else cumbersome. Require the user to present credentials before elevating.

    In other words, implement security best practices that have existed in the computer industry since the 1960s.

    The real killer is that UAC can be configured to do this. You can have two accounts, and have it prompt for an admin password when needed. It's just not the default configuration.

    Microsoft claims they didn't go this route because they thought people were too used to running as admin all the time and wouldn't give it up. But that seems like bullshit, because Microsoft forced plenty of other unwanted changes down people's throats with Vista. Why is security somehow different?

    Per-process capabilities and sandboxing are also a good idea, for things like MSIE. From what I've seen, though, either the design or the implementation is poor, because they haven't been as effective as they should at stopping things like trojans (adware/spyware disguised as legit software to get the user to install it).

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  46. Admin accounts by default by DragonHawk · · Score: 1

    "Except Vista and Windows 7 *don't* make Admin accounts by default."

    I don't know about Win 7, but Vista prompts the user to create a new account during install. That account is assigned admin privileges. It's not even required to have a password.

    As I believe is required at this point: *BZZT*, wrong, but thanks for playing!

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  47. they don't actually want increased security? by Anonymous Coward · · Score: 0

    security is a public relations problem

  48. OSX ACL manipulation by goombah99 · · Score: 1

    Examples
                                # ls -le
                                -rw-r--r--+ 1 juser wheel 0 Apr 28 14:06 file1
                                    owner: juser
                                    1: guest deny read
                                    2: admin allow write,delete
                                    3: juser inherited deny delete
                                    4: admin inherited allow delete
                                    5: backup inherited deny read
                                    6: admin inherited allow write-security
                                # chmod +ai "others allow read" file1
                                # ls -le
                                -rw-r--r--+ 1 juser wheel 0 Apr 28 14:06 file1
                                    owner: juser
                                    1: guest deny read
                                    2: admin allow write,delete
                                    3: juser inherited deny delete
                                    4: others inherited allow read
                                    5: admin inherited allow delete
                                    6: backup inherited deny read
                                    7: admin inherited allow write-security

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:OSX ACL manipulation by e4g4 · · Score: 1

      I was including ACLs under the umbrella of POSIX permissions - not technically correct as ACLs as I understand things are not actually part of the POSIX standard and are merely a recommendation, but whatever.

      --
      The secret to creativity is knowing how to hide your sources. - Albert Einstein
  49. UAC is *NOT* a security feature! by WD · · Score: 1

    Repeat after me:
    UAC is NOT a security feature!

    It was added to software developers do the right thing, i.e. not require administrative privileges unless absolutely needed.

    http://www.networkworld.com/news/2007/021407-microsoft-uac-not-a-security.html

    1. Re:UAC is *NOT* a security feature! by revxul · · Score: 1

      That too

      --
      Truth, Just Us, And Hatred For All Mankind!
  50. Mod parent up by John+Hasler · · Score: 1

    > Also, 90% of the population aren't computer programmers. Debugging should simply be
    > disabled, by default, and require installation of additional userland tools and
    > root/Administrator privileges to ENABLE the capability (not necessarily Administrator
    > privileges to exercise the capability once it's enabled on a system).

    Excellent idea. Programmers shouldn't mind doing a one-time configuration change to enable debugging. The change could even be made by the debugger postinst script. /home should also be mounted noexec. Yes, I know there are ways to work around that, but it adds a significant barrier to many attacks.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  51. What should they do? by symbolset · · Score: 1

    I think maybe if I was pulling in their kind of money, I could afford to hire somebody who knew the answer to this question. Maybe even two guys.

    --
    Help stamp out iliturcy.
  52. well its beta by revxul · · Score: 1

    That's what beta software is for.

    --
    Truth, Just Us, And Hatred For All Mankind!
  53. Re:The first thing I will do after getting Win 7.. by shutdown+-p+now · · Score: 1

    I'm not quite sure I'm convinced. I saw a documentary on this a few months ago that made it quite clear that the UAC doesn't really offer much value and is very annoying at best.

    As far as end user is concerned, UAC is really no different than Ubuntu Gtk sudo. Same benefits, same annoyances.

    "You are coming to a sad realization. Cancel or allow?"

    Oh, I see. That sort of thing usually comes way deep from the Reality Distortion Field.

  54. The Correct Way... by EXTomar · · Score: 1

    If you really believe that, then the correct way to handle a process trying to access something they don't have permissions to is to deny it but be clear why. Instead what we got is something else...

    Although Mac and Linux have applications and applets that prompt for elevation in privileges this is different than what is going on in UAC: In Linux, the Network Manager applet knows it needs elevated privileges to modify wireless settings. In Vista, UAC doesn't necessarily know "why" any process wants access to anything so it asks the user instead. Why would the user know any better to be qualified to make the decision? UAC would have been a better diagnostic tool than a security measure.

  55. New microsoft os? by Anonymous Coward · · Score: 0

    I heard Microsoft is gonna make a complete new operating system after the version after windows 7. This wouldn't even be called Windows.
    Not sure if this is true though..

    1. Re:New microsoft os? by Anonymous Coward · · Score: 0

      Inside scoop is that it's going to be called "Winux"

  56. This is what they should do by master_p · · Score: 0

    Windows started as a single-user O/S, didn't it? well, it should remain so.

    Let me explain:

    The O/S should provide a unique view for each of its users, including system files. The user should be able to modify *anything* on the system, from registry settings to the Windows folder. Each user should modify its own copy of the system!

    The benefits of this approach are huge:

    1. no more UAC required. It's only when the kernel is hacked that control to other users' files is obtained. Other user files would not be accessible, they wouldn't even be visible, including the system files.
    2. better compatibility with older programs. Let programs write in c:\windows...they would simply write in the user's c:\windows version. The kernel's version of the folder would remain as is.
    3. easy restore. Did the user screw up its system? copy the system files from the kernel's account...and you are done.
    4. enhanced security. Do you want to run a dangerous program? code that you downloaded from the internet? no problem: create another account which inherits the current account, run the program in this other account, let the program screw that account up, delete the account. The other accounts will not be touched.
    5. file exchange between users can be done in various ways:
      1. using downloading (as if the two users were remote), but the download would take zero time, since the file would already be in the hard disk.
      2. using shared folders.
      3. using shared accounts.
    6. Easy to implement. Using copy-on-write, a file would be shared unless it is written.
    7. Minimum storage overhead. If a file is shared (i.e. not written yet), it occupies a single place in the filesystem. If many users use the file, the filesystem driver automatically duplicates it on first use. Disk storage is plenty these days.
    8. Minimum performance hit. The only time performance is hit is on the first copy of a file for a specific account. After that, there is no performance hit.
    9. very easy account inheritance through copy-on-write.
  57. No Script bragging, please by WNight · · Score: 1

    It's because if enough people do something stupid it's not stupid, it's culture. Like religion. Or buying outside your means (banks or people).

    If he (the anti-NSer) can't convince you to blindly trust JS then he has to deal with the uncomfortable fact that there IS a solution to not getting viruses - one that he is not doing adequately.

    On the other hand, if he convinces you then you reinforce his "It's too big to handle so close your eyes" delusion. One day he'd wake up in bot-net of the week, shrug, and go back to sleep - warm with the knowledge that there was nothing he could do.

    You spoil his blissful ignorance.

    He finds your unwillingness to sell your safety for a few cheesy JS gimmicks threatening.

  58. What Microsoft should do ... by reiisi · · Score: 1

    You ever get stuck behind a huge RV with a drunk driver on a narrow road?

    What Microsoft should do is really simple: Get their huge, unsafe-at-any-speed public nuisance out of the market and off the 'net and let people willing to do it right get past.

    A guy who blogs as joudanzuki described one ideal solution -- split Microsoft into several different companies, one that maintains their current offerings as actively patched legacy software, another that focuses on re-implementing the current stuff on a stable foundation, again as a way to support legacy software.

    I'd say it this way -- Microsoft should re-release XP as Wine on a BSD system. (Linux would be impossible because of all the cross-licensing junk they've done now.)

    And quit depending, in the System itself, on the band-aid that is UAC.

    --
    Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
  59. Why re-invent the wheel? by Anonymous Coward · · Score: 0

    It's funny how Microsoft tries to re-create the best aspects of open-source in an OS, so they could sell it when the best aspects can already be gotten for free. This whole thing with security on Microsoft system is a joke. They should stop making new OS's and keep coming out with new XP patches. It's more cost effective - why try to make a 'secure' operating system, if you have an OS battlefield where that you and your enemies know well. Microsoft should realize that before they need to save their company and let it grow again, it needs to die a horrible death first.

  60. Microsoft doesn't deserve slack on this by arete · · Score: 1

    Microsoft doesn't deserve slack on this. Maybe the UAC or Windows 7 teams deserve slack, but that development ecosystem is Microsoft's fault - because it's difficult to install a useful, nontrivial Windows program without being an Administrator.

    In Vista they made this WORSE, to my understanding, by adding a UAC prompt for anything that looked like an installer. So a worm installing in less-privileged locations might not trigger UAC, but any normal installer is going to.

    That IS the problem, right there. Userland programs should be installable not as root, and the ecosystem encouraged to make them that way. Maybe W7 is better, but in Vista they went _backwards_ on this issue. Linux has always done this. OS X has always done this (since there's been OS X, which isn't as long)

    I get that pulling that off with a registry and DLLs is going to be a bit messy, but that's the real problem, in my opinion.

    --
    Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
  61. For now, I run Linux.... by SlaveToSoftware · · Score: 1

    For now, I run Linux.... and just don't worry about viruses. Stay away from the dominant platform of users and you're ok. I sure do hope when Linux gets the majority, as I think it will, that we can keep the operating system up to date as fast as I see virus programs update their data.