Cluster 18 · NIST Standards · AAL2 12h · AAL3 FIDO2

NIST SP 800-63B AAL2 & AAL3 Guide: Session Timeouts & Phishing-Resistant MFA

Model NIST SP 800-63B Assurance Levels (AAL1, AAL2, AAL3), enforce 12h/15m reauthentication windows, and configure phishing-resistant hardware WebAuthn policies.

OAuth 2.1 · WebAuthn · Zero Upload · Strict CSP

1. Auth Posture, NIST 800-63B & Implicit Migrator

SOC 2 CC6.1 · OAuth 2.1 PKCE
10 Authentication Posture Controls (SOC 2 CC6.1 / OAuth 2.1 / Passkeys)
OAuth 2.0 Implicit / ROPC → OAuth 2.1 PKCE S256 Migrator

Legacy Implicit Flow (response_type=token / id_token) exposes access tokens in URL fragments & browser history — deprecated in OAuth 2.1.

AuthPosture Readiness Score (SOC 2 CC6.1 / OAuth 2.1)
70 / 100 (B-)
WARN
NIST Max Idle Reauth 15 min
NIST Max Absolute TTL 12 hrs
Phishing-Resistant FIDO2 Mandatory (FIDO2)
Migrated OAuth 2.1 PKCE S256 Authorize URL
https://auth.acme.example.com/oauth2/authorize?client_id=web_oauth21_client&response_type=code&redirect_uri=https%3A%2F%2Fapp.acme.example.com%2Fauth%2Fcallback&scope=openid+profile+email+mcp%3Atools&state=csprng_256bit_opaque_state_token&code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM&code_challenge_method=S256
OAuth 2.1 Authorization Code + PKCE Verifier Exchange
# 1. User returns with ?code=AUTH_CODE&state=csprng_256bit_opaque_state_token
# 2. Exchange authorization_code + PKCE code_verifier (HTTPS POST, zero Implicit fragments):
curl -fsS -X POST "https://auth.acme.example.com/oauth2/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "grant_type=authorization_code" \
  --data-urlencode "client_id=web_oauth21_client" \
  --data-urlencode "code=AUTH_CODE" \
  --data-urlencode "redirect_uri=https://app.acme.example.com/auth/callback" \
  --data-urlencode "code_verifier=dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
SOC 2 CC6.1 AuthPosture Dossier (authposture-dossier.md)
# AuthPosture Readiness & SOC 2 CC6.1 Evidence Summary — acme.example.com
- **Score / Grade:** 70/100 (B-) · Status: WARN
- **NIST SP 800-63B Target:** NIST SP 800-63B AAL3 (Phishing-Resistant Hardware Crypto)
- **Max Reauth Windows:** Idle <= 15 min · Absolute <= 12 hours
- **OIDC Issuer:** https://auth.acme.example.com
- **Passed Controls (7/10):** OAuth 2.1 §4.1.1, OAuth 2.1 §2.1, OAuth 2.1 §2.3, OIDC Core / JWT, RFC 6265bis, COOP / CSP, SOC 2 CC6.1
- **Open Auth Gaps (4):**
  - [ ] [RFC 9728 / MCP] Published /.well-known/oauth-protected-resource + WWW-Auth (+10 pts)
  - [ ] [WebAuthn / AAL3] Passkeys (FIDO2/WebAuthn) + /.well-known/passkey-endpoints (+12 pts)
  - [ ] [DMARC / SPF] Magic-link / OTP subdomain with DMARC p=reject + SPF -all (+8 pts)
  - [ ] [NIST SP 800-63B §4.3] AAL3 target requires hardware-bound WebAuthn/FIDO2 phishing-resistant authenticators

## Live Verification & Fix Pack
- Audit live domain: https://auth.runglab.dev/?domain=acme.example.com&ref=tool-auth-hub ($39 AuthPosture Fix Pack)
- API Hub & MCP: https://hub.runglab.dev & dev.runglab/devtools (https://mcp-server.runglab.dev/mcp)
AuthPosture · OAuth 2.1 & Passkeys $39 AuthPosture Fix Pack

Verify Live OAuth 2.1, OIDC, Passkey & Cookie Posture ($39 Fix Pack)

