Reach the main text directly
HelpdeskDen

2 hardware places NIST names for non-exportable keys

By
HelpdeskDen Editorial Team
Posted
Sources checked
Length
12 min read

For non-exportable keys usable at AAL3 or below, NIST names two hardware places to store them: an isolated, hardware-protected environment, or a separate processor. This post explains what it means for the phones and laptops your staff use to sign in, and how to check them.

Key takeaways

  • Ask each vendor where the sign-in key is created, and whether it can leave the device.
  • On iPhone, look for the Secure Enclave. On Android, look for a Secure Element or a Trusted Execution Environment.
  • For laptops, ask whether the device has a separate security processor or a hardware-protected area for keys.
  • Keep a second, tested way to sign in, so a lost phone does not lock someone out.
  • Get the answers in writing, and recheck whenever a device changes.

Why the place a key lives matters

A password is something a person types, so it can be typed into the wrong place or handed over to an attacker. A cryptographic key works differently. The device proves that it holds the key without handing the key over. That protection only holds if the key stays on the device. If someone can copy the key off, the device is no longer the thing that proves who is signing in.

Passwords still have a place, and the same guidance is fairly generous about them. It says that verifiers and credential service providers "SHOULD accept all printing ASCII [RFC20] characters and the space character in passwords," and that they "SHOULD accept Unicode [ISO/ISC 10646] characters in passwords." In plain terms, a password policy should not reject a space or a letter from another alphabet.

You do not need to read the whole standard to make good decisions. You need the part that says where non-exportable keys must be stored. That guidance is in NIST Special Publication 800-63B, and this post walks through it in plain words.

If you are one person running IT for a small office, you probably pick the devices, the sign-in apps, and the rules that go with them. The rule applies to the devices your staff use to sign in, which is the part you control. You cannot change how a sign-in service stores its own secrets, but you can choose the phones and laptops, and the apps on them. That is where this post focuses.

The two hardware places NIST names

The requirement says that non-exportable authentication keys usable at AAL3 or below "SHALL be stored in an isolated execution environment that is protected by hardware or in a separate processor with a controlled interface to the central processing unit of the user endpoint." That is the sentence the title refers to, and it is on the NIST page. For the wider AAL3 rules, see AAL3 authenticator requirements: 3 checks for offices.

The main sentence names two options:

  1. An isolated execution environment protected by hardware. This is a walled-off area that ordinary apps and the operating system are not supposed to read.
  2. A second processor. This sits apart from the main processor and connects to it only through a controlled gateway.

Both options aim at the same result. The private key lives where the rest of the device cannot simply read it. The "endpoint" is the phone or laptop the person signs in from, so the rule is about those devices, not about your office server or the website.

You do not need to know how these parts are built to use this rule. You need to know which devices have one, and whether the vendor says so in writing.

What "non-exportable" protects against

If a key can be copied, it can be moved to another machine. Whoever has the copy can then sign in as the staff member without holding the phone or laptop. A non-exportable key removes that route. An attacker who wants to use the key has to work with the device itself, and that device is still behind its own lock.

Here is a simple way to picture it. A copied password is like a key that someone can photograph and reproduce. A non-exportable key is closer to a key that never leaves the lock it opens.

This does not make a device unbreakable, and no sign-in method removes every risk. What it does is move the attack from "copy a file" to "get hold of this specific device." That is a harder job, and it is the job you want to make hard.

Phones: what Microsoft's Authenticator page says

Microsoft documents how its Authenticator app creates passkeys. The Microsoft Learn page covers this.

The page says that "on an iOS device, Authenticator uses the Secure Enclave to create the passkey." For Android it says: "On Android, we create the passkey in the Secure Element on devices that support it, or fall back to the Trusted Execution Environment (TEE)."

Treat the names as a starting point, and confirm with the vendor.

For your phones, this means:

  • iPhones: The Authenticator app uses the Secure Enclave on iOS. If your staff use that app on iPhones, the Secure Enclave is the named hardware to look for.
  • Android phones: The Secure Element is used on devices that support it. If a phone does not, the app falls back to the Trusted Execution Environment. Phone choice matters here. Check the spec sheet, or ask the maker, whether the model has a Secure Element before you buy a batch.
  • Mixed fleets: You may end up with both. Know which phones fall back, so you can plan for them.

The same test applies to any sign-in app. Find the page that says where the key is created, read the sentence, and check whether it names one of the places described above. If it does not, you have a question to ask, not an answer to trust. For more phone checks, see Authenticator FIPS versions: 6 staff phone checks.

Laptops

This section is general advice rather than a rule. Some laptops have protected key storage, and the names and features vary by maker.

Ask the laptop vendor two questions. First, does the device have a separate security processor, or a hardware-protected area for keys? Second, does the sign-in software you plan to use actually store its key there? A device can have the hardware while your sign-in software does not use it. If the answers are vague, treat the device as unverified.

When you buy a new laptop, put these questions on the purchase checklist before you choose a model. Ask the seller or the maker to point to the page that answers them. If the feature is hard to find in the documentation, choose another model. You will need those steps when a device is lost or replaced.

Walking through one staff member

Take a typical case: a staff member who signs in from an iPhone and a laptop. Work through it in order.

Start with the phone. Find out which app creates the sign-in key, then check the named hardware for that phone.

Next, the laptop. Its sign-in key is a separate question, so look up the laptop maker's security documentation and ask the two questions from the section above. If the answer is unclear, decide whether that device is acceptable for the work it does. If it is not, change the sign-in method or the device.

Then the backup. Make sure the staff member has a second, tested way to sign in if the phone is lost or broken. Put the steps on one page, and test them once on a quiet day, before anyone needs them.

