Skip to content

An example implementation of a windows credential provider that is tightly connected with logon system

License

Notifications You must be signed in to change notification settings

phaetto/windows-credentials-provider

Repository files navigation

Windows Credential Provider

Made only with C#, .NET

There was no implementation in .NET that could work as credential provider in windows, so I created this example.

The code is totally free for any use.

Read this before you start

Installing an untested credential provider might lock you out of the system, as the code will run in process with winlogon.

Use a live distro to remove the dll if that happens.

Better yet, use a VM to do your experiments.

Consider yourself warned.

Installation

To start a setup to develop your own Windows Credential Provider:

  • Install the COM component by building the project
  • Merge the registry to install the cred. provider

The projects are setup for x64 systems - you might need to change that if you want it to run on 32bit platforms. Same goes for registry installation.

When you run TestConsoleApp you should be able to see your provider under "more choices" (windows 10).

What it can do

It connects the logon procedure with alternative means to logon, like images from cameras, voices with microphone.

More info

I have included the official doc on how to use the credential provider - note that you have to have some knowledge about COM and the examples are in C++.

I have also included the guide on how to (re)export Interop typelib from IDL in windows SDK. You can use that to export almost any component.

About

An example implementation of a windows credential provider that is tightly connected with logon system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages