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.
Anti-Rationalization Table
| Rationalization |
Reality |
| "I'll figure it out as I go" |
A structured approach saves time and reduces errors. Follow the workflow in this skill rather than improvising. |
| "I already know this topic" |
Familiarity breeds shortcuts. Use the checklist to verify you haven't missed critical steps. |
| "This doesn't apply to my situation" |
The patterns here generalize across contexts. Adapt, don't skip — the underlying principles hold. |
| "One more tool will fix it" |
Adding complexity rarely solves process gaps. Master the core workflow first. |
When to Use
Trigger phrases:
"configuring multi factor authentication with duo"
"Deploy Cisco Duo multi-factor authentication across enterprise applications, VPN"
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
This section covers key concepts for configuring multi factor authentication with duo.
- Ensure all prerequisites are met before proceeding
- Follow the documented workflow steps in sequence
- Record results and any anomalies encountered during this phase
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
# Example: IOC detection
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: str) -> dict:
return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}
- Scope the task — define objectives, boundaries, and success criteria
- Gather information — collect all necessary data and context before proceeding
- Execute the core workflow — follow the domain-specific steps methodically
- Validate results — verify outputs against expected outcomes or baselines
- Document findings — record results, anomalies, and recommendations
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
When NOT to Use
- You need to implement from scratch (use implementing-* skills)
- Task is about testing the configuration (use performing-* skills)
- You need to analyze misconfigurations (use analyzing-* skills)
- Task is about building automation (use building-* skills)
- You don't have admin access to the system
- Task requires vendor professional services
Red Flags
- Performing actions without explicit written authorization from the asset owner
- Testing against production systems without a defined scope and rules of engagement
- Sharing sensitive findings or credentials in unencrypted communications
- Failing to properly scope and contain the assessment before starting
Process
- Analyze the task requirements
- Apply domain expertise
- Verify output quality
1---2name: configuring-multi-factor-authentication-with-duo3description: Use when deploying Cisco Duo multi-factor authentication across enterprise applications, VPN, RDP, and SSH access points. This skill covers Duo integration methods, adaptive authentication policies, device trust4license: Apache-2.05---67# Configuring Multi-Factor Authentication with Duo89## Overview10Deploy 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.11121314## Anti-Rationalization Table1516| Rationalization | Reality |17|---|---|18| "I'll figure it out as I go" | A structured approach saves time and reduces errors. Follow the workflow in this skill rather than improvising. |19| "I already know this topic" | Familiarity breeds shortcuts. Use the checklist to verify you haven't missed critical steps. |20| "This doesn't apply to my situation" | The patterns here generalize across contexts. Adapt, don't skip — the underlying principles hold. |21| "One more tool will fix it" | Adding complexity rarely solves process gaps. Master the core workflow first. |2223## When to Use24**Trigger phrases:**25- "configuring multi factor authentication with duo"26- "Deploy Cisco Duo multi-factor authentication across enterprise applications, VPN"272829- When deploying or configuring configuring multi factor authentication with duo capabilities in your environment30- When establishing security controls aligned to compliance requirements31- When building or improving security architecture for this domain32- When conducting security assessments that require this implementation3334## Prerequisites3536- Familiarity with identity access management concepts and tools37- Access to a test or lab environment for safe execution38- Python 3.8+ with required dependencies installed39- Appropriate authorization for any testing activities4041## Objectives42- Configure Duo MFA for VPN, RDP, SSH, and web applications43- Implement adaptive access policies based on user, device, and network context44- Deploy phishing-resistant authentication (Duo Verified Push, WebAuthn)45- Configure device health policies (trusted endpoints, OS version enforcement)46- Set up Duo Admin Panel monitoring and reporting47- Implement MFA bypass and emergency access procedures4849## Key Concepts5051This section covers key concepts for configuring multi factor authentication with duo.5253- Ensure all prerequisites are met before proceeding54- Follow the documented workflow steps in sequence55- Record results and any anomalies encountered during this phase56### Duo Authentication Methods (by security strength)571. **Security Keys (WebAuthn/FIDO2)**: Phishing-resistant, AAL3 capable582. **Duo Verified Push**: Requires code entry, resistant to MFA fatigue attacks593. **Duo Push**: Push notification to Duo Mobile app604. **TOTP (Duo Mobile Passcode)**: Time-based one-time password615. **Hardware Tokens**: OTP from physical token626. **SMS/Phone Call**: Least secure, use only as fallback6364### Duo Integration Architecture65- **Duo Authentication Proxy**: On-premises proxy for RADIUS/LDAP integration66- **Duo Web SDK**: Embed Duo MFA in web applications67- **Duo OIDC/SAML**: SSO integration for cloud applications68- **Duo for RDP**: Windows Logon MFA69- **Duo Unix**: PAM-based MFA for SSH7071### Adaptive Access Policies72- **Trusted Networks**: Reduce MFA friction for corporate networks73- **Remembered Devices**: Skip MFA for trusted devices (configurable duration)74- **Device Health**: Block or require MFA based on OS patch level, encryption, firewall75- **Risk-Based Authentication**: Step-up MFA for anomalous login patterns7677## Workflow7879```python80# Example: IOC detection81import re8283IOC_PATTERNS = {84 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",85 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",86 "hash_md5": r"\b[a-f0-9]{32}\b",87 "hash_sha256": r"\b[a-f0-9]{64}\b",88}8990def extract_iocs(text: str) -> dict:91 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}92```93941. **Scope the task** — define objectives, boundaries, and success criteria952. **Gather information** — collect all necessary data and context before proceeding963. **Execute the core workflow** — follow the domain-specific steps methodically974. **Validate results** — verify outputs against expected outcomes or baselines985. **Document findings** — record results, anomalies, and recommendations99### Step 1: Duo Authentication Proxy Setup1001. Deploy Duo Authentication Proxy on Windows/Linux server1012. Configure primary authentication (AD/LDAP or RADIUS)1023. Configure Duo API credentials (Integration Key, Secret Key, API Hostname)1034. Set failmode (safe=deny if Duo unreachable, secure=allow)1045. Test proxy connectivity to Duo cloud and AD105106### Step 2: VPN MFA Integration1071. Configure VPN concentrator for RADIUS authentication1082. Point RADIUS to Duo Authentication Proxy1093. Configure Duo proxy with [radius_server_auto] section1104. Test VPN login with Duo Push1115. Deploy to all VPN users with enrollment period112113### Step 3: RDP/Windows Logon MFA1141. Install Duo Authentication for Windows Logon on target servers1152. Configure Duo application in Admin Panel1163. Set offline access options (allow N offline logins)1174. Configure bypass for service accounts1185. Test RDP login with Duo MFA119120### Step 4: Adaptive Policy Configuration1211. Create user groups (Standard, Privileged, Contractors)1222. Configure per-group authentication policies:123 - Standard: Duo Push allowed, remembered device 7 days124 - Privileged: Verified Push required, no remembered device125 - Contractors: WebAuthn required, no remembered device1263. Configure device health policies:127 - Require encrypted disk128 - Block outdated OS versions129 - Require firewall enabled1304. Set trusted network exceptions for corporate IPs131132### Step 5: Phishing-Resistant MFA Deployment1331. Enable Verified Push (requires entering 3-digit code from login screen)1342. Register WebAuthn/FIDO2 security keys for privileged users1353. Disable SMS and phone call for high-risk groups1364. Configure Duo Risk-Based Factor Selection1375. Monitor for MFA fatigue attack patterns138139### Step 6: Monitoring and Response1401. Configure Duo Admin Panel alerts1412. Set up authentication log forwarding to SIEM1423. Monitor for: MFA denial patterns, bypass usage, new device enrollments1434. Create incident response playbook for MFA compromise1445. Regular review of bypass and exception policies145146## Security Controls147| Control | NIST 800-53 | Description |148|---------|-------------|-------------|149| MFA | IA-2(1) | Multi-factor authentication for network access |150| MFA for Privileged | IA-2(2) | MFA for privileged account access |151| Replay Resistance | IA-2(8) | Replay-resistant authentication |152| Device Identification | IA-3 | Device identity and trust |153| Authenticator Management | IA-5 | MFA enrollment and lifecycle |154155## Common Pitfalls156- Not deploying phishing-resistant MFA (Verified Push/FIDO2) for privileged accounts157- Setting failmode to "safe" (allow access when Duo is down) in production158- Not disabling SMS/phone call for users with app-capable devices159- Forgetting to configure offline access for laptops160- Not monitoring for MFA fatigue/prompt bombing attacks161162## Verification163- [ ] VPN login requires Duo MFA164- [ ] RDP to servers requires Duo MFA165- [ ] SSH access requires Duo MFA166- [ ] Verified Push enabled for privileged users167- [ ] Device health policy blocks non-compliant devices168- [ ] Authentication logs forwarded to SIEM169- [ ] Bypass/emergency access procedures tested170- [ ] MFA fatigue detection alerts configured171## When NOT to Use172173- You need to implement from scratch (use implementing-* skills)174- Task is about testing the configuration (use performing-* skills)175- You need to analyze misconfigurations (use analyzing-* skills)176- Task is about building automation (use building-* skills)177- You don't have admin access to the system178- Task requires vendor professional services179180181## Red Flags182183- Performing actions without explicit written authorization from the asset owner184- Testing against production systems without a defined scope and rules of engagement185- Sharing sensitive findings or credentials in unencrypted communications186- Failing to properly scope and contain the assessment before starting187188## Process1891901. Analyze the task requirements1912. Apply domain expertise1923. Verify output quality