Configuring Multi-Factor Authentication with Duo
Overview
Deploy Cisco Duo multi-factor authentication across enterprise applications, VPN, RDP, and SSH access points. This skill covers Duo integration methods, adaptive authentication policies, device trust assessment, and phishing-resistant MFA deployment aligned with NIST 800-63B AAL2/AAL3 requirements.
When to Use
- When deploying or configuring configuring multi factor authentication with duo capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Prerequisites
- Familiarity with identity access management concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Objectives
- Configure Duo MFA for VPN, RDP, SSH, and web applications
- Implement adaptive access policies based on user, device, and network context
- Deploy phishing-resistant authentication (Duo Verified Push, WebAuthn)
- Configure device health policies (trusted endpoints, OS version enforcement)
- Set up Duo Admin Panel monitoring and reporting
- Implement MFA bypass and emergency access procedures
Key Concepts
Duo Authentication Methods (by security strength)
- Security Keys (WebAuthn/FIDO2): Phishing-resistant, AAL3 capable
- Duo Verified Push: Requires code entry, resistant to MFA fatigue attacks
- Duo Push: Push notification to Duo Mobile app
- TOTP (Duo Mobile Passcode): Time-based one-time password
- Hardware Tokens: OTP from physical token
- SMS/Phone Call: Least secure, use only as fallback
Duo Integration Architecture
- Duo Authentication Proxy: On-premises proxy for RADIUS/LDAP integration
- Duo Web SDK: Embed Duo MFA in web applications
- Duo OIDC/SAML: SSO integration for cloud applications
- Duo for RDP: Windows Logon MFA
- Duo Unix: PAM-based MFA for SSH
Adaptive Access Policies
- Trusted Networks: Reduce MFA friction for corporate networks
- Remembered Devices: Skip MFA for trusted devices (configurable duration)
- Device Health: Block or require MFA based on OS patch level, encryption, firewall
- Risk-Based Authentication: Step-up MFA for anomalous login patterns
Workflow
Step 1: Duo Authentication Proxy Setup
- Deploy Duo Authentication Proxy on Windows/Linux server
- Configure primary authentication (AD/LDAP or RADIUS)
- Configure Duo API credentials (Integration Key, Secret Key, API Hostname)
- Set failmode (safe=deny if Duo unreachable, secure=allow)
- Test proxy connectivity to Duo cloud and AD
Step 2: VPN MFA Integration
- Configure VPN concentrator for RADIUS authentication
- Point RADIUS to Duo Authentication Proxy
- Configure Duo proxy with [radius_server_auto] section
- Test VPN login with Duo Push
- Deploy to all VPN users with enrollment period
Step 3: RDP/Windows Logon MFA
- Install Duo Authentication for Windows Logon on target servers
- Configure Duo application in Admin Panel
- Set offline access options (allow N offline logins)
- Configure bypass for service accounts
- Test RDP login with Duo MFA
Step 4: Adaptive Policy Configuration
- Create user groups (Standard, Privileged, Contractors)
- Configure per-group authentication policies:
- Standard: Duo Push allowed, remembered device 7 days
- Privileged: Verified Push required, no remembered device
- Contractors: WebAuthn required, no remembered device
- Configure device health policies:
- Require encrypted disk
- Block outdated OS versions
- Require firewall enabled
- Set trusted network exceptions for corporate IPs
Step 5: Phishing-Resistant MFA Deployment
- Enable Verified Push (requires entering 3-digit code from login screen)
- Register WebAuthn/FIDO2 security keys for privileged users
- Disable SMS and phone call for high-risk groups
- Configure Duo Risk-Based Factor Selection
- Monitor for MFA fatigue attack patterns
Step 6: Monitoring and Response
- Configure Duo Admin Panel alerts
- Set up authentication log forwarding to SIEM
- Monitor for: MFA denial patterns, bypass usage, new device enrollments
- Create incident response playbook for MFA compromise
- Regular review of bypass and exception policies
Security Controls
| Control |
NIST 800-53 |
Description |
| MFA |
IA-2(1) |
Multi-factor authentication for network access |
| MFA for Privileged |
IA-2(2) |
MFA for privileged account access |
| Replay Resistance |
IA-2(8) |
Replay-resistant authentication |
| Device Identification |
IA-3 |
Device identity and trust |
| Authenticator Management |
IA-5 |
MFA enrollment and lifecycle |
Common Pitfalls
- Not deploying phishing-resistant MFA (Verified Push/FIDO2) for privileged accounts
- Setting failmode to "safe" (allow access when Duo is down) in production
- Not disabling SMS/phone call for users with app-capable devices
- Forgetting to configure offline access for laptops
- Not monitoring for MFA fatigue/prompt bombing attacks
Verification
1---
2name: configuring-multi-factor-authentication-with-duo
3description: Deploy Cisco Duo multi-factor authentication across enterprise applications,
4 VPN, RDP, and SSH access points. This skill covers Duo integration methods, adaptive
5 authentication policies, device trust
6domain: cybersecurity
7subdomain: identity-access-management
8tags:
9- iam
10- identity
11- access-control
12- authentication
13- mfa
14- duo
15- multi-factor
16version: '1.0'
17author: mahipal
18license: Apache-2.0
19nist_csf:
20- PR.AA-01
21- PR.AA-02
22- PR.AA-05
23- PR.AA-06
24mitre_attack:
25- T1621
26- T1110.004
27- T1110.003
28- T1078
29- T1556.006
30source: https://github.com/mukul975/Anthropic-Cybersecurity-Skills
31source_commit: 04450304b12645cb2b974ab96d28c0664758a88d
32metadata:
33 source: https://skillmd.com/skills/yanacuti1121/configuring-multi-factor-authentication-with-duo
34---
35
36# Configuring Multi-Factor Authentication with Duo
37
38## Overview
39Deploy Cisco Duo multi-factor authentication across enterprise applications, VPN, RDP, and SSH access points. This skill covers Duo integration methods, adaptive authentication policies, device trust assessment, and phishing-resistant MFA deployment aligned with NIST 800-63B AAL2/AAL3 requirements.
40
41
42## When to Use
43
44- When deploying or configuring configuring multi factor authentication with duo capabilities in your environment
45- When establishing security controls aligned to compliance requirements
46- When building or improving security architecture for this domain
47- When conducting security assessments that require this implementation
48
49## Prerequisites
50
51- Familiarity with identity access management concepts and tools
52- Access to a test or lab environment for safe execution
53- Python 3.8+ with required dependencies installed
54- Appropriate authorization for any testing activities
55
56## Objectives
57- Configure Duo MFA for VPN, RDP, SSH, and web applications
58- Implement adaptive access policies based on user, device, and network context
59- Deploy phishing-resistant authentication (Duo Verified Push, WebAuthn)
60- Configure device health policies (trusted endpoints, OS version enforcement)
61- Set up Duo Admin Panel monitoring and reporting
62- Implement MFA bypass and emergency access procedures
63
64## Key Concepts
65
66### Duo Authentication Methods (by security strength)
671. **Security Keys (WebAuthn/FIDO2)**: Phishing-resistant, AAL3 capable
682. **Duo Verified Push**: Requires code entry, resistant to MFA fatigue attacks
693. **Duo Push**: Push notification to Duo Mobile app
704. **TOTP (Duo Mobile Passcode)**: Time-based one-time password
715. **Hardware Tokens**: OTP from physical token
726. **SMS/Phone Call**: Least secure, use only as fallback
73
74### Duo Integration Architecture
75- **Duo Authentication Proxy**: On-premises proxy for RADIUS/LDAP integration
76- **Duo Web SDK**: Embed Duo MFA in web applications
77- **Duo OIDC/SAML**: SSO integration for cloud applications
78- **Duo for RDP**: Windows Logon MFA
79- **Duo Unix**: PAM-based MFA for SSH
80
81### Adaptive Access Policies
82- **Trusted Networks**: Reduce MFA friction for corporate networks
83- **Remembered Devices**: Skip MFA for trusted devices (configurable duration)
84- **Device Health**: Block or require MFA based on OS patch level, encryption, firewall
85- **Risk-Based Authentication**: Step-up MFA for anomalous login patterns
86
87## Workflow
88
89### Step 1: Duo Authentication Proxy Setup
901. Deploy Duo Authentication Proxy on Windows/Linux server
912. Configure primary authentication (AD/LDAP or RADIUS)
923. Configure Duo API credentials (Integration Key, Secret Key, API Hostname)
934. Set failmode (safe=deny if Duo unreachable, secure=allow)
945. Test proxy connectivity to Duo cloud and AD
95
96### Step 2: VPN MFA Integration
971. Configure VPN concentrator for RADIUS authentication
982. Point RADIUS to Duo Authentication Proxy
993. Configure Duo proxy with [radius_server_auto] section
1004. Test VPN login with Duo Push
1015. Deploy to all VPN users with enrollment period
102
103### Step 3: RDP/Windows Logon MFA
1041. Install Duo Authentication for Windows Logon on target servers
1052. Configure Duo application in Admin Panel
1063. Set offline access options (allow N offline logins)
1074. Configure bypass for service accounts
1085. Test RDP login with Duo MFA
109
110### Step 4: Adaptive Policy Configuration
1111. Create user groups (Standard, Privileged, Contractors)
1122. Configure per-group authentication policies:
113 - Standard: Duo Push allowed, remembered device 7 days
114 - Privileged: Verified Push required, no remembered device
115 - Contractors: WebAuthn required, no remembered device
1163. Configure device health policies:
117 - Require encrypted disk
118 - Block outdated OS versions
119 - Require firewall enabled
1204. Set trusted network exceptions for corporate IPs
121
122### Step 5: Phishing-Resistant MFA Deployment
1231. Enable Verified Push (requires entering 3-digit code from login screen)
1242. Register WebAuthn/FIDO2 security keys for privileged users
1253. Disable SMS and phone call for high-risk groups
1264. Configure Duo Risk-Based Factor Selection
1275. Monitor for MFA fatigue attack patterns
128
129### Step 6: Monitoring and Response
1301. Configure Duo Admin Panel alerts
1312. Set up authentication log forwarding to SIEM
1323. Monitor for: MFA denial patterns, bypass usage, new device enrollments
1334. Create incident response playbook for MFA compromise
1345. Regular review of bypass and exception policies
135
136## Security Controls
137| Control | NIST 800-53 | Description |
138|---------|-------------|-------------|
139| MFA | IA-2(1) | Multi-factor authentication for network access |
140| MFA for Privileged | IA-2(2) | MFA for privileged account access |
141| Replay Resistance | IA-2(8) | Replay-resistant authentication |
142| Device Identification | IA-3 | Device identity and trust |
143| Authenticator Management | IA-5 | MFA enrollment and lifecycle |
144
145## Common Pitfalls
146- Not deploying phishing-resistant MFA (Verified Push/FIDO2) for privileged accounts
147- Setting failmode to "safe" (allow access when Duo is down) in production
148- Not disabling SMS/phone call for users with app-capable devices
149- Forgetting to configure offline access for laptops
150- Not monitoring for MFA fatigue/prompt bombing attacks
151
152## Verification
153- [ ] VPN login requires Duo MFA
154- [ ] RDP to servers requires Duo MFA
155- [ ] SSH access requires Duo MFA
156- [ ] Verified Push enabled for privileged users
157- [ ] Device health policy blocks non-compliant devices
158- [ ] Authentication logs forwarded to SIEM
159- [ ] Bypass/emergency access procedures tested
160- [ ] MFA fatigue detection alerts configured