Download the
Tom's Guide App from the AppsStore
News and trends on internet
/ mobile / "sound & picture" / IT
Yes No

Windows 7 Security Flaw is "By Design"

- By - Source : Tom's Guide US

It is well known now that User Account Control (UAC) in Windows 7 is more customizable than in Windows Vista. With several levels of notification, the system can be "tamed" so that it doesn't ask for permission to do every task. However, the default setting that most people will run has an inherent flaw that will allow a malicious script or program to trick users into disabling UAC, without causing a UAC security prompt to occur.

Vista users complained about UAC, so Microsoft offers four levels of notification in Windows 7. The default option is “Notify me only when programs try to make changes to my computer” and “Don’t notify me when I make changes to Windows settings”. A security certificate is used to distinguish Windows settings from third-party software, thus preventing prompts when changes are made to these settings.

The problem lies with the fact that when a user alters UAC settings, it is considered a "change to Windows settings" by the default notification level. Therefore UAC's notification level can be altered, or even disabled altogether, and the user would not be prompted to actually consent to it.

A basic proof-of-concept VBscript has been made public that demonstrates how simple it is to disable UAC automatically. A sequence of keyboard inputs is emulated to perform this simple task, alongside Sleep and Run methods. It is also possible to force a restart after UAC has been toggled off to force the user to run with full administrative rights. Malicious programs can then freely alter the system now that they have sufficient privileges to do so.

It would be simple for Microsoft to fix this security hole before the OS ships out. All that is needed is to force a UAC secure desktop prompt to occur whenever UAC settings are changed, regardless of current level of notification. The user would then have to click "yes" to render their system open to attack, so while the fix is not bullet-proof, it is better than requiring no user intervention at all.

Microsoft responded to the publication of this security flaw stating that in order for this vulnerability to be exploited, a user's computer would have to contain malicious code already, which means other security software has failed to prevent this or the user has explicitly allowed it. Also, on Microsoft Connect, submissions made regarding this flaw were all closed and labeled as "By Design."

It is important to note that only users that are part of the Administrative user group will be vulnerable, as Standard users will require an administrative password to make these changes (whether they are initiated by the user or by scripts). However, since the default user group is Administrative, most home users, especially those with only a single user account, will be vulnerable.

Share:
37
Comments
X

Comments

scryer_360 02/03/2009 9:40 PM
Show
Anonymous 02/03/2009 9:52 PM
Hide
-3+

the middle ground between being totally irritating dialogs and no dialogs is almost impossible to achieve

waikano 02/03/2009 10:04 PM
Hide
-2+

If a user disables the UAC on purpose, then they do something that would infect their machine. I think Micro actually has this one right. I hated the UAC from Vista, If I disable it then I do something that allows it to blow up. Well that is my fault, but at least I have the freedom in the OS to disable it if I want. I am not a Micro fanboy at all, but I say way to go Micro!!

dextermat 02/03/2009 10:11 PM
Show
jcknouse 02/03/2009 10:19 PM
Hide
-3+

Well, Microsoft changed their response to fit the times. Now things are "by design".

Used to be errors and malfunctions were "undocumented features" lmao

"Yes, support? Why does my coffee cup holder keep going back into the computer?" lmao

waikano 02/03/2009 10:28 PM
Hide
-4+

You know you guys are funny. You all hacked on Micro for UAC in the first place then you hack on them for allowing the user to "REALLY" disable the UAC. I guess when it comes to OSes Micro just can't win.

jsloan 02/03/2009 10:34 PM
Hide
--3+

sounds like microsoft is being a little defensive. personally i think they should not make a big deal about it and that they should change it so that if the user is going to change / disable uac then they should be prompted. personally one of vista's biggest dislike, other than it being a pig, is those constant popups. i disable uac the first chance i get and i think that windows 7 is a big improvement in this sense over vista, still windows 7 is a pig just like vista

brendano257 02/03/2009 10:44 PM
Hide
-2+

For another thing the system is NOT "vulnerable to attack" because UAC is disabled, the only thing UAC does is instigate consumer against computer attacks (ie. beating the computer, punching the monitor, throwing mice, smashing keyboards...etc.) But really, without UAC if you have a simple virus program like AVast anti virus, you are fine, I have not have a problem with UAC disabled on Vista Ultimate.

jerreece 02/03/2009 11:24 PM
Hide
-4+

LOL: "Mr. Bank President, did you know there's a huge hole in your vault?"

