2.10 Security

Translated from French; the French version prevails if the two differ.

In short. The Security tab assesses your connections at three levels: the configuration of saved sessions (without connecting), the servers themselves (SSH algorithms, TLS) and the infrastructure reachable through connectors (Docker, Portainer, Kubernetes, Keycloak). Each finding gives the observed fact, the concrete remediation, the rule and its public source. The Enterprise plan adds an exported report and organization-imposed policies, including a minimum security level required to connect.

Principles

Reading the results

One-click fixes and strengths

In a session's details, some findings have an action button next to their source. Nothing is sent to the server; the grade is recalculated as soon as the session changes.

FindingAction
Private key without a passphrase (SSH-KEY-CLEAR)“Encrypt the key…”: a local terminal opens with ssh-keygen -p on the session's key file. The passphrase is typed in that terminal: HexaConnect never sees it and it is never passed as an argument.
DSA or short RSA key (SSH-KEY-DSA, SSH-KEY-RSA)“Generate an ed25519 key…”: ssh-keygen -t ed25519 in a local terminal, to ~/.ssh/id_ed25519_<session> (never an existing file). The details then offer “Copy the public key” and, once the key has been added to authorized_keys on the server, “Use for this session”. The old key is not deleted.
X11 forwarding enabled (SSH-X11)“Turn off X11”: the option is removed from the session.
Host key never verified (SSH-HOSTKEY)“Open SSH fingerprint”: the tool opens with the session's host and port.
Telnet or VNC without a jump host or tunnel (CLR-TELNET, CLR-VNC)“Choose a jump host or a tunnel…”: the session form.

Server and infrastructure findings (Docker, Kubernetes, Keycloak…) keep their written remediation, without a button.

The “Strengths” card lists what the session does well (verified host key, ed25519 key, jump host, encryption…), with the same rules as the tooltip of the toolbar's Security button; details show on hover. When opened from that button, the details start with the banner “Opened from the Security button in the toolbar: session in focus…”, with “Back to the session”.

Level 1: session configuration analysis

No connection and no vault access (only whether a saved password exists counts). Key files are read for their type, size and encryption only.

AreaExample findings
SSHLogin as root; saved password; DSA or short RSA key; key without a passphrase; X11 enabled; host key never verified; cleartext HTTP proxy.
Cleartext protocolsTelnet; FTP without TLS; VNC without an SSH jump host; raw TCP connection; WinRM over HTTP, with Basic authentication or with the certificate ignored.
ConnectorsS3 over http; Kafka without TLS, SASL without encryption, certificate ignored; Docker over TCP without TLS; Portainer or Keycloak over http; writing allowed without protection.
GeneralDirect administration of a public address without a jump host.
Capture proxy“Capture proxies open to the network” card (listening beyond 127.0.0.1, without authentication), not counted in the grade.

Level 2: server audit

“Audit all servers” (overview, four at a time, can be stopped) or “Audit this server” (session details). The connection goes through the session's jump host and stops before any authentication.

Level 3: infrastructure audit

Through the connector session that is already open, or through a dedicated read-only connection, without a tab, closed right away. A list refused by the account's permissions is simply skipped.

TargetFindings
Docker (and each Docker environment in Portainer)Privileged containers, mounted Docker socket, host network or processes, dangerous capabilities, running as root, no memory limit, “latest” images, ports published on all interfaces.
PortainerNumber of administrators, original “admin” account, version.
Kubernetes: workloadsPrivileged pods, hostPath, host namespaces, privilege escalation, root, limits, “latest” images, writable root file system, capabilities added or not dropped, secrets passed as environment variables (names only). Completed pods ignored; kube-* namespaces excluded.
Kubernetes: identities and permissionscluster-admin bindings, pods on the “default” service account with a mounted token, long-lived tokens, overly broad RBAC (wildcard, bind / escalate / impersonate, reading secrets, pods/exec).
Kubernetes: namespaces and exposurePod Security Admission not enforced, no default network deny, no quota or LimitRange; NodePort / LoadBalancer services, ExternalName, Ingress without TLS.
Kubernetes: control planeAnonymous read access to the API server (tested without credentials), public address, version out of maintenance; admission control that fails open, policies in audit-only mode.
Kubernetes: trivy-operatorIf installed: workloads whose images have critical or high vulnerabilities (summary), compliance reports (control identifiers only), configuration checks as info.
Kubernetes: EKSAWS roles or users bound to system:masters, no IRSA or EKS Pod Identity.
KeycloakTLS not required, brute force protection, password policy, administrators without a second factor, initial “admin” account, administrator service accounts, implicit flow, direct password grant, redirect URIs with wildcards or over http, “*” origins, token and session lifetimes, logs, open registration, version.

Kubernetes also gets an info finding, “Estimated maturity” (level 0 to 3), with the measures in place and those missing.

Plan required: Pro for levels 2 and 3 (server and infrastructure audit). Level 1 is available in Discovery.

Exported report

“Export report…” produces a standalone HTML page (summary, session table, findings with remediation and source), printable to PDF, with no script or external resource; the organization name is optional.

Plan required: Enterprise for the exported report.

Enterprise policies

Policies are set by GPO or Intune in the Hexabox policy tree (HKLM\Software\Policies\Hexabox\Imposed, then HKCU), with values named hexaconnect.*. They are read at startup (restart HexaConnect after a change). Connections are refused before they start, with a message that cites the policy. Settings → License lists the policies in effect.

ValueEffect
nosavedpasswordsNo saved passwords.
requireencryptionTelnet, raw connection, cleartext FTP and VNC without a jump host are refused.
disabledkindsForbidden session types (including local terminal and quick connect).
readonlyconnectorsAll explorers are read-only.
lock, lockidleWindows Hello lock enforced, and its delay.
strongsshMinimum SSH level (see below).
blockseverityMinimum configuration level (see below).
registriesAllowed image registries (Docker, Portainer, Kubernetes); an image outside the list becomes a finding.
podsecurityPod Security Admission level required in namespaces.
k8smaturityTarget Kubernetes maturity; a lower estimated level becomes a finding.
isolatelabelPods in namespaces carrying this label must be scheduled on dedicated nodes.

This lets the organization express its own framework; HexaConnect does not impose any. Without an Enterprise license, policies are read and shown as “Declared, not applied”.

Minimum level

Plan required: Enterprise for enforcing policies.

Always-on protections