Re: advapi32.dll for win2003 Server

From: Pieter Philippaerts (Pieter_at_nospam.mentalis.org)
Date: 04/29/04


Date: Thu, 29 Apr 2004 17:39:55 +0200


"CSPdev" <anonymous@discussions.microsoft.com> wrote in message
> I want to test my CSP (testsigned) on Windows 2003 Server - but i need a
patched advapi32.dll for that.
> Does anyone know where i can obtain a patched version or how i can patch
one for myself.
> the version on w2003 server is: 5.2.3790.0

Starting from Windows2000 SP3, you do not need a modified advapi32.dll
anymore. If I remember correctly, you must restart your system in debugging
mode and then attach a kernel debugger to your CSP. If these two conditions
are met, advapi32 will not check the signature of your CSP.

Regards,
Pieter Philippaerts

P.S. to start your system in debug mode, modify your boot.ini file by adding
a /debug switch, for instance

multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
Professional Debug" /fastdetect /debug /sos



Relevant Pages

  • Re: How to connect to the target system to debug CSP
    ... Look under the section titled "Using a Kernel Debugger" in the smartcard CSP ... > computer XP SP1 and it is running with in debug mode. ... > I have set the communication between both systems and both are XP SP1. ...
    (microsoft.public.platformsdk.security)
  • Re: advapi32.dll for win2003 Server
    ... As i've never worked with the kernel debugger - i found it easier to use a patched advapi32.dll. ... advapi32 will not check the signature of your CSP. ... Pieter Philippaerts ... P.S. to start your system in debug mode, modify your boot.ini file by adding ...
    (microsoft.public.platformsdk.security)
  • Re: Coredll patch Windows CE 4.21
    ... you first create a Windows CE project based on the ARM emulator. ... Debugging a CSP is similar to debugging ... windows ce images/apps using platform builder and arm emulator. ... > the platform builder and activating the flag "Enable Kernel Debugger" ...
    (microsoft.public.windowsce.platbuilder)
  • RE: How to install and test custom CSP
    ... I use WinDbg's kernel mode on two computers, host and target, ... and I can use un-signed CSP on target computer. ... "hamilton" wrote: ... the SAME machine as the kernel debugger is running. ...
    (microsoft.public.platformsdk.security)
  • Re: How to connect to the target system to debug CSP
    ... Have you configured the Kernel Debugger on the other machine? ... then set Baud rate and COM port and then restart the other machine. ... > of my CSP or CSP test suite). ... > I have set the communication between both systems and both are XP SP1. ...
    (microsoft.public.platformsdk.security)