2.9 Connectors
Translated from French; the French version prevails if the two differ.
In short. Connectors open infrastructure resources in an “explorer” tab: Docker / Podman engines, Kubernetes clusters, Kafka, Portainer and Keycloak. They are sessions like any other (kept in the tree, reachable through an SSH jump host), but they present a resource tree, detail sheets and actions. By default, everything is read-only; write access is decided session by session. S3 object storage, cloud access and remote PowerShell, described elsewhere, complete this family.
Distribution. Docker / Podman, Kubernetes, Kafka, Portainer and Keycloak are installable connectors, signed by Massive Dynamic, like those of the catalog: they are installed from the app (first-run assistant, Settings › Installed connectors, or Connectors › Installable connectors). A computer that had sessions of these connectors received them with the HexaConnect update, under the same type name: its sessions open as before, with the same plan. The “no installable connectors” and “allowed connectors” policies do not remove them; “forbidden types” still forbids them. Apache Guacamole remains built into the app.
Common rules
- Connectors tab (sidebar): connector sessions live here, no longer in the Sessions view (its tree, search, favorites and counts ignore them). On the left: a search (name, folder, endpoint), “New connector session” (the launcher limited to connectors) and a tree per connector with its sessions, their folder, their access (read-only, write, protected) and a dot when the explorer is open; below, “Open shells” takes you back to the shell’s tab in the Sessions view. On the right: clicking a connector shows its catalog (description, what a session needs, what it can do, its sessions, “Open the explorer”); clicking a session opens its explorer in a tab of the view, and several can stay open. No connection is made when the tab is displayed.
- Explorer, the same for every connector, built-in or installed. The banner shows the session name, the connector, its version and “signed connector” for an installed connector, or “built-in”. It also shows the access (read-only, read-only by plan, changes allowed, “Protected environment”), the access path (direct access, or through the SSH session used) and the service version. On the right, the Console button, when the connector has one: a container or pod shell, psql, redis-cli, mongosh, sqlcmd… It takes the console of the selected resource, otherwise the server’s, and opens it in a tab of the Sessions view. The tree is browsed on demand; the detail sheet shows fields, tables, YAML or JSON, with live updates when the service publishes them. Expanded branches and the open detail sheet are kept when you switch tabs.
- Read-only by default: actions that make changes require the session’s “Allow changes” checkbox. The rule is enforced by the application core on every action, whichever screen asks for it; a license or policy change also applies to sessions that are already open.
- Confirmation and name to retype, one rule for every connector: a change is applied directly, or confirmed on a session marked “Protected environment”; deleting an object that the orchestrator or a source recreates (pod, container, image) is confirmed, and requires retyping its name on a protected environment; data loss, an object that can’t be recreated identically, or a bulk cleanup (volume, topic, stack, offsets, Kafka Connect connector, drain, Docker cleanups, ending all sessions of a realm) always requires retyping the name. The confirmation appears in the detail sheet, above the actions: “Confirm “action” on “resource”?”, with what the action does, the preview (for example how many objects a Docker cleanup will delete), the access path and where it is recorded (log, SIEM). The action’s button stays disabled until the retyped name matches.
- Masked secrets: environment variables, Kubernetes Secrets and sensitive configurations are masked and revealed one at a time, on demand.
- Certificate of HTTPS and TLS connectors: every connector that speaks HTTPS or TLS (Docker over TCP with TLS, Kubernetes, Kafka Connect and schema registry, Portainer, Keycloak, Guacamole, and installable connectors, databases included) verifies the server certificate through Windows, or through the authority set in the session (kubeconfig, Docker
ca.pem, Kafka authority). A certificate Windows doesn’t trust (self-signed) is never accepted silently: on first connection, HexaConnect shows its SHA-256 fingerprint, subject, issuer and validity (“Trust this certificate?”), before asking for any secret, a database password included. Accepted, it is pinned in the session’s “Certificate fingerprint” field; refused, the connection is cancelled. Once pinned, any other certificate is refused with both fingerprints, with no one-click override: check the new fingerprint on the server and replace it in the session. A certificate refused by an explicit authority is never offered. For a database, the “required” TLS mode encrypts without verifying (like the server’s own client); the question is only asked in verified mode. Guacamole tabs accept the pinned certificate of the Guacamole server, and only that one; a refused certificate replaces the page with the reason. Acceptance and refusal are written to the event log. A kubeconfig’sinsecure-skip-tls-verifyno longer makes any certificate acceptable: the fingerprint is offered as above. - Action log: every action, successful, failed or refused, is written to the chained event log and sent to the SIEM when one is configured (see 3.17): connector, session, resource, action, level (read, change, destruction), confirmation obtained, result, user and time. No secret is ever written: for entered values only the field names are recorded; a revealed secret is recorded without its value. If the organization enforces the log and it can’t be kept, the action is refused. In the explorer, the “Actions log for this session” card of each detail sheet lists the open session’s actions, newest first: time, user, result, recorded in the log or sent to the SIEM.
- Logs and shells opened from an explorer open in terminal tabs of the Sessions view and don’t count toward the session limit.
What each plan allows
| Connector | Discovery | Pro / Enterprise |
|---|---|---|
| Docker / Podman | Read-only | Full |
| S3 object storage (see 2.3 Files and transfers) | Full | Full |
| Remote PowerShell (see 2.6 Other protocols (Telnet, serial, raw, Mosh, remote PowerShell)) | Full | Full |
| Kubernetes | Read-only | Full |
| Kafka | Read-only | Full |
| Portainer | Read-only | Full |
| Keycloak | Read-only | Full |
| Cloud access AWS SSM, Azure Bastion, GCP IAP (see 2.4 Tunnels, jump hosts and outbound proxy) | Not available | Full |
In read-only mode, actions that make changes (start, stop, restart, produce, delete, prune, open a shell, forward a port…) are grayed out with the reason and the way to the license; reading (tree, detail sheets, logs, Kafka messages) remains allowed. Adding a Pro key restores write access when the session is reopened, without touching its saved setting.
Required plan: Pro for write actions in Docker / Podman, Kubernetes, Kafka, Portainer and Keycloak (common rule: reading with Discovery, actions with Pro), and for cloud access. S3 and remote PowerShell are complete in Discovery. An Enterprise policy can enforce read-only mode on all explorers.
Docker / Podman
- Access: engine on this computer (Docker Desktop or Podman named pipe, Unix socket); engine on a server through an SSH session (like the Docker client: no API exposed on the network); or TCP with TLS and client certificate.
- Tree: containers grouped by Compose project (running / total, colored state), images, volumes, networks; followed live through the engine’s events.
- Container detail sheet: image, state (restart loops flagged), command, CPU and memory, ports, mounts, networks, masked environment variables.
- Tabs: live-followed logs, shell in the container (bash, otherwise sh).
- Actions: start, stop, restart, delete, pull an image again, clean up stopped containers and untagged images (session name to retype, number of objects shown beforehand); deleting a volume requires retyping its name.
- Not offered: live statistics charts, file copy, pulling an image by name.
Kubernetes
- Access: a kubeconfig context (
KUBECONFIGor~/.kube/config), with the same rights as kubectl: token, client certificate, “exec” plugins (aws, gcloud, kubelogin…), certificate authority and proxy from the kubeconfig, or a jump through an SSH session to a private API server. Context import: one session per context, read-only; a “prod” context is marked protected. - Tree: nodes; namespaces › workloads (Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Pods), network, configuration, storage, access, Helm (releases, read-only), events; CRDs.
- Detail sheets: status as in kubectl (CrashLoopBackOff, Init:0/1…), containers, conditions, related events, YAML without
managedFields. Secrets decoded and masked, revealed one at a time. - Cluster map in tiles: one node per tile, CPU and memory gauges if metrics-server is present, one colored square per pod; a click opens the pod’s detail sheet.
- Pods: followed logs (per container, and those of the previous container), shell in a tab.
- Actions: rolling restart, replicas +1 / −1, delete a pod, trigger a CronJob, cordon / uncordon a node, drain (disruption budgets respected, name to retype), forward a port of a pod or a service on 127.0.0.1. Port forwarding is an action, not a read: it gives full network access to the resource, outside NetworkPolicies, so it requires write access and the Pro plan, and it is always confirmed with its target.
- Not offered: YAML editing, file copy.
Kafka
- Access: bootstrap servers, directly or through an SSH session (private brokers are reached without a tunnel), or with rewriting of advertised addresses; PLAINTEXT (flagged), TLS, mTLS, SASL PLAIN, SCRAM-SHA-256 and SCRAM-SHA-512. Kafka protocol written for HexaConnect, with no native library.
- Cluster: brokers (controller, rack, configuration with the origin of each value); under-replicated or leaderless partitions flagged.
- Topics: partitions, offsets, retention, configuration (sensitive values never shown), latest messages (gzip, snappy, lz4).
- Reading a topic in a tab: from the beginning, the end, a date or an offset, one partition or all, filter on key and value, live; no offset is committed (existing consumers aren’t disturbed).
- Consumer groups: state, members, partitions, lag per partition and total.
- Kafka Connect: connectors, state and tasks, plugins; pause, resume, restart, edit, create, delete (configuration validated by Kafka Connect before being written).
- Schema registry: subjects, versions, compatibility, diff with the previous version; Avro messages decoded to JSON.
- Access: ACLs and SCRAM users (read).
- Actions: produce a message (key, headers), create a topic, edit or reset a configuration to its default, reset the offsets of a stopped group (name to retype), delete a topic or a Kafka Connect connector (name to retype).
Portainer
- Access: Portainer API token stored in the Windows vault; self-signed certificate accepted only through a pinned SHA-256 fingerprint, offered on first connection (see Common rules); direct or through an SSH session.
- Environments (Docker, agent, Edge; Kubernetes flagged) and their detail sheet; Compose and Swarm stacks with their file and masked variables.
- For each Docker environment: the whole Docker explorer through Portainer (containers, images, volumes, networks, detail sheets, logs, shell, actions).
- Stack actions: start, stop, redeploy pulling the images, delete (name to retype). Creating a stack isn’t offered.
Keycloak
- Access: as a user (password, optional one-time code) or as a confidential client; token in memory only, renewed; the password isn’t kept after sign-in (unless it is stored in the Windows vault). Certificate can be pinned by fingerprint; access through an SSH session possible.
- Tree: realms › clients, users, groups (and subgroups), realm roles, identity providers.
- Detail sheets: realm security settings, a client’s flows and redirect URIs, a user’s authentication methods, groups, roles and sessions, a group’s members, a role’s holders. Never a client secret; identity provider configuration without its secrets.
- Actions: disable or re-enable a user or client, end a user’s sessions, send the reset email, end all sessions of a realm (name to retype). No change to a realm’s configuration.
Installable connectors
More connectors are installed separately, as you need them, from HexaConnect's Connectors view: databases, proxies and load balancing, virtualization, network and security, directories, messaging and search, monitoring, automation, service management and storage. The connector catalog, on the website, presents them one by one.
- Each one is a package signed by Massive Dynamic, whose signature is checked before anything is loaded.
- They open in the same explorer and follow the same rules as built-in connectors: read-only by default, confirmation, action log, no API exposed on the network (SSH session, tunnel or VPN).
- Plan: reading with Discovery, actions with Pro or Enterprise.
- Their drivers carry no copyleft license.
The connector catalog describes each one: what you see, everyday actions, console, access, driver and license.
Connector audit
Docker, Portainer, Kubernetes and Keycloak are also audited read-only from the Security tab (see 2.10 Security).
Built-in connector with its own view: Arduino
One built-in connector doesn’t use the explorer: Arduino has its own view, opened full screen from a row of the Connectors view (the sidebar keeps Connectors highlighted). It was a sidebar entry up to version 1.2.0; its data is kept as it is. The C2 console (since 1.3.0) and Hak5 / O.MG have become installable “tool” connectors (see below).
- Arduino: sketches, upload and serial monitor; the row says whether a board is plugged in over USB.
Since 1.3.0, C2 console is an installable “tool” connector: its row is in the Tools section of the Connectors view. It opens without a saved session, in the shared explorer: C2 servers (Sliver, Mythic, Havoc, Armitage) and frameworks, the sessions and implants of a connected server, operator interaction (a command run on a session, its output in the sheet), the agent’s Files and Network tabs. It stays complete with Discovery, and server profiles already saved are carried over on update. It builds no implant and no payload (see 2.16).
Since 1.3.0, Hak5 / O.MG is an installable “tool” connector: its row is in the Tools section of the Connectors view, green when a known device is plugged in over USB. It opens without a saved session, in the shared explorer: devices and models, DuckyScript studio, O.MG library and console. It stays complete with Discovery, and devices already saved are carried over on update (see 2.17 to 2.19).