CyberKit

Access Token

Also called Security Token, Token Object.

The kernel object holding a process's identity and privileges.

What it is

A kernel object attached to a process or thread that carries the security identifiers, group memberships, and privileges defining what it may do. Threads can also carry an impersonation token reflecting another identity.

Why it matters

Examining tokens in memory reveals the effective rights a process was running with and uncovers privilege escalation or token theft, where a thread impersonates a more powerful account. Anomalous privileges or a mismatched impersonation token are strong indicators of abuse.

In practice

Finding a normally low-privileged service thread carrying an impersonation token for a domain administrator, evidence of token theft in progress.

What to look for

  • Processes running as SYSTEM that should run as a user.
  • Privileges such as SeDebugPrivilege enabled unexpectedly.
  • Tokens duplicated from another process.

Common mistake

Checking the user name only. Privileges and integrity level tell you what the process could do.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Volatility 3 Open source

    A widely used open source framework for analyzing memory images with plugins. Our notes.

  • Velociraptor Open source

    Can collect memory and query live process memory across many hosts. Our notes.

  • CrowdStrike Falcon Commercial

    EDR agents watch memory activity on the host, such as injection and unbacked code.

Read next

  • EPROCESS: The kernel structure describing a running Windows process.
  • Handle Table: A process's table of open references to kernel objects.
  • Kernel Object: Kernel-managed structures like processes, files, and events.

Sources