> For the complete documentation index, see [llms.txt](https://alham-rizvi.gitbook.io/alhamrizvi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alham-rizvi.gitbook.io/alhamrizvi/c2-framworks/06-sliver-installation-and-lab-setup.md).

# 06 — Sliver Installation & Lab Setup

**Note:** Do this only inside an isolated lab VM/network, never on a machine connected to production infrastructure.

### 6.1 Requirements

* A Linux VM (Debian/Ubuntu/Kali recommended) for the team server.
* Root/sudo access.
* An isolated lab network (host-only or NAT network in VirtualBox/VMware) with an attacker VM and one or more victim VMs (e.g., Windows 10/11, a Linux VM).

### 6.2 Install (Official One-Liner)

```bash
curl https://sliver.sh/install | sudo bash
```

This installs the `sliver-server` and `sliver-client` binaries. Alternatives: download a release binary directly from the GitHub Releases page, or run Sliver in Docker for extra isolation.

### 6.3 Starting the Server

```bash
sudo sliver-server
```

This drops you into the Sliver console (`sliver >`). From here you manage listeners, implants, and sessions.

### 6.4 Multiplayer Setup (Multi-Operator)

```
sliver > multiplayer
sliver > new-operator --name alice --lhost <team-server-ip>
```

This generates a `.cfg` client config file (contains mTLS cert material). Copy it to the operator's machine and import it:

```bash
sliver-client import alice.cfg
sliver-client
```

### 6.5 Diagram — Lab Network Layout

```mermaid
flowchart LR
    subgraph Lab Network - isolated
      Attacker["Attacker VM (Kali) - sliver-server + sliver-client"]
      Victim1["Victim VM - Windows"]
      Victim2["Victim VM - Linux"]
    end
    Attacker <--mTLS/HTTP listener--> Victim1
    Attacker <--mTLS/HTTP listener--> Victim2
```

### 6.6 Sanity Check

Before moving on, confirm the server starts cleanly and the console responds:

```
sliver > help
sliver > version
```

### 6.7 What's Next

`07-sliver-commands-reference.md` is your command cheat-sheet — listeners, generate, sessions, beacons, and post-ex commands, all in one place. Then `08-sliver-practical-labs.md` puts them to use end-to-end.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://alham-rizvi.gitbook.io/alhamrizvi/c2-framworks/06-sliver-installation-and-lab-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
