On The Insider: Sexy Aussie Babes
BNET Business Network:
BNET
TechRepublic
ZDNet

By Joris Evers, News.com
Posted on ZDNet News: May 26, 2006 10:46:00 PM

SEATTLE--Microsoft is readying two tools to help hardware makers create more stable and secure Windows drivers, which should help reduce the number of crashes.

The tools, PreFast for Drivers and Static Driver Verifier, are source code analysis tools that find common flaws in driver source code, so they can be fixed. Second beta versions were released at the Windows Hardware Engineering Conference here this week, alongside new trials of Windows Vista and Windows Server "Longhorn."

"We're hoping that reliability and robustness for drivers will improve," Jon Hagen, a Microsoft developer who works on the Static Driver Verifier, said in an interview at WinHEC. "There is a need because of the complexity of writing kernel drivers...We're doing this to avoid blue screens."

Windows requires driver software to run hardware that is built-in or connected to a PC. A buggy driver can cause a lot of trouble. In particular, errors in the kernel mode drivers, which run hardware such as network interface cards and hard disk drives, can cause fatal crashes that result in the famous "blue screen of death."

Kernel mode drivers operate at a low level in Windows. There are also user-mode drivers, which run printers, graphics, USB devices and other hardware. Crashes in those drivers can typically be overcome without rebooting, according to Microsoft. Drivers are developed by Microsoft as well as by hardware makers, which make up the WinHEC audience.

"You do something wrong in the user space, and you can get away with a lot," said Donn Terry, a Microsoft developer who works on PreFast for Drivers. "A kernel mode driver is fully privileged and can reach down anywhere (in the operating system) it likes. That's the reason you don't like rootkits as much."

Rootkits are malicious software that offer a hiding place on a PC for unwanted programs, such as remote control software or spyware. Experts predict a rise in the use of rootkits in cyberattacks.

Running driver code through the analyzer tools can help eradicate a wide range of flaws and save the user a lot of potential headaches, Terry said. "The absence of all these nasty bugs means you don't have security holes, attack vectors or reliability bugs," he said. "Drivers will be better in a lot of dimensions, but none of these tools can be perfect."

For Windows Vista, Microsoft will put its drivers through a checking process, Terry said. The tools will also work on drivers for earlier versions of Windows, back to Windows 2000. The Static Driver Verifier is meant specifically for kernel mode drivers, while PreFast for Drivers works on all driver types, according to Microsoft.

A first beta, or test version, of both driver bug-check tools was released at last year's WinHEC event, which was the first time external developers could get their hands on them. Since then the team has added and refined rules, Hagen said.

The tools are part of Microsoft's Windows Driver Development kit. Microsoft's Visual Studio, the toolset used by many programmers who create Windows applications, is not officially meant for driver development and does not include the driver bug-check functionality, Terry said.

  • Talkback
  • Most Recent of 26 Talkback(s)
Well said
You're right about the software development and all the hyperbole it creates. But it makes me wonder how such a large and dominating business does little to truly develop (oops, innovate) something th... (Read the rest)
Posted by: somd Posted on: 05/31/06 You are currently: Logged In | Log out
no really are you sure toxicfreak   | 05/26/06
Pretty sure. A_Pickle   | 05/27/06
Just what we need... Mr. Roboto   | 05/26/06
You? KTLA   | 05/26/06
Nah CobraA1   | 05/26/06
Um... A_Pickle   | 05/27/06
This could work... zkiwi   | 05/26/06
This article is about writing drivers, PB_z   | 05/26/06
ooooh KTLA   | 05/26/06
...and uh... A_Pickle   | 05/27/06
MIcroswoft or I came to the conclusion ? not of this world   | 05/27/06
Ha ha ha! A_Pickle   | 05/27/06
Not much hope for it Boot_Agnostic   | 05/27/06
The trouble is... A_Pickle   | 05/27/06
No Boot_Agnostic   | 05/29/06
Billy ought to become a politician. HypnoToad72   | 05/27/06
And... A_Pickle   | 05/27/06
LOL dave95.   | 05/28/06
Firefox and Microsoft Investigations brotherjim01@...   | 05/27/06
Miss are you kidding not of this world   | 05/28/06
Looking at this differently somd   | 05/29/06
I guess that they have a set of rules or guideliness they michael_t   | 05/30/06
Well said somd   | 05/31/06
They should hand deliver this program... toadlife   | 05/29/06
I cannot find anymore problem with my OS colinmaharaj@...   | 05/30/06
Not a minute too soon MS woke up and released the BETA tools to michael_t   | 05/30/06

What do you think?

advertisement
Click Here