Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to change  smartCard Pin in CSP

Posted on 2008-06-23
7
Medium Priority
?
3,060 Views
Last Modified: 2013-11-15
hi all
i use CSP to access smartcards and usbtoken , but i don't know how to change smartcard pincode .
please help me !
thanks
0
Comment
Question by:ncsvietnam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 2

Expert Comment

by:karampelas
ID: 21847170
It depends what windows you have. For XP/ 2003 server you will need the Smart Card Pin Tool is included as part of the downloadable Smart Card Base CSP package (KB909520) available via Windows Update. It becomes available as soon as the
Base CSP package is installed on the machine.

In Windows Vista, users can change their smart card user PIN using the secure desktop.

For exact details read the following. Their are two paragraphs that explain how to do it.
http://www.netsolutions.gemalto.com/download/070507%20WP%20Gemalto%20%20NET%20PIN%20Mgmt%20in%20Windows%20Platforms.pdf
0
 

Author Comment

by:ncsvietnam
ID: 21880839
thank you very much for your responding . but my mean is change smart Card pin by program , use Cryptography API in window platform .
0
 
LVL 2

Accepted Solution

by:
karampelas earned 500 total points
ID: 21882213
0
Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

 
LVL 1

Assisted Solution

by:KonstantinPrinz
KonstantinPrinz earned 1000 total points
ID: 22236908
KB909520 installs pintool.exe into %WinDir%\system32
0
 
LVL 1

Assisted Solution

by:KonstantinPrinz
KonstantinPrinz earned 1000 total points
ID: 22236910
0
 
LVL 65

Assisted Solution

by:btan
btan earned 500 total points
ID: 22970383
There is no CAPI (if the smartcard CSP support it) calls on changing the PIN but rather replaying the cached PIN (and clearing it using CryptSetParams)

The most straight forward method is via sending APDU commands like CHANGE CHV (you can get it from vendor if proprietary else by default they are the standard ISO 7816-4) to the smartcard thru the reader. It can be via SCard Commands or via PKCS#11 (if supported).

For Scard command, use Scardtransmit (see http://msdn.microsoft.com/en-us/library/aa379804(VS.85).aspx) to send the APDU

Try out the APDU player as well (to try out APDU) but be wary on PIN lockout - http://www.codeproject.com/KB/smart/SmartcardFmwk.aspx

0

Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been asked to explain on many, many occasions the correct way to setup network cards and DNS settings on ISA Server 2004, 2006 and forefront Threat management gateway (FTMG) and have willing done so. I have also promised my self everytime tha…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question