Run an automated live authentication probe on AuthPosture (auth.runglab.dev) or integrate fleet checks via RungLab Hub API (hub.runglab.dev) and Official MCP Server dev.runglab/devtools — or ship the $39 AuthPosture Fix Pack (tailored OIDC & PKCE S256 patches, RFC 9728 MCP metadata, /.well-known/passkey-endpoints, __Host- cookie rules, COOP/CSP login headers, magic-link DMARC/SPF, and SOC 2 CC6.1 / NIST 800-63B CI gate). Prefer PayPal invoicing? Email [email protected].

Authentication Security Specification & Baseline

Control / Header Hardened Baseline Security & Compliance Rationale
AAL2 Idle / Absolute TTL <= 60 min idle / <= 12 hours max NIST SP 800-63B §4.2.3 requires periodic reauthentication at least every 12h or 1h idle
AAL3 Idle / Absolute TTL <= 15 min idle / <= 12 hours max NIST SP 800-63B §4.3.3 requires reauthentication every 12h or 15 min inactivity
AAL3 Authenticator Hardware Cryptographic (FIPS 140-3 + WebAuthn) Non-exportable private key + verifier-impersonation resistance (FIDO2 / smartcard)
Phishing Resistance Origin-Bound WebAuthn / PKI SMS OTP and standard TOTP are NOT phishing-resistant and cannot satisfy AAL3

NIST SP 800-63B AAL2 / AAL3 Session Policy JSON

nist-800-63b-session-policy.json
{
  "standard": "NIST SP 800-63B",
  "profiles": {
    "AAL2": { "maxIdleMinutes": 60, "maxSessionHours": 12, "phishingResistantRecommended": true },
    "AAL3": { "maxIdleMinutes": 15, "maxSessionHours": 12, "hardwareWebAuthnRequired": true, "fips140Level": ">=1 (Level 3 physical)" }
  }
}

AAL3 Hardware-Bound WebAuthn Request Options

aal3-webauthn-request.json
{
  "challenge": "<256bit_csprng_base64url>",
  "rpId": "acme.example.com",
  "userVerification": "required",
  "attestation": "direct",
  "authenticatorSelection": {
    "authenticatorAttachment": "cross-platform",
    "residentKey": "required",
    "userVerification": "required"
  }
}

Implementation Steps & Key Insights

  1. Select your target NIST Assurance Level (AAL1, AAL2, or AAL3) in Mode 1 above.
  2. Configure session cookie Max-Age and server-side idle timers to <= 60 min (AAL2) or <= 15 min (AAL3) with <= 12h absolute reauth.
  3. For AAL3 admin and regulated workloads, enforce hardware-bound WebAuthn security keys and disable SMS/TOTP fallback.
  4. Verify live session TTLs, cookie flags, and passkey discovery on https://auth.runglab.dev.
  • NIST SP 800-63B explicitly separates session lifetime from browser cookie persistence — a 30-day JWT violates AAL2 even if an MFA prompt occurred on day 1.
  • Passkeys synced across consumer devices qualify cleanly for AAL2 phishing-resistant MFA, while hardware-bound FIDO2 keys cover AAL3.

Common OAuth, Passkey & Cookie Pitfalls

  • Allowing 30-day 'Remember Me' bypasses on AAL2/AAL3 privileged dashboards.
  • Claiming AAL3 compliance while still accepting TOTP 6-digit codes or SMS fallback.
Verify Live: Audit your live domain at auth.runglab.dev ($39 AuthPosture Fix Pack), automate via hub.runglab.dev, or connect Official MCP Server dev.runglab/devtools.

More OAuth 2.1, Passkey & Session Security Tools

← Back to AuthPosture Hub · AuthPosture ($39 Fix Pack) → · hub.runglab.dev → · dev.runglab/devtools →

Frequently Asked Questions

Do synced cloud passkeys satisfy NIST AAL2 or AAL3?

Synced passkeys satisfy AAL2 (phishing-resistant MFA), whereas AAL3 requires a hardware-bound cryptographic authenticator whose key is non-exportable and FIPS 140 validated.

Can SMS OTP ever qualify for NIST AAL3?

No. SMS OTP is explicitly excluded from AAL3 due to SIM-swap and signaling interception risks, and is restricted even under AAL2.

Where can I generate a full AuthPosture report mapped to NIST 800-63B?

Visit https://auth.runglab.dev ($39 AuthPosture Fix Pack) or use RungLab's APIs at https://hub.runglab.dev and dev.runglab/devtools.