Slashdot Mirror


Users' Admin Logins Make Most Windows Malware Worse

nandemoari writes "A new analysis claims that over 90% of the Windows security vulnerabilities reported last year were made worse by users logged in with administrative privileges — an issue Microsoft has been hotly debating recently. According to BeyondTrust Corp., the result of the analysis of the 154 critical Microsoft vulnerabilities indicated that a full 92% could have been prevented if users were not logged into their systems with administrator status. BTC believes that restricting the number of users who can log in with these privileges will 'close the window of opportunity' for attackers. This is particularly true for users of Internet Explorer and Microsoft Office."

84 of 420 comments (clear)

  1. Cancel or Allow by Anonymous Coward · · Score: 5, Funny

    Would you like to install a virus? [Cancel/Allow]

    1. Re:Cancel or Allow by flowsnake · · Score: 5, Interesting

      "Polite", a virus for Microsoft Word, already did this back in the mid 90's! When you try to save a file the virus macro asks "Shall I infect the file?", and kindly refrains from doing so if you click say no.

    2. Re:Cancel or Allow by Anonymous Coward · · Score: 3, Funny

      I though that was clippy.

  2. TFA mentions the dup by Anonymous Coward · · Score: 2, Informative

    From TFA:

    In recent news, two bloggers were able to demonstrate the threat posed by the Vista's Windows User Accounts Control (UAC) feature. UAC, a feature that provides a prompt when users attempt to perform tasks such as installation of new programs or changes to settings, is meant to provide added security to the system. (Source: computerworld.com)

    In other words, it's a dup of the recent disussion about the Security Hole In Windows 7 UAC.

    Recycle your old comments here.

    1. Re:TFA mentions the dup by Ihmhi · · Score: 4, Funny

      I can't really think of anything to say, so I'm going to do the green thing.

      This comment is made of approximately 80% recycled material(s?).

      From TFA:

      In recent news, two bloggers were able to demonstrate the threat posed by the Vista's Windows User Accounts Control (UAC) feature. UAC, a feature that provides a prompt when users attempt to perform tasks such as installation of new programs or changes to settings, is meant to provide added security to the system. (Source: computerworld.com)

      In other words, it's a dup of the recent disussion about the Security Hole In Windows 7 UAC.

      Recycle your old comments here.

  3. You mean... by laughingcoyote · · Score: 5, Insightful

    Not running as a fully-privileged user reduces your security risk? Who knew!

    This is not news. The question is why it hasn't been meaningfully addressed in Windows for such a long time.

    --
    To fight the war on terror, stop being afraid.
    1. Re:You mean... by Urd.Yggdrasil · · Score: 5, Insightful

      It would be a hell of alot easier of software developers didn't require administrative privileges when they really don't need them. I tried to run in a "user" usergroup when I replaces win2k pro with win xp pro but nothing ran correctly. I tried using the "run as" menu and a program called sudo-win which would elevate my privs temporarily then reduce them again. Nothing would install correctly, nothing would run correctly. Even programs that don't use any administrator functions or zones wouldn't work correctly. Realistically, running in a non-admin account is a pain in the ass.

    2. Re:You mean... by EvolutionsPeak · · Score: 4, Insightful

      The question is why it hasn't been meaningfully addressed in Windows for such a long time.

      This question has long been addressed as well. There are several reasons, but I'd say the primary one is that it breaks compatibility with too many applications. Since Windows has given administrative privileges by default for so long, programmers have assumed that the user will have them and do things that require those privileges, like write into the Program Files directory.

      Vista took many steps to meaningfully address the issue.
      UAC has been part of an attempt to rectify the problem by not allowing the administrative privileges to be used without user intervention.
      It also acts as a form of "sudo" so that its possible to run as an unprivileged account. However, it is a giant pain because the aforementioned coding practices induce a million popups.

    3. Re:You mean... by LoadWB · · Score: 5, Insightful

      Seconded. When you have mainstream applications like Peachtree, QuickBooks, Timberline, and even some of Microsoft's own products, requiring administrator access to a workstation, limiting rights is difficult.

      (Mind you, I speak from a purely XP-standpoint. We have had so many problems with Vista at sites which have tried to implement it that we do not use it. And others do not have the hardware to run Vista.)

      IIRC, I have also run into issues with AutoCAD, some network scanner drivers, and the like.

      Mostly, the ways around these requirements are convoluted or require in-house admin staff to handle minor requests which need immediate attention.

    4. Re:You mean... by Spit · · Score: 4, Insightful

      Realistically, running in a non-admin account is a pain in the ass. ...in Windows.

      --
      POKE 36879,8
    5. Re:You mean... by Z00L00K · · Score: 3, Insightful

      Running a non-admin account works fine if you only run the office package, but as soon as you plan to do something slightly advanced you end up with failed permissions and other types of obnoxious behavior - which is hard to figure out because Windows won't tell you because you don't need to know.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    6. Re:You mean... by 93+Escort+Wagon · · Score: 3, Informative

      Realistically, running in a non-admin account is a pain in the ass. ...in Windows.

      It's absurdly easy to do in Mac OS X - you don't even have to think about it. If you need to run as an admin, the OS figures it out and prompts you.

      Actually it's so easy that it drives me nuts Apple hasn't taken the next step - something XP actually does - and have you first set up an admin account, then set up a "normal" account for day to day activities. If any single thing contributes to the first widespread Mac virus/worm/whatever, I bet it'll be the number of unnecessary admin accounts being used.

      And before someone brings it up - it's not that difficult to work around the "it'll prompt you for your password" protection that supposedly will warn you if something tries to take advantage of your admin status. You just need to know a bit about the command line, since the Applications directory is writable to anyone in the admin group.

      --
      #DeleteChrome
    7. Re:You mean... by Opportunist · · Score: 5, Interesting

      The question is why it hasn't been meaningfully addressed in Windows for such a long time.

      Because it would break compatibility. Actually, and I hate to say it, it ain't MS's fault. Or at least not only theirs.

      A simple example: In the good (bad) old days of 95 and 98 and the lack of sensible rights management, it didn't matter whether you use the HKLM or the HKCU registry branch. Both were equally unprotected, and since your software worked with every user (and you needn't care about such trivialities as watching out for a lack of reg keys), software vendors simply dumped their registry junk into the HKLM tree.

      The same applies to access to sensible system areas, like drivers (copy protection crapware) or code injection. Programmers simply assumed it is possible because hey, the system didn't really care about it!

      In comes Win2k and suddenly, when you are not logged in as admin, your games don't work. Now why the hell does a friggin' game need admin rights, you ask? Because it wants to load a copycripple driver, because it wants to write in the HKLM (or similar sensible) hives or because of other things that didn't matter earlier due to a lack of rights management and due to being the easy way out of a programming problem.

      MS is to blame to allow this for far too long. Users are to blame to put up with it and accept that they're "forced" to use admin privs to run programs. And most of all, programmers are to blame that took the easy way out and ignore rights. No, they needn't be able to forsee it (even though they should have). But since the practice still prevails (run a copy protected game without admin rights, see if you succeed), the blame is squarely on third party software. Not MS this time.

      I hate to say it, and I know it's unpopular on /. to "defend" them. But it's not MS that has dropped this ball.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    8. Re:You mean... by gmack · · Score: 3, Funny

      UAC's constant nagging is actually there to piss off users of bad software and put pressure on application makers so they will go through the trouble of designing software that doesn't need constant admin access.
       

    9. Re:You mean... by shutdown+-p+now · · Score: 4, Interesting

      It would be a hell of alot easier of software developers didn't require administrative privileges when they really don't need them. I tried to run in a "user" usergroup when I replaces win2k pro with win xp pro but nothing ran correctly. I tried using the "run as" menu and a program called sudo-win which would elevate my privs temporarily then reduce them again. Nothing would install correctly, nothing would run correctly. Even programs that don't use any administrator functions or zones wouldn't work correctly. Realistically, running in a non-admin account is a pain in the ass.

      For all the flak that it (mostly rightly) gets, Vista did change that for good. Since its release, the percentage of apps that require admin privileges to run dropped very significantly - so much so that the only one I still have installed on my desktop is Acronis True Image, and that one actually needs it, as it does disk-level backup (though it should really rather pop up the UAC prompt when it actually starts backing up, and not on startup).

    10. Re:You mean... by the+white+plague · · Score: 5, Insightful
      Anecdotal evidence sucks.

      Yes, but the user experience is what counts. All it takes is one video game to pitch a fit that it doesn't have admin privileges and hundreds of thousands of users have learned the lesson "just run as admin, it's less bother". The last couple months Fallout3 has been the popular game of the moment teaching users that security is painful to use.

    11. Re:You mean... by thetoadwarrior · · Score: 2, Insightful

      MS shouldn't even allow you to be an admin. It should have an admin password which you can use to perform certain tasks but it's only that task that has admin rights and they're gone once it's over.

      It's not like this is some sort of new concept or anything so I'm not sure why they won't do it.

    12. Re:You mean... by ShakaUVM · · Score: 5, Interesting

      >>which is hard to figure out because Windows won't tell you because you don't need to know.

      Yep. In Linux you get the rather common sense "permission denied" message when you try installing something and it tries to write to a directory you don't have rights to. In Windows, it fails silently most of the time. Drove me up the wall when a program I'd installed was working on a computer I set up for my mother, when it turns out even though she could see the program with her "mom" account, something or other needed admin privs, and it was dying silently.

    13. Re:You mean... by WWWWolf · · Score: 3, Informative

      Actually it's so easy that it drives me nuts Apple hasn't taken the next step - something XP actually does - and have you first set up an admin account, then set up a "normal" account for day to day activities.

      That'd be a step backwards. In Unix-based OSes, there's unprivileged users and root (superuser); root can do pretty much anything, ordinary users can't. The whole point of sudo (the password dialog thingy) is that the superuser access is given only when needed, and you can have perfectly ordinary user accounts that are allowed to do some administrative tasks. You can configure sudo to only allow certain programs to be run as root; this is far better than having the lazy users flip between normal accounts and administrator accounts and stay logged in as administrators because "that's where you don't need to fill in those annoying password prompts, duh".

      The biggest clinch is that if you run a program as root, it will just work; run it through sudo with root privileges, it won't give you a password prompt, it will just run the program. The model is "if the user is logged in as root, we assume they know what they're doing, even when they want to do something that could damage the system; if an ordinary user runs something that could be damaging the system, we disallow it and only let it through through the sudo prompt."

    14. Re:You mean... by EvilIdler · · Score: 2, Interesting

      Microsoft made admin-mode annoying, so that the users would complain to the makers of the software that annoys them, rather than demanding MS to fix things ;)

    15. Re:You mean... by Breconides · · Score: 2, Interesting

      The user doesn't have different permissions between the command-line and the GUI. In both circumstances, when something is done that needs super-user privileges, the user is prompted for their password by sudo.

      The only difference between the GUI and the CLI is that with the GUI you don't have to manually run sudo. You automatically get a pretty little window asking for your password. With the CLI, you need to run the program with sudo manually.

    16. Re:You mean... by bemo56 · · Score: 2, Informative

      something or other needed admin privs, and it was dying silently.

      I had problems with Vista and WinRAR similar to this.

      Whenever I unzipped a rar file into the C: Directory; it would have permission to create the folder structure of the rar file, but not the files therein. Instead of notifying me of this, it would fail silently after half an hour of decompressing (big files).

      Personally I don't know which piece of software was to blame.

    17. Re:You mean... by Sancho · · Score: 2, Informative

      I'd genuinely like to hear ideas for a fix that Microsoft could provide. How should Microsoft cope with software developers doing bad things like trying to dump files in %SYSTEMROOT%, writing to privileged areas of the registry, or wanting to do privileged things in the process space?

    18. Re:You mean... by SenFo · · Score: 3, Insightful

      This is very unlikely unless you were installing something using a really, really crappy installer. In either case, this is certainly not the fault of Windows. The operating system API definitely throws an exception if a user tries to access something that he/she does not have access to. It doesn't, however, have the ability to prevent a stupid developer from writing an installer that catches the exception without notifying the end-user of the security-related error. The same idiotic behavior can and will be observed in Linux if developers choose to ignore development best practices.

    19. Re:You mean... by rabbit994 · · Score: 2, Interesting

      Part of the problem is directory structure in Windows. Applications for some reason want to write some .dlls to one location(generally Windows system folder), user settings to another and bulk of the files to a third. Instead of shoving all the .dlls and application files into Program files\appname and should shove all the settings into My Documents\My Settings\Appname to make backing up easy as backing up My Docs.

    20. Re:You mean... by speculatrix · · Score: 2, Interesting

      I hate to say this, but in this respect I have a tiny, tiny smidgen of sympathy for MS. People have been used to computers which are trivial to use and perform basic administration functions, and unfortunately when they are being forced to modify their behaviour (like not running as admin, not putting files in silly places), all they do is bitch rather than thinking "hey, I've been wrong all this time, now I'm working smarter".

      So, MS have to introduce backwards-compatibility hacks, like UAC, to keep people happy, and of course the idiot users simply turn off security.

      The other problem MS have had is that in order to keep people on the rolling treadmill of updates and upgrades (fuelled by file format changes), they have had to maintain backwards compatibility beyond what would normally make any sense. OK, linux hasn't been the model of API stability, but because it's OSS, it means people can build old apps from gcc2.95/kernel 2.2 & 2.4 on gcc3 and gcc4 with kernel 2.6. Windows users can't do this, they are often utterly dependent on proprietary applications and if they needed a recompiled version would have to pray the authors would be willing to do it at a fair price or even were still in business.

      OK, having had a tiny grain of sympathy, it's blown away because MS brought this situation about through their own inaction and short-sighted corporate greed.

  4. running as admin? by theheadlessrabbit · · Score: 4, Funny

    sudo apt-get with the times, microsoft!

    --
    -I only code in BASIC.-
    1. Re:running as admin? by pablomme · · Score: 2, Informative

      You missed the obvious:

      E: Invalid operation with.

      --
      The state you are in while your HEAD is detached... - wait, what?
  5. Gerald by Anonymous Coward · · Score: 3, Funny

    Everyone knows from recent news that microsoft has removed the innards of windows 7 and replaced them with "gerald", a lovable computer literate field mouse.

    Gerald is cheap, congenial, and zippy, but unfortunately has very poor judgment.

    -my apologies to plasmacutter

  6. Simple prevention... by Anonymous Coward · · Score: 2, Informative

    Run anything internet-facing with DropMyRights.exe.

    http://voices.washingtonpost.com/securityfix/2006/04/windows_users_drop_your_rights.html

    1. Re:Simple prevention... by Anonymous Coward · · Score: 2, Informative

      Microsoft link to dropmyrights:

      http://msdn.microsoft.com/en-us/library/ms972827.aspx

    2. Re:Simple prevention... by symbolset · · Score: 4, Funny

      Or you could use a modern antivirus like antivirus2009

      It stops everything.

      --
      Help stamp out iliturcy.
  7. Dupe by Anonymous Coward · · Score: 4, Insightful

    The vulnerability is in Windows 7's UAC, not Vista's, so that part of the story is not only wrong but a dupe of the previous "UAC vulnerability" article. As for the rest of the story, it's just marketing copy for BeyondTrust Corp. Congratulations samzenpus, you've posted perhaps the first article that's wrong, dupe, blogspam, and slashvertisement all at the same time!

  8. Windows "Run as Root" Culture is the Problem by CodeBuster · · Score: 4, Insightful

    The history and culture of Windows is at least as responsible for the "run as root" problem as any shortcomings, and there were many over the years, in the OS itself and although Windows OSes has progressively improved security over the years there is only so much to be done, on any system, when users have been trained to run as root and click "yes" everytime. Of course, malicious programs like downadup and the infamous ClickYesToContinue ActiveX certificate debacle don't help matters.

    1. Re:Windows "Run as Root" Culture is the Problem by symbolset · · Score: 2, Insightful

      The history and culture of Windows....

      This is unfortunately correct, if not a bit vague. That's what happens I guess when the problems are too numerous to list.

      although Windows OSes has progressively improved security over the years there is only so much to be done...

      Until they've done what can be done, we're still entitled to gripe. Does it take thirty years to figure out end users don't log in with admin privileges? Because that's how long it's been best practice. Was it two decades ago "no open ports by default" became the standard shipping configuration of a real OS? Was it Wirth who said "sanitize your inputs" or does that wisdom predate even him?

      Microsoft is doing fine. See? They've taken over the desktop market. They're making money like they own the mint. They must be doing it right. Let's leave the chef to his muttons.

      --
      Help stamp out iliturcy.
    2. Re:Windows "Run as Root" Culture is the Problem by donaldm · · Score: 3, Interesting

      Uhm... Microsoft has had Windows setup to not require administrative privileges for many, many, many years. I blame software developers who abused the fact that people did.

      You are right and some companies do actually force this on all their corporate desktops. In the majority of cases this is not done and most people especially home computer owners don't do this. As for blaming developers well you could lay some of the blame at them but that is really unfair since it was Microsoft who made it so easy for people to give themselves administer privileges.

      Looking at Linux/Unix security. Basically from inception a normal user only had limited privileges and to do anything as a system admin required knowing the root password or being a member of a sudo (1980's) group that had particular privileges. This was instilled in Unix and now Linux users from the time they started using the system. This is not to say that some users are stupid enough to work as root, however those that do this, especially in the corporate world are usually brought to task very quickly. The same has never been true with Microsoft OS's.

      When a vendor writes software for Unix/Linux they should know and if not are usually told in no uncertain terms that requiring root access for their particular product requires a "please explain" because most applications don't require root privilege although there are exceptions. Even installation especially if the software is being tested is normally set up in what is called a "sand-box". Again Microsoft fails on enforcing this (Vista was an attempt).

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    3. Re:Windows "Run as Root" Culture is the Problem by Anonymous Coward · · Score: 2, Insightful

      Thanks for the laugh.

      The days of games writing directly to the video card ended ohhh lets see, about 13 years ago...

  9. Re:Simple possible solution by magamiako1 · · Score: 2, Insightful

    That's what UAC is for. It's there, applications can take advantage of it. IE takes advantage of it. Even Chrome takes advantage of it.

    Most software developers are freakin' lazy.

  10. Installers shouldn't need root by Animats · · Score: 4, Insightful

    What's really annoying is that too many programs still insist on "administrator" privileges for installation. Installation needs to be a far more contained process, with limited authority. Most applications don't really need the ability to manipulate elements of the system outside their own directory subtree and their own subtree of the Registry. Installation of "normal" applications (especially games) should be contained accordingly. Most applications are, in a security sense, "leaf nodes"; nothing else depends on them. But Microsoft doesn't make that distinction. (Nor do most Linux application installers, even though Linux/UNIX doesn't have the registry issues that Windows does.)

    1. Re:Installers shouldn't need root by shutdown+-p+now · · Score: 2, Interesting

      Technically, it is quite possible to make installers that do not require admin at all - those that install into user data folder. MSI fully supports that scenario, it's just that very few people actually bother to provide this as an option in their installers.

  11. What they need to do... by the1337g33k · · Score: 5, Interesting

    What they need to do is limit all users to not be administrators. They should create the admin account so that it can ONLY do admin tasks. It cannot run programs like office or games. It can only run security and diagnostic apps, adding-remove apps. If they restricted admin users from using their account for daily use and only for admin use, that would significantly reduce the attack surface for crackers.

    1. Re:What they need to do... by dbIII · · Score: 2, Insightful
      IMHO that is just silly. There should be an account that can do everything (including modifying files that malware has a hold of - this file locking bullshit is very 1980s), however you shouldn't ever have to use it unless you are doing something important. I have personally had to waste a lot of time fixing access to files when people mucked up MS Windows file permissions and I couldn't just do the sensible thing of logging on as Administrator to fix it - it is purely security theatre when you have the rights to change the password of the owner to anything you like but do not have the permissions to get to the file until you log off and back on again as them. The first few days after a long holiday is usually full of rubbish like that even if you don't have many MS Windows machines.

      MS Windows are no longer the cheap option in the server room, or thanks to malware, they are not the cheap option on the desktop either. Personally I think it's time to let them go back to their better suited role of hobby machines at home until the first gaming console with more than 4GB buries them in that role.

  12. Microsoft Legacy is Microsoft's biggest problem by erroneus · · Score: 3, Interesting

    I am sure this is not news to anyone whether you love or hate Microsoft. The fact is the coding practices commonly followed under DOS and then under Windows have been rather poor. The reasons for it are many, but largely because of a thirst for performance. But in order to keep people hooked on Windows, they have to keep supporting the mistakes of others as well as their own. This is what they call "backward compatibility."

    But there is a way out of it and for some reason they seem unwilling to do it. Write a new OS, virtualize old Windows for "legacy support" and eventually all the software vendors will port their code to work with the new Microsoft OS natively just as they did with Mac OS X. I can't imagine why Microsoft is unwilling to do that... got any suggestions anyone?

    1. Re:Microsoft Legacy is Microsoft's biggest problem by gmack · · Score: 2, Insightful

      Microsoft's biggest market advantage is the amount of legacy software that supports their platform.

      Rewriting an app to be cross platform is not much more work than rewriting for a single OS so if they force application makers to do a complete rewrite they risk having them rewrite using cross platform libraries.

    2. Re:Microsoft Legacy is Microsoft's biggest problem by Tatsh · · Score: 5, Insightful

      I am sure this is not news to anyone whether you love or hate Microsoft. The fact is the coding practices commonly followed under DOS and then under Windows have been rather poor. The reasons for it are many, but largely because of a thirst for performance. But in order to keep people hooked on Windows, they have to keep supporting the mistakes of others as well as their own. This is what they call "backward compatibility."

      But there is a way out of it and for some reason they seem unwilling to do it. Write a new OS, virtualize old Windows for "legacy support" and eventually all the software vendors will port their code to work with the new Microsoft OS natively just as they did with Mac OS X. I can't imagine why Microsoft is unwilling to do that... got any suggestions anyone?

      I have been suggesting this for years. Enterprise (Microsoft's most important customer base), in general, does NOT want it. Seemingly they want the 'good ole' x86 to live forever and Windows to run programs written for DOS 5.0 even in 2009 and beyond. Ridiculous, but it is true.

      If you are a business who relies upon some certain software to get work done and do NOT have the time, money or resources to switch to something else, it is in your interest to demand your software vendor (in this case Microsoft) NOT to remove compatibility for X application.

      If you look at the Windows 2000 leaked source code, you can find plenty of comments about VERY specific application fixes. Yes, XP broke stuff. Vista broke more. But it probably did not break what the enterprises care about (Vista likely did break many things, hence why 7 is being rushed and so many enterprises skipped Vista and will go to 7 after some extensive testing).

      Today I experienced a game that does not work on Vista. Microids' Corsairs from 1998, made for Windows 9x. Tried compatibility modes, the latest patches, etc. It just kept crashing. Microsoft does not care about your 'classic' games at all. All they care about is the enterprises who actually buy the expensive volume licenses Microsoft is always trying to sell.

  13. A Worthless Article by rsmith-mac · · Score: 5, Insightful

    Lame blogs aside, The Fucking Article is damn near worthless. Highlights include:

    • The study was done by BeyondTrust Corp. who is looking to push their Privilege Manager software, which shockingly is permissions-management software. Right off the bat we have a dubious study due to the conflict of interest and the sponsor.
    • The article makes no distinction among what OSs were used in the study. Was it Vista? XP? Server 2003?
    • The article also makes no distinction on if UAC was used, if Vista was used at all. Of course why would a company trying to sell security software want to tell people that just enabling UAC and/or setting your users as standard users would fix the problem?
    • The only quote is from the director of marketing.

    In conclusion: Running everything with admin privileges is bad, which is why Microsoft fixed this 2 years ago with UAC. It's a lame PR piece about an equally lame study from a company that wants to sell you stuff to do things that MS did years ago. If you are here reading Slashdot, there's nothing here you didn't already know.

  14. Halt by bazald · · Score: 3, Insightful

    What you suggest is either impossible, extremely undesirable, or both, assuming that by "they" you mean Microsoft.

    For them to prevent certain classes of applications from running, without special knowledge, would require a kind of analysis similar in nature to solving the halting problem - a problem well known to be unsolvable.

    Then the course of action is to require applications requiring root privileges to be signed by Microsoft, essentially making Windows a closed platform for developers. Furthermore, any applications they sign would have to be bullet-proof, getting back to the halting problem.

    --
    Insert self-referential sig here.
    1. Re:Halt by bazald · · Score: 2, Insightful

      Microsoft would have to create a flag so that programmers can set it to tell the system that it is a security related program and thus should be allowed to execute under the admin account.

      The problem with your implementation suggestion is that software developers who don't respect good security practices as it is will not respect such an API. If it is easier to set a flag asserting that the program is "security related" than to follow good software development practices, that is what they will do.

      --
      Insert self-referential sig here.
    2. Re:Halt by Flwyd · · Score: 2, Insightful

      So why wouldn't the virus authors set the security-related flag?

      More importantly, I hope admins are allowed to run Command Prompt and web browsers. And if you can run those, I don't see how you're going to gain much security. And if you don't let admins download from the web and run DOS scripts, I don't know how you plan to accomplish much as a system admin.

      --
      Ceci n'est pas une signature.
  15. Re:Simple possible solution by tftp · · Score: 2, Interesting

    Most software developers are freakin' lazy.

    Most codebases are ancient, and people who wrote them already retired. That's the sad truth of many industry workhorses (Mentor Graphics is one example.) Another sad truth is that many people own and use older releases of major software packages. Modern AutoCAD 2009 will run on Vista perfectly, but can you afford $4,500 per seat to upgrade your old AutoCAD 2007 which still does the job on XP?

  16. Study flawed by benjymouse · · Score: 5, Insightful

    Problem is that they assume that when the security bulletin says that successful exploitation will allow the attacker to run as the current user, this does not mean that the attacker will be able to run as admin, even though the user is an admin.

    Indeed (with UAC on) IE7 runs in protected mode which is a "sandbox" where the users' security tokens have very limited rights, thus intrinsically protecting the OS.

    The Vista protected mode effectively runs the process as a limited user, even though it preserves the users identity.

    Even if the attacker can somehow trick the browser or user into downloading a malicious file and start it, it will still need elevation (yes, the cancel/allow thingy) to assert admin privileges.

    So, another way to spin this would be "Vista UAC protects against exploitation of 92% of vulnerabilities".

    --
    Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
  17. definitely possible.. by seanmoon · · Score: 2, Interesting

    It would require far more re-writing of the windows OS than anyone is willing to do. but at least a thin layer of abstraction between standard users and administrators on windows machines is essential. the people who know what they are doing can know how to turn it off, and everyone else needs to be logged in as a regular user. typing your password in when you install something is not the worst thing in the world. the amount of things you're going to need to type in reconfiguring your computer once you have to reformat it is going to be much worse.

  18. Microsoft... by Greyfox · · Score: 4, Insightful
    Ignoring 30 years of accumulated UNIX wisdom... for 30 years.

    I swear those guys are like that guy who just installed Linux, runs it as root all the time because he "knows what (he's) doing" and enables telnet and hands out logins to all his friends. Except that guy learns after the first or second time his system gets rooted that maybe he should stop being such a goddamn jackass and run his system the right way from now on. Microsoft never got past the jackass phase. They keep implementing half-assed fixes because they think they can do it better. You'd think 30 years of failure would convince them otherwise...

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  19. It's a conspiracy! by Anonymous Coward · · Score: 2, Insightful

    They're paid off by the Anti-Virus companies. If not for administrative login, who would buy their crap?

  20. It's going to take a moment... by symbolset · · Score: 5, Funny

    A Mac fan extolling the merits of the command line.

    It's going to take some time to get used to. Forgive me.

    --
    Help stamp out iliturcy.
    1. Re:It's going to take a moment... by Savage-Rabbit · · Score: 4, Interesting

      A Mac fan extolling the merits of the command line.

      It's going to take some time to get used to. Forgive me.

      Why? Quite a few current OS X users switched to OS X from various other *NIX'es and Linux. It really isn't so surprising that many OS X users are command line freaks.

      --
      Only to idiots, are orders laws.
      -- Henning von Tresckow
  21. Steam won't run without admin privileges by XCondE · · Score: 5, Interesting

    But Valve will go after you for trying.

    My question:

    Customer 06/11/2006 04:15 AM

    I am not willing to play (and let other people play) HL2 using the Admin account on my computer because of the obvious security implications (I don't want my computer infested with malware).

    Is there any way to run it without admin privileges? I installed it using admin privileges and went back to my unprivileged account but turns out it needs to write data to the install folder (bad programmer - no donut for you).

    Which are the files STEAM tries to write to in the install folder?

    If it turns out to be too complicated I'll just download the no-steam version with BitTorrent ;-).

    Their response:

    Response (Josh) 06/13/2006 01:34 PM

    Thiago, It cannot be run without admin privileges. I know you were probably joking, but I would also encourage you to avoid any product that claims to get around Steam. We take cheating and hacking very seriously.

  22. In related news... by SupremoMan · · Score: 2, Funny

    "Users' Use of Windows Makes Most Windows Malware Worse"

  23. Apparently you haven't heard by symbolset · · Score: 4, Insightful

    of road warriors, bluetooth, pirate WAPs, Promiscuous mode, and a lot of other modern technologies. Your network is not the hallowed ground you think it is.

    The only trusted host on the network is a Known Host with a secure connection. Ever and always. There is no excuse for having open ports ever, let alone by default on a desktop, unless you intend to deliver a service on that port to untrusted strangers.

    This has been common knowledge and best practice for at least 15 years.

    --
    Help stamp out iliturcy.
  24. Ignorance on users part (including IT people) by betelgeuse68 · · Score: 4, Interesting

    It's a combination of ignorant users and ignorant IT people. I've never seen a single IT person use "runas" (impersonation), ACLs on the Windows file system or registry or and this is the damning one, a command line utility that allows you to selectively strip administrative rights on applications as you use them thatâ(TM)s been on Microsoftâ(TM)s site for years (after I pointed it out to them).

    There was a reason once upon a time Microsoft chose to release Windows XP in such a way as to have users running with administrative rights. A reason that is extremely weak now - many people were upgrading to Windows XP from Windows 9x/ME and Microsoft didn't want to incur the support cost (or their partners) of having lots of applications stop working. Among them is the popular WinAmp. It used ancient APIs for its configuration file, WINAMP.INI, that stored global preferential data (as opposed to per user) in C:\WINDOWS\WINAMP.INI. If you didn't have administrative rights, it would just hang when you fired it up. Google Desktop when first released would *NOT* work on a non-administrative desktop. The list of offending applications goes on and on, e.g., a friend of mine had oceanic navigation software that insisted running with admin rights.

    However, it turns out there is a programmatic mechanism in place in every copy of Windows XP (and Windows 2000) that allows you to strip administrative rights when you launch a process. Microsoft never exposed users to this ability for reasons that to this day are unclear to me. The magic API in question is CreateRestrictedToken.

    But what really was an eye opener to me is when I would point out a tool on Microsoft's site to strip out administrative rights when you run a program. Namely, years ago you could have made the situation tenable in the case of apps like WinAmp and Google Desktop by yes, logging onto your desktop as an administrator but launching most Internet facing application without administrative rights but hereâ(TM)s the clincher *AND NOT CHANGING USERS* . In fact, I've been doing this for years.

    Nonetheless I observed an incredible amount of laziness on IT professionals when I pointed out these capabilities. Laziness, apathy and the usual suspect of insecurity ("Don't tell me what to do, I know what I'm doing"). Yes, that's right, you manage a CISCO PIX firewall, you must be a security guru all around and follow best practices.

    So given my former life as a Windows software developer I took it upon myself to create a turn key installer that at least protects Jane & Joe Average called *RemoveAdmin*:

    http://www.download.com/RemoveAdmin/3000-2381_4-10824971.html?tag=lst-1&cdlPid=10835515

    RemoveAdmin is a utility to strip administrative rights off apps as they're launched under Windows XP and Windows 2000 where unfortunately 99.9% of home users run with administrative rights.

    The default RemoveAdmin installer creates shortcuts for IE and Firefox but if you analyze the shortcut, you see IE and Firefox are passed as an argument to the removeAdmin.exe program.

    You can trivially setup another shortcut for Opera and/or any other Internet facing application... as you should since you can't trust foreign computer systems you connect to.

    Itâ(TM)s version 0.1 since I havenâ(TM)t created a FAQ and thereâ(TM)s the situation that if you have multiple administrative SIDs it wonâ(TM)t work (not the case for most people). I need to fix that, create a FAQ and also offer to adjust the ACLs on the Startup folder to tighten security such that when combined with RemoveAdmin, breaching your system on account of your browsing becomes because crazy hard.

    1. Re:Ignorance on users part (including IT people) by JasterBobaMereel · · Score: 2, Informative

      Wrong way round .... where is the - I am running as a user and need to *always* run this one app as an admin and it will break if I forget

      --
      Puteulanus fenestra mortis
    2. Re:Ignorance on users part (including IT people) by betelgeuse68 · · Score: 3, Informative

      So, right click on your shortcut, click "Properties", click on the "Advanced" button, pick "Run with different credentials".

      Now when you double click on your shortcut, you can change your credentials (to the Administrator).

      -M

  25. Re:Windows is busted by Ralish · · Score: 3, Informative
    Your post is misleading and inaccurate.

    Random dlls, configs, assets and exes in WINDOWS dir.

    Do a fresh installation of Windows, don't install anything on it, take a look at the Windows directory. I recommend you sort by file type. You'll notice it's actually quite organised; the "system32" directory for instance, notorious for being a huge mess, is something like 90% just "exe" and "dll" files, and very little else. It's all surprisingly organised. As soon as you start installing programs however, many will just decide to dump stuff in the Windows directory (and subdirs) for literally no good reason. The crap Creative drivers decide to drop is unbelievable, I found out first hand. There is VERY little that _needs_ to be in the Windows directory, application devs need to realise this.

    dlls, data, configs and exes in Program Files.

    Yes, good thing Unix systems only install programs in users home directories, and not in system-wide accessible directories.

    Some data and configs in Documents and Settings.

    You might notice each user has a sub directory in "Documents and Settings" (now "Users" in Vista and later), which contains all their personal documents and user-specific configuration files for the OS and applications. Definitely very single user.

    Registry.

    I'm guessing the distinction between HKLM (Local Machine) and HKCU (Current User) is lost on you? Current User, by the way, is a registry hive specific to the logged on user that is unique to their user profile.

    Once again, this all stems from the OS supporting a feature, and the feature not being utilised. Windows NT didn't become a multi-user OS with Windows 2000, or NT 4.0, it was a multi-user OS from the very beginning, the first release being NT 3.1. In fact, that's in part why NT was developed, Microsoft realised that 9x was completely stuffed from a security perspective, and had no hope of ever becoming a serious multi-user OS, so, they started NT (along with various other objectives).

    The mass migration of 9x applications designed for a single user environment to the multi-user NT of course resulted in many of these programs having very poor support for multi-user configurations, and were never really updated to support it. Then, there's just simple developer laziness, not caring to develop their application with a multi-user design in mind. Or theirs ignorance, resulting in poor implementation (this is one of the key reasons why so many programs "require" administrator priveleges. Not because they need them, but they use API's that are administrator only to achieve their goals, when there are other API's that can do what they want that have no administrator requirement.)

    My point is, it's not Windows that's broken, it's several applications that run on it. It's important to lay the blame correctly, and when the OS has been a multi-user system since its original release in 1993, it's fairly clear to me that Microsoft hasn't been slow to adopt such a design principle.

  26. Sounds like an interesting idea by FoamingToad · · Score: 3, Insightful

    As well as that, how about setting the default admin account so you have no sounds, no desktop wallpaper, no animated cursors - none of the flashy crap that users seem intent on encumbering themselves with. You want the bling == run as a limited user.

    However this would require limiting the capabilities of the Admin account, and this is something I'm not entirely happy with (as, admin *should* be equivalent to god mode).

  27. Bleeding obvious by Dynamoo · · Score: 3, Informative
    It's bleeding obvious, isn't it? Running as an admin is the best way of screwing your machine up when you get infected.

    Our user population is split about 50/50 between desktops and laptops. Most laptop users have blagged admin rights at some point because they need to add printers, sometimes change LAN settings, install applications to hide their porn surfing, that sort of thing. Our desktop users are in a fully managed environment, and do not have admin rights.

    We need to spend virtually zero time with malware problems on desktop machines. Any infections are generally minor and easy to fix. Laptops.. well, they are a complete nightmare of rootkits and stuff buried so deeply that we have to nuke the machine from orbit to clean it up.

    The REALLY fun part is logging onto an infected machine with DOMAIN ADMIN rights... if it's a sophisticated bit of malware.. well.. Armageddon basically..

    --
    Never email donotemail@WeAreSpammers.com
  28. Microsoft's biggest problem by symbolset · · Score: 3, Insightful

    Microsoft's biggest market advantage is the amount of legacy software that supports their platform.

    Microsoft's biggest problem, which I noted before Vista was even released, is that we're well invested in third party software and we've figured out how to play well with their previous platform over six long years. Our nest is well feathered. It's comfy and we don't want to leave it. Especially for a cold new future where we have to buy everything and figure everything out all over again. If we have to do that, why stick with the vendor that guarantees we'll feel this pain again in a little while?

    The problem, two years later is even deeper because nobody in their right mind bought into this dog, and so they've been burrowing deeper into their XP cave this whole time.

    It's probably too late now to save the Microsoft platform. It's been eight years since the 25 October 2001 release of XP. They have before them the task of creating something that's sufficiently similar to save their "Microsoft brand", sufficiently different from their "Vista debacle", and competitive against a swelling sea of free options. It's a lost cause. "If we have to change to something that radically different, and buy/engineer all our software over again, why not get Macs, or try this 'free' thing?"

    --
    Help stamp out iliturcy.
  29. Never thought of that before. by Phoenix · · Score: 4, Insightful

    I never thought of that. Windows is such a pain to use at all without the admin access that most people just shrug, set themselves up as a Power User just so they can use the damn thing.

    But when you think about it, in the *nix community running as standard users is a staple...the norm if you will of computer operation. If you're logged on as "Bob" and you need the Admin-level access (install something, access a file that is not owned by your account, etc) you fire up "sudo" or a terminal window and SU it for a while.

    If it's a nice graphical interface in either usage or installation...it'll even pop up and say "I'm sorry, you need admin access. Do you have the password?" And if you do then it'll just shrug and bloody well go and do it.

    This is something that needs to be put in future versions of Windows. That and stop requiring The Sims 2 to have administrator access just so you can play paper dolls.

    Phoenix

    --
    -- Wiccan Army, 13th Airborne Division "We will not fly silently into the night"
    1. Re:Never thought of that before. by sapphire+wyvern · · Score: 2, Informative

      I can't say anything about The Sims 2.

      But the feature request that got you modded to +5 Insightful already exists. It's called UAC. No, seriously.

      If you're logged into an admin account in Vista/Win7, you actually get a limited user account, and the UAC mechanism temporarily elevates you to a full admin when you click the infamous "Allow" buttons. Yes, it's a pretty lame bit of UI design. I turn that mode of UAC off, so that my admin accounts have full admin powers from the moment I log in.

      However! If you log in as a limited user, UAC works differently. When it would have given you the aforementioned infamous "Allow/Cancel" dialog, it instead asks you to supply a Real Admin's username and password. It is, in fact, pretty much exactly the same experience as using Ubuntu's GUI for sudo-type tasks. In fact, since about 2 days after I started using Vista, I've been using a limited user account - and it's been fine.

      So, no, it doesn't need to be put in future versions of Windows. Instead, Windows users need to start using the features of the current version(s). And, you know, stop using admin accounts when they don't really need them.

      Obviously, making Windows software developers be less lame (cf The Sims 2) is a whole 'nother kettle of fish. :)

  30. Re:Software makers know the registry inside out! by WindBourne · · Score: 4, Insightful

    Did you setup the "MOM" account FIRST, before installing software as admin?
    Eh???? Why would you have to install software second? At some point, you will want to add other users. Will they not be able to access the software?

    --
    I prefer the "u" in honour as it seems to be missing these days.
  31. The Problem lies elsewhere by SerpentMage · · Score: 4, Insightful

    The reason why Windows is such a pain in the ass is because Windows was never designed for this.

    Let's say I install OSX. The OSX app is self-contained, which means that it does not need anything outside of its circle.

    Let's say that I install on Linux. The Linux app can either be installed locally per the user or for everybody. But it is a clear cut case.

    Windows? WTF... I need to access the registry, the windows system directory, the program files directory, and the local user directory. It is a bleeding mess!

    Microsoft to this day does not understand that the issue is the fact that they have not revamped the complete installation process. There is absolutely no need for Office, or any other application to need anything other the system files if it is running in "install to user" mode.

    This is the problem, and until Microsoft understands that nothing will change.

    --

    "You can't make a race horse of a pig"
    "No," said Samuel, "but you can make very fast pig"
    1. Re:The Problem lies elsewhere by terryducks · · Score: 4, Interesting

      Obviously, you've never run a business

      Vendor Locking is Great! for the bottom line.

      Ask yourself, how can I configure something that only allows my products ?

      Also, How can I support my stuff from way back ?

      And you'll end up where Microsoft is today.

    2. Re:The Problem lies elsewhere by cbiltcliffe · · Score: 3, Informative

      Because file type associations don't have a user-level setting. They're system-wide.

      Along with a whole load of similar crap.

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    3. Re:The Problem lies elsewhere by Moridineas · · Score: 2, Informative

      The reason why Windows is such a pain in the ass is because Windows was never designed for this.

      Never designed for what? Windows has been a multiuser system since NT. Windows 95/98/ME was an evolutionary dead end if you will. Are you talking about an architectural flaw? If so, what exactly are you talking about?

      Let's say that I install on Linux. The Linux app can either be installed locally per the user or for everybody. But it is a clear cut case.

      Shared libraries?

      Windows? WTF... I need to access the registry, the windows system directory, the program files directory, and the local user directory. It is a bleeding mess!

      What's stopping you from installing programs on your Desktop, or in your My Documents folder? That's a clear cut case.

      I don't think most programs require access to the windows/system directory, and heck, you mention OSX--some of my OSX applications DO require elevated permissions to install things to the system.

      Most programs I've run in recent years are perfectly happy installing just to your personal registry area. Think of it as the multitude of dot directories in your ~ directory.

      When you complain about the "local user directory" just think of that as your home directory. instead of /usr/home/you you have c:\Documents and Settings\you. Same thing. Instead of /usr/local you have "c:\program files". Same thing. Very clear cut.

      It's not nearly as big a difference as you make it seem...

  32. Have you ever tried to not be admin? by cyman777 · · Score: 2, Interesting

    Many of MS own products do not work properly if you are not administrator. I tried this last with Win XP and office 2003 and had all kinds of issues. MS (!!) Office itself ended up no working properly. This was two years ago so I dont recall the specific errors I encountered. I still have to work with the same software so no further try to do this.

  33. No clear separation is the root of the problem by Giant+Electronic+Bra · · Score: 2, Insightful

    Windows lacks a really clear separation between what is in the realm of the user and what is in the realm of the administrator. This is the real root of the problem.

    Unix based systems started out as multi-user timesharing systems. From day one you owned exactly one set of filesystem resources, your home directory, and nothing else. An admin CAN create other shared directories, but there is a clear boundary between user and admin. ALL developers know this, it is very clear. Any administrator knows this, they can count on it, it is a very simple rule to understand "home directory belong to user, not home directory not belong to user".

    The real problem with windows is who knows who the heck is supposed to own what? User related 'stuff' is scattered willy nilly all over the hard drive, and what and where it is varies with wild abandon between different versions of windows. There is simply no clear cut rule, and thus developers aren't really encouraged to understand the separation because it isn't simple or straightforward. Instead it is complex and you need to know different rules for different versions of windows.

    Now in theory maybe this shouldn't be a problem. In theory your developers can go hunt up what the rules are in some knowledge base somewhere. In theory. In practice they are paid to get the product out the door. In practice they don't have a whole lot of extra time to waste on dealing with MS inept handling of the whole issue. In reality they just elevate the privs of their installer and get on with their real jobs.

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
  34. Re:Almost but not quite enough by Vertana · · Score: 3, Informative

    Alright, I've read enough of your comments. The reason you won't get many (if ANY) downloads off of your cheap plugins is because as stated above it is "closed source" (really... plugging in closed source software on Slashdot?) and you're an untrusted source. Put the source code up or shut up... why do you want us to download 'YOUR' software so bad in the first place? Exactly... untrusted source with an untrusted answer. I have a hint: STOP ADVERTISING YOURSELF.

    --
    "The best way to accelerate a Macintosh is at 9.8m/sec^2" -Marcus Dolengo
  35. Now don't go putting down Windows users by Junks+Jerzey · · Score: 2, Interesting

    I'm longtime software engineer, I've used UNIX and Linux professionally...and I still run Windws as an admin, all the time.

    Why? For starters, vim--yes, vim, the open source editor with roots in secure operating systems--writes to its own folder in Program Files, which is a huge no-no. I can get around this by installing vim to it's own special folder, like c:\vim, but it's a symptom of the overall problem. While most new commercial applications do things right, older apps don't, and there's a real issue with free software not handling things correctly. The proper way to handle this is to figure out what software works correctly and what doesn't (which isn't always easy, because some programs only do bad things in particular cases, and it may take months to realize this), and keeping the bad ones out of Program Files.

  36. Re:Software makers know the registry inside out! by PitaBred · · Score: 4, Funny

    The problem with your post is your assumption that the design of Windows makes sense, versus being organically tacked-on after the initial mistakes. Don't worry, it's a common misconception.

  37. Re:Windows is busted by BenoitRen · · Score: 2, Interesting

    The NT line has traditionally been for business, not for home use. 9x is completely stuffed from a local security perspective. Businesses need security locally. Home users don't. That's why 9x was such a good home OS.

    The NT model isn't necessarily better. While local security was vastly improved, security for remote suffered, as it opens ports to the outside world by default that aren't needed, screaming for attention from malicious crackers. How do you think Sasser worked?

  38. Re:Software makers know the registry inside out! by jedidiah · · Score: 2

    It all works well if you know what keys to grant permission to in the HKEY_LOCAL_SOFTWARE branch.

    Windows is easier than all that other stuff, really it is... [/sarcasm]

    --
    A Pirate and a Puritan look the same on a balance sheet.
  39. Re:Almost but not quite enough by mishehu · · Score: 2, Insightful

    Tools like these are just a bandage on a wound needing stitches. If things were designed properly you'd have no need to use this utility in the first place!

  40. Least privilege by c_g_hills · · Score: 2, Insightful

    I find this interesting because I reinstalled my XP workstation only last week after several years and took the opportunity to start running in least privilege mode. It is quite apparent how much software there is that still does not function well using a non-admin account. A lot of my software I have converted to portable versions using thinapp which should prevent registry bloat, and allow me to take them with me on another device and keep all my settings.

  41. Single user versus multiple users by kbdd · · Score: 2, Insightful

    If Windows allowed to have multiple users logged in at the same time, I would do as I do under Linux, I would login twice, once as user for routine task and once as administrator for the rest. The problem with Windows is that each account has only one set of rights and you cannot easily fall back to admin rights when you need to, and you cannot have two users logged at the same time.

  42. DropMyRights and StripMyRights by chris-chittleborough · · Score: 2, Interesting

    There is a compromise between running as Administrator and limping along as a peon: use DropMyRights to run major internet-facing apps without full administrator access. (You patch the icons and Start Menu entries for the apps to run DropMyRights which then runs the .exe.) It's not a 100% solution, but it does help.

    The main weakness of this approach is that Windows has dozens of ways to launch applications, and it's impossible to get DropMyRights to intercept all of them. There's a related tool, StripMyRights, which gives you two ways to make any .exe always run with limited rights, but I haven't tried it yet.