Skip to content

Install the security agent

Open in the platform

This page takes you from the click to the agent showing up in the list: what needs to be ready, the command for each system, the Hub for a closed network, the firewall ports, how to check, how to update and remove, and what to do when something goes wrong.

Open Security → Security Agents → Add agent, or Administration → Clients & Hubs, Security tab.

The commands on this page use placeholders

The command on the screen comes ready, with your account's values: always copy it from the screen and do not build anything by hand. In the examples on this page, those values appear as placeholders. The placeholders are in Portuguese, the same ones you see in the screenshots:

  • <token-de-instalacao>: the enrollment token.
  • <sha256-do-pacote-deb>, <sha256-do-pacote-rpm> and <sha256-do-pacote-windows>: the fingerprint of each package.
  • <IP_DO_HUB>: your Hub's IP, which the screen fills in at Step 2 of the Hub install.
  • <endereco-da-central>: a platform address. The same placeholder covers two different addresses: the download and enrollment one, which comes in SP1_BASE_URL or -BaseUrl, and the data endpoints, which come in SP1_INGRESS, in the Hub command, or after the last ->, in the installer output.
  • <identificador-da-conta>: what comes in SP1_SNI and after SNI in the installer output. It is a DNS name built from your account identifier, not the bare code the modal shows in Group.

Who uses it

  • Admin: generates the command and hands it to the person who will install the agent.
  • Infrastructure and SRE: runs the command on the hosts. The person installing does not need a platform login.
  • Network and security: opens the ports and takes the platform addresses out of TLS inspection.

Install the security agent in 5 steps

In Security → Security Agents, click Add agent, or open Administration → Clients & Hubs, Security tab. Then follow these steps:

  1. Choose the path. Host with outbound internet access: direct install. Closed network: through a Hub.
  2. Check the prerequisites and open the ports.
  3. Generate the command. Choose Linux or Windows and click Generate command. Only the Admin sees this button.
  4. Run the command on the host: as root on Linux, in PowerShell as Administrator on Windows.
  5. Check in Security → Security Agents. The host shows up within 5 minutes. See how to validate.

Direct install or through a Hub: which to choose

In Administration → Clients & Hubs, Security tab, the What do you want to set up? block presents the paths. The agent is the same in all of them: only the way it reaches the platform changes, and that decides the work you will have on the network.

Clients & Hubs screen, Security tab, with the scenarios Protect machines with internet access, Protect machines on an internal network and Receive logs from devices

flowchart LR A1[Agent<br/>srv-linux-01]:::agt A2[Agent<br/>srv-win-01]:::agt F[Firewall<br/>fw-matriz-01]:::agt H[Hub<br/>hub-matriz-01]:::agt P[SpecialOne<br/>platform]:::plat A1 -->|direct, 443| P A2 -->|2000 and 2001| H F -->|syslog, 514| H H -->|single exit, 443| P classDef agt fill:#f0e6ff,stroke:#6400df,color:#1e293b classDef plat fill:#6400df,stroke:#4a00b3,color:#ffffff
Situation Scenario on the screen What you do
The host has outbound internet access Protect machines with internet access Run one command per host.
Host without outbound access, large fleet or closed network Protect machines on an internal network Install a Hub once and point the agents to it.
Firewall, switch or device without an agent Receive logs from devices Point the device's syslog to a Hub.
Segregated networks Protect machines on an internal network Install one Hub per network.

The gain from a Hub on a closed network is concrete: instead of opening an outbound rule in the firewall for each of fifty hosts, you open one, the Hub's. The internal hosts download the package and enroll through the Hub itself, with no internet at all. And on neither path is there an inbound port from the internet: the connection always leaves your network.

What the install puts on the host

The agent collects and sends: the heavy work, such as applying the rules and matching the inventory against CVEs, runs on the analysis center. That is why the install is small:

  • Through a Hub: only the agent, nothing else.
  • Direct: the agent and a local encrypted tunnel, which is the program that carries the data over TLS to the platform. On Linux, the installer downloads the tunnel from the distribution's repository if it is missing. On Windows, the tunnel already comes in the package.
  • Neither path requires Python on the host.

See also what the agent collects and how much it uses.

Prerequisites to install the security agent

Item Linux Windows
System Debian 10 to 13, Ubuntu 20.04 to 24.04, RHEL, Rocky, Alma and Oracle 8 to 10, Amazon Linux 2023 Windows Server 2016 to 2025, Windows 10 and 11
Architecture x86_64 64-bit (x86_64)
Permission root (sudo). Logged in as root with no sudo? Replace sudo with env in the command PowerShell as Administrator
Memory At least 1 GB for a direct install. With 512 MB, the package manager can be killed for lack of memory No published minimum
Other systemd and curl
Network The ports open, with direct outbound access on 443. For a direct install, if the tunnel is missing, the host also needs to reach the distribution's repository The ports open, with direct outbound access on 443
Command Generated by an Admin Generated by an Admin

