Totally anonymous botnet client with an emphasis on individual zombie control, resiliency of the host machine, and ease of remote code execution. Zombies are designed to easily mine ethereum in their free time for fun and check in at pre-specified intervals to report on their CPU, memory, disk, and network utilization.
Zombies can also use go-dos-yourself to enable remote network performance testing, fuzzing, spoofing, and attacking. Use responsibly.
- Automate the execution of local processes remotely via REST or locally via JSON configuration.
- Automatically receive local processes' log output directly via email.
- Automatically prune old logs when disk space gets low.
- Built-in network manager regularly queries configurable internet endpoints at set intervals and reboots the machine when it's unable to reach the internet.
- Receive automated 'checkups' from the remote machine via email which include reports about overall system health.
- Remote machines can be fully passively and fully anonymously monitored via a steady stream of emailed logs or directly managed via REST.
- REST supports HTTPS with TLS encryption and timestamping to prevent replay attacks and ensure anonymity. Authentication is a work in progress still.
- macOS El Capitan 10.11.6
- Ubuntu 16.04.1
- Windows 10
- macOS >= 10.8.X
- Ubuntu >= 14.04.5
- Windows >= 7 SP2
- Navigate to assets/ and execute
cp config.json.sample config.json
- Update the required values in assets/config.json:
- CheckInGmailAddress - set this to the gmail address you wish to receive system reports and process logs at.
- CheckInGmailPassword - set this to the password to the above gmail address.
- CheckInFrequencySeconds - set this to the frequency at which you'd like to receive system reports at your specified email address. value is in seconds.
- NetQueryFrequencySeconds - set this to the frequency at which you'd like anon-eth-net to check for internet connectivity.
- Optionally update the optional values in assets/config.json:
- DeviceName - set this to the canonical name of the device which will be executing anon-eth-net. e.g. "main desktop", "garage pc", "sister's laptop", etc.
- DeviceId - if you wish to use your own method of uniquely identifying your remote devices fill in that value here otherwise anon-eth-net will generate a GUID for you automatically.
- Set your gmail address to allow "insecure app access". The page to enable that is here: https://support.google.com/accounts/answer/6010255?hl=en
- Download your favorite ethereum miner from the internet and add its install location to your system PATH variable.
- Read the manual for the miner and configure it along with all the command-line parameters required for it to operate. Extract the entire command-line command to start the miner.
- Update assets/main_loader_.json with the command to start up the miner. An example is already located in assets/main_loader_linux.json to copy from.
- You're done! Run the binary!
- Git:
brew install git
- Go:
brew install go
- Glide:
brew install glide
- Select a parent folder for all your go code. 'golang' is not a bad idea. Inside this folder create a subfolder 'src' and in that folder a subfolder named "github.com". Example:
golang/src/github.com
- Since this project is under my name on GitHub it has to be cloned into a folder titled
seantcanavan
so usegit clone
to download the repository into a subfolder with my username like so:cd github.com
mkdir seantcanavan
cd seantcanavan
git clone [email protected]:seantcanavan/anon-eth-net.git
The code should now live within a folder titledgolang/src/github.com/seantcanavan/anon-eth-net
.
- Go is already automatically configured on your local macOS path if installed via the brew package manager.
- Setup GOBIN and GOPATH system variables for your macOS user. Point to the
<parent_go_folder>
directory. For GOBIN use the same value as GOPATH but add /bin to the end. GOPATH should be something like/Users/<username>/<parent_go_folder>
and GOBIN should be something like/Users/<username>/<parent_go_folder>/bin
. All your golang projects will now need to reside under your GOPATH variable for compatibility and compilation purposes. You can automatically set the GOPATH variable in your .bash_profile file on each terminal load / system startup:nano ~/.bash_profile
- Scroll to the bottom and paste the following. You may wrap the folder argument after the equal sign in quotes if you have spaces in your folder names (shame on you).
export GOPATH=/Users/<username>/<parent_go_folder>
export GOBIN=/Users/<username>/<parent_go_folder>/bin
- I use a folder called 'workspace' as a former Eclipse user so my paths looks like this:
export GOPATH=/Users/seantcanavan/workspace/golang
export GOBIN=/Users/seantcanavan/workspace/golang/bin
- Update your sudoers file with the following. This will allow the utility to perform sudo commands without the sudo password for these specific commands. This is used for rebooting the machine and querying for its current internal status:
sudo visudo
<username> ALL=(ALL) NOPASSWD:/usr/sbin/lsof
- Mine looks like:
seantcanavan ALL=(ALL) NOPASSWD:/user/sbin/lsof
<username> ALL=(ALL) NOPASSWD:/sbin/shutdown
- Mine looks like:
seantcanavan ALL=(ALL) NOPASSWD:/sbin/shutdown
- By default your REST commands will be encrypted over HTTPS with a test certificate and private key that are readily available from this GitHub. This is fine for testing but when you decide to deploy you'll need to create your own private key / public key / certificate combination to keep all your transmissions totally secure.
- Generate the private key:
openssl genrsa -out server.key 2048
- Generate the certificate and public key:
openssl req -new -x509 -sha256 -key server.key -out server.pem -days 3650
- Place both files in the 'assets' folder which will be at
<clone_root_dir>/anon-eth-net/src/github.com/seantcanavan/assets/
- Generate the private key:
- Change directory to the root of the source folder:
<clone_root_dir>/anon-eth-net/src/github.com/seantcanavan/
make install
- TBA
- Git:
sudo apt-get install git
- Go:
sudo apt-get install golang-go
- iostat:
sudo apt-get install sysstat
- Glide:
sudo add-apt-repository ppa:masterminds/glide && sudo apt-get update
sudo apt-get install glide
- Select a parent folder for all your go code. 'golang' is not a bad idea. Inside this folder create a subfolder 'src' and in that folder a subfolder named 'github.com'. Example:
golang/src/github.com
- Since this project is under my name on GitHub it has to be cloned into a folder titled
seantcanavan
so usegit clone
to download the repository into a subfolder with my username like so:cd github.com
mkdir seantcanavan
cd seantcanavan
git clone [email protected]:seantcanavan/anon-eth-net.git
The code should now live within a folder titledgolang/src/github.com/seantcanavan/anon-eth-net
.
- Go is already automatically configured in your local Ubuntu path if installed via the synaptic package manager.
- Setup GOBIN and GOPATH system variables for your Ubuntu user. Point to the
<parent_go_folder>
directory. For GOBIN use the same value as GOPATH but add /bin to the end. GOPATH should be something like/home/<username>/<parent_go_folder>
and GOBIN should be something like/home/<username>/<parent_go_directory>/bin
. All your golang projects will now need to reside under your GOPATH variable for compatibility and compilation purposes. You can automatically set the GOPATH variable in your .bashrc file on each terminal load / system startup with the following commands:nano ~/.bashrc
- Scroll to the bottom and paste the following. You may wrap the folder argument after the equal sign in quotes if you have spaces in your folder names (shame on you).
export GOPATH=/home/<username>/<parent_go_folder>
export GOBIN=/home/<username>/<parent_go_folder>/bin
- I use a folder called 'workspace' as a former Eclipse user so my paths looks like this:
export GOPATH=/home/seantcanavan/workspace/golang
export GOBIN=/home/seantcanavan/workspace/golang/bin
- Update your sudoers file with the following. This will allow the utility to perform sudo commands without the sudo password for these specific commands. This is used for rebooting the machine and querying for its current internal status:
sudo visudo
<username> ALL=(ALL) NOPASSWD:/bin/netstat
- Mine looks like:
seantcanavan ALL=(ALL) NOPASSWD:/bin/netstat
- By default your REST commands will be encrypted over HTTPS with a test certificate and private key that are readily available from this GitHub. This is fine for testing but when you decide to deploy you'll need to create your own private key / public key / certificate combination to keep all your transmissions totally secure.
- Generate the private key:
openssl genrsa -out server.key 2048
- Generate the certificate and public key:
openssl req -new -x509 -sha256 -key server.key -out server.pem -days 3650
- Generate the private key:
- Change directory to the root of the source folder:
<clone_root_dir>/anon-eth-net/src/github.com/seantcanavan/
make install
- TBA
- Git:
https://github.com/git-for-windows/git/releases/download/v2.10.2.windows.1/Git-2.10.2-64-bit.exe
- Golang:
https://storage.googleapis.com/golang/go1.7.3.windows-amd64.msi
- TBA - glide for windows? i don't think it's a thing unfortunately. will have to revert to 'go get'
- Use
git clone
to download the repository. - Configure your local system to make sure that the Go installation path is on the system path.
- Setup GOBIN and GOPATH system variables for your windows users. Point to the root of the anon-eth-net clone directory. For GOBIN use the same value as GOPATH but add \bin to the end. GOPATH should be something like
C:\users\<username>\clone_root_dir\anon-eth-net
. - I don't think Windows requires elevated permissions to execute the shutdown command natively from the shell as long as the executing user is an Administrator. Fingers crossed.
- By default your REST commands will be encrypted over HTTPS with a test certificate and private key that are readily available from this GitHub. This is fine for testing but when you decide to deploy you'll need to create your own private key / public key / certificate combination to keep all your transmissions totally secure.
- Windows private key gen command here
- Windows certificate gen command here
- TBA