Skip to main content

What is Identity?

Status: Scaffold — content in progress

Identity in security context is the set of attributes that uniquely identifies a principal (user, service, device, or workload) within a system and governs what that principal is allowed to do.

Core Concepts

Principal

Any entity that can be authenticated and assigned permissions: human user, service account, machine account, managed identity, API key holder, or workload identity.

Authentication vs Authorization

ConceptQuestionExamples
Authentication (AuthN)Who are you?Password, Kerberos ticket, OAuth token, certificate, MFA
Authorization (AuthZ)What are you allowed to do?ACL, RBAC role, IAM policy, Group Policy

Authentication proves identity. Authorization decides what the authenticated identity can access. These are separate steps and separate attack surfaces.

Credentials

The evidence a principal presents to prove identity:

  • Something you know: password, PIN, secret key
  • Something you have: hardware token, smart card, one-time code
  • Something you are: biometric
  • Context-based: IP, device posture, time, location

Identity Lifecycle

Provisioning → Authentication → Authorization → Session management → De-provisioning

Each lifecycle stage is an attack surface.

Identity Types in Enterprise

TypeExamplesRisk Profile
Human usersEmployee accounts, contractorsPhishing, credential theft
Service accountsApplication service accountsOften over-privileged, rarely rotated
Machine accountsComputer objects in ADPass-the-Hash, unconstrained delegation
Managed identitiesAzure Managed Identity, AWS IAM rolesSSRF → IMDS token theft
Federated identitiesSSO via SAML/OIDCToken forgery, session hijacking
Non-human identitiesAPI keys, CI/CD tokens, PATsSecret sprawl, insufficient rotation

What Makes Identity Attacks Powerful

  1. Legitimate tool use: Stolen credentials authenticate via normal channels — no malware payload needed
  2. Broad access: A privileged identity gives access to everything that identity can reach
  3. Hard to detect: Authenticated access looks like normal user behavior
  4. Long dwell time: Identity-based persistence (backdoor accounts, added credentials) can survive months
TopicLink
Identity as Perimeteridentity-as-perimeter.md
What is ITDR?what-is-itdr.md
Active DirectoryAD Overview
Attack Surfaceidentity-attack-surface.md