Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named pipe stager error #1594

Open
prol000 opened this issue Mar 11, 2024 · 1 comment
Open

Named pipe stager error #1594

prol000 opened this issue Mar 11, 2024 · 1 comment

Comments

@prol000
Copy link

prol000 commented Mar 11, 2024

Describe the bug
There's an error when trying to setup a stager listener having a named pipe pivot. If I understand correctly, this should generate a payload which when executed will allow a beacon to communicate back to the sliver server via a named pipe. Given the RPC error retrieved, I'm having second thoughts. Please correct me if I'm wrong.

To Reproduce
Steps to reproduce the behavior (ip addresses are redacted:

  1. get a session over a beacon and run a named pipe pivot:
    pivots named-pipe --bind foobar --allow-all
  2. get the ip address and create a new profile with a named pipe:
    profiles new beacon --wg REDACTED-SLIVER-SERVER-IP:443 --format shellcode --named-pipe REDACTED-BEACON-IP/pipe/foobar shellcode-wg-np
  3. start a stage listener over tcp:
    stage-listener -u tcp://REDACTED-SLIVER-SERVER-IP:8081 -p shellcode-wg-np
    [*] No builds found for profile shellcode-wg-np, generating a new one
    [!] Error generating implant
    [!] rpc error: code = Unknown desc = exit status 1

Expected behavior
Create a stage listener which serves a payload that can connect back to the sliver server via a named-pipe

Desktop (please complete the following information):

  • OS: Kali Linux
  • Version:
    [] Client v1.5.42 - 85b0e87 - linux/amd64
    Compiled at 2024-02-28 19:46:53 +0000 UTC
    Compiled with go version go1.20.7 linux/amd64
    [
    ] Server v1.5.42 - 85b0e87 - linux/amd64
    Compiled at 2024-02-28 19:46:53 +0000 UTC
@rkervella
Copy link
Member

Can you check$HOME/.sliver/logs/sliver.log for a more verbose error message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants