Skip to content

Windows Credential Provider and Authentication Package samples

License

forderud/ReversePassword

Repository files navigation

Project Description
AuthPkgTester Tool for testing custom authentication packages.
BluetoothSubauthPkg Sample MSV1_0 subauthentication package that will deny logon if Bluetooth is enabled.
CredUITester Tool for testing CredUI-based authentication
NoPasswordAuthPkg Sample authentication package to allow interactive logon without having to type the password.
ReversePassword Sample Windows Credential Provider that require the password to by typed backwards. Written in C#.

How to test

It's recommended to test in a disposable Virtual Machine (VM), since credential provider problems might break the windows logon screen. You don't want to risk that on your main computer.

Build steps

  • Open solution in Visual Studio and build the projects in release or debug mode.

Installation steps

  • Install .NET 8 Desktop Runtime

  • Copy the build artifacts to the test environment.

  • Run REGISTER_ReversePassword.bat as administrator.

  • Log screen, log out or restart the computer.

  • Observe that there's now a new "RP" sign-in option that requires the password to be typed backwards:
    screenshot

  • CredUITester.exe can also be used for testing the credential provider:
    CredUIPrompt

Password entering can be avoided altogether if NoPasswordAuthPkg is also installed. This can be done by running Install_NoPasswordAuthPkg.ps1 as administrator and restarting afterwards.

Uninstallation steps

  • Right click on UNREGISTER_ReversePassword.bat and select "Run as administrator".

Authentication and logon documentation

User session and authentication

Credential provider

Security and authentication packages

About

Windows Credential Provider and Authentication Package samples

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •