Windows
Build Your Own 2FA for the Windows Logon, Part 2: Inside LSA
The credential provider from Part 1 only sees the logon screen. Part 2 goes into LSA to close the paths it can't reach, with an authentication package and an MSV1_0 sub-authentication filter in C++.