Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > signing driver that is load up via service

Reply
Thread Tools Display Modes

signing driver that is load up via service

 
 
Pat
Guest
Posts: n/a

 
      11-04-2009
Hi,

I have a driver that's loaded up via service manager. This driver
doesn't have an ini or inf file. and is loaded up using the "sc ......
binpath=c:\mydriver.sys ..."

In Vista 64, when I did this, it says "unsigned driver", but since I am
hooked up Windbg, everything works fine, until I run in without the debugger.
So my question :-

(1) Is it possible to sign a driver that doesn't have an ini or inf
file ?
(2) If I were to create a dummy inf and cat file, will the
load-driver-via-services method still work the same way ?

- Pat

 
Reply With Quote
 
 
 
 
Gianluca Varenni
Guest
Posts: n/a

 
      11-05-2009

"Pat" <> wrote in message
news:71537076-64D1-4C12-A81B-...
> Hi,
>
> I have a driver that's loaded up via service manager. This driver
> doesn't have an ini or inf file. and is loaded up using the "sc ......
> binpath=c:\mydriver.sys ..."
>
> In Vista 64, when I did this, it says "unsigned driver", but since I am
> hooked up Windbg, everything works fine, until I run in without the
> debugger.
> So my question :-
>
> (1) Is it possible to sign a driver that doesn't have an ini or inf
> file ?


Yes, just sign the driver binary itself with signtool. In order for the
driver to be loaded in Vista x64 and later, you need to sign and cross-sign
the driver, as explained in the kernel mode code signing walkthru, step 6 on
page 42.

http://www.microsoft.com/whdc/winlog...lkthrough.mspx

Hope it helps
GV


> (2) If I were to create a dummy inf and cat file, will the
> load-driver-via-services method still work the same way ?
>
> - Pat
>



 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      11-05-2009
> (1) Is it possible to sign a driver that doesn't have an ini or inf
> file ?


Yes. With a cross-certificate.

More so, this is mandatory for boot-start drivers.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VISTA x64: Slow startup, several drivers not loading per Bootlog f Meetloaf Windows Vista Performance 0 02-05-2008 09:53 PM
Slow Vista startup Jedi940 Windows Vista Performance 1 01-13-2008 09:50 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 11:59 AM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 10:49 PM
Re: No Matter What Installations Won't Boot On My Laptop Richard Urban Windows Vista Installation 1 01-06-2007 06:08 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59