Sari la conținut

Session recordings

Session recording (video, keystrokes, metadata) is a central function of CyberElements. Recordings are sensitive data on three counts:

  • they may contain confidential information displayed on screen or secrets typed during sessions;
  • they hold personal data within the meaning of the GDPR;
  • they may carry evidential value in the event of an incident.

This chapter gathers the hardening recommendations specific to them.

Information

ANSSI-BP-028 v2.0 reference: no recommendation is devoted to session recordings; the principles for protecting logs (R71, R72) and for logging architecture (PA-012) apply by analogy.

The settings referred to in this chapter are configured in the administration console; each recommendation links to the page that describes them.

Summary

# Recommendation Edge Gateway
R74 Dedicated storage and monitoring of recording space
R75 Restriction of access to recordings
R76 Retention and purging of recordings
R77 Logging of video events
R78 Password rotation after a recorded session
R79 Hardening of the external database

R74. Dedicated storage and monitoring of recording space

Applies to: Edge Gateway

Bulky by nature, recordings can fill up a file system. They should be stored on a dedicated partition:

  • mounted with the nosuid,nodev,noexec options, consistent with the partitioning of R3;
  • sized according to the number of simultaneous sessions, their average duration and the retention policy (R76);
  • and whose free space is monitored with alert thresholds.

Warning!

The exact storage location of recordings and the behaviour of the product when the volume fills up (new sessions refused, blocking, overwriting) must be confirmed with Systancia before sizing and alert thresholds are fixed.

R75. Restriction of access to recordings

Applies to: Edge Gateway

Only the product's service accounts (ipdivacarerecord, group carerecord, see R48) should be able to access recordings at file system level.

No direct viewing should take place on the server: playback happens exclusively through the administration console, which applies the configured rights and records who viewed what.

Information

In a virtualised environment, recordings ultimately live on the hypervisor's datastore: the measures for compartmentalising and protecting access to storage therefore matter all the more.

R76. Retention and purging of recordings

Applies to: administration console

As recordings hold personal data, their retention period must be limited, documented and consistent with the organisation's policy (GDPR proportionality). Purging must be effective and verified.

The retention period of a video is a setting of the recorded object (the application, or the machine for a direct recording); it is fixed when the session opens, and each recording shows its automatic deletion date in the archives. Purging the platform's log, a separate matter, is set in Cleanup platform log data. Check periodically that purging does run (how the occupied space evolves, the dates of the oldest recordings).

R77. Logging of video events

Applies to: administration console

The "Send video events to syslog" option (general options) emits the events linked to recorded sessions to syslog.

These events complete the logging and centralisation chain described in Centralised logging and feed correlation in the SIEM: start and end of a recorded session, viewing. This option is recommended wherever centralisation is in place.

R78. Password rotation after a recorded session

Applies to: administration console

The password vault can trigger rotation of the secret used at the end of any recorded session (option of the vault in the general options), which narrows the window in which a secret potentially exposed during the session can be used.

Warning!

Classified to be validated: this option assumes that rotation rights exist on the target accounts and that the applications tolerate the change; test it on a restricted scope before generalising (see Classification of recommendations).

R79. Hardening of the external database

Applies to: Edge Gateway

Where an external database is used:

  • the network flows towards that database must be strictly limited (see Local firewall);
  • the connection account must be a dedicated service account with minimal rights;
  • the flow must be encrypted if the network it crosses is not under control;
  • and the database must be included in the backup policy.

Warning!

Classified to be validated: an architecture specific to each deployment; flows, accounts and encryption to be defined with Systancia (see Classification of recommendations).