Glossary

Session recording

Also called privileged session recording, session audit, session monitoring, privileged session management

Session recording is the capture of everything that happens during a privileged session, such as keystrokes, commands, queries, screen activity and API calls, in a tamper-evident form that can be searched, replayed and used as audit evidence.

Rudratic glossary

Session recording answers the question an access log cannot: what did the administrator actually do once connected? Instead of a single “connected at 14:02” line, the recording keeps each command, query, window and API call in order, so a reviewer can replay the session, search across many sessions, or hand an auditor a verifiable record. Live monitoring adds the option to step in while the session is still running.

How it works

  1. Broker. The session passes through a proxy or gateway that sits between the user and the target, so it can be recorded without software on the target.
  2. Capture. The proxy records the protocol stream: SSH keystrokes and output, RDP screens and actions, SQL statements, or cloud console and API activity.
  3. Index. Commands and events are extracted so sessions can be searched by user, target, command or time.
  4. Protect. Each recording is hashed or chained and stored where it cannot be overwritten. The OWASP Logging Cheat Sheet advises building in tamper detection, copying logs to read-only media quickly, and keeping secrets such as passwords, access tokens and session IDs out of logs.
  5. Review. Security teams replay, export or watch sessions live, and can end a risky one.

Why it matters

Privileged sessions are where configuration changes, data exports and mistakes happen. NIST SP 800-53 Rev. 5 control AU-14, Session Audit, calls for the capability to record, view or log the content of a user session, and enhancement AU-14(3) adds remote viewing and listening in real time. Recordings also make just-in-time access easier to approve, because the approver knows the session will be on record. Cloud identity services take a similar line for role activation: Microsoft Privileged Identity Management lets administrators download audit history for internal or external audit.

Session recording vs activity logging

Session recording Activity or audit logging
Granularity Every command, screen or call in a session Discrete events such as sign-ins or changes
Replay Yes No
Typical source PAM proxy or gateway Operating system, database or cloud audit trail
Related term PAM DAM

Examples

  • A reviewer replays a contractor’s RDP session to confirm which registry keys were changed.
  • An incident team searches all SSH sessions last week for a specific curl command.
  • An auditor verifies the hash chain of a quarter’s database sessions before sampling them.

How SWOT supports it

SWOT PAM records SSH, RDP and database sessions at the proxy; each recording carries its own SHA-256 hash, audit events are hash-chained, and recordings can be stored in S3 or MinIO with Object Lock. PAMGuard can freeze or end a risky session while it is live. SWOT Cloud PAM puts console screens and API calls on one scrubber, verifies the chain on load and keeps secrets redacted. See session monitoring.

Questions

Is session recording a legal or privacy concern?
It can be. Recording captures what administrators type and see, which may include personal data. NIST SP 800-53 control AU-14 asks organisations to develop session auditing in consultation with legal counsel and in line with applicable laws and policies. Tell users that privileged sessions are recorded, limit who can replay them, and redact secrets.
How do you prove a recording has not been edited?
Use tamper evidence. Common methods are hashing each recording, chaining event hashes so that changing one breaks every later hash, signing checkpoints with a key the user never holds, and storing recordings on write-once storage such as object lock. An auditor can then verify the chain instead of trusting the system's word.

In SWOT

Sources

  1. NIST SP 800-53 Rev. 5: Security and Privacy Controls for Information Systems and Organizations
  2. OWASP Cheat Sheet Series: Logging Cheat Sheet
  3. Microsoft Learn: What is Privileged Identity Management?

Related terms