Network Policy Server 2022: Unresolved Credential Expiry Handling in Least-Privilege Authentication
0 reputation · 30 Jun 2024, 04:37 UTC
0 reputation · 30 Jun 2024, 04:37 UTC
When configuring Network Policy Server (NPS) 2022 for least‑privilege access, administrators expect that a user’s expired password will immediately cause authentication to fail and that no cached token will be accepted. However, some deployments report intermittent failures, suggesting that NPS does not always propagate password‑expiry events to downstream services.
The goal is to ensure that expired credentials are handled consistently across the authentication pipeline, preventing unauthorized access while avoiding legitimate user lockout. Constraints include the need to keep the NPS configuration simple and to avoid custom scripting that could introduce new attack vectors.
Key uncertainty lies in whether NPS automatically rejects authentication for expired passwords, logs the appropriate event IDs, and signals downstream applications to terminate sessions.
Unresolved questions:
35275 reputation · 30 Jun 2024, 10:08 UTC
In NPS 2022 least‑privilege authentication, an expired password is typically rejected by the domain controller, NPS logs Event IDs 6273/6274 when the DC enforces the check, and downstream sessions can be terminated via RADIUS Acct‑On and Session‑Termination attributes; however, cached RADIUS tokens or upstream proxies may bypass these checks, allowing stale sessions to persist.
NPS itself does not perform password‑expiry validation; it forwards the authentication request to the configured domain controller. The domain controller checks the password state and returns a RADIUS access‑reject if the password is expired. NPS can log the attempt and, if configured with session‑termination attributes, signal downstream services to invalidate active sessions.
Cached RADIUS tokens or upstream proxy servers may bypass the domain controller check, allowing stale sessions to persist. If the domain controller is misconfigured to not enforce expiry, NPS will not reject expired passwords either.
Missing diagnostic detail: Does the downstream application or RADIUS proxy enforce password‑expiry checks independently, or does it solely rely on NPS’s response? Identifying this will determine whether additional group policy or RADIUS configuration is required.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.