Windows Vista and protection from malware


Posted by JimAll on Tuesday, December 19, 2006 7:55 PM 24 Comments

This entry updated at 8:49 PST on Tuesday 19 December 2006. 

On November 30, Sophos issued its monthly report on the top ten threats reported to them in November of 2006.  As a part of this, Sophos also studied Windows Vista's vulnerability to these malware threats.  I found the information and press discussion confusing, so I thought I would clarify what this really means for customers.

In order to understand what was really going on here, I asked the team to go look at the technical facts behind the story, and that started in the lab.  We began by observing first-hand how these various forms of malware affect a Windows Vista system using a machine that was configured with the default settings and without any additional security software.  What we found was that if you are using only the software in Windows Vista (e.g., Windows Mail and no add-on security software), then you are immune to all ten of the malware threats that Sophos cited.

If you are using Microsoft Outlook or a third-party email client that blocks execution of known executable formats, then a user running Windows Vista is not vulnerable to eight of the ten malware threats.  In the case of the ninth piece of malware, Bagle-Zip, the malware is able to run because it uses the .ZIP file format which some mail programs do not block.  In the case of the tenth piece of malware, Mydoom-O, the malware is sometimes able to run because it randomly chooses the file type to which to distribute its payload and sometimes that file type is an executable inside a .ZIP file, which some mail programs do not block.  In both cases, this is a function of the e-mail software, not Windows Vista.  That said, even when a user receives a mail infected with Bagle-Zip or Mydoom-O in the .ZIP file format, in order for the malware to affect the system, the user must first explicitly open the .ZIP file and then explicitly run the executable file that's contained inside the .ZIP file -- there is no way for this to happen without two steps of user action.  If you happen run a third-party email client that does not block known executable formats, then you may also be vulnerable to Netsky-D.

While Windows Mail blocks running executables even when they are included in a .ZIP file, other email clients could as well if they used a technology available (via APIs) in Windows called Attachment Manager (AM), first introduced in Windows XP Service Pack 2.  So what should you do if you use a mail client that doesn’t support AM?  Well, the most basic thing to do is to train users in your environment not to click on unknown attachments and, even if they do, to make sure that they don’t run executable files included in ZIP files.  This may be hard to do -- and frankly, this is why we built AM protection into Windows.  That said, if you use an add-on e-mail client, you should also use anti-virus software that can scan attachments prior to opening them to detect and block malware.

One question you may ask is why isn't this kind of malware scanning built into Windows Vista?  We do have cleaners that will detect and remove this form of malware that is offered as part of the malicious software removal tool that we distribute each month.  However, there is certainly a question about whether we should do even more in the operating system.  The recent feedback we received around our decision to continue to include Kernel Patch Protection in the 64-bit versions of Windows Vista (even though we had shipped this protection in 64-bit versions of Windows XP nearly two years ago) was more controversial than we would have expected.  It's a complicated world -- that's all I can say.

I should note that we do offer this kind of "on access" anti-virus software as part of Windows Live OneCare (for home users) and offer server based e-mail security in Microsoft Forefront Security for Exchange Server.  In addition, we are currently beta testing an enterprise version of the client software called Microsoft Forefront Client Security.

So I know what you are thinking:  Does any of this change my position about how I protect my 7-year-old son's PC?  The short answer is absolutely not.  The longer answer is that today I don't allow him to use e-mail or IM (also remember he is running as a standard user without knowledge of an administrator password, and he has specific Windows Vista parental controls turned on), so I don't worry about these kinds of attacks hitting his machine.  And when I do let him start emailing his friends, I will simply set up Windows Mail to ensure he has a safe experience.  For example, Windows Mail by default blocks images and other external content in HTML e-mail messages and it also by default prevents opening or saving attachments that could potentially be viruses.  But, I could go even further by using Windows Mail rules to block all attachments and delete such email.  That said, one day, he will most likely use AV software.  But remember, even without the AV software, if he was using Windows Mail in Windows Vista, he was safe from all ten of these malware threats.

