Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Tricking Vista's UAC To Hide Malware

Posted by kdawson on Mon Feb 26, 2007 07:42 AM
from the protective-coloration dept.
Vista's User Account Control, love it or hate it, represents a barrier against unwanted software getting run on users' computers. A Symantec researcher has found a simple way to spoof UAC and says that it shouldn't be completely trusted. The trick is to disguise the UAC warning dialog in the color associated with alerts generated by Windows itself.
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Importance? (Score:4, Funny)

    by MrNonchalant (767683) on Monday February 26 2007, @07:52AM (#18151678)

    "Would the user treat this UAC with the same amount of caution?" His answer: No. Users will, as Microsoft intended when it selected those colors, note the teal border of the spoofed UAC and likely click through without a second thought, he said.
    I've been using Vista for a month. There were color differences?
  • paraphrase (Score:2, Interesting)

    by physicsboy500 (645835) on Monday February 26 2007, @07:54AM (#18151684)

    I love Microsoft's response:

    Meh... the same users who show enough common sense to click on the "you've won a free ipod enter your credit card information here" will obviously be able to know the difference between a good system message and a bad system message

    Hooray for apathy!

  • by Chrisq (894406) on Monday February 26 2007, @07:54AM (#18151688)
    Basically its a way to get a green pop-up, which usually means safe applications. It relies on the user blindly saying "yes" to these green pop-ups
    • Re:Its tricking the user as much as Vista by POTSandPANS (Score:3) Monday February 26 2007, @08:52AM
    • No tricking involved (Score:5, Insightful)

      by LinuxGeek (6139) * <linuxgeek.djand@com> on Monday February 26 2007, @08:57AM (#18152206)
      The main problem I have seen with Vista since the first RCs is the monotonous regularity that these messages pop up with during regular system use. The old adage that practice makes perfect is incorrect; Practice makes permanent is the real outcome and microsoft is basically forcing their customers to practice hitting that continue button while still trying to concentrate on the tasks at hand.

      I have found myself clicking continue at the same time my thought registers to *not* click because of something not looking quite right. Since I am no longer developing software for a living, the only OS on my system is Ubuntu! Thank God for Debian, Ubuntu, Red Hat, et al. for their tremendous efforts to give everyone a reasonable alternative; whether we choose to use it is certainly a choice, but we do have the choice.
      [ Parent ]
      • Re:No tricking involved (Score:4, Insightful)

        by 99BottlesOfBeerInMyF (813746) on Monday February 26 2007, @10:17AM (#18153074)

        ...microsoft is basically forcing their customers to practice hitting that continue button while still trying to concentrate on the tasks at hand.

        The "OK/Cancel mistake" has been in usability textbooks as an example of what no to do for more than a decade now. It is quite clear to anyone who has had any formal training in human-computer interaction that either MS hires the worst UI people on the planet, or the marketing department overrides all of the UI people's proposed changes. It is also clear that either MS is only vaguely aware that UI deign is an important part of security, or they are a lot more interested in providing the perception of security than the reality. My opinions is that Vista security is a lot like searches at the airport. For the most part it is completely ineffective at actually increasing overall security when it is important, but it is very, very visible and "in your face" so people assume "something is being done" and are mollified.

        [ Parent ]
    • Re:Its tricking the user as much as Vista by Mister Whirly (Score:2) Monday February 26 2007, @11:15AM
    • 1 reply beneath your current threshold.
  • Not an issue (Score:3, Insightful)

    by picob (1025968) on Monday February 26 2007, @07:55AM (#18151692)
    I couldn't say it better than a header in TFA:

    Microsoft: Not an Issue
    • Re:Not an issue by Zantetsuken (Score:2) Monday February 26 2007, @10:46AM
    • 1 reply beneath your current threshold.
  • by Anonymous Coward on Monday February 26 2007, @07:56AM (#18151700)
    With every release of Windows, Microsoft seems to devise some new, overly-complicated scheme to try to protect Windows users. The scheme they came up with may sound great, but then it falls flat on its face because of some minor flaw or workaround.

    So maybe what they need to do is to get back to the fundamentals. We only need to look as far as OpenBSD to see how keeping things simple and intelligent results in a very secure operating system. Instead of writing new (and probably buggy) code to try and prevent things like malware, they just repeatedly go over the code they already have, to try to ensure that it is exploit-free. And it works. OpenBSD is a damn secure system.

  • Different colors?? (Score:5, Interesting)

    by drawfour (791912) on Monday February 26 2007, @07:58AM (#18151712)
    While it may be true that different colored borders are supposed to mean varying levels of "trust", as in what component is running, I don't think any user would know that. The text in the dialogs doesn't appear to be different (that I can tell), so why would a border color make me go "Oh, I should let that action happen, I bet that's some Control Panel action", especially when I wasn't working with the control panel.

    To be honest, Vista's UAC saved my butt recently. I have no idea what application was vulnerable -- but it somehow tried to run exec.exe, which was downloaded into one of my temp folders. The file was deleted after it failed to run (because I said "no"), and then would appear back in a few seconds and try to run again. I'm happy that whatever application was vulnerable wasn't able to do anything to my system.

    <tangent> Anyway, while some people may say it's annoying, I'm not sure exactly how many actions a typical user would take that would require UAC prompts. After the first few days of configuring, installing apps, etc..., I have little need to do anything that requires UAC prompts. Defrag is set up to run every night, anti virus is set up to download updates, my resolution settings don't change, etc... </tangent>
  • C'mon, give MS a break here! (Score:5, Insightful)

    by pla (258480) on Monday February 26 2007, @07:59AM (#18151726)
    (Last Journal: Monday April 03 2006, @07:23PM)
    That pops up a UAC dialog, but because RunLegacyCPLElevated.exe is set to run those Control Panel plug-ins with full administrative privileges, the dialog is bordered by Vista's own greenish color to signify the file is part of the operating system.

    So we make fun of Homeland Security for their meaningless color-coded threat levels, but take the colored borders of confirmation dialogs on Vista as gospel?

    Sorry, this does not constitute a threat. Just one more indication that we need some form of licensure before letting people anywhere near a computer.



    I'll gladly join in on the MS bashing - when appropriate. In this case, any blame rests solidly with users who have no idea what they should or shouldn't let run on their computers.
    • Re:C'mon, give MS a break here! by teridon (Score:2) Monday February 26 2007, @08:35AM
      • Re:C'mon, give MS a break here! (Score:4, Insightful)

        by stokessd (89903) on Monday February 26 2007, @09:15AM (#18152354)
        (http://www.quadesl.com/)
        "Computers seem to be heading in the direction of becoming more like appliances; "

        True, and we are in a dangerous "middle-ground" between a complex tool that only knowledgeable people use, and a true appliance that anybody uses.

        The problem is that the operating system is too brittle and vulnerable to be considered an appliance. Do you ever think about how you use your toaster? If I put this new organic untrusted bread in the toaster will my toaster be taken over and corrupt the blender and waffle maker and start a kitchen rebellion? If I put in this DVD of "Ishtar" in my DVD player will it require a weekend to reinstall it's OS and useful applications?

        No, that doesn't happen because appliances are robust and there isn't much a user can do to hurt them when used in their intended ways.

        Now the current computers (particularly windows) are becoming appliances but haven't gotten to the critical point where they really become appliances. that transition will happen when a big chunk of the OS is hidden from the user and the user works in a Sandbox. It will be a lot less useful because it will only do what it was designed to do, but it will be safe and reliable for it's intended purpose. Then it will be an appliance.

        The problem is that computers are sold as the answer to lots of the average user's non-problems. Like any good for sale in a capitalistic society, it's jammed down the throats of everybody the seller can get their hands on. So lots of people who maybe shouldn't be using computers (in their current unrestrained form) are using them (they are the ones who you get your spam from).

        This is a windows problem not only because of shoddy engineering, but also because of Microsoft's position in the market. Let's look at the three major OS's:

        Linux (BSD et al): It's a computer hobbiest's paradice, lots of great code, well defined heirarchy. Plus in general hard to get your hands on if you are "Joe User" who just wants to get a computer to e-mail the kids at school. This means that the people who are using this os WANT to use it for some reason (insert long list here), and they are going out of their way to use it. This means that this segment is typically very computer savvy and not likely to be pwned as a group.

        Macintosh: This is also a "Harder to get" computer for two reasons. First, they are very expensive compared to the best-buy special. Second they are only sold in a few places. These two reasons make the Mac a sought-out computer rather than what the sales droid told you to buy. The average user is probably less computer savvy than the average Linux user, but in the case of the Mac, apple also "has your back" to some degree with frequent patches and a well designed core OS that minimizes your risk to begin with.

        Windows: This is the default OS you get if you close your eyes and pick a computer. This means that if you have no clue about computers, chances are you get a windows box. Its fertile ground for stupid users to take advantage of (can I interest you in a free screensaver?). And in addition to that, MS has huge legacy issues that they can't change or they break business apps. MS has painted itself into this corner by selling to the lowest common denominator.

        Change the borders to any color you like, there are still a huge amount of computer users that shouldn't be computer users under the current OS choices.

        [ Parent ]
      • Re:C'mon, give MS a break here! by pla (Score:2) Monday February 26 2007, @09:50AM
      • Re:C'mon, give MS a break here! by sydb (Score:2) Monday February 26 2007, @11:03AM
    • Re:C'mon, give MS a break here! by IWantMoreSpamPlease (Score:2) Monday February 26 2007, @09:30AM
    • Re:C'mon, give MS a break here! by hxnwix (Score:2) Monday February 26 2007, @10:27AM
    • Wrong color for danger! by A_Non_Moose (Score:2) Monday February 26 2007, @11:39AM
    • Re:C'mon, give MS a break here! by IchBinEinPenguin (Score:2) Wednesday February 28 2007, @03:50PM
  • Better listen up, guys... (Score:5, Funny)

    by Donniedarkness (895066) <Donniedarkness.gmail@com> on Monday February 26 2007, @08:00AM (#18151732)
    (http://gmail.com/)
    Better listen up; this is coming from Symantec, the guys that brought us Norton Internet Security. These guys KNOW how to really mess computers up.
  • Just get it to vibrate around like those horrible "you're the 99999th visitor!" pop-ups, and anyone would click whatever to get rid of it. Furthermore, you could change it to one of those "are you stupid?" pop-ups, that the "no" button moves around. There are a zillion ways to get someone to click the button you want.
  • I got binary nonsense when I followed the link to the article.

    The Mirrordot link works: http://mirrordot.org/stories/bdc4f568dcc5c7b125832 2aec4d77944/index.html [mirrordot.org]

  • "It's very important to remember that UAC prompts are not a security boundary -- they don't offer direct protection," said Whitehouse. "They do offer you a chance to verify an action before it happens. Once you allow an action to proceed, there may be no easy way back. So while Microsoft may use the word 'trust' in relation to UAC in some of their [other] documentation, in actual fact, even the data these UAC prompts provide you with can't be trusted."
    It's pretty obvious from Microsoft's response that this is an example of Bruce Schneier's "security theater". UAC doesn't actually protect the user, but it enables Microsoft, in response to any virus/worm/trojan/botnet/class action lawsuit to say "well, you clicked allow. It wasn't our fault." (or, more likely "you were so annoyed by UAC that you turned it off, it's not our fault"
    This isn't security, this is a legal CYA.
  • by Jackie_Chan_Fan (730745) on Monday February 26 2007, @08:39AM (#18152018)
    These guys are pointing this out, because they want to sell symantec products. Thats the only reason why this article came out. It's the only reason why Symantec released this statement. They want to put the message out there that "You're not secure without Norton"

    This is a corporate propaganda directive, possibly directly from the CEO him/herself. "Find something, and lets use it to make us money"

    The old anti virus company making viruses, just to fuel sales... has come true. They dont have to release the viruses though, but simply they figured something out, and to tell the world that something.

    Profit at all costs.
  • But, What Now? (Score:1)

    by nwoolls (520606) on Monday February 26 2007, @09:38AM (#18152602)
    Ok. Time for a question. So you've programmed a screen to mimic UAC. Good job. Now, to do any damage, your app must request elevation from Vista. Uh oh, guess what. Time for a REAL UAC prompt. Now what?
    • Re:But, What Now? by 99BottlesOfBeerInMyF (Score:2) Monday February 26 2007, @09:54AM
      • Re:But, What Now? by Knux (Score:1) Monday February 26 2007, @10:15AM
        • Re:But, What Now? (Score:4, Insightful)

          by Mister Whirly (964219) on Monday February 26 2007, @11:57AM (#18154462)
          (http://localhost/)
          And if you are just blindly clicking "Allow" without ever reading or thinking about what you are doing, how is it anyone else's fault but your own?
          [ Parent ]
          • Re:But, What Now? by JackPT (Score:1) Monday February 26 2007, @01:24PM
            • Re:But, What Now? (Score:4, Insightful)

              by Mister Whirly (964219) on Monday February 26 2007, @01:38PM (#18156210)
              (http://localhost/)
              I don't know what world YOU live in, but ignoring security recommendations, not researching anything, and just clicking "Allow" without a clue to what you are allowing is not Microsoft's fault.

              Will it happen all the time? Absolutely. Are a significant number of computer operators basically shaved apes without a clue about security? Absolutely. Does that make it Microsoft's fault? Absolutuely not.

              How do you suggest Microsoft cures the world of dumb computer users who won't do what they are told, and what go against what common sense would dictate? Say someone bought a car, drove it until it died and then brought it to a repair shop where it was discovered there was no oil or engine coolant in it. ("Well, I saw some lights go on, but there are so many lights on the dashboard I just ignored them and kept driving.") Would it be the fault of Chevrolet because the operator couldn't be bothered to RTFM or understand how to properly operate a car before doing so?
              [ Parent ]
    • Re:But, What Now? by Coward the Anonymous (Score:3) Monday February 26 2007, @10:16AM
  • by l2718 (514756) on Monday February 26 2007, @10:35AM (#18153278)
    Hey -- this is simply a setuid root shell, a potential security hole as old as Unix. Apparently programmers never learn from experience. When I administer a system, a program which runs other programs based on user input doesn't get to be setuid root.
  • I am colourblind (Score:4, Informative)

    by Kimos (859729) <kimos@slashdot.gmail@com> on Monday February 26 2007, @10:44AM (#18153390)
    (http://www.tentoomany.com/)
    I don't use Vista so I don't fully understand. Do the colours of the popups provide security-related information? Seems pretty ridiculous and unfair, considering I'm not the only person in the world who is colourblind...
  • by DavidD_CA (750156) on Monday February 26 2007, @10:46AM (#18153414)
    (http://home.happyface.net/)
    So basically Symantec is saying:
        1) Sneak in a file with a virus payload
        2) Execute that file, triggering the UAC
        3) User blindly clicks "OK"

    Of course, the point of UAC is to prompt the user when something is trying to run that requires admin privledges. Users know that when they see this box randomly pop up that something unusual is happening.

    Unless they just said to install some software or tried to change a setting themselves, seeing this pop up when they visit MySpace or something shouldn't be a problem.

    UAC is meant to provide users with an alert saying "something bad may be happening, stop it?" It's not meant to completely lock down your computer to the point where you have to log off and back on as an admin to do anything.
  • Wow... (Score:2)

    by Cervantes (612861) on Monday February 26 2007, @12:00PM (#18154512)
    (Last Journal: Wednesday November 06 2002, @05:15PM)
    Wow...
    If I can infect your system with a trojan and drop files onto your hard drive and then remotely run code, I can get you to click OK to a box that could infect your system.

    Truly groundbreaking work here. Seriously, I mean, if all I have to do to possibly infect your system, is infect your system... well hell, Vista will probably be recalled!

    As usual, TFA doesn't live up to the summary hype. But that won't stop the MS haters from jumping on board with a "See! It's broken!"

    Really, the story for me here is "Someone infects your Vista with a bug and tries to elevate the program to Admin, and even though you're infected Vista STILL pops up a warning box... it just happens to be green instead of orange."
  • My biggest beef with UAC (Score:3, Interesting)

    by JackPT (1068740) on Monday February 26 2007, @12:01PM (#18154544)
    My problem with UAC is that I bought a new computer recently, with Vista pre-installed and during the initial setup it prompted me to create a user account. The user account had full admin privileges. I immediately set up a lower privilege account for general webbrowsing etc, and when using that account not only do I have UAC confirmation messages, but I also have to enter a password. That is a good thing - rather like 'su' in Unix like operating systems or Ubuntu's locked screed admin method. Users just aren't going to realise the importance of what they're doing with just binary yes or no security questions. If anything with the initial account defaulting to admin, Pavlov's dog like, they're going to be conditioned to hit yes without thinking. People aren't paranoid even though people are out to get them.

    To rectify this problem Microsoft should make it clear during installation that the initial admin account shouldn't be used as the main account. This is not clear during the installation.

    Good things:

    - Internet Explorer's protected mode.
    - Making sure the heap is in a different place on each computer.
    - UAC is good for experienced or computer literate users (nobody else.

    Bad things:

    - UAC, in its present form, is just training computer illiterate people to click yes. There is an emphasis with a consumer operating system to educate the user. Not necessarily enforce (that would restrict freedom) but it should educate. All or nothing is not good.
    - Idiot reviewers thinking that an operating system is the largest contributory factor in the speed of a computer. Saying Vista is faster than XP when it's been run on a new, much faster computer, is a little like trading a saloon car for an Aston Martin and saying that the Aston Martin is faster because of the upholstery.
  • Wait a second (Score:2)

    by Joebert (946227) on Monday February 26 2007, @02:59PM (#18157530)

    Next, the malicious code would drop a malformed .dll file onto a part of the hard drive that the user, who would presumably be running as a restricted Standard User

    As soon as the user clicks the "Confirm" button, the malicious code is granted administrative privileges


    Since when do restricted users get to delegate administrative privlidges ?
  • Huh? (Score:1)

    The process to spoof a UAC dialog is roundabout, but doable, said Whitehouse. It would start with a user falling for any one of the current hacker tricks. "The most likely scenario is that a user gets compromised by malicious code, from a Trojan [horse] or a vulnerability in a third-party application like Office or a browser," he said in an interview.

    But presumably that also has some sort of UAC when you try and run it?

    Who cares about this if you've already compromised the security? anyone else think that Symantec are getting nervous?

  • by RockDoctor (15477) on Tuesday February 27 2007, @05:23AM (#18164690)
    (Last Journal: Friday July 14 2006, @07:12AM)

    Vista's User Account Control, love it or hate it,

    Isn't there an option to be utterly disinterested due to the unlikihood of seeing it for years to come?
  • I read a post by a colorblind user above and looked it up here [wikipedia.org].


    I thought it was only red/green though in fact it can cover a whole bunch of colors, and apparently at least 1% of the population has color blindness of some type.


    It strikes me that Vista's use of green, red, orange, gray, etc. are totally underminded by colorblindness which can confuse colors, dim them or render them conceptually meaningless if I understand the article correctly. Seems like the dialogs should include a mode name too.

  • by mgiuca (1040724) on Monday February 26 2007, @08:42AM (#18152042)
    Uh there have been lots of systems available to the general public for the twenty years Windows has been around. People didn't get over it.
    [ Parent ]
  • by SCPRedMage (838040) on Monday February 26 2007, @08:43AM (#18152060)
    UAC prompts are NOT that common, and UAC prompts when copy and pasting is a myth. Please, let it die.
    [ Parent ]
  • Personally, I haven't had much trouble with UAC, and I do a lot of copy/pasting. It did come up when Firfox wanted to upgrade, but that's no surprise.
    [ Parent ]
  • Just to add the UAC prompt does NOT come up all the time and does NOT appear when copying or pasting.
    It IS damn annoying though!
    I personally feel that most people won't turn it off because they won't realise that they can.
    But in saying that most people won't read what it says anyway.
    (The above is based on experience.)
    [ Parent ]
  • by Strudelkugel (594414) * on Monday February 26 2007, @12:39PM (#18155222)

      From what I understand, the UAC thing comes up all the time

    It does not.

    I'm rather amazed at the number of posters who criticize Vista without having used it. Many people make good points about the all-or-nothing permission granting of the UAC, but it is better than having people run as Admin. My guess is that the typical user will still run as admin most of the time, since it's convenient. Microsoft should guide people through the simple steps of setting up a user account when the OS first comes up. It's less hassle than typing in the license key. Then again, I don't have a boxed version of Vista, so maybe they say something about that in the retail version.

    [ Parent ]
  • I think what is most unfortunate is some businesses will disallow the ignore setting and make you endure these popup warnings until hell freezes over.
    [ Parent ]
  • Re:UAC? (Score:2)

    by SanityInAnarchy (655584) <ninja@slaphack.com> on Monday February 26 2007, @04:53PM (#18159178)
    (Last Journal: Tuesday October 30, @10:59AM)

    Am I the only one who sees UAC and thinks "Union Aerospace Corporation".

    It does seem appropriate -- they both are directly responsible for all Hell breaking loose.

    [ Parent ]
  • by SanityInAnarchy (655584) <ninja@slaphack.com> on Monday February 26 2007, @05:31PM (#18159676)
    (Last Journal: Tuesday October 30, @10:59AM)
    ...because Parent deserves far worse than a -1. Cap us at "+5, Insightful", but let us mod people "-12835, Flamebait"
    [ Parent ]
  • 8 replies beneath your current threshold.