?
Solved

Trying to use GINA to process WIN2K smart card logon

Posted on 2003-10-31
5
Medium Priority
?
559 Views
Last Modified: 2013-12-03
Hi,
    As you know, while the logon dialog is being displayed and a smart card is inserted into the reader, a PIN verification dialog will popup. I want my GINA to take over the following processes after the user input his PIN and click OK. How can I do that?
    By the way, I used Resource Tuner to check MSGINA.DLL, I failed to find the PIN verification dialog.

    Thanks a lot!

    Gunther
   
0
Comment
Question by:HGunther
[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
  • 3
  • 2
5 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 9663755
0
 

Author Comment

by:HGunther
ID: 9673411
Dear jkr
    I'd like to know if Ctrl-Alt-Delete is controlled by Winlogon or MSGINA? What messages are passing by between Winlogon and GINA? Please give more info. Thanks!
0
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 9674174
Hm, the above links already cover these issues, see e.g. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/sending_messages_to_the_gina.asp

Sending Messages to the GINA

Winlogon sends messages to the GINA while dialog boxes are displayed. These messages are all encapsulated in the WLX_WM_SAS message as follows:

SAS type in wParam parameter Description
WLX_SAS_TYPE_CTRL_ALT_DEL Indicates that a CTRL+ALT+DEL key sequence was received.
WLX_SAS_TYPE_SC_INSERT Indicates that a smart card has been inserted into a compatible device.
WLX_SAS_TYPE_SC_REMOVE Indicates that a smart card has been removed from a compatible device.
WLX_SAS_TYPE_USER_LOGOFF Indicates that a user requested log-off.
WLX_SAS_TYPE_SCRNSVR_TIMEOUT Indicates that the screen saver should be run due to lack of user input.
WLX_SAS_TYPE_TIMEOUT Indicates that no user input was received within the specified time-out period.

0
 

Author Comment

by:HGunther
ID: 9675154
jkr,
    Thanks for your quick response! Could you please tell me in what GINA functions these events should be processed and how to process generally?
0
 
LVL 86

Expert Comment

by:jkr
ID: 9680315
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

800 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