Direct access¶
Direct access lets a user reach a machine with the client they already use (an RDP client, an SSH client) without opening the CyberElements Bastion user portal. The session is still recorded: that is the purpose of the feature. The eight screens in this group delimit what can be recorded, by whom, and through which Edge Gateway.
Principle of direct access¶
Direct access does without the portal, not without the platform. Three consequences follow, to be taken into account before any configuration:
- The user picks nothing from a list: they type a connection string into their client, and that string is the only information the platform gets.
- The configuration replaces the portal: what the portal used to decide at display time (who sees what, and from where) is decided here, in advance.
- Nothing is offered that has not been declared: a machine unknown to these screens is either refused or reached without being recorded, depending on the chain in use.
Direct access chains¶
The eight screens do not describe one mechanism but three, which share neither their objects, nor their prerequisites, nor their semantics.
| Chain | What the user types | User credentials | What the configuration decides | What delimits it |
|---|---|---|---|---|
| through the agent, RDP | nothing special: their usual RDP session | those of the machine: the platform is not involved | whether the session is recorded | sites |
| by machine, agentless RDP or SSH | a login, a colon, the machine, on an Edge Gateway service | those of the machine, which remains the sole judge | whether the connection is possible | Edge Gateways |
| by application, agentless RDP, VNC or SSH | their domain login, then the application | their CyberElements Bastion account, in an authentication domain (or a direct access token, for RDP and VNC) | whether the connection is allowed, and for which applications | sites |
Role of the agent chain
The agent chain allows nothing: it records. This difference is not shown on screen. In the agent chain the RDP session takes place regardless: the machine is reachable, the user connects to it, the platform is not on the path. The agent installed on the target queries the Mediation Controller when the session opens; if a direct recording configuration brings together that machine and one of the user's groups, the answer is "record", otherwise the session runs without being recorded. There is no refusal and no message: removing a machine from a configuration does not cut the access, it removes the recording.
In the other two chains the Edge Gateway is on the path: what is not declared cannot be reached, and what can be reached is recorded.
Prerequisites by chain¶
- The machine is declared in Machines management, in agent mode, with the common name of its certificate.
- The recording agent is deployed on the machine, from this screen or otherwise.
- A direct recording configuration brings together user groups, sites and that machine.
This is the only chain able to raise alerts and to filter the network connections opened from inside the session.
- The target is declared: in Machines management, in agentless mode, for RDP; in SSH servers for SSH.
- The direct recording service is in place on the Edge Gateways concerned: a dedicated xrdp instance for RDP, a recording service instance for SSH.
- A configuration (agentless direct RDP or SSH direct recording) associates those Edge Gateways with those machines.
No authentication domain is involved: the login typed before the colon is passed on to the machine as is, and the machine remains the sole judge of the credentials. The platform only arbitrates the gateway and machine pair.
- The application exists, in a compatible type (RDS in agentless mode or VNC for RDP, SSH for SSH), and it is privileged.
- The direct recording service is in place on the Edge Gateways concerned.
- A contract (agentless RDP or SSH recording) brings together groups, sites and those applications.
This is the only chain in which the user authenticates against an authentication domain, hence the only one in which the platform knows who is connecting. It is also the only one that brings the application's own settings to the session: SSO, password vault aliases, dynamic target, mandatory comment.
Sites and Edge Gateways by chain
Configurations by machine name Edge Gateways, explicitly. The agent configurations and the contracts name sites, and the match is made at connection time: the Edge Gateway the user arrives through must belong to one of the selected sites. A contract whose sites do not contain that gateway allows nothing, and nothing reports it.
Multi-factor authentication¶
A native client (RDP, SSH) can only present a login and a password: not all of the platform's second factors apply to direct access.
| Chain | Platform second factor |
|---|---|
| Per agent (RDP) | none: the platform does not authenticate the user, the machine remains sole judge |
| Per machine (RDP, SSH) | none: the login and password are those of the machine |
| Per application, RDP and VNC | the domain one-time code (OTP), asked for in a window opened inside the session after the password, or after the direct access token |
| Per application, SSH | the domain one-time code (OTP), asked for in the terminal after the password |
When the domain has several code generators, the user chooses theirs before typing the code.
Factors not supported in direct access
- FIDO2 security keys (WebAuthn);
- SAML domains, whose authentication goes through a browser;
- certificate domains;
- a second one-time code (RADIUS server challenge).
A user subject to one of these factors cannot connect through per-application direct access: their access goes through the user portal.
Traceability and control¶
A direct access is an access without the portal. Direct access contracts are built on the same foundation as access contracts, in a reduced form:
- No access conditions. No workstation compliance rule (antivirus, firewall, operating system, certificate) is evaluated. The notion does not exist on these contracts.
- No restricted applications and no workflow. A direct access is either allowed or it is not; there is neither an access request nor a temporary authorisation granted by a workflow.
- No alerts outside the agent chain. Configurations by machine and contracts carry none.
- The list of users without recording only applies to the chain by application. In the other two, recording cannot be waived per user.
Choice of chain
The agent chain is the only one that sees what happens inside the machine, and the only one that can raise an alert or cut a network flow, but it stops nobody from connecting. The chains by machine and by application are the only ones that condition the access, but their traceability stops at what transits. The two combine on a single machine: agent mode and agentless mode can both be enabled.
Screens in the group¶
| Screen | Chain |
|---|---|
| Machines management | the RDP targets, shared by both RDP chains |
| Direct recording configurations | the agent chain |
| Direct recording configurations (no agent) | the RDP chain by machine |
| RDP without agent record contracts | the RDP and VNC chain by application |
| Direct access tokens | the RDP and VNC chain by application |
| SSH servers | the SSH chain by machine |
| SSH direct recording configurations | the SSH chain by machine |
| SSH record contracts | the SSH chain by application |
Limits¶
- None of these chains goes through the user portal: what is set there (access conditions, workflows, restricted applications) has no effect.
- SAML domains are excluded from both chains by application: they require identifier and password authentication.
- The Edge Gateway direct recording services are not enabled by default, and a configuration declared without them has no effect.
- No configuration and no contract in this group protects itself from deletion: deletion stops the recording or the authorisation, with no warning beyond the confirmation prompt.
The field-by-field detail of each screen is in the matching reference pages: Machines management, Direct recording configurations, Direct recording configurations (no agent), RDP without agent record contracts, SSH servers, SSH direct recording configurations and SSH record contracts.
