TechTalkz.com Home

Go Back   Windows Help & Support > Windows Device Drivers
Register Forum Rules Getting Started! - Guide Blog Videos Gallery Members List

Reply
 
LinkBack Thread Tools Display Modes
Old 11-05-2009, 12:30 AM   #1
Pat
Guest
 
Posts: n/a
Default signing driver that is load up via service

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
Old 11-05-2009, 01:30 AM   #2
Gianluca Varenni
Guest
 
Posts: n/a
Default Re: signing driver that is load up via service


"Pat" <Pat@discussions.microsoft.com> wrote in message
news:71537076-64D1-4C12-A81B-40A647BD6718@microsoft.com...
> 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
Old 11-05-2009, 03:31 PM   #3
Maxim S. Shatskih
Guest
 
Posts: n/a
Default Re: signing driver that is load up via service

> (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
maxim@storagecraft.com
http://www.storagecraft.com

  Reply With Quote
Reply
Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 02:35 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional