info@remoteler.com 561.316.7343
How Remoteler Works

Audit Logging

Learn how Remoteler keeps an audit log of access events for all SSH servers, Kubernetes clusters, and web applications.

The basics

As the remoteler daemon runs on every machine in a cluster, it detects security-related events and reports them to the cluster’s auth service. Generally, there are three types of information that can be collected for audit purposes:

  1. Access events. These include security-related events that happen “on the wire,” such as login attempts, remote command execution, access denied events, session creation, termination, etc..

  2. Session recordings. When users create interactive sessions via ssh or via kubectl exec -ti, these sessions are recorded and can be replayed later via a Youtube-like web interface with features like pause, rewind, etc.

  3. Host events. This is also called enhanced session recording. When enabled, host events allow Remoteler to capture and store detailed low-level events that happen on a host during a user session, such as filesystem changes, network activity, process execution, etc. eBPF must be supported by the host kernel and BCC must be installed for this to work.

The diagram below illustrates two options (A and B) for how audit data is collected and stored:

Option A is called recording node. In this mode, each Remoteler node sends the audit information to the auth service. This is the default and recommended method.

Option B is called recording proxy. In this mode, the Remoteler Proxy service is sending the audit information to the auth service regarding all client connections.

You can read about additional considerations for picking the audit recording method in the documentation.

Audit Format

Remoteler uses two data formats for the audit information:

  1. Security events such as access events and host events are stored as structured JSON documents. Remoteler documentation better details their format. They are suitable for export and processing by external software.
  2. Recorded sessions contain the raw dump of stdout and stderr streams, including TAB characters (bash escape sequences). One can instantaneously replay a recorded session using cat command.

Recorded Sessions using

Here’s what the session replay looks like:

Audit Storage

There are several options for storing audit information:

  • Both the security events and session recordings can be stored on a file system available to the auth service. This is the simplest option.
  • Security events can be stored in a cloud database such as DynamoDB, Google Firebase, and others.
  • Session recordings can be stored in cloud blob storage such as Amazon S3.

Remoteler audit information can easily be injected into external logging and monitoring facilities such as Splunk, AlertLogic, Elasticsearch, and others.

Try Remoteler Today!