MYTHOSAI

Identity & access labs / GUIDED EXERCISE

Compare passkey and password phishing resistance

A fictitious service offers a password field and an origin-bound passkey sign-in option.

Before you start

No paid tools required. Use this guide with sample data, paper, or an explicitly authorised test environment. Keep a copy of any original configuration and obtain approval before changes.

A scenario worth testing

A fictitious service offers a password field and an origin-bound passkey sign-in option. This scenario is an invented teaching example, not a description of an actual breach or test of a named organisation.

NIST SP 800-63-4 distinguishes authentication assurance and authenticator properties, including phishing resistance. In this guide, the purpose is to evaluate a specific decision and its evidence. It does not follow that the scenario is likely in every environment, or that any untested product is vulnerable.

Red team perspective: define the risk

Question to test. An impostor site can ask someone to type a password; what changes when the sign-in uses a cryptographic credential bound to the legitimate service?

Blue team perspective: define the boundary

Defensive decision. Explain origin binding, device protection and separate recovery routes before recommending a migration.

Safe experiment: make the question measurable

Scope: synthetic records or an explicitly authorised, disposable test environment only. No customer records, live exploit payloads or third-party probing.

  1. State the decision. Describe the asset, who should be authorised, and which fact would refute the initial hypothesis.
  2. Create a safe fixture. Construct the example. Draw two login sequences using invented domains example.test and login.example.test; mark where a reusable secret is typed and where the device signs a challenge.
  3. Evaluate three cases. Use the fictional cases below; identify the permitted case, an adverse case and a plausible exception. Record what evidence distinguishes them.
  4. Write an outcome. Decide whether to allow, deny, escalate or ask for more information. Record the policy owner and one measurable follow-up. Never equate a planned test with a completed live test.

Worked example and expected observations

Illustrative result, not a measured finding: A flowchart showing which step exposes a reusable credential and which requires a legitimate relying party.

Three synthetic cases to classify — examples, not observed incidents
CaseFictional inputDecision to justify
Expected activityPasskey signs a challenge for the correct relying-party originExplain the precise reason it is permitted or expected.
Boundary challengeInvented lookalike origin requests a reusable account passwordIdentify the policy, detection or approval that should respond.
Lookalike or exceptionAccount recovery still accepts an older authenticatorIdentify the missing context before making an accusation.

Interpret this example

Start with the expected case: passkey signs a challenge for the correct relying-party origin. Compare the relevant boundary with the adverse case: invented lookalike origin requests a reusable account password. The distinction depends on Origin, authentication method, recovery route, and actual verification outcome, not the alarming appearance of an isolated event.

The third case deliberately resists a snap conclusion: account recovery still accepts an older authenticator. Record which additional fact would change the decision. Compare the authenticated identity with the specific resource and authorised action. A successful single sign-on does not itself grant permission to every application object.

Download the three-case CSV exercise (illustrative inputs, not collected production evidence).

Evaluate evidence and failure modes

False confidence to avoid: Passkeys are not a universal answer to stolen unlocked devices, account recovery compromise or consent scams. Identity interfaces, conditional-access features and log fields differ by provider and subscription.

An authenticated identity does not automatically have permission for every resource. Recovery and account lifecycle remain separate security boundaries. When a log source is missing or a sample is ambiguous, mark the conclusion unverified rather than estimating a success rate from fictional data.

Decide what to improve

Recommended next action: Document both the stronger normal sign-in path and the remaining recovery risks. Keep both the identity-provider record and the relying application record when tracing a change.

  • Which exact asset and named owner does this decision concern?
  • Would your evidence include Origin, authentication method, recovery route, and actual verification outcome?
  • Does the adverse case need blocking, investigation or both?
  • What one controlled follow-up would distinguish the lookalike case from abuse?

Official references and limitations

Primary references explain the underlying control or framework; they do not validate the fictional cases above.

Try the related offline practice workbook, with runnable Python standard-library examples and marked limitations.