A direct install needs outbound access on 443 with no explicit proxy: the tunnel connects straight to the platform and does not go through a proxy. The Hub connects the same way. If the network only goes out through a proxy, allow direct outbound access on 443 for a single machine, the Hub, and install the other hosts through it.

For RHEL 7, Debian 9 or ARM, contact SpecialOne support: those builds are prepared on demand.

Generate the install command and the enrollment token

In Security → Security Agents, click Add agent, or open Administration → Clients & Hubs, Security tab. Choose Linux or Windows and click Generate command. Only the Admin can generate it.

Add security agent modal before generating, with the command box showing Generate the command to reveal it

After the click, the Expires in 48h and 10 uses badges appear, and the command is ready to Copy.

Modal with the generated Linux command, the Expires in 48h and 10 uses badges, and the Copy button

The command carries an enrollment token: the temporary credential that ties the agent to your company. In practice:

  • It lasts 48 hours and 10 enrollments. You can install 10 hosts with the same command. In a Hub install, the Hub itself spends one of those uses when it enrolls, which leaves 9 for the hosts.
  • Each click creates a new token. The earlier ones stay valid until they expire or are revoked in Enrollment tokens.
  • One click covers everything. In Clients & Hubs, the same Generate command fills in the three scenarios and the two systems.

Treat the command like a password

Anyone with the command can put a host into your environment while the token is valid. Hand it over through a secure channel and do not leave it in an open ticket or a public chat.

Check the system before copying

The modal opens on Linux, and Clients & Hubs opens on Windows. The command for one does not work on the other.

What the install command does

It downloads the package, checks the checksum, installs, enrolls the agent and starts the services. The script is public, and anyone who wants to can read it before running it.

Part on Linux On Windows What it is for
SP1_BASE_URL -BaseUrl Where to download the package and where to enroll.
SP1_ENROLL_TOKEN -Token The token: it says which company the agent belongs to.
SP1_SHA256_DEB, SP1_SHA256_RPM -Sha256 The package's fingerprint. The installer refuses an altered package.
SP1_MODE -Mode direct or hub.
SP1_HUB -HubHost Only through a Hub: the Hub's IP with port 2000 ('<IP_DO_HUB>:2000'). On Windows, just the IP.

When the Generate command button does not appear

Anyone who is not an Admin sees, in place of the button, the notice Ask an administrator to generate the install command for you. The command stays hidden, and Copy is disabled.

Modal for someone who is not an administrator, with the notice Ask an administrator to generate the install command for you

Install the security agent on Linux

In Security → Security Agents, click Add agent, choose Linux, click Generate command and then Copy. Paste it on the host, with a user who can use sudo.

curl -sSL https://<endereco-da-central>/api/v2/security/dist/security-agent.sh | sudo SP1_BASE_URL='https://<endereco-da-central>' SP1_ENROLL_TOKEN='<token-de-instalacao>' SP1_SHA256_DEB='<sha256-do-pacote-deb>' SP1_SHA256_RPM='<sha256-do-pacote-rpm>' SP1_MODE=direct bash

Logged in as root with no sudo: replace sudo with env

On a host without sudo, log in as root and replace sudo with env in the command. Everything else stays the same. The same swap works for the Hub commands.

The same command is also in Administration → Clients & Hubs, Security tab, Protect machines with internet access scenario, with the note Each machine downloads, installs and connects on its own. Nothing else to set up.

Protect machines with internet access scenario in Clients & Hubs, with Linux selected and the generated command

The output has these lines, in this order, with others in between, such as the download progress:

>> baixando specialone-security-agent-<versao>.x86_64.rpm
>> checksum ok
>> instalando
>> matriculando
>> modo direto (sidecar): agente -> 127.0.0.1:1600 -> [TLS/SNI <identificador-da-conta>] -> <endereco-da-central>:443
>> status:
   daemons rodando: <N>
>> SpecialOne Security Agent instalado e matriculado (srv-linux-01 -> ingress <endereco-da-central>:443 (SNI <identificador-da-conta>)).

The last line only appears with the agent running. If it did not appear, the line before it tells you why: look for that message in Installer messages. The messages are in Portuguese, without accents. The term sidecar is the local tunnel of the direct mode. The address after the last -> is the platform's data endpoint, which can differ from the download address in the command.

Install the security agent on Red Hat, Rocky, Alma, Oracle, Amazon Linux, Debian and Ubuntu

In Security → Security Agents, click Add agent, choose Linux and click Generate command. The command is the same on all distributions: the installer detects the family, picks the right package and uses the distribution's package manager for whatever is missing. All on x86_64.

Distribution Package Package manager Remove
RHEL, Rocky, Alma and Oracle 8 to 10, Amazon Linux 2023 .rpm dnf or yum sudo rpm -e specialone-security-agent
Debian 10 to 13, Ubuntu 20.04 to 24.04 .deb apt-get sudo apt-get purge specialone-security-agent

On RHEL, Rocky and Alma, SELinux in enforcing mode, which is the default, needs no extra policy.

Install the security agent on Windows

In Security → Security Agents, click Add agent, choose Windows, click Generate command and then Copy. Open PowerShell as Administrator on the host and paste it.

iwr -useb https://<endereco-da-central>/api/v2/security/dist/security-agent.ps1 | iex; Install-SP1SecurityAgent -BaseUrl 'https://<endereco-da-central>' -Token '<token-de-instalacao>' -Sha256 '<sha256-do-pacote-windows>' -Mode Direct

Windows Server 2016 or PowerShell 5.1: if the download fails, force TLS 1.2

If the command stops right at the start with Could not create SSL/TLS secure channel, first run [Net.ServicePointManager]::SecurityProtocol = 'Tls12' in the same PowerShell window and paste the command again. The same goes for the removal command.

Add security agent modal with Windows selected and the generated command

The same command is in Administration → Clients & Hubs, Security tab, Protect machines with internet access scenario, where Windows is already selected.

Protect machines with internet access scenario in Clients & Hubs, with Windows selected and the generated command

The output has these lines, in this order:

>> baixando specialone-security-agent-<versao>.zip
>> checksum ok
>> instalando
>> matriculando
>> modo Direct: sidecar 127.0.0.1:1600 -> [TLS/SNI <identificador-da-conta>] -> <endereco-da-central>:443
>> tunel: <N> entrada(s) -> <endereco-da-central>:443
>> servico SpecialOneSvc: Running
>> servico SpecialOneTunnelSvc: Running
>> SpecialOne Security Agent instalado e matriculado (srv-win-01, modo Direct).

On Windows, check the two >> servico lines: both must say Running. If one of them says something else, follow how to validate.

Install the security Hub for a closed network

In Administration → Clients & Hubs, Security tab, choose Protect machines on an internal network and click Generate command. The screen sets up three steps: install the Hub, enter its IP and install the agents.

The Hub is a Linux machine on your network that acts as a bridge: the internal agents talk to it, and only it needs internet, including for the others to install.

Protect machines on an internal network scenario with steps 1, 2 and 3 open and the Hub command

What the Hub machine needs:

  • Linux with systemd. The Hub does not run on Windows, but the agents behind it can be Windows.
  • Always on, with a fixed IP and outbound internet access on 443.
  • On the network the agents and devices can reach.
  • Port 514 free, with no other syslog receiver on the same machine.

Step 1: Install the Hub. Copy the command and run it on the Hub machine, as root. The installer adds whatever the machine is missing, such as python3, curl, rsyslog and logrotate, plus the Hub's own security agent.

curl -sSL https://<endereco-da-central>/api/v2/security/dist/security-hub.sh | sudo SP1_BASE_URL='https://<endereco-da-central>' SP1_ENROLL_TOKEN='<token-de-instalacao>' SP1_SHA256_DEB='<sha256-do-pacote-deb>' SP1_SHA256_RPM='<sha256-do-pacote-rpm>' SP1_INGRESS='<endereco-da-central>:443' SP1_SNI='<identificador-da-conta>' bash

The output shows the stages and, at the end, the Hub's IP and the address the internal hosts use to install:

