A security token is a physical device or digital object that a user presents to prove identity during authentication. A hardware token might generate a time based one time password that rolls over every thirty seconds, while a digital token such as an OAuth bearer token is a string of data that grants access to a system without asking for the password again.
The two meanings share a name and not much else. A hardware or software authenticator is “something you have,” one of the three authentication factors. A bearer token is what a system hands you after authentication succeeds, and anyone who steals it can act as you until it expires.
How do security tokens work?
One-time password tokens come in two classic forms. Synchronous tokens share a secret seed with the server and generate codes from a moving value. TOTP, defined in RFC 6238 in May 2011, uses the current time with a default 30-second step. HOTP, from RFC 4226, uses a counter that advances with each press. Asynchronous tokens use challenge and response, where the server sends a random challenge and the token computes the answer.
Cryptographic tokens go further. Smart cards such as the U.S. government’s PIV card and FIDO2 security keys hold a private key that never leaves the device. At login, the key signs a challenge from the server, and with FIDO2 the signature is bound to the website’s origin. That binding is what makes a token phishing resistant.
The value of a hardware token is possession. The user has to physically hold something, so a stolen password on its own gets an attacker nowhere. Possession alone doesn’t stop phishing, though. NIST SP 800-63B-4 states that OTP authentication is not phishing resistant, because a user can type a valid code into a fake site that relays it in real time. Only cryptographic authenticators bound to the session, like FIDO2 keys and PIV cards, earn that label.
| Token type | Example | Phishing resistant? |
|---|---|---|
| SMS code | Text message to a phone | No, and NIST restricts its use |
| OTP hardware or app | Key fob, authenticator app | No |
| Push approval | Tap “approve” on a phone | No, prone to MFA fatigue |
| Cryptographic key | FIDO2 security key, PIV smart card | Yes |
What is the difference between an authentication token and a bearer token?
Digital tokens carry a different risk. RFC 6750, published in October 2012, defines a bearer token as a security token where any party in possession of the token can use it. A leaked token in a log file or a browser’s local storage can be replayed. The RFC says token servers should issue short-lived bearer tokens, one hour or less, and must not store them in cookies that can be sent in the clear. Short lifetimes and proper storage keep that exposure small. Newer designs bind tokens to a key the client holds, so a stolen copy is useless on another machine.
What is an example of security token risk?
Say an attacker sends an employee a link to a convincing copy of the company’s sign-in page. The employee enters a password and a six-digit code from an authenticator app. The attacker’s proxy forwards both to the real site, receives the session cookie, and now holds a valid session without ever touching the token. A FIDO2 key would have refused to sign for the fake domain, and the attack would have stalled at the first step. Note that the stolen session cookie is itself a bearer token, which is why session lifetime and revocation matter even after strong login.
How is a security token tested on the CISSP?
Security tokens are part of Domain 5 (Identity and Access Management), within multi-factor authentication. The 2024 outline maps them to objective 5.2, which covers MFA, password-less authentication, and session management, and to 5.6 on implementing authentication systems. Know the token types, their strengths and weaknesses, and how they fit an identity architecture. Review Domain 5: Identity and Access Management.
A frequent trap treats an authenticator app as “something you know” because the user reads a number. It’s something you have, since the secret lives on the device. Another asks for the best protection against phishing of privileged users, and the answer is a FIDO2 or PKI-based token rather than any code a person types. For tokens issued by OAuth 2.0 and single sign-on, expect questions on lifetime, storage, and revocation. The specifications are in RFC 6238 for TOTP and RFC 6750 for bearer tokens.
Related terms: Identity and Access Management, Multi-Factor Authentication, Phishing