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

Obfuscation fails for shared format #135

Closed
digital-shokunin opened this issue Nov 20, 2019 · 4 comments
Closed

Obfuscation fails for shared format #135

digital-shokunin opened this issue Nov 20, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@digital-shokunin
Copy link

Describe the bug
This C2 is very buggy if you try following the instructions even the cloning of the project into $GOPATH/src etc doesn't fix things, you have to copy files from src/github.com/BishopFox/sliver/sliver back one directory and manually do a go install for it to find what it needs. Also despite installing mingw when I try to build a binary for windows it fails. (this works with the release version but not the build version).

To Reproduce
Steps to reproduce the behavior:
Generate windows sliver
image

windows.h is in a few locations:
/usr/share/mingw-65/include/windows.h
/usr/x86_64_w64-mingw32/include/windows.h

Despite that it's not looking in the library path provided by the package.

@rkervella
Copy link
Member

@digital-shokunin please fill out the full bug report template next time. Especially, please provide the full commands used to start and generate the implant.

That being said, there's an open issue (#133 ) which breaks the symbol obfuscation. Please retry with the --skip-symbols flag and see if that solves your issue.

One last thing: if you followed the instruction here, you would have noticed that you should clone the project into $GOPATH/src/github.com/bishopfox/sliver and not $GOPATH/src/github.com/BishopFox/sliver (the case matters for Go).

@rkervella
Copy link
Member

I'll close this one when #133 will be fixed

@moloch--
Copy link
Member

@digital-shokunin if you're looking for a slightly more stable version checkout releases, as stated in the main readme this project is currently considered 'alpha' so bugs are to be expected, though we appreciate bug reports especially from master.

@moloch-- moloch-- added the bug Something isn't working label Dec 2, 2019
@rkervella rkervella changed the title mingw libraries broken Obfuscation fails for shared format Dec 28, 2019
@moloch--
Copy link
Member

moloch-- commented Feb 1, 2020

Temp fix in master until we port the build process to modules.

@moloch-- moloch-- closed this as completed Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants