Sliver Server Setup

Installation, operator profile generation, multiplayer mode, and running as a persistent service.


Installation

# Download server binary
wget -q https://github.com/BishopFox/sliver/releases/latest/download/sliver-server_linux
chmod +x ./sliver-server_linux
./sliver-server_linux

See Sliver releases for all OS builds.


Operator Profiles

Generate a profile for each operator to connect with:

[server] sliver > new-operator -n <operator_name> -l <listening_IP>
[*] Generating new client certificate, please wait ...
[*] Saved new client config to: /<path>/<operator_name>_<listening_IP>.cfg

Multiplayer Mode

Enable multiplayer so operators can connect via client:

[server] sliver > multiplayer
[*] Multiplayer mode enabled!
[*] <operator_name> has joined the game

Start the server and enable multiplayer in the first console, then connect via sliver-client. If you disconnect accidentally it won’t kill the server instance.


Running as a Service (systemd)

sudo vim /etc/systemd/system/sliver.service
[Unit]
Description=Sliver C2 Server
After=network.target
Wants=network.target
 
[Service]
Type=simple
Restart=always
RestartSec=5
User=root
WorkingDirectory=/opt/sliver
ExecStart=/opt/sliver/sliver-server_linux daemon
 
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl start sliver.service
sudo systemctl enable sliver.service
sudo systemctl status sliver.service

See also: 2. Client Setup, a. Infrastructure Hardening