"Yes, we built the vault with that big hole on purpose. That way customers can make withdrawals or deposits without having to stand in line. It's not a problem though, cause nobody can steal any money unless they walk through the front door first..."

jsloan 02/03/2009 11:58 PM
Hide
--3+

jerreece :
LOL: "Mr. Bank President, did you know there's a huge hole in your vault?""Yes, we built the vault with that big hole on purpose. That way customers can make withdrawals or deposits without having to stand in line. It's not a problem though, cause nobody can steal any money unless they walk through the front door first..."



i dont get your point. bank vaults have a big gaping hole, othewhise how you get in and out of the vault. ;-) the point is you have to have someone that you trust controlling access to the vault and its content, like some nice internet security suite... and even with that you know that people might break in ,nothing is perfect.

randoMIZER 02/03/2009 11:59 PM
Hide
-0+

brendano257 :
For another thing the system is NOT "vulnerable to attack" because UAC is disabled, the only thing UAC does is instigate consumer against computer attacks (ie. beating the computer, punching the monitor, throwing mice, smashing keyboards...etc.) But really, without UAC if you have a simple virus program like AVast anti virus, you are fine, I have not have a problem with UAC disabled on Vista Ultimate.


UAC prevents programs having adminitrative priviliges all the time, so that any damaging tasks would cause a prompt before they can happen. By disabling UAC, programs run with perpetual administrator rights and can do anything unless stopped by other software.

Maxor127 02/04/2009 12:28 PM
Hide
-1+

People cry too much about UAC. As long as you're using your computer properly, the prompts aren't bad.

jsloan 02/04/2009 12:56 PM
Hide
--1+

Maxor127 :
People cry too much about UAC. As long as you're using your computer properly, the prompts aren't bad.



?not bad? yeah, i like my work to be interrupted every keystroke with some popup asking me if it was ok for me to press the key, i thought we all agreed some time ago what an annoyance that was and agreed to use popup blockers.

cruiseoveride 02/04/2009 2:08 AM
Hide
-3+

Anyone who has a problem with Microsoft products, should just use Linux or OSX. Okaaaaaay?

jsloan 02/04/2009 2:12 AM
Hide
-0+

linux / osx not option because i wont be able to run my games...

tayb 02/04/2009 3:01 AM
Hide
-3+

jerreece :
LOL: "Mr. Bank President, did you know there's a huge hole in your vault?""Yes, we built the vault with that big hole on purpose. That way customers can make withdrawals or deposits without having to stand in line. It's not a problem though, cause nobody can steal any money unless they walk through the front door first..."



Wow. What a perfectly accurate real world representation of what is going on. Completely realistic.

Anonymous 02/04/2009 5:52 AM
Hide
-1+

Well, everyone likes to hit on MS on everything and everything. It's like a culture now. When something doesn't work, most of the time they will point the finger at the Windows..just like when people can't see their 4GB or more ram, alot of people just assume its Windows bug lol. Especially when you ask them, how's Vista, they will tell you it's buggy, problematic...slow. Then if you ask them , so what bugs and problematic you encounter on your Vista and they will reply....eeerrr so far non, but it is buggy and problematic. @_@
I am not a MS fan or what, i have used linux and other OS as well and i can tell you...they are far from perfect.
I guess people just like to follow what the majority, and always pick on what is common and widely used/wellknown and underground things are cooler.

seatrotter 02/04/2009 5:53 AM
Hide
-0+

Quote :...in order for this vulnerability to be exploited, a user's computer would have to contain malicious code already, which means other security software has failed to prevent this or the user has explicitly allowed it.

Microsoft already sacrified security over convenience; case in point, as mentioned, users are Administrators by default. Then there is how, from the start, they let third party software developers on very long leash, or no leash at all, on developing software for Windows. Software needing to install/run a service for no apparent reason? True, if third party developers want to be as invasive as they want, there is little to stop them. But since users are accustomed to such low standards, they won't complain, won't look harder for alternative software.

I don't mind if MS breaks compatibility with older software on new Windows, as long the standard has significantly improved. Ofcourse, it's better if Windows execute such software in a sandbox. Sandbox. Speaking of which, not only does Vista doesn't have a sandbox feature, it made the system incompatible with a lot of sandbox software (ie, sandboxie).

Microsoft, listen: just because a user has allowed a software to run, doesn't have to mean that he/she is on his/her own. Provide a powerfull sandbox feature or let others develop powerfull sandbox solutions (the kind that even allows installation of drivers in the sandbox. scr3w DRM drivers).

ossie 02/04/2009 9:45 AM
Hide
--2+

The old "It's a feature, not a bug!"...
Actually "windblows security" is a oxymoron.

"If you can't make it good, at least make it look good." by m$'s Billyboy

LightWeightX 02/04/2009 3:55 PM
Hide
-1+

Dammed if you do, dammed if you don't.

nelson_nel 02/04/2009 3:55 PM
Hide
--2+

You guys are retarded.... MS is absolutely right about this... If you are WRITING THE SCRIPT on your machine, then ya no kidding you have cricumvented and protection because you have done this intentionally......... your AV software is what needs to protect this UNCOMPILED script from even making it to the PC. Are you guys even really technical...

TwoDigital 02/04/2009 4:26 PM
Hide
-0+

How about this compromise (I copy this idea from Ubuntu...)

When the OS is installed, you enter a username (and maybe a password.) That user is *NOT* an administrator but has an attribute defined in system policies that they can 'sudo' admin access by clicking 'ok' in the UAC box or entering their OWN password if they set one. This way, the user can be protected by UAC if they wish and if they turn UAC off the system can prompt them whether or not they wish to be added to the admin group (with a reasonable description of the impact of such...)

You could still add yourself to the admin group manually if you wanted to... which would effectively bypass UAC I guess. Just make sure you don't turn off your "Can sudo to admin" flag since you then don't have access to turn it back on!!!

TwoDigital 02/04/2009 4:29 PM
Hide
-0+

Having some button available somewhere on the login screen would help too... so the user could log in as the default (hidden) administrator account in case they REALLY need to fix a messed up user account. You could ask the user upon install to enter a "recovery" password or something so they understand what the "administrator" account really is being used for.

randoMIZER 02/05/2009 12:34 PM
Hide
-0+

nelson_nel :
Are you guys even really technical...


I ask you the same question. Do you really think this script is the only thing capable of penetrating your system? Did you read the article? This is a proof-of-concept script, not the only way of doing it. You could write a virus to do the same thing but completely silently (whereas this is quite crude) and the user would never know that UAC was disabled (except for the sudden lack of prompts).

davidgbailey 02/05/2009 7:21 AM
Hide
-0+

You're coming to a sad realization ... allow or deny?

Christopher1 02/05/2009 10:08 AM
Hide
-0+

waikano :
You know you guys are funny. You all hacked on Micro for UAC in the first place then you hack on them for allowing the user to "REALLY" disable the UAC. I guess when it comes to OSes Micro just can't win.



I have to say I am getting that impression. There is a fix for this: make any change to UAC itself need to be confirmed via a UAC dialog.... but it might not be as 'easy' a fix as people are saying it should be.

randoMIZER 02/05/2009 10:14 AM
Hide
-0+

If M$ can implement a UAC prompt for every other menial task, they can do it for UAC changes as well.

nelson_nel 02/05/2009 2:39 PM
Hide
-0+

It is STILL up to the AV.... And if MS packages it's AV into the OS, EU fines them and users whine and complain. What a predicament. And no, obviously it is not the only thing that can compromise the system but how utterly irrelevant that the UAC could become disabled based on a KeySending script... I doubt Windows 7 is the only OS that this would happen on. Go create a "Robot" script on OS X and then see hwo much coverage that crap story gets. It's irrelevant because this story makes no message of the transport of the script to the end-user. Any virus that ORIGINATES on the end-user PC has not INTRUDED because it was created there. Non-point and mindless dribble. Next.

neiroatopelcc 02/05/2009 2:56 PM
Hide
-0+

I'm actually with microsoft on this one. Ye it can be exploited, but for that to happen, something or someone else must fuck up first. It's a bit like blaming your car maker for a blown engine, because you didn't bother checking your oil level or didn't bother getting the warning light fixed when you noticed it was broken.

nelson_nel 02/05/2009 3:05 PM
Hide
-0+

Agreed. Download the AWESOME keygen or crack and suffer the consequences. That wouldn't be labeled a Windows XP vulnerability either.

FrustratedRhino 02/05/2009 3:55 PM
Hide
-0+

Why is it that the same people that complain they hate UAC complain that UAC has an easy way to be worked around? Isn't that what they want?

UAC is a tool to HELP people. The fact this "hack" (btw calling it a security flaw is like calling a screensaver that displays a fake bluescreen a virus) is rather minor doesn't seem to bother the legions of apple fanatics seizing on any anti-microsoft fodder. These same people think firefox is more secure than IE regardless of facts.