Last, the record. Note the person, the phone model, the app, the laptop model, and the date you checked. You will need this list when a device is replaced. For a fuller list of device facts, see Laptop inventory: 5 OS version facts for each device.

The office manager's own devices count too. If you sign in to the admin tools from your own phone, the same checks apply to you.

Illustrative example: 20 staff, 2 Android phones

Take a small office with 20 staff, each signing in from a phone and a laptop. Two staff carry Android phones and the rest carry iPhones. Check the iPhones first, and confirm that each iPhone's sign-in app uses the Secure Enclave. For the 2 Android phones, check each model for a Secure Element, and note any that would fall back to the Trusted Execution Environment. Then ask each laptop vendor the two laptop questions. Keep one line per person, and recheck it when a device changes.

A strength minimum to ask about

NIST also sets a minimum for the key itself.

You do not need to check the math. When a vendor says its sign-in keys are strong, ask whether they meet that minimum. The guidance points to the latest revision of SP 800-131A for the figure, and gives 112 bits as of that publication.

A note on challenge responses

Some sign-in methods use a challenge. The service sends a random value, and the device answers it using the key. NIST's guidance sets rules for that random value too. The challenge nonce "SHALL be at least 64 bits in length and SHALL either be unique over the authenticator's lifetime or statistically unique." You can read the full sentence on the NIST page.

You will not need to test this yourself. It is a useful question for a vendor: do you meet NIST's rules for the challenge value? A vendor who knows the answer can usually say so quickly. A vendor who does not may need a second look.

How to read a vendor's answer

Vendors often answer with words like "secure," "encrypted," or "enterprise-grade." Those words do not answer the question. The question is where the private key is created, and whether it can leave the device. Encryption protects data, but on its own it does not say where a sign-in key lives.

A useful answer names something concrete: an isolated area of the device protected by hardware, a separate security processor, or a named component such as the Secure Enclave or a Secure Element. It also says whether the key can be copied or backed up.

Ask about the connection as well. A vendor who can say that the sign-in uses client-authenticated TLS is giving you a concrete answer.

A weak answer names no component, uses only marketing words, or cannot say whether the key can be copied. When you get a weak answer, ask once more, and ask in writing.

Use the same questions for every vendor. That keeps comparisons fair, and it stops a good sales demo from doing the arguing for you.

Rolling out a change

Changing sign-in methods touches every staff member, so treat it as a small project. Start with two or three people who are comfortable with technology, and use them to find the steps that confuse others. Keep the old method working until the new one has worked for everyone who needs it.

Write a one-page guide with screenshots taken from the devices your staff actually use. Tell people what the new prompt will look like, and what to do if they are stuck. Make yourself the single contact for problems, and fix the guide each time someone gets stuck.

Pick a quiet time to switch, not the day before a deadline. People who are rushed make mistakes, and a lockout during a busy week is hard to fix.

Common mistakes

  • Treating all phones as the same. Two phones from the same brand can differ by model. Check each model you buy.
  • Assuming the app name tells you the hardware. The name of an app says nothing about where its key is stored. Read the documentation.
  • Confusing a password manager with hardware key storage. A password manager stores passwords. Whether it protects sign-in keys in hardware is a separate question.
  • Forgetting tablets and spare phones. Include every device that can sign in, not only the main ones.
  • Skipping the backup method. Lost and broken phones happen. Plan for them before they happen.

A plain-words script for staff

Staff do not need the NIST text. They need to know three things: what to do, what not to do, and who to call. A short script helps.

Tell them that their sign-in key stays on their phone or laptop, and that it is not meant to be copied or sent anywhere. Tell them never to approve a sign-in prompt they did not start, and to report one they did not expect. Tell them what to do if a phone is lost: call you, and use the backup method you set up for them.

Keep the script short enough to read in one minute, and print it for the desk drawer.

Checklist

  1. List your sign-in methods and devices. Include every phone, tablet, and laptop type your staff use.
  2. Ask where each private key is created and stored. Accept answers that name a hardware-protected area or a separate security processor. Vague answers are a warning sign.
  3. Look for the named hardware. On iPhone, look for the Secure Enclave. On Android, look for a Secure Element, and note when a phone falls back to a Trusted Execution Environment.
  4. Ask whether the key can leave the device. Some methods may copy keys to other devices or to an account in the cloud. A key that is copied is not the non-exportable kind NIST describes.
  5. Plan for lost phones. Keep a second, tested way to sign in or recover an account, so one lost phone does not lock someone out.
  6. Ask in writing. Get the vendor's answers in writing, so you can point to them later.
  7. Recheck when you change devices. New phones and laptops need the same questions.

What this post does not cover

This post covers one part of NIST's guidance. The same standard has many other sections, including ones about passwords and challenge handling beyond what is shown here, and this post does not discuss them. Read the full section on the NIST page before you rely on any of it in a policy.

Also, this is general information, not legal or compliance advice. If a contract, regulator, or insurer asks for specific sign-in methods, get an answer from the person who owns that rule, such as a lawyer or an auditor.

Your next step today

Today, list every phone, tablet and laptop your staff use to sign in, and note the sign-in app on each. Then check the first device on that list against the steps above. This needs no signup and no purchase.

Related guides: Dynamics 365 session timeout: 4 checks for sign-in · Keeper SSO signature algorithms for 2 key types · New staff sign-in: 4 limits to check before onboarding.

Frequently asked questions

Does this rule apply to passwords?

No. The storage rule covers non-exportable keys, while the same NIST guidance also covers passwords.

Which phones have a Secure Element?

Only some do, so check each model. Check the spec sheet, or ask the maker, before you buy a batch.

What if a laptop vendor cannot answer?

Treat the device as unverified. Ask again in writing, and if the answer stays vague, choose another model.

Sources