RE: How to install and test custom CSP
- From: hamilton <hamilton@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 9 Apr 2006 22:43:01 -0700
Thanks for comments.
I'll challenge to clear this problems...
If anyone knows how to test un-signed CSP(details), please give advice.
Thanks,
hamilton
"lelteto" wrote:
I am not familiar with WinDbg's kernel mode but I think you cannot run it on.
the SAME machine as the kernel debugger is running. That's why I am always
using SoftICE instead (it can debug on SAME computer). As I remember
Microsoft's kernel debugging requires two computers: one is the debuggee (on
which the kernel debugger is running) and another connected where you control
the debugger.
Hope somebody will give you more info on how to load the kernel debugger on
the computer you want to test your CSP.
Laszlo Elteto
SafeNet, Inc.
"hamilton" wrote:
Tnanks for comment.
I tried to load KERNEL DEBUGGER on local machine.
But return value is same,"NTE_BAD_SIGNATURE"
I'm not sure that KERNEL DEBUGGER is runnning successfully or not...
Does KERNEL DEBUGGER is loaded mean starting WinDbg kernel Debug mode?
Start log is shown below, please give me some coments...
----
Microsoft (R) Windows Debugger Version 6.6.0003.5
Copyright (c) Microsoft Corporation. All rights reserved.
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE
Symbol search path is:
SRV*c:/symbols*http://msdl.microsoft.com/download/symbols;srv*c:\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows XP Kernel Version 2600 (Service Pack 2) MP (2 procs) Free x86
compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 2600.xpsp.050622-1524
Kernel base = 0x804d9000 PsLoadedModuleList = 0x8055e700
Debug session time: Fri Apr 7 19:24:33.593 2006 (GMT+9)
System Uptime: 0 days 0:01:28.300
lkd>
---------
And I want to try another way, "advapi32.dll" is changed, but cannot find
out "advapi32.dll" which does not check sign...
Please tell advapi32.dll patch for XP sp2(latest version).
Thanks,
hamilton
"lelteto" wrote:
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
- Follow-Ups:
- RE: How to install and test custom CSP
- From: hamilton
- RE: How to install and test custom CSP
- References:
- RE: How to install and test custom CSP
- From: hamilton
- RE: How to install and test custom CSP
- From: lelteto
- RE: How to install and test custom CSP
- Prev by Date: Re: How to make PKCS#7 signature using CryptoAPI?
- Next by Date: Cached logon in custom GINA
- Previous by thread: RE: How to install and test custom CSP
- Next by thread: RE: How to install and test custom CSP
- Index(es):
Relevant Pages
|