Security
The Security tool answers "how well does the fleet hold up, and what do I look at first". It adds no scanning of its own: everything it shows is judged from data the platform already has — what the agents report, each host's package inventory and the vulnerability data. Four pages share it, and a host's own page has the same views on its Security tab (see A host's Security tab):
| Page | What it shows |
|---|---|
Overview (/security) | A score per customer and the checks that fail on the most hosts. |
Compliance (/security/compliance) | Every host against the baseline, check by check. |
Endpoint protection (/security/endpoint) | Antivirus, firewall and encryption of the Windows hosts, and what Defender found lately. |
Certificates (/security/certificates) | Every certificate of the fleet, soonest to expire first. |
Like every screen they follow the server live: a host that fixes a finding leaves the list without a reload.
A host's Security tab
An agent host's Security tab has four views: Vulnerabilities (see
Vulnerabilities), Endpoint (Windows agents only: antivirus
and Defender state, signatures, firewall, threat detections, and the quick scan and
signature update buttons), Compliance and Certificates. Old ?tab=vulnerabilities
addresses open the first view. The fleet lists link a host to the view that matches the list.
Compliance
Twenty-one checks make up the baseline. Each host is judged against all of them every five minutes, and a result is one of four things:
| Result | Meaning |
|---|---|
| Passed | The requirement is met. |
| Failing | It is not. |
| Unknown | The data to decide is missing: the collector has not reported yet, the host was never inventoried, or it could not ask its package manager for updates. |
| Not applicable | The requirement does not exist on this platform, such as BitLocker on Linux. |
Unknown and not applicable stay out of every score. A new host is therefore not marked down for being new, and a Linux host is not marked down for lacking BitLocker. An empty list of pending updates from a host that could not ask is unknown, not up to date.
The checks
| Check | Passes when | Platform | Read from |
|---|---|---|---|
| Patch data is current | The host reported its package inventory within 3 days | all | Inventory |
| No security updates waiting | No pending update is marked as a security fix | all | Inventory |
| Update backlog is small | At most 25 updates are waiting | all | Inventory |
| Automatic updates are on | unattended-upgrades or dnf-automatic is active, or an enabled Selvara patch policy with a schedule or maintenance window patches the host | Linux | Inventory, patch policies |
| No restart pending | The host does not wait for a restart | all | reboot_required |
| Operating system is supported | The release is not past its end of life | all | os_end_of_life |
| Clock is synchronised | The host follows a time source | all | time_synced |
| Clock is accurate | The clock is within 180 seconds of the dashboard's | all | clock_skew |
| Host drive is encrypted | BitLocker protects C: (every volume when there is no C:) | Windows | bitlocker_protected |
| No known exploited vulnerabilities | No open, unaccepted finding is on CISA's exploited list | all | vuln_kev |
| No critical vulnerabilities with a fix | No open finding of CVSS 9 or more has had an installable fix for over a week (obsolete packages are left out) | all | vuln_critical_fixable |
| Root cannot log in over SSH with a password | PermitRootLogin is not yes | Linux | SSH Keys (sshd settings) |
| SSH password login is off | PasswordAuthentication is no | Linux | SSH Keys (sshd settings) |
| Every SSH key has an owner | No key in an authorized_keys file lacks an owner | all | SSH Keys |
| Firewall is on | Every Windows firewall profile is on, or a third-party firewall is registered | Windows | firewall_enabled, firewall_product |
| Antivirus is active | Defender or a registered third-party product protects the host | Windows | av_protected, defender_enabled |
| Antivirus definitions are current | Definitions are up to date and Defender's are at most 3 days old | Windows | av_signatures_current, defender_signature_age |
| No recent threats | Defender reported nothing in the last 14 days | Windows | host.threat_detected events |
| No expired certificates | No certificate the host serves or stores has expired | all | tls_days_left |
| No certificate expires within 14 days | Every certificate has at least two weeks left | all | tls_days_left |
| Certificates are strong | No SHA-1 or older signature, no RSA key under 2048 bits | all | tls_days_left metadata |
A series that has not reported for six hours counts as missing, because it describes a host that is not running any more rather than its present state. The vulnerability checks read the series the server derives from the findings, so a finding accepted for a host or customer (see Vulnerability Data) does not fail them.
Scores
A host's score is the share of the checks that were judged for it and that it passes, as a whole percentage. A customer's score is the mean of its hosts' scores, so one host with fifteen failures weighs as much as one with a single failure, not fifteen times as much. With nothing judged there is no score rather than a score of zero. Scores of 90 and above are green, below 70 red.
The Compliance page lists hosts worst first. Opening a host shows every check with the reason it fails, or why it is unknown, and since when. The Checks tab shows how each check fares across the fleet, and Customers compares the customers.
Switching a check off for a customer
A requirement is not right for every customer: a VPN gateway is meant to accept passwords, a kiosk fleet never reboots. Choose the customer on the Checks tab and press Switch off next to the check. A reason is required. The check then leaves the score, the counts and the risks of that customer's hosts only; its results stay visible. Switch on judges it again.
Managers and administrators may do this, for the customers they reach. Both changes are written to the audit log with the reason.
Endpoint protection
Windows hosts report two sources, and the page combines them:
- Defender (
defendercollector): whether it runs, its mode, real-time and tamper protection, the age of its definitions and of its last scan. See Agent Collectors. - Windows Security Center (
securitycentercollector): every antivirus and firewall product registered with Windows, whoever makes it. This is what shows a host protected by a third-party suite, whose Defender steps aside into passive mode. See Agent Collectors.
A host needs attention when no antivirus is active, the active product's definitions are out of date, a firewall profile is off with no third-party firewall registered, or Defender detected a threat in the last 14 days. Windows Server has no Security Center; those hosts are judged on Defender alone. Where Security Center lists no product, Defender running in normal mode with real-time protection on counts as the active antivirus. A product that Security Center reports several times is listed once.
Definitions whose age Windows cannot give (it reports 65535 days for a Defender that is not running) show as Unknown and do not count as out of date.
Switching a part off on purpose
Some hosts have no Defender or no Windows firewall by design: another product protects them, or a firewall sits in front of the host. Mark such a part as off on purpose instead of living with a red row:
- In the Endpoint protection list, the row menu offers Mark antivirus as off on purpose and Mark firewall as off on purpose. Tick several rows to apply it to all of them from the bar at the bottom. A reason is optional and is shown in the table.
- The part then shows a yellow Off on purpose, the host does not need action
for it, the matching compliance checks (Firewall is on, Antivirus is
active, Antivirus definitions are current) do not apply to it and stay out
of the score, and no alert or notification is raised for it: the
firewall_enabledandfirewall_productseries, the Defender and antivirus series, and the eventshost.firewall_disabled,host.defender_disabledandhost.antivirus_offof that host. Alerts that are open on them resolve within a minute. - Remove the exception (row menu, or the bar for a selection) judges the part again. Recent detections still count: the exception covers protection being off, not malware being found.
Managers and administrators may set and remove exceptions on the hosts they
reach. Each change is written to the audit log per host, with the
reason, as endpoint.exception_set and endpoint.exception_clear.
Scanning and updating definitions
Each Windows host with Defender has a Quick scan and an Update
definitions button in the list, and the same two entries in the host's ⋯ menu. They queue the jobs defender.quick_scan and
defender.update_signatures for that host, for users with the service.manage
permission at the customer. The result, including the number of detections, is
on the host's job; a detection also raises host.threat_detected as usual. The
host needs defender in the actions of its config.yaml. See
Jobs.
Alerts and notifications
Instances that use the default rules get four alert rules for this:
| Rule | Metric | Condition | Duration |
|---|---|---|---|
| No antivirus active | av_protected | below 1 | 600 s |
| Antivirus signatures out of date | av_signatures_current | below 1 | 3600 s |
| Defender signatures older than 3 days | defender_signature_age | above 3 | 3600 s |
| Windows firewall profile off | firewall_enabled | below 1 | 600 s |
A host with a third-party firewall reports the Windows profiles as off on purpose; narrow or disable the last rule for those customers, or switch the Firewall is on check off. The compliance check already allows for it. For an individual host, mark the part as off on purpose; the rules then skip that host.
A threat Defender detects becomes a critical host.threat_detected event
as soon as the agent sees it, which is within a few minutes of Defender's own detection. The default Critical events
rule notifies on it at once, by mail and on every channel the rule reaches; see
Event Rules. The Endpoint page lists the detections of the last
30 days with the file concerned and whether Defender removed it. When the
agent starts, only detections from the last hour are reported, so a restart
does not replay Defender's history; a detection is stored once however often
it is reported.
Certificates
The page lists every certificate the agents report, from four sources:
| Source | Collector |
|---|---|
| Certificate files (Let's Encrypt, HAProxy) | certificates |
| The Windows machine store | certstore |
| Traefik | traefik |
| URL checks | http_checks |
Rows are sorted by the days left. The days are counted from the certificate's own expiry date, so they are right even for a host that has stopped reporting; a certificate whose host has been silent for three days is no longer shown, and one that expired more than 30 days ago is treated as left behind and hidden, as on a host's own Certificates card.
Besides expiry, three things are flagged:
- SHA-1 or older signatures (SHA-1, MD5, MD2).
- RSA keys under 2048 bits.
- Self-signed certificates on a public address. Only URL checks count: a
self-signed certificate on a router, a host name without a dot, a private
address or a name ending in
.lan,.local,.internaland the like is expected. A self-signed certificate in a PEM file or a Windows store is not a public endpoint and is not flagged.
The algorithm, key type, key size and self-signed flag come from the agent (from this version on); certificates reported by an older agent show without them and are judged on expiry alone.
Stored access passwords
An access entry can keep the password it opens with. It is encrypted with
SETTINGS_ENCRYPTION_KEY and bound to its entry, shown nowhere, and leaves the server
only through one route that needs the connection.reveal permission, a recent sign-in in a
browser or an unlocked desktop app (PIN lock), and writes the audit entry before it answers. Customers
can keep their passwords from administrators, and a person's private customer from everybody.
Copying many in a short time raises a flag on the home page. A script's token never gets a
password. Anyone who can copy one can use it, so the customer's Users tab lists every account
that can, administrators included (see Who may do what). Because the key decrypts them, back it up with the database
and keep it apart from the dump.
A person who may open network connections (access.tunnel) but not copy passwords can still open an RDP, VNC
or SSH entry in the browser: the dashboard decrypts the stored password for the remote desktop service only when
the person holds connection.reveal, and otherwise the window asks for it. The password never reaches the browser
either way.
What editing access lets a person decide
Access is edited with connection.edit at the customer. That permission covers more than it did when it only
guarded stored access entries, and these consequences are accepted on purpose:
- Reachability decides which agent a credential travels through. A person with
connection.editcan set a host to reach through any tunnel host of the same customer, and so choose the carrier of a session that uses a stored password. This is the tunnel model as before, bounded by the carrier's owntunnel.allow, by the same-customer rule and by the tunnel host switch, which needs the host manage right. The customer's policies (reason, approval) still apply to every launch. - Changing an address redirects the entries that use it. A person who can edit an address of a host rewrites the address of every entry that uses it, and an entry with a stored password then sends that password to the new address. Editing the address of an entry always allowed the same, so no right is new, but it is now one edit away from the host's list.
- Tags and colour of any host are writable with
connection.edit, also for a host with an agent (the host's own edit right is not needed for these two fields). - Viewers see none of it. A person with the role Viewer sees no access entries, no link hosts and none of the host data
(addresses, shares), because they can hold user names, internal host names and UNC paths. The
routes answer
404. Another person's private customer reads as404as well.
The desktop action
The agent's desktop action opens the RDP, VNC and SSH ports, and the web interfaces, that listen on the host
itself, through the host's own agent and the gateway's relay, without a tunnel host. It is
off by default, and an operator allows it per host in the existing actions settings
(Agent Settings). Know what it changes before turning it on:
- It shifts what
access.tunnelreaches. Withdesktopallowed, a holder ofaccess.tunnelcan open the host's own loopback RDP, VNC and SSH ports withouttunnel.allowcovering them.tunnel.allowgoverned every tunnel before; it does not govern this, because the agent can only reach its own loopback. The boundary is the action itself and the signed grant, and the customer's reason and approval policies. - The dashboard names the port. The gateway signs the grant with the port the dashboard asks for and writes the
loopback address into it itself. A dashboard that was taken over could therefore reach any loopback TCP port of a host
that has
desktopallowed, under an RDP, VNC, SSH or web label. This is a deliberate trade-off, and it is why the action is opt-in and why the hint next to it says so. The agent refuses the ports it keeps for itself and the port of the gateway relay when the gateway runs on the same host, and writes the port and protocol of every session to its log; the audit log records the entry and host of each open. - Only an agent that lists the action can be asked. An older agent never lists
desktop, so the dashboard offers the route asagent_outdatedand sends nothing; an agent that is sent adesktopsession it does not know answersunsupported. tunnel.allowis not widened. A tunnel through another host is unchanged: the carrier still refuses every address outside its own list.
SSH host keys
guacd, the service that carries SSH to the browser, does not check a host's key by itself, so an SSH session in the browser would trust any key and a man in the middle between guacd and the host could capture a stored password. Selvara therefore reads the SSH server's key from the connection before the password is sent, and decides on it:
- On the first connection of an entry, the person confirms the key's fingerprint in the session window; it is then stored with the entry (who confirmed it, and when).
- On a different key later, the window shows the old and the new fingerprint with a warning and asks whether to overwrite; without confirmation the session does not open.
- Confirming and overwriting are audited (
access.host_key_confirm,access.host_key_replace). An unanswered prompt counts as no after 60 seconds, and changing the entry's address or port clears the stored key.
This is trust on first use: it protects against a key that changes, not against a man in the middle at the very first
connection, so compare the fingerprint with one you know when that matters. The desktop app starts your own SSH
client, which keeps its own known_hosts handling. RDP does not verify the server's certificate; the path
between guacd and the target is inside the customer's network for sessions that go through an agent.
What the Overview reads
The overview and the customer scores come entirely from the compliance results, so they follow the same switched-off checks. Its top risks are the checks that fail on the most hosts, heaviest first: known exploited vulnerabilities, threats, missing antivirus, an unsupported operating system, critical vulnerabilities with a fix, a firewall that is off and expired certificates rank as high; the rest follow.