20220926: Duo and 2FA for Windows


Many UW customers need 2FA for Windows. This analysis looks closely at the enterprise solution provided by UW-IT--Duo for Windows, and summarizes the best 2FA solutions for Windows. Duo integrates with Microsoft Windows client and server operating systems to add two-factor authentication to Remote Desktop and local logons and credentialed UAC elevation prompts.

Scenarios covered by Duo for Windows

Duo Authentication for Windows Logon adds Duo two-factor authentication to these Windows logon scenarios:

Scenarios not covered by Duo for Windows

Duo's Windows Logon client does not add a secondary authentication prompt to the following logon types: Additionally, Duo Authentication for Windows Logon can be bypassed by booting a Windows system into Safe Mode. The number of "gaps" in coverage mean that for a workstation that has Duo for Windows installed, users can easily avoid Duo if well-informed; it is not a strong security measure.

Other Potential Problems for Duo for Windows

If the user logging into Windows after Duo is installed does not exist in Duo, the user may not be able to log in to the system.

Duo service is unavailable

When the Duo service can not be contacted by the workstation for any reason, there is a potential problem. The options to address this issue are:
  1. By default, Duo Authentication for Windows Logon will "fail open" and permit the Windows logon to continue if it is unable to contact the Duo service. This represents a problem as it provides a simple way for a regular user or a malicious user to bypass the Duo Authentication process
  2. During installation the fail mode can be adjusted to "fail closed." This will deny all login attempts if there is a problem contacting the Duo service.  This represents a problem as it will render workstations entirely useless until the Duo service can be successfully contacted.
  3. Fail open can be disabled and instead "offline access" can be enabled for a select number of users: https://duo.com/docs/rdp#offline-access. This represents the best option but requires a set of prerequisites are in place to work correctly.

Summary

Duo for Windows is a porous, inadequate security control which does not guarantee 2FA has happened to get access to a given Windows computer. For this reason, the risks of adding it outweigh the potential benefits--it falsely leads everyone to believe you have adequate security controls in place. If Windows 2FA is required there are known possible solutions which may meet the requirement: