Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

I can't make test signed drivers work in 64-bit Vista

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 07-11-2006   #1 (permalink)
Ladislav Zezula
Guest


 

I can't make test signed drivers work in 64-bit Vista


Hi,

I am author of a system tool called FileSpy. It's similar tool like the
famous FileMon from Mark Russinovich.

Now I want to move to the 64-bit Vista with it, which brings
the need of signing drivers. I decided to use test signing for now.

Like for Filemon, there is no installation procedure for FileSpy as well.
It unpacks drivers, installs them as services and loads them.
I would keep this functionalty for 64-bit Vista too.

But I am unable to make the signatures for the drivers properly
("properly" means being able to load them when test signing is allowed).

This is what I did to make a proper driver signature:

1) I allowed test signed drivers using Bcdedit.exe
2) I created a test signing certificate using makecert.exe
3) I have signed the kernel driver using signtool
4) I created the CDF file and made a CAT file from it,
using cross certificate file downloaded from MS.
5) Compiled the main application's EXE. Resources
of this EXE contain both signed CAT file and signed SYS file.
6) Verified the SYS file signature.

This is what the main FileSpy's EXE does:

1) Unpacks the CAT file and uses CryptCATAdminAddCatalog
to add CAT file to the catalog root. After this step, the CAT
file contains two hashes (I have two drivers) and is installed in
D:\Windows\System32\catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}
directory.
2) Unpacks the SYS file and uses CreateSevice/RunService to
install the driver.

After that, I get error code 577 ("The hash for the image cannot
be found in the system catalogs. The image is likely corrupt or
the victim of tampering.").

Please, do you have any idea what I am doing wrong ?


Ladislav Zezula



My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Requires signed drivers... program may not work properly DesoShade Drivers 3 07-15-2008 12:35 AM
Disable the need for Signed Drivers on X64 Vista? Bhozar Vista security 2 10-10-2007 06:41 AM
UAC / Signed Drivers / etc. are a joke :( =?Utf-8?B?Unlhbg==?= Vista security 19 09-24-2006 04:23 AM
WE NEED VISTA 64-BIT SIGNED DRIVERS FOR THE CREATIVE LABS AUDIGY C =?Utf-8?B?Unlhbg==?= Vista hardware & devices 5 09-19-2006 08:02 AM
Audigy 2 ZS Platinum. Vista RC1 5600 and digitally signed drivers Leadfoot Vista hardware & devices 0 09-07-2006 10:29 AM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008