Cyber Crucible logocybercrucible
Back to Intelligence Hub
White paperIdentity Protection4 min read
Part 1 of 2 · Defending the New Digital Identity

The New Digital Identity: Tokens, Keys and Wallets on the Endpoint

An attacker who steals an active token instantly bypasses every defensive measure deployed at the initial login stage.

Dennis Underwood
Founder & CEO ·
Download the white paper (PDF)

Executive summary

The fundamental nature of online identity has changed. It is no longer a simple username and password. Modern digital identity is a constellation of cryptographically secured objects—keys, tokens, and credentials—stored directly on endpoints, representing a persistent and highly-privileged access to the entire enterprise ecosystem.

The Evolution of Online Identity

Tokens: The New Digital Passport

Legacy authentication methods, such as Basic Auth, required a user to send their actual username and password across the network for every single request. This practice significantly increased the risk of credentials being intercepted. OAuth (Open Authorization), the de facto standard, revolutionized this by introducing tokens.

The modern web application environment is powered by this token-based authorization. When a user first logs into a web application, their credentials are exchanged for an access token and often a refresh token.

  • The access token is a unique, short-lived string of characters that acts as a digital passport, granting the client application permission to access specific resources on the user's behalf.
  • The refresh token is a longer-lived secret used to obtain a new access token once the current one expires, ensuring continuous, seamless access without requiring the user to re-authenticate repeatedly.

These tokens, which effectively bypass the password for day-to-day operations, are stored in local databases and files on the user's machine by browsers, email clients, and desktop applications. Regardless of whether Multi-Factor Authentication (MFA) or biometrics are used for the initial login, the underlying communication method after that point is managed by these session tokens and refresh tokens. An attacker who steals an active token instantly bypasses every defensive measure deployed at the initial login stage.

Figure 1. Credentials are exchanged once at login; from then on the tokens stored on the endpoint carry the session, and a stolen token skips the login stage

An attacker who steals an active token instantly bypasses every defensive measure deployed at the initial login stage.

The Keys to the Kingdom: API, Private, and VPN Keys

Beyond OAuth tokens, critical access is encapsulated in other cryptographic assets residing on the endpoint:

  • API Keys are unique codes that identify an application's requests to a service's API, acting like a specialized digital keycard that grants programmatic access to features or data. Exposure of an API key allows an attacker to make requests on the company's behalf, leading to unexpected charges, data compromise, and service interruption.
  • Private Keys are essential in asymmetric cryptography, providing the ability to decrypt data or sign requests. They are the ultimate secret and are used to establish encrypted connections, such as those used in a Virtual Private Network (VPN). Stealing a VPN private key grants an attacker the ability to log in as an authorized user, bypassing the network perimeter and gaining access to internal resources.

Cryptowallets: Financial Identity on the Endpoint

Cryptocurrency wallets that exist as applications on user machines are essentially the user's financial identity in the digital economy. A wallet doesn't physically hold the cryptocurrency; it securely stores the private keys used to authorize and sign transactions on the blockchain. The theft of these private keys is equivalent to having a physical safe's combination, allowing the attacker to empty the associated digital assets, which can represent significant corporate or personal funds.

The Vulnerability: When Keys and Tokens are Stolen

The theft of API keys, private keys, session tokens, and refresh tokens is the central vulnerability in the modern enterprise. While passwords still pose a risk, they are a one-time gate. In automated attacks, keys and tokens are the preferred target because they offer persistent, undetectable access. An attacker with a stolen, valid session token or VPN key is indistinguishable from an authorized user, rendering most boundary-based defenses obsolete. This stolen identity data provides a “legitimate” backdoor to the network that security teams struggle to detect for months.

Figure 2. What each stolen key or token gives an attacker

An attacker with a stolen, valid session token or VPN key is indistinguishable from an authorized user, rendering most boundary-based defenses obsolete.

White paper
The New Digital Identity: Tokens, Keys and Wallets on the Endpoint
Download the white paper (PDF)

See It Stopped in Real Time.

Schedule a live technical demo and watch an in-memory attack neutralized at the kernel.

More Research