>> etapa 0/7: pre-checks
>> etapa 1/7: ponte TLS (...)
>> etapa 2/7: recepcao de syslog (514/udp e 514/tcp)
>> etapa 3/7: agente de seguranca (perfil hub)
>> etapa 4/7: heartbeat das origens (...)
>> etapa 5/7: rotacao dos logs
>> etapa 6/7: relay de instalacao (...)
>> etapa 7/7: resumo
>> ENDERECO DESTE HUB (destino do syslog dos equipamentos, porta 514; e dos agentes internos, porta 2000): 10.20.30.40
>> hosts SEM internet instalam por aqui: use o comando "via Hub" da tela (base http://10.20.30.40:2001)

On the first load, the Hub takes a few minutes copying the packages the internal hosts need. To confirm it is ready, install a host through Step 3.

Step 2: Hub IP address. Type the IP of the machine where you installed the Hub. If it is already enrolled, pick it from the list. The screen puts that IP in the command of the next step, in place of <IP_DO_HUB>. Within 5 minutes, the Hub appears in Security Agents with the Hub badge.

Step 3: Install the agent on the internal machines. See Install the agent on the internal machines, through the Hub.

Anyone who opens Add agent gets here through the Install the Hub tab of the modal, which explains the Hub and has the Open Clients & Hubs button.

Install the Hub tab of the Add security agent modal, with the Open Clients & Hubs button

Install the agent on the internal machines, through the Hub

In Administration → Clients & Hubs, Security tab, Protect machines on an internal network scenario, open Step 3, choose the system and run the command on each internal host, as root or in PowerShell as Administrator. The host downloads the package from the Hub itself, with no internet.

curl -sSL http://<IP_DO_HUB>:2001/api/v2/security/dist/security-agent.sh | sudo SP1_BASE_URL='http://<IP_DO_HUB>:2001' SP1_ENROLL_TOKEN='<token-de-instalacao>' SP1_SHA256_DEB='<sha256-do-pacote-deb>' SP1_SHA256_RPM='<sha256-do-pacote-rpm>' SP1_MODE=hub SP1_HUB='<IP_DO_HUB>:2000' bash

Step 3 with Linux selected and the command already filled in with the Hub IP

iwr -useb http://<IP_DO_HUB>:2001/api/v2/security/dist/security-agent.ps1 | iex; Install-SP1SecurityAgent -BaseUrl 'http://<IP_DO_HUB>:2001' -Token '<token-de-instalacao>' -Sha256 '<sha256-do-pacote-windows>' -Mode Hub -HubHost '<IP_DO_HUB>'

Step 3 with Windows selected and the command already filled in with the Hub IP

If the command still shows <IP_DO_HUB>, the screen asks you to Fill in the Hub IP above to complete the command. Go back to Step 2. At the end of the output, Linux shows -> hub <IP_DO_HUB>:2000, and Windows shows modo Hub.

I already have a Hub: reuse, update or install another

In Administration → Clients & Hubs, Security tab, Protect machines on an internal network scenario, with a Hub enrolled, the first step becomes Step 1: Hub (already installed), closed, and Step 2 starts offering the list of Hubs.

Scenario with a Hub already installed, with Step 1 closed, the Hub picked in Step 2 and the command in Step 3

For a network a Hub already serves, do not install another: go straight to Step 2. Opening Step 1, there are two options:

Step 1 open with the options Need to update this Hub to the latest version and Segregated network, Install another Hub

Option When to use it Where to run it
Need to update this Hub to the latest version? To update the Hub. It keeps the enrollment. On the Hub itself, as root.
Segregated network? Install another Hub For an isolated network, which gets its own Hub. On a new machine of that network, as root.

In Step 2, the selector has your Hubs and Other IP..., to type an address. The chosen IP goes into the whole Step 3 command.

Step 2 selector open with one Hub and the Other IP option

Receive firewall and switch logs on the Hub

In Administration → Clients & Hubs, Security tab, choose Receive logs from devices. Firewalls, switches, storage and applications without an agent send syslog to the Hub, which only receives those logs: the protection of your hosts does not change, and no agent needs to be re-pointed.

Receive logs from devices scenario, with the Hub machine requirements, the chosen vendor and the ready command

  1. Step 1: install the Hub. What the Hub machine needs: Linux machine, Always on, Fixed IP and On a network the devices can reach.
  2. Step 2: Point the device: pick the Hub and the vendor. The configuration comes ready, with the Hub IP and port 514/UDP.
  3. Step 3: Check reception: within about 2 minutes, the device shows up in Log sources, with its state, line count and a sample. The Open Log Management button takes you there.

Step 3 Check reception, with the device selector and the Open Log Management button

The Hub accepts syslog from the private subnets attached to the machine. For a device on another network, run the Hub command with SP1_SYSLOG_ALLOW='10.20.50.0/24' right after sudo or env. The Hub keeps that value: when you update, you do not need to repeat the variable. The details per vendor are in Log sources.

This scenario depends on the plan. Without the feature, the screen shows only the two protection scenarios, with the question How do the machines you want to protect reach the internet?

Screen without the logs scenario, with the question How do the machines you want to protect reach the internet

If you reach it through a direct link, the option appears with a padlock and the notice Receiving logs from devices is not part of your plan. Contact your account team to learn more.

Receive logs from devices scenario with a padlock and the notice that it is not part of the plan

Ports and firewall: what to open for the security agent

The connection always leaves your network: there is no inbound port from the internet. Open these paths on the network firewall:

From To Port What for
Host in direct mode Platform addresses 443/tcp, outbound Install, enroll and send the data, over TLS.
Hub Platform addresses 443/tcp, outbound Download the packages, enroll and send the data of all agents.
Internal agent Hub 2000/tcp Send the data.
Internal host being installed Hub 2001/tcp Download the package and enroll. It is HTTP: use it only on the internal network and do not expose it.
Firewall, switch, device Hub 514/udp and 514/tcp Syslog.

Outbound access on 443 must be direct, with no explicit proxy, as the prerequisites explain. From the agent to the Hub, the data travels with the agent's own AES encryption. From the Hub out, over TLS. In direct mode, the agent talks to the tunnel on 127.0.0.1:1600: that stays inside the host and needs no rule.

The Hub installer opens ports 514, 2000 and 2001 on the machine's own ufw or firewalld, when one of them is active. The network firewall between VLANs is up to you.

Find the platform addresses to open on the firewall

In Administration → Clients & Hubs, Security tab, choose Protect machines on an internal network and click Generate command. In the Step 1 command, read the two parts below. You do not need to run that command, even if you will use the direct install, and the token created expires by itself in 48 hours.

Part of the Hub command What it is
SP1_BASE_URL The download and enrollment address.
SP1_INGRESS The data endpoints, with port 443. There can be more than one, separated by commas: open all of them.

The direct command only shows the download address. The data endpoints also appear in the installer output, after the last ->. If your firewall only accepts rules by IP, contact SpecialOne support.

TLS inspection must leave these addresses out

The agent checks the platform's certificate and refuses anything swapped along the way. If the firewall or the proxy inspects TLS, take the addresses above out of the inspection. Without that, the agent stays in Never connected.

Confirm that the security agent is working

In Security → Security Agents, the host shows up within 5 minutes. Pending in the first few minutes is normal. After that, you should see Connected.

To check on the host itself:

systemctl status specialone-security-agent --no-pager
# direct mode only
systemctl status specialone-security-tunnel --no-pager

You should see active (running). In Hub mode, the tunnel service stays masked, and that is normal.

Get-Service SpecialOneSvc
# direct mode only
Get-Service SpecialOneTunnelSvc

You should see Running. In Hub mode, SpecialOneTunnelSvc does not exist, and that is normal.

ss -lntu | grep -E ':(514|2000|2001) '
systemctl status specialone-security-hub specialone-security-agent rsyslog sp1-hub-relay --no-pager

You should see ports 514 (udp and tcp), 2000 and 2001 listening and the four services in active (running). The final test is installing a host through Step 3.

Update the security agent and the Hub

Agent: in Security → Security Agents, open the row's ⋮ menu, choose Update agent and click Update now. The option appears when the build differs from the current one, and the agent must be Connected. Collection stops for a few seconds, and the Version column shows updating and then pending confirmation, for up to 1 hour. See Update the security agent from the screen.

Hub: in Administration → Clients & Hubs, Security tab, Protect machines on an internal network scenario, click Generate command, open Step 1: Hub (already installed) and, under Need to update this Hub to the latest version?, copy the command. Until you generate it, the command stays masked. Run it on the Hub itself, as root. It updates in place and keeps the enrollment. The agent running inside the Hub updates like any other, through the ⋮ menu.

Running the agent's install command again is not updating

On the agent, the command redoes the enrollment: it gets another id, the history does not follow and one of the token's 10 uses is spent. Reinstall only when the install did not finish. The Hub is different: running its command again is exactly how it updates.

Remove the security agent and the Hub

To remove the security agent, uninstall it on the host and then remove it in Security → Security Agents, ⋮ menu, Remove agent or Remove Hub. These are two steps, in that order.

1. On the host:

sudo apt-get purge specialone-security-agent
sudo rpm -e specialone-security-agent

In PowerShell as Administrator:

iwr -useb https://<endereco-da-central>/api/v2/security/dist/security-agent.ps1 | iex; Uninstall-SP1SecurityAgent

The expected result is >> SpecialOne Security Agent removido (sem residuo). Here, <endereco-da-central> is the download address, the same as -BaseUrl in the install command. On a host that installed through the Hub, with no internet, replace the address with http://<IP_DO_HUB>:2001.

curl -sSL https://<endereco-da-central>/api/v2/security/dist/security-hub.sh | sudo SP1_UNINSTALL=1 bash

It removes the Hub and its agent. System packages, such as rsyslog, stay. With SP1_KEEP_LOGS=1 together with SP1_UNINSTALL=1, the received logs stay on the machine. The address is the download one, the same as SP1_BASE_URL in the Hub command.

2. On the platform: in Security → Security Agents, open the ⋮ menu and choose Remove agent or Remove Hub. Removing only on the host does not take it off the screen: the agent stays Disconnected until you remove it here. A Hub with devices pointing at it cannot be removed: re-point them first. The details are in Remove a security agent and Remove a security Hub.

Security agent troubleshooting

Start with the symptom. Did several agents on the same network drop together? Look at the Hub or that network's internet first, not at each host.

The security agent does not appear in the list

The host did not show up in Security → Security Agents? Check in this order:

  1. Did the install finish? Read the last line of the command output. If it does not say instalado e matriculado (installed and enrolled), the reason is there. Look in Installer messages.
  2. Have 5 minutes passed? The host can take up to 5 minutes to show up in the list.
  3. Was the token still valid? See Expired or invalid token.

If the install says it enrolled and, after 5 minutes, the agent does not appear, contact SpecialOne support.

The agent stays in Never connected

In Security → Security Agents, the Never connected status means enrollment happened, but the traffic never arrived. It is almost always the network.

  1. Are the services running? See how to validate.
  2. Is outbound traffic allowed? 443 in direct mode, 2000 to the Hub in Hub mode. Run the network tests.
  3. Is there TLS inspection on the way? Take the platform addresses out of the inspection.
  4. What do the logs say? Start with the tunnel log, in direct mode.

The agent stays in Disconnected

In Security → Security Agents, the Disconnected status means the agent has worked before and stopped talking. The analysis center marks it this way after 30 minutes without a signal.

  1. Is the host on and on the network? That is the most common: a machine turned off, a laptop off the network.
  2. Are the services running? See how to validate. If one stopped, restart it and read the logs. Restarting does not lose the enrollment.
  3. Several on the same network at the same time? Look at the Hub or that network's internet.
# the tunnel only exists in direct mode
sudo systemctl restart specialone-security-tunnel
sudo systemctl restart specialone-security-agent
# the tunnel only exists in direct mode
Restart-Service SpecialOneTunnelSvc
Restart-Service SpecialOneSvc
sudo systemctl restart specialone-security-hub specialone-security-agent

Do not reinstall to fix it: reinstalling redoes the enrollment, and the agent gets another id.

Expired or invalid token: matricula falhou

The message matricula falhou (token invalido/expirado?) (enrollment failed, invalid or expired token) means the token went past 48 hours, went past 10 uses or was revoked. It also shows up when the host cannot reach the enrollment address: if the token is new, test the network.

In Security → Security Agents → Add agent, click Generate command again, copy it and run it. You do not need to uninstall anything first. To see the situation of each token, open Enrollment tokens.

Messages from the agent and Hub installers

Message Likely cause What to do
checksum ausente (comando mascarado?) The command was copied without generating it. Generate the command on the screen.
CHECKSUM NAO CONFERE A new package came out after the command, or something on the way altered the download. Generate a new command. If it repeats, check the proxy.
rode como root (sudo) Missing privilege. Run it as root. With no sudo on the host, log in as root and replace sudo with env in the command.
Rode num PowerShell como Administrador. Missing privilege. Open PowerShell as Administrator.
arquitetura ... nao suportada The host is not x86_64. Contact support.
distro nao suportada The host has neither apt nor rpm. Contact support.
distro rpm sem dnf/yum/zypper The host has rpm, but no package manager to resolve dependencies. Contact support.
pacote ... nao encontrado no manifesto or instalador Windows nao encontrado no manifesto The host could not read the package list: outbound access blocked or a proxy on the way. Test the network. If the host uses a Hub, wait for its first load to finish.
instalacao do .deb falhou or instalacao do .rpm falhou The package manager could not install the agent: it could not reach the distribution's repository for a dependency, or another process was using the package manager. Check access to the repository, wait for the other process to finish and run the command again. Enrollment had not happened yet, so no token use was spent.
instalador retornou N Windows only: the package installer ended with error code N, and the agent was not installed. Contact support and give them the number.
matricula incompleta or, on Windows, resposta de matricula incompleta The enrollment was not completed. Generate the command again and run it. If it repeats, contact support. On Linux, also send the detail file the message points to: it does not include the agent key.
modo Direct exige ingress+sni Windows only: the enrollment did not complete the direct mode setup. Contact support.
nao encontrei o tunel TLS do agente Low memory, or the host cannot reach the distribution's repository. The agent stays in Never connected. Follow the commands the installer prints, without redoing the install. Or use a Hub.
o tunel TLS (specialone-security-tunnel) nao subiu The local tunnel did not start. Read the tunnel log and contact support.
a ponte nao subiu Hub only: the bridge for the agents did not start. Read the bridge log and contact support.
nenhum daemon do agente subiu The agent was installed but did not start. Read the log /opt/specialone/security/logs/specialone.log and contact support.
ja existe outro receptor syslog na porta 514 Hub only: the machine already receives syslog. Two receivers split the events, and each one loses a part. Remove the old receiver or use another machine for the Hub.
a porta 2001/tcp do relay ja esta em uso Hub only: another service holds the port. Free the port, or use SP1_HUB_RELAY_PORT, as the message explains, and change the port in the Step 3 command too.
precisa de systemd Hub only: the Hub requires systemd. Use another Linux machine.

Other symptoms on the screen

Symptom Likely cause What to do
I do not see Generate command You are not an Admin. Ask an administrator.
Clients & Hubs goes back to the dashboard The User profile cannot open that screen. Use Add agent, in Security Agents, or ask an administrator.
Not synced No recent signal to confirm the agent's status. Follow the agent stays in Disconnected. If it continues, contact support.
Update agent disabled The agent has no connection. Fix the connection first.
revision not reported The package is old and does not report the revision. Reinstall or update.
Agent refused after removal The enrollment was deleted. Reinstall with the command from the screen.

Test the network to the platform and to the Hub

Run this on the host with the problem. The values come from the command generated on the screen, or from the installer output:

  • <endereco-da-central>: each data endpoint, without the port. It is in SP1_INGRESS, in the Hub command, or after the last ->, in the installer output. It is not the download address in SP1_BASE_URL. To test the download, repeat the test with that other address, without https://.
  • <identificador-da-conta>: the whole value of SP1_SNI, or what comes after SNI in the installer output. It is a DNS name that starts with your account identifier, not the code the modal shows in Group.
  • <IP_DO_HUB>: the Hub's IP, the same one as in the Step 3 command.
# direct mode or on the Hub itself: network and certificate to the platform
echo | openssl s_client -connect <endereco-da-central>:443 -servername <identificador-da-conta> 2>/dev/null | grep "Verify return code"
# from the internal host to the Hub
timeout 3 bash -c '</dev/tcp/<IP_DO_HUB>/2000' && echo "Hub reachable"
timeout 3 bash -c '</dev/tcp/<IP_DO_HUB>/2001' && echo "Install through the Hub reachable"
# direct mode: to the platform
Test-NetConnection <endereco-da-central> -Port 443
# from the internal host to the Hub
Test-NetConnection <IP_DO_HUB> -Port 2000
Test-NetConnection <IP_DO_HUB> -Port 2001
Result What it means
Verify return code: 0 (ok) Network and certificate are fine. The problem is in the agent or the tunnel.
Nothing comes back, or TcpTestSucceeded : False Outbound traffic is blocked on the firewall, or the host's DNS does not resolve the name.
Verify return code other than 0 There is TLS inspection on the way. Take the addresses out of the inspection.

Where the security agent logs are

System Agent log Tunnel log, in direct mode
Linux /opt/specialone/security/logs/specialone.log /opt/specialone/security/logs/specialone-tunnel.log
Windows C:\Program Files (x86)\SpecialOne Security Agent\specialone.log C:\Program Files (x86)\SpecialOne Security Agent\logs\specialone-tunnel.log
Hub /opt/specialone/security/logs/specialone.log Bridge: /opt/specialone/security-hub/logs/specialone-hub.log

Send the logs, never the whole agent folder

The agent folder also holds the enrollment key. When you open a ticket, send the host name, the status on the screen, the mode (direct or Hub), the system, the output of the validation commands and the last lines of the logs above.

Enrollment tokens: generate and revoke

In Administration → Clients & Hubs, Security tab, the Enrollment tokens block lists your tokens. Only the Admin sees this block.

Enrollment tokens block with the search, the Generate token button, the total and the Show expired and exhausted option

Column Content
Label The name given to the token. Generate command uses onboarding.
Token Only the start of the token, never the whole thing.
Status Active, Revoked, Expired or Exhausted.
Uses How many uses were made, over the maximum.
Expires Date and time, or Never.
Actions Revoke, only on an active token.

Search tokens... filters by label and by the start of the token. The list opens with only the active tokens. The expired, exhausted and revoked ones are behind Show expired and exhausted (N).

Token list open, with Expired and Revoked tokens

Generate a standalone enrollment token

In Administration → Clients & Hubs, Security tab, Enrollment tokens block, click Generate token. Generate command already creates a token for you: generate a standalone one only when you need a different deadline or limit, such as a larger fleet installed over several weeks.

  1. Fill in Label, Max uses (optional) and Expires in (days, optional). The defaults are onboarding, 5 uses and 30 days.
  2. Click Generate.
  3. Copy the token. The screen warns: Copy this token now. For your security it will not be shown again.
  4. Generate the command on the screen and replace the token value: SP1_ENROLL_TOKEN on Linux, -Token on Windows. Replacing the token is the only case where you edit the command by hand. That Generate command also creates a 48-hour token, which you can revoke in this list.

Generate enrollment token modal with the Label, Max uses and Expires in fields

A blank field means a token with no limit

Without Max uses, the token has no ceiling. Without Expires in, the Expires column shows Never. Always prefer to set a deadline: anyone with the token can put hosts into your environment.

Revoke an enrollment token

In Administration → Clients & Hubs, Security tab, Enrollment tokens block, open the row's menu and click Revoke. The browser asks for confirmation: Revoke this enrollment token? Machines using it will no longer be able to enroll.

Row menu of an active token with the Revoke option

When you confirm, the screen shows Token revoked. Revoking does not drop the hosts already in: enrolled hosts keep working, and new ones can no longer enroll.

Security client download pages

Besides the modal and Clients & Hubs, two pages have the same command, split by family. They have no menu item: open them at the address /download_security_linux or /download_security_windows, while logged in. The breadcrumb goes back to Clients & Hubs.

Security Client Download - Linux has one block per family: Red Hat, Rocky, Alma, Oracle and Debian, Ubuntu. Each one has three steps: Generate the install command, Download the package and Run the command.

Linux download page with the Red Hat family open and the three steps

Run the command step on the Red Hat family, with the generated command

Debian, Ubuntu family open, with the generated command

Security Client Download - Windows has two steps, in Install on Windows: Generate the install command and Run the command. The top shows the supported systems.

Windows download page with the supported systems and the two steps

Run the command step with the generated command

The package alone does not put the agent on the platform

The Download the package step, on the Linux page, offers the file and an rpm -ivh or dpkg -i. The installer in the command is what enrolls: installing only the package does not register the agent, and it does not appear in the list. To protect a host, use Run the command. For a host without internet, use a Hub.

Download the package step, with the link, the rpm command and the note about on-demand builds

Without the module enabled, the page shows Security is not enabled in this environment.

Download page with the notice that security is not enabled in this environment and the Go back link

Vulnerability history: how long to keep it

In Administration → Clients & Hubs, Security tab, the Vulnerability history block defines how long the platform keeps the daily total of vulnerabilities by severity and by asset, to compare week over week. It only appears with vulnerabilities in the plan.

Vulnerability history block with the status line, the Keep for field and the Save button

The status line shows since when the history has been kept, how many days it has, the last record and the last environment scan.

In Keep for, choose 90 days, 180 days, 1 year, 2 years or No limit, and click Save. Anyone who is not an administrator sees Only administrators can change this.

If you reduce the period and there are records older than the new limit, the screen asks for confirmation in Reduce history retention. When you click Continue, the records before the date shown are deleted within 1 hour.

Reduce history retention modal, with the cutoff date and the Cancel and Continue buttons

When the Clients & Hubs screen shows a message

Security is not enabled. The module is not turned on for your account. Contact your account team.

Security tab with the message Security is not enabled

Waiting for provisioning. The security service is being set up for your environment. It can take a few minutes: leave and come back, or click Check again.

Security tab with the message Waiting for provisioning and the Check again button

Who sees what

Operation Admin User Viewer
Open Add agent in Security Agents Yes Yes Yes
Open Clients & Hubs Yes No, goes back to the dashboard Yes
See the scenarios, with the command hidden Yes No Yes
See the Hubs in the selector Yes Does not open the screen Yes
Open the download pages Yes Yes Yes
Generate command, for agent and Hub Yes No, sees the notice No, sees the notice
See and manage Enrollment tokens Yes No No
Change the Vulnerability history retention Yes No No, read-only

The person who runs the command on the host does not need a platform login: receiving the command from an administrator is enough.

Next steps

  • Security Agents


    Check the status of each agent, update and remove from the screen.

    See agents

  • Overview


    The module's summary panel, with the coverage of what is still unprotected.

    Open the Overview

  • Vulnerabilities


    As soon as the inventory arrives, your hosts' CVEs show up here.

    See vulnerabilities

  • Log sources


    Point firewalls and switches to the Hub and check reception.

    See log sources