64 Bit Vista Driver

I wrote 32Bit Driver that working fine on 32Bit Vista, now how is it possible to run on 64bit Vista,

What steps I will have to follow for that.

  1. Compile the same code with Vista 64 bit build environment available in WDK.
  2. If it is Kernel Mode Driver, Vista 64 - bit Edition refuses to
    load it without signing. So for this test sign the driver using
    signtool and disable Driver Signing Enforcing Policy in Vista 64 - bit
    Edition. You can do this while booting.

If you find any issues, please kindly revert back. Couple of months
ago, I builded and loaded same piece of code for both 32 and 64 bit
Vista versions.

Regards.

On Thu, Oct 16, 2008 at 2:05 PM, wrote:
>
> I wrote 32Bit Driver that working fine on 32Bit Vista, now how is it possible to run on 64bit Vista,
>
> What steps I will have to follow for that.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

U mean first I will have to build in 64bit Vista and then sign digitally OR 32bit build version driver can run on 64bit after Digitally signed

First you should build in 64bit Vista and then sign it.

32 - bit driver cannot run in 64 bit irrespective of signing.

On Thu, Oct 16, 2008 at 3:20 PM, wrote:
> U mean first I will have to build in 64bit Vista and then sign digitally OR 32bit build version driver can run on 64bit after Digitally signed
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

I m using Visual Studio 2005 to develop driver , and my driver is concerned to NT API hooking.

Is there any issue

I am not familiar with api hooking. We need to wait until some expert
point us in the right path.

Also, I never used Visual Studio for driver development. You
mentioned that your driver is working fine in 32 bit Vista. Did you
build the 32 bit driver using VS.

On Thu, Oct 16, 2008 at 3:44 PM, wrote:
> I m using Visual Studio 2005 to develop driver , and my driver is concerned to NT API hooking.
>
> Is there any issue
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

Then you are doomed. I assume by API hooking you mean SSDT hooking if so
this is blocked on 64-bit. Secondly, I would never trust a driver that was
built with VS, so you have problems there.


Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

wrote in message news:xxxxx@ntdev…
>I m using Visual Studio 2005 to develop driver , and my driver is concerned
>to NT API hooking.
>
> Is there any issue
>

Only 64-bit drivers can run on 64-bit Windows. See: http: for some hints on porting your driver to Win64.

As Don said, Windows drivers are not properly built in Visual Studio… you need to use the WDK. Also, if your driver “hooks” various Windows system services via the System Service Dispatch Table (SSDT) that will be VERY difficult to accomplish on 64-bit Windows, as Windows actively attempts to block such attempts.

You are… as Don said… doomed. Doomed.

Peter
OSR</http:>

Why do you think you need to hook system services? What are you trying to accomplish? There is often a much better (and safer) way, typically one that is blessed and supported by Microsoft.

  • S

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Thursday, October 16, 2008 6:14 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] 64 Bit Vista Driver

I m using Visual Studio 2005 to develop driver , and my driver is concerned to NT API hooking.

Is there any issue


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer