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
- Read-only: no audit changes a server, a cluster or a service; no Kubernetes Secret is read.
- On demand: audits that connect are started only by you, never in the background.
- Rules written by Massive Dynamic, shipped with the app (no download) and citing their public sources: ANSSI, NIST (SP 800-52, SP 800-63B, SP 800-190), the NSA / CISA “Kubernetes Hardening Guidance”, the Kubernetes Pod Security Standards, IETF RFC 9700 for OAuth. No text from a framework under a restrictive license is reused.
- HexaConnect does not look for known vulnerabilities (CVEs) of a software version.
Reading the results
- Left list: “Overview”, a “Filter sessions” field (name, type, host), then the sessions from least to most secure. Each row shows a colored dot, “type · score / 100 · number of findings”, the grade letter in a square on the right and an “open” badge if the session has a tab. A reminder at the bottom: the analysis is read-only.
- Overview: grade from A to E in a tile, average score out of 100 and number of findings; “Run analysis again”, “Export report…” and “Audit all servers” buttons. The scoring is recalled: 100 points, minus 40 per critical finding, 20 per high, 10 per medium and 4 per low; a high finding caps the grade at C. Then the grade distribution, the server audit with its progress, and the findings by rule, filterable by severity (critical and high in red, medium in orange, low in blue, info in gray).
- Session details: header with the grade letter in a tile, the score, the type and account@host:port, “Overview” and “Edit session…”. On the left, “To fix”: each finding with its severity, rule identifier, observed fact, remediation (
sshd_configline, Docker option, session setting…), source and, where possible, the one-click action. On the right, “Strengths” then “Server”. The Server card shows the version, the address and the tunnel or jump host, the audit status and “Audit this server”. After the audit, it shows what the server announced: version, key exchange, host key, cipher and integrity for SSH; protocol, cipher suite, certificate and key for TLS. Weak values are in orange. - The analysis runs again when the tab opens and whenever sessions change. Server audit results stay in memory while the window is open.
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.
| Finding | Action |
|---|---|
| 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.
| Area | Example findings |
|---|---|
| SSH | Login as root; saved password; DSA or short RSA key; key without a passphrase; X11 enabled; host key never verified; cleartext HTTP proxy. |
| Cleartext protocols | Telnet; FTP without TLS; VNC without an SSH jump host; raw TCP connection; WinRM over HTTP, with Basic authentication or with the certificate ignored. |
| Connectors | S3 over http; Kafka without TLS, SASL without encryption, certificate ignored; Docker over TCP without TLS; Portainer or Keycloak over http; writing allowed without protection. |
| General | Direct 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.
- SSH: banner and algorithms offered by the server; weak key exchanges, ciphers, MACs and host keys, with the
sshd_configline to set; Terrapin vulnerability (CVE-2023-48795); no modern key exchange; SSH protocol 1. - TLS (explicit and implicit FTPS, WinRM HTTPS, Portainer, Keycloak, Kafka TLS, S3, Docker TLS): certificate expired or close to expiry, name mismatch, self-signed or unknown chain (info if the fingerprint is pinned in the session), short RSA key, SHA-1 signature, obsolete version, no TLS 1.3, cipher suite without forward secrecy or using CBC.
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.
| Target | Findings |
|---|---|
| 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. |
| Portainer | Number of administrators, original “admin” account, version. |
| Kubernetes: workloads | Privileged 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 permissions | cluster-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 exposure | Pod Security Admission not enforced, no default network deny, no quota or LimitRange; NodePort / LoadBalancer services, ExternalName, Ingress without TLS. |
| Kubernetes: control plane | Anonymous 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-operator | If installed: workloads whose images have critical or high vulnerabilities (summary), compliance reports (control identifiers only), configuration checks as info. |
| Kubernetes: EKS | AWS roles or users bound to system:masters, no IRSA or EKS Pod Identity. |
| Keycloak | TLS 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.
| Value | Effect |
|---|---|
nosavedpasswords | No saved passwords. |
requireencryption | Telnet, raw connection, cleartext FTP and VNC without a jump host are refused. |
disabledkinds | Forbidden session types (including local terminal and quick connect). |
readonlyconnectors | All explorers are read-only. |
lock, lockidle | Windows Hello lock enforced, and its delay. |
strongssh | Minimum SSH level (see below). |
blockseverity | Minimum configuration level (see below). |
registries | Allowed image registries (Docker, Portainer, Kubernetes); an image outside the list becomes a finding. |
podsecurity | Pod Security Admission level required in namespaces. |
k8smaturity | Target Kubernetes maturity; a lower estimated level becomes a finding. |
isolatelabel | Pods 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
strongssh = 1: SSH connections (sessions, jump hosts, quick connect) offer only strong algorithms, those the audit does not flag; a server that accepts none of them is refused with a message pointing to the server audit.blockseverity = critical | high | medium: a session whose configuration analysis reaches this severity does not open; the message lists the findings involved.
Plan required: Enterprise for enforcing policies.
Always-on protections
- Passwords, passphrases, tokens and secret variables are stored in Windows Credential Manager, never in cleartext on disk, in a log, a title or an export.
- SSH host keys are always verified; TLS certificates are verified by default, with exceptions by pinned fingerprint.
- The app's logs contain no host name, user name or address.
- Optional Windows Hello lock.