Question

How to control PIN Attempts Remaining on Smartcard based logon?

Asked by: KonstantinPrinz

Hi,

this is a tricky one:

I am using an 2003 Enterprise CA and Sub CA to issue User Certificates.
I use CLM 2003 to manage the Smart Cards. (Axalto .NET v2 in USB Shell Tokens)
The clients have Windows XP SP2 with KB 909520 (Microsoft SmartCard BaseCSP)

The KB comes with the SmartCard Minidriver, the only external driver used is a Gemalto CCID driver for the USB Shell Token which holds the SmartCard.

The pintool.exe from the KB is used to manage the PIN. However you can set 0000 as a valid PIN.
Also, I did not find a way to control the number of PIN attempts until the card blocks the PIN.

And this is where internal audit started to seriously b*tch.

I have tried MS Support, so far with limited success. The Windows Smart Card Minidriver Specification reveals that there is a handle pdwcAttemptsRemaining to control PIN attempts. But not where it comes from. A quick test showed the SmartCard locks after 4 failed attempts. But where did that come from? Account lockout policy from the machine? That could be circumvened. Is is hardcoded in the axaltocm.dll?

Also if I can set the PIN with any pintool.exe on any machine, how in the world do I enforce PINs stronger than 0000? Not with a GPO for sure. But can I put in the certificate template PIN rules? Or can I enforce that the PIN can only be changed when the client has a connect to the CLM to ensure policies?

So my questions:
1. How do you control the initial value of pdwcAttemptsRemaining, or rather where does it come from and where is it stored?

2. Can you in this environment reliably enforce PIN rules, and how?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-08-14 at 09:18:10ID23648676
Tags

Micsosoft

,

Certificate Lifecycle Manager

,

2003

,

2003 Enterprise CA, Axalto .NEt v2 SmartCards

,

SmartCards & Readers

Topics

Printers

,

SmartCards Security

,

Miscellaneous Security

Participating Experts
2
Points
500
Comments
7

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. IDE cable 40 pins
    Hi, I have many IDE cables, old & new. How can I differentiate between the 40 Pin- 40 conductor cable & the 40 pins-80 conductors cable.. Thanks
  2. What is the correct name for a row of pins?
    While perhaps more of an electronics question then a computer hardware question, what is the correct name for the electical conection interface that consists of one or more rows of pins? This type of connector is found on things like IDE (PATA) cables, are common in a three...
  3. Unlock a CTRL-ALT-DELETE locked workstation using Sm…
    We're planning to use smartcards to log into our workstations. Unfortunately, it seems that once I'm logged into a workstation using my smartcard I don't seem to be able to configure that I can unlock a CTRL-ALT-DELETE locked workstation using my smartcard and PIN, instead of...
  4. USB Digital Certificates requiring a PIN #
    Hello All, We currently have a Microsoft Certificate Authority setup on our Internal domain. we use it for issuing certificates for internal use. we are wanting to create certificates that we can put on a USB drive and require a pin along with them to use them. An exa...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: lamaslanyPosted on 2008-08-14 at 10:13:27ID: 22232158

I've only recently started looking at smart cards so there is a good chance I'm off base but are you sure that the pin attempts count and threashold isn't held on the smartcard itself?

 

by: KonstantinPrinzPosted on 2008-08-14 at 10:27:53ID: 22232294

Of course I'm not sure, thats the whole purpose of my endeavor. To satisfy MaRisk and the internal autit of a bank I need to find out exactly where it is located, and how it is controlled.

You are right in that there is no reason for pdwcAttemptsRemaining not to be stored on the card. But still that would leave me with the question how it got there and how to influence the value.

 

by: ParanormasticPosted on 2008-08-14 at 11:00:45ID: 22232624

This value is definately stored on the token - otherwise an attacker could just pull the token and move to another box.  Depending on the token will depend on added features.  Technically there is no standard requirement for PIN strength, length, history, or anything like that - these would all be features of the token's operating system to support these concepts, as well as using typically the manufacturer's own enrollment utility to set these values as most generic software will not have custom values like that.

I am not specifically familiar with other products, but I know that Datakey (now SafeNet) iKey 2000 and higher USB tokens support these types of features and are enforced by a template that is incorporated into the client software.  This template is modifiable by the admin that uses the tool that helps create the client piece based on the options set.  I'm sure other larger vendors have similar features too.

In short, only when the the token is initialized (formatted/wiped out) can other variables be passed to the token's OS - and only then.  The only way to change the settings on the token would be to wipe it and start over.

How this is done through CLM, I'm not specifically sure.  I have gone through the available options and such and am not seeing much relating to your concerns, even in CLM2007.  At best there may be an .ini, .inf, or something that you can modify but that isn't what I would call a great answer to your problem, if you are worried about auditors.

 

by: lamaslanyPosted on 2008-08-14 at 11:02:26ID: 22232637

Have you tried contacting the manufacturer?  (although it seems like they might have merged with another company since you bought the devices)

 

by: ParanormasticPosted on 2008-08-14 at 12:00:06ID: 22233179

Axalto and GemPlus, both big names in the industry, combined into Gemalto about 2 years ago.

 

by: KonstantinPrinzPosted on 2008-08-15 at 02:03:43ID: 22236758

Just to clarify. Axalto .NET v2 Smartcards came out this year and we just received delivery and yes Gemalto manufactures and sells them, but for legacy and driver reasons the cards still register as Axalto cards. We bought both GemPlus Shell Tokens and Axalto Cards from Gemalto, hence the use of the Gemalto CCID driver for the shell token.

I have a ticket open with MS and am in the process of opening one with Gemalto. I just thought that this question must have come up on somebody before, since it's quite obvious from an audit standpoint. The funny thing is, that nobody knows how CLM works in detail, not even at MS and there are no security whitepapers on the whole shebang, only installation and configuration instructions in the tech net. Not a single word on PIN management there (MS refers to the Minidrivers manufacturer for responsibility, and this is why Apple works so much better than MS, they can't just push responsibility away)

I guess I'll have to wait for Gemalto's response.

 

by: KonstantinPrinzPosted on 2008-08-15 at 06:21:40ID: 22237927

OK, here we go
It is just like Paranormastic said, it just took some time to realize the value of his first paragraph.

Where
The Attempts remaining value is stored on the token.

How does it get there
It is stored ther at factory initialization. CLM does NOT control this setting via its templates. Gemalto's web service offers changing this value, so it is indeed a minidirver implementation  issue, where it is implemented but with the tools we use, we lack a back end.

The PIN
4-14 digits, no complexity. period.
If one wants to change this behavior one needs a .NET program on the card controlling the PIN change, or different middleware. Again out of the possibilities of the tools we use.

So we need a different solution to satifsfy the internal audit.
Fortunately we are still working on eval licenses with a first batch of tokens.

Thanks all for participating!
And by the way, my bad, it was CLM 2007 not 2003.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...