Before getting into the details of how a device driver works, you need to know a little bit about what separates them from other software. While the specifics vary depending on your operating system (be it Windows, Linux or OS X) some general concepts remain the same.
One of the key points of separation is who is going to be using it. Unlike other software, device drivers are not designed to interact directly with users. Device drivers work with the hardware they support and the the lowest level of the operating system called the kernel. With help from device drivers, the kernel translates the raw electrical chatter from your computer's hardware into something easier for the rest of the operating system and the programs you interact with to understand.
Due to the critical role of the kernel, it will typically be the first thing to load when your computer starts. It will install its self in a protected area of the computer's memory that most programs have not direct access to. Since they perform a similar function and require similar access, device drivers are loaded shortly after and live in this protected and privileged area as well.
When an application requires hardware help, it must wait for the request to be translated by the device driver and the kernel. In this way, device drivers can affect every application on your system. If your keyboard driver was lazy, both your word processor and your email client would appear to be sluggish and unresponsive. Also, should the keyboard driver fail, all your running application would stop responding.
In addition to being stable and responsive, a device driver must be trustworthy. The higher levels of the operating system have no way of verifying the information given by device drivers. They must assume that their requests for action and information are fulfilled accurately. As a result, a malicious device driver can do things that not even your anti-virus program can detect.
Using the tools that operating system companies give developers to write device drives, malicious authors can create 'rootkits'. Software that masquerades as a legitimate translator, but in fact intercepts commands for it's own nefarious purposes. Since they function below the level of other software, they are very difficult to detect and can require special tools to detect and remove.
With the large number of hardware vendors creating hardware and software for it, the Microsoft's Windows operating system has had more than its fair share of device driver woes. These normally come from well intentioned manufactures releasing buggy drivers, but there have also been cases of intentional malevolence as well.
To combat both problems, Microsoft created the a driver signing program. Before making their software public, device manufactures can get Microsoft's digital seal of approval applied. When you attempt to to install a driver without this seal, you will either receive a warning message or in some cases, Windows will simply refuse to accept the driver. It is worth noting that some legitimate drivers are, for various reasons unsigned.
While device drivers that have been given Microsoft's approval are not likely to contain directly harmful code, driver software is rarely bug free on the first run. Whenever you are having system problems that seem to affect more than one application, regardless of what operating system you use, checking for updated device drives is a good place to start.
Published by David Hamilton
David Hamilton is professional and amateur runner. He has been working in the technical industry fro nearly a decade. View profile
Computer Security Threats for Small BusinessesIn today's technological world, it is important that businesses face the need for information and computer security. Let's take a look at a few examples - phishing, spyware, an...- A Guide to Applying a Computer Security Band-AidComputer security is much different today than it was 8 years ago. In the year 2000 it was enough to know that your downloaded file passed a virus scan, beyond that there was very little to worry about.
Review of the GOS Operating SystemA review of the operating system (gOS) that is included with Wal-Mart's gPC, a new $199 PC.
Windows Server 2008: The Most Powerful Operating System YetWindows Server 2008 is scheduled to be the next server operating system released by Microsoft. It is widely regarded as the most crucial enterprise launch in Microsoft's history...
Ubuntu Linux: What the Popular Open Source Operating System Has to OfferUbuntu Linux is a popular, open source, linux-based operating system. Ubuntu serves as an affordable alternative to the more popular Windows and Macintosh operating systems. Thi...
- Device Drivers:When And How to Install Device Driver Updates
- 5 Ways to Locate Computer Device Drivers
- How to Update a Windows Hardware Driver
- Computer Hardware 101
- How Anti-Virus Software Works
- Vacuum Your Computer: PC Cleanup that You Can Perform
- 5 Easy Steps to Install an Operating System