So what should you do?  As I have said on this blog in the past, I am very proud of the work we have done for security in Windows Vista.  However, I have also stated that it is neither foolproof nor perfect; no software from anyone I have seen is.  So, if you have a totally locked down environment (including using Parental Controls) like my son, you may be good to go with Windows Vista out of the box.  Similarly, if you aren’t in a locked down environment, but you use Windows Mail in a controlled configuration, you may also be ok from malware such as this.  If you use an add-on email client and you know not to run executables embedded in email attachments, then you will also be safe from these specific threats.  And with all that said, if you are like most users and receive e-mail from unknown people, are not really sure even what executables or ZIP files are, run a lot of software and browse the web downloading programs with abandon, then our best advice remains the same:  You should 1) stay current with the latest security updates (and in this case I urge you to use the recommended defaults included in Windows Vista); 2) use a firewall (there's a great two-way firewall built into Windows Vista!  Or, use a third-party solution that you can buy); and 3) use anti-malware software.  I recommend using the combination of Windows Defender and an add-on anti-virus software program such as Windows Live OneCare or one of the many great products available from third parties, such as Sophos.

jim

 

Posted by Robert McLaws: Windows Vista Edition


It's great to have Jim on-hand to clear the air when people get the facts on Vista wrong. Case in point:

 

Posted by newscientist2000


Good to know that Vistas security is beefed up compared to XP, thats the main reason I will recommend it to my friends and family.

 

Posted by Donna's SecurityFlash


Jim Allchin of Microsoft & the Vista team checked the technical facts behind the reported Windows

 

Posted by mrmckeb


It's a pitty that 'professional' bloggers can't see the facts about Vista and security. How do they get their jobs anyway?

Keep up the good writings Jim!

 

Posted by Paul Mooney


Windows Vista and protection from malware Sophos sells anti-virus software and fear. In a recent report...

 

Posted by TechBlog


• PC Graphics: Looking Back at 2006 and Ahead to 2007 • Windows Vista and protection from malware -- Jim Allchin for the defense, your honor. • 2007 Web Predictions -- RSS goes mainstream, social networks become antisocial. • Break Your...

 

Posted by UbiquitousGeek


It's not a question of whether or not e-mail applications will run the executables, it's *what* will happen when those executables have been run.  What flaws in Windows are these executables attacking?  Jim, that was pure spin.

 

Posted by MSDEAD


Don't you trust you us?

WE DON'T TRUST THERE YOU!

Will send you on the pavement, will make you regret having rubbed us in these years!

Trusted Computing... is dead!You are dead!

LET'S BE PEOPLE IS YOU RESPECT THERE AND HAVE NEVER RESPECTED THERE!

TRAITORS!THIEVISH!

MICROSOFT, HP, IBM, INTEL, AMD AVETE FEAR MA ARE US THAT COMMAND YOUR MARKET REMEMBERED HIM/IT TO YOU!

THE PIRACY HAS CONTRIBUTED TO THE DIFFUSION OF MANY SOFTWARES, REMEMBER HIM/IT TO YOU!

LEAVE EACH OTHER FREE AND' A SUGGESTION!

THIS IS A PURE I ABUSE OF POSITION!

 

Posted by MSDEAD


Microsoft has fear of the customers. We must help us in order to improve with the products, in order to make to diminish the pirateria and l'unico way is to collaborate and not to cut to us outside with the trusted computing!

The trusted computing, with to the DRM, it is a social damage, of freedom of the customers who you ripercuote against. Before launch in definitive way this technology, I invite Bill Gates and to the group of the trusted computing to try a dialogue in order to prevent diffusing itself of pirata software, music and film from sources P2P. You cannot make this the customers who have supported you in all these years!

You are persons and I hope you have a heart, a brain and above all a po' of common sense! Microsoft has entered in the computer science history for the products innovated to you, for technological l'innovazione hardware until this did not have the TPM. Bill Gates, I am a your great admirer, estimate your group but I do not want to succeed in to say offensive things.

We come to pacts without trusted computing and DRM with major and softwarehouse.

 

Posted by klevinson


It does seem reasonable to expect IE to help protect users from viruses in their third party webmail, such as .EXEs within .ZIP files.  I assume that IE, Windows and AES do offer some protection here, and I wish this post described this in more detail.  For example, when you download an .EXE in a .ZIP from the Internet, I'm not clear on whether the new .EXE file is marked via AES / ADS metadata as coming from a restricted security zone like the .ZIP file presumably is.  And I assume the user gets warnings when executing the .EXE file, it would be nice to state how exactly those read and behave.

 

Posted by Harry Waldron - Microsoft MVP Blog


Jim Allchin provided an EXCELLENT response to Windows Vista and the improved protection from malware

 

Posted by Harry Waldron - My IT Forums Blog


Jim Allchin provided an EXCELLENT response to Windows Vista and the improved protection from malware

 

Posted by war59312


"It's not a question of whether or not e-mail applications will run the executables, it's *what* will happen when those executables have been run.  What flaws in Windows are these executables attacking?  Jim, that was pure spin." 100% Correct!

These damn spyware/virus should not have any effect in the first place! They should not be able to do a damn thing to hurt my PC. Jim is talking about workarounds basically and behavior of users, not security of Vista!

 

Posted by DeviateX


"It's not a question of whether or not e-mail applications will run the executables, it's *what* will happen when those executables have been run."

Well for a start processes like these viruses would by default run in process virtualisation mode - meaning unable to access the real filesystem and unable to access the real registry.

 

Posted by Microsoft Switzerland Security Blog


Jim Allchins answer to the Sophos November report on Vista... Very interessting! http://windowsvistablog.com/blogs/windowsvista/archive/2006/12/19/windows-vista-and-protection-from-malware.aspx

 

Posted by InfoWorld Tech Watch


Big batches of Vista FUD. Hot out of the oven.

 

Posted by Nick White


Hey klevinson:  My understanding is that the answer is no, the actual contents of a .zip file are not marked via metadata, although that’s a really intriguing feature.

I'm going to pass your feedback over to the IE team, however -- thanks for the suggestion.

 

Posted by MacOSX


windows vista is nothing more than a copy of the Mac OS! how can you not see that!!! widgets, gadgets????? like thats not obvious at all. also windows calendar and ical no similarities there either! oh and instant search and spotlight. the only difference there is the placement of the menu! instead of being in the upper right its in the lower left. seriously you guys why cant you EVER come up with something original!? this is just like the time bill gates stole the mac OS and made windows 3.1

 

Posted by The Security Wizard


On November 30, Sophos issued its monthly report on the top ten threats reported to them in November

 

Posted by WebLog de Stéphane PAPP [MSFT]


Nos amis suisses ont développé un site en français sur l’utilisation d’ordinateurs connectés à Internet.

 

Posted by dlevine@colby-sawyer.edu


What would be nice would be to hear a little more candid information about Defender. It's a little vague-looking as far as anti-spyware programs go ... Is it related to the earlier CounterSpy offshoot beta item that we saw a year or so ago? It seems to work nicely in concert with ESET's NOD32 v 2.7 on my Vista Business notebook with 759M RAM and a Centrino 1.6G processor. Updates- how often do they happen? Last one I saw was about 3M in size. That's kinda big- what's in there? The spyware threat is a tricky beast, where does it look to be going nowadays, Jim? Thanks for this blog!

 

Posted by Michael_Moor


Good to know that Vistas security is beefed up compared to XP.

-------

http://www.dl4all.com

 

Posted by oliv


The bottom line is that Vista and Microsoft products are too complicated in general ( from a user and development prospective ). The other thing is that people most of the time click OK on dialog boxes without taking the time to read them. You guys made lots of progress ( specially with the 64-bit version ) but stay humble because some big vulns could hit Vista this year.

 

Posted by jryanitpro


I find it truly amazing that so many Windows haters flock to converse about evil Microsoft.

I wonder how all the MAC heads know what goes on behind the scenes for 5 years. Talk about drink the koolaid. Steve Jobs is not the messiah and Bill Gates did not steel anything thing from Apple. Xerox was developing ideas, guess what the same way Microsoft developers develop good ideas.

Guess what! Steve Jobs did not invent the GUI. And if you really want to get technical he stole Steve Woz's PC ideas and continued to get rich from them.

Keep up the good work MSFT and Jim. I have nothing but the utmost admiration for what you have brought to the market and to life in general.

Anonymous comments are disabled
© Copyright 2007 Microsoft Corporation. All rights reserved.