Re: How to install and test custom CSP



Hi,

I'm trying to use the patched advapi32.dll file by copying it to the
windows/system32 directory on XP, but it looks like the OS is overwriting
the new patched advapi32.dll with the old one. How do I get around this so
I can test my CSP?

"lelteto" <lelteto@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0AE2DB6F-D7A9-459A-A5F0-F374246D8DDC@xxxxxxxxxxxxxxxx
Microsoft changed how test CSPs are used. Instead of test-signing now you
will need to load a KERNEL DEBUGGER on the test computer. (You don't need
to
actually use the debugger - it just has to be loaded.)

Alternatively, you would need a patched advapi32.dll (which doesn't check
for the kernel debugger). Please search for this forum with the keyword
"advapi32" and you can find several patch instructions for various Windows
versions.

Laszlo Elteto
SafeNet, Inc.

"hamilton" wrote:

Hello,
I'm writing a custom CSP based on cspdk, and sign mycsp.dll as following
method.

"cspSign c mycsp.dll"

After that, I veryfy it and install on target WinXP machine.

"cspSign v mycsp.dll"
"regsvr32 mycsp.dll"

It seems to success, because there is no error and I can see my csp in
registry editor, path=....../Defaults/Provider.
But, I cannot call my csp from test code,because error is occured,
"NTE_BAD_SIGNATURE".

Please help and tell how to install custom csp and check it.

Thanks,
hamilton





.



Relevant Pages

  • 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)
  • Re: advapi32.dll patch for Win2003 SP1
    ... You don't have to actually USE the Kernel debugger - you are free to use your ... be LOADED in order to allow your CSP be used by the system. ... > to use the kernel debugger when I test unsigned CSPs. ...
    (microsoft.public.platformsdk.security)
  • Re: advapi32.dll for win2003 Server
    ... > Does anyone know where i can obtain a patched version or how i can patch ... mode and then attach a kernel debugger to your CSP. ... advapi32 will not check the signature of your CSP. ... P.S. to start your system in debug mode, modify your boot.ini file by adding ...
    (microsoft.public.platformsdk.security)