Core Concepts
C2 server vs implant: The Sliver server runs on your attacker machine and exposes listener ports. The implant runs on the target and calls back to those listeners. You interact with implants through the Sliver console. Beacon vs Session: A beacon checks in at a configurable interval (e.g. every 60 seconds), receives queued tasks, executes them, then goes back to sleep. A session holds a persistent interactive connection that responds immediately. Beacons are far stealthier and are preferred for real engagements. Sessions are useful for quick interactive work but generate continuous traffic. Implant naming: Sliver auto-assigns a random two-word name to each implant (e.g.WARM_LUMBERMAN, SILENT_MOTH). This name is how you reference the implant across use, sessions, and beacons commands. You can rename with rename.
Task-based execution: In beacon mode, commands you issue are queued on the server. They are not executed until the beacon checks in. Use tasks to see pending and completed tasks, and tasks fetch <id> to retrieve the output of a specific task.
Listeners
Listeners run on the C2 server and wait for implant callbacks. Choose the transport based on what egress is available on the target network and your OPSEC requirements.Generating Implants
Beacons are the default choice. Session implants are available when you need immediate interactivity. Output format determines whether you get an EXE, DLL, raw shellcode, or service binary.Session Management
These commands manage active beacons and sessions from the main Sliver console. Once youuse an implant, subsequent commands run in its context.
Recon
Basic situational awareness commands to run immediately after getting a callback. Understand the user, host, network position, and what security tooling is present before doing anything else.File Operations
Standard file management from within a session or beacon context. Downloads and uploads work on both Windows and Linux targets.Shell Access
Useexecute for single commands instead of opening a full interactive shell. A full shell is noisier, harder to log, and draws more EDR attention.
Process Operations
Process listing helps you identify AV and EDR processes and find good migration targets. Migrating into a legitimate, long-running process makes the implant harder to detect and more survivable.Pivoting
Sliver has built-in SOCKS5 and port forwarding to route traffic through an implant into unreachable network segments.Lateral Movement
Sliver provides a built-in PsExec-style lateral movement command. For shellcode-based movement, generate a shellcode implant and inject it via a BOF or in-memory loader.Armory
Armory is Sliver’s extension manager. It installs community tools (Rubeus, SharpHound, Seatbelt, Mimikatz, and others) as aliases that run in-memory via BOFs or .NET assemblies. Nothing touches disk.BOFs
BOF (Beacon Object File) is a compiled C object that runs inside the beacon process. No binary is dropped to disk, the footprint is minimal, and execution is fast. Sliver is compatible with Cobalt Strike BOFs.Persistence
Persistence mechanisms keep the implant running across reboots. Run these carefully and clean up after the engagement.OPSEC Tips
Operational security considerations for using Sliver on real engagements:- Prefer beacons over sessions in every engagement; persistent connections are trivial to flag in network monitoring
- Set sleep and jitter to at least 60 seconds base with 30 seconds jitter; flat check-in intervals are easy to detect
- Use mTLS or HTTPS transports; plain HTTP is never acceptable on a real engagement
- Migrate out of your initial shell process immediately after getting a beacon (cmd.exe and powershell.exe are heavily monitored by EDR)
- Good migration targets:
explorer.exe,svchost.exe,RuntimeBroker.exe,OneDrive.exe - Run post-ex tools via armory in-memory rather than uploading and executing binaries from disk
- For HTTPS listeners, configure a custom C2 profile that mimics real browser traffic (realistic User-Agent, Host header, URI paths)
- Kill all listeners and sessions at the end of an engagement; do not leave C2 infrastructure running