Stolen credentials remain risky because attackers often need only one weak link to enter an account, especially when password reuse, phishing, or malware is involved. One time codes can also be intercepted or relayed. Stronger controls bind access to a verified user, a trusted device, and possession of a registered security key or certificate.
Why stolen credentials are only the first step
Cloud account compromise usually starts with something simple, but it rarely ends there. A username and password can still open the door if the account accepts reused passwords, lacks strong phishing resistance, or allows session reuse after login. Once inside, attackers often pivot to data access, privilege escalation, mailbox rules, IAM changes, or API token creation that outlives the original login.
The same logic applies to stolen one time codes. A one time code proves that a login challenge was answered, but it does not guarantee the challenge was answered by the legitimate user in the intended context. If the code is phished, relayed in real time, or captured from a compromised device, the attacker can complete the sign in before the victim notices.
- Account takeover often succeeds because the access path is valid, not because the target is uniquely weak.
- Post-login actions matter more than the initial compromise if the attacker can mint new tokens, create persistence, or alter recovery settings.
- Strong authentication reduces risk only when it resists replay, phishing, and session hijack.
Why one time codes do not stop relay and interception attacks
One time codes are better than static passwords, but they still depend on trust in the delivery path. If the code arrives through SMS, email, or an authenticator flow that can be proxied, an attacker can capture it and immediately reuse it. That is why phishing kits increasingly focus on real time relay rather than storing the code for later use.
A stronger design binds authentication to something the attacker cannot easily forward, such as a registered security key or certificate on a trusted device. That shifts the problem from knowing a code to proving possession of a cryptographic credential in the expected context. For cloud accounts, that distinction matters because token theft or a successful relay can outlast the original MFA step.
- Code interception is most dangerous when the attacker can use the resulting session to enroll a new factor.
- Session tokens can become more valuable than the password or the code once the account is active.
- Controls that rely on a shared channel, like email or SMS, are easier to undermine than phishing resistant authenticators.
Risk and Threat Considerations
Cloud accounts are exposed when authentication proves only that a secret was known, not that the right person, on the right device, in the right session, completed the login. The highest risk appears when stolen credentials, phished one time codes, and active session hijacking combine into a single takeover path.
Failure mechanism: Attackers use reused passwords, real time phishing, or relay tooling to capture credentials or one time codes, then convert that access into persistent cloud control through token theft, recovery changes, or privilege expansion.
Impact: A single successful login can expose storage, email, infrastructure, and API access, and it can create durable compromise even after the victim changes the password.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, CIS Controls v8, NIST Zero Trust (SP 800-207) and NIST SP 800-63 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Secrets and Credential Management | Stolen credentials and codes expose secrets handling and replay resistance in cloud access. |
| NHI-03 — Authentication and MFA Resilience | One time codes can be phished or relayed, so auth strength is central here. | |
| NHI-05 — Least Privilege and Access Boundaries | Post-login blast radius determines how much cloud damage a stolen login can cause. | |
| Recommendation — Bind cloud access to phishing-resistant factors and rotate exposed secrets quickly. Use phishing-resistant MFA and step-up checks for sensitive cloud actions. Limit cloud roles so a single compromised session cannot create durable control. | ||
| NIST CSF 2.0 | PR.AA — Identity Management, Authentication, and Access Control | The question centers on why authentication alone may not protect cloud accounts. |
| Recommendation — Require stronger identity proofing, phishing-resistant MFA, and access checks for sensitive actions. | ||
| CIS Controls v8 | 6 — Access Control Management | Cloud exposure from stolen credentials is reduced by tightly managing account access and privileges. |
| Recommendation — Restrict account privileges and remove unnecessary access paths that a stolen login could abuse. | ||
| NIST Zero Trust (SP 800-207) | PL — Policy Decision and Enforcement | Cloud access should be continuously evaluated rather than trusted after one successful sign in. |
| Recommendation — Enforce continuous access decisions based on user, device, and session context. | ||
| NIST SP 800-63 | AAL — Authentication Assurance Level | One time codes provide weaker assurance than phishing-resistant authenticators for exposed cloud accounts. |
| Recommendation — Target higher assurance authenticators for accounts that can change access or hold sensitive data. | ||
Practitioner Guidance
What to verify: Treat any authentication method as incomplete unless it is resistant to phishing and replay. If your cloud provider allows conditional access, check whether the policy actually requires device binding, strong MFA, and step-up approval for sensitive actions rather than just for sign in.
Decision rule: If an account can be used to create tokens, change recovery settings, or alter access policies after login, prioritize phishing resistant authentication and post-login hardening over incremental password policy changes. The main security question is not whether the attacker can log in once, but whether that login can be turned into lasting control.
Practitioner takeaway: The control objective is to make stolen secrets insufficient on their own, so that access depends on a verifiable user, a trusted device, and an authentication factor that cannot be simply relayed.
Related resources from NHI Mgmt Group
- Why do passwords and one-time codes still leave organisations exposed to identity fraud?
- Why do passwords and SMS one-time passcodes still leave financial accounts exposed to fraud?
- Why do SMS, push notifications, and one-time passwords still leave organisations exposed to phishing?
- Why do password based controls, RBAC, and firewalls still leave organizations exposed to attacker movement?