Intro
So, In this post, we will be walking through the installation of Sliver, a powerful Command and Control (C2) framework developed by BishopFox. Whether you’re exploring offensive security, running red team simulations, or just curious about modern C2 tooling, Sliver offers a flexible and collaborative environment to get hands-on.
What is Sliver?
Sliver is a client-server-based command and control (C2) framework designed for collaborative engagements. Operators (clients) connect to a central Sliver server to manage and execute tasks. For flexibility and customization, it’s recommended to build Sliver from source, though precompiled binaries are also available for quicker installation. The server is typically run as root, while each operator can be a separate Linux user on the same VM. Installing Sliver in a virtual machine is ideal, as it allows easy expansion to include additional VMs in a virtual network for simulating diverse environments.
Installation
Basic Installation - Linux One Liner
If you want the fastest way to get started with Sliver, BishopFox provides a convenient one-liner install script. This method fetches and installs the latest stable release of Sliver directly onto your system.
$ curl https://sliver.sh/install | sudo bashInstall from Source Code
Building Sliver from source gives you more control over the tool and ensures you’re using the most up-to-date development version. This is the recommended approach for developers, red teamers, or anyone planning to modify or contribute to the project.
1. Compiling
Begin by cloning the official repository:
$ git clone https://github.com/BishopFox/sliver.git$ cd sliverOnce inside the project directory, compile Sliver using the provided make command:
$ make2. Docker Building
There are a few Docker targets available depending on your needs:
test- Runs the unit testsproduction- Builds the production Docker image, including optional dependencies like Metasploitproduction-slim- Builds the production Docker image, but without Metasploit and other optional dependencies
To build the production-ready Docker image:
$ docker build --target production -t sliver .Once built, you can run Sliver directly within a Docker container, integrating it with your virtual lab or networked test environment.
Summary
Sliver provides flexible installation options to match various experience levels and use cases. Whether you’re looking for a quick install via a single command, compiling from source for maximum control, or using Docker to streamline deployment, Sliver’s setup process is designed to get you operational quickly and efficiently.
By following the steps above, you’ll have a powerful C2 framework ready for experimentation, training, or real-world red teaming — all while running in a secure, isolated environment.
End Note
A short post, about an extremely cool tool, I will be dishing out more cool blogs later continued :D
See ya all! ~ v37r1x