1

I am trying to implement a custom authentication package where I can pass only user name from the custom credential provider to custom Authentication package and the Authentication package should check if that user name exists in Sam database if yes it should let me login, I am kind of trying to achieve a password less authentication here. I found the functions that are needed to implement this authentication package in windows documentation here as I am new to development of windows I didn't get much understanding from them, I am looking for a sample code of Authentication package where I can debug that sample and gain some knowledge on how it works.

Mohit
  • 343
  • 5
  • 18

1 Answers1

3

This a big topic. Provide some related documents you check and follow:

Without password required you need create your customized Credential Provider.

Creating Custom Security Packages

Winlogon and Credential Providers

Samples:

  • SAMPSSP - This sample demonstrates the implementation of a Windows NT Security Support Provider.
  • MSV1_0 SubAuthentication Sample - Authentication of users in the SAM database. Pass-Thru authentication of users in trusted domains.
Rita Han
  • 9,574
  • 1
  • 11
  • 24
  • 1
    Hi Rita, I have already created a custom credential provider which doesn't ask for password and passes a username to authentication, how ever do you think a sub authentication package would suffice my need of implementing password less authentication? Cause I thought I need to Implement a custom authentication package cause as per my basic understanding sub authentication package is specifying extra layer of conditions for authentication along with conditions specified in The MSV1_0 package which accepts accepts a user name and a hashed password. – Mohit Oct 25 '19 at 04:28
  • @Mohit Were you able to implement? If so then is there a possibility to see the code? – sn99 Jul 31 '23 at 09:56