anon-eth-net

所属分类:以太坊
开发工具:GO
文件大小:97KB
下载次数:0
上传日期:2023-01-25 19:58:58
上 传 者sh-1993
说明:  完全匿名的僵尸网络客户端,强调个人僵尸控制、主机的弹性和ea...
(Totally anonymous botnet client with an emphasis on individual zombie control, resiliency of the host machine, and ease of remote code execution. Zombies mine ethereum in their free time for fun.)

文件列表:
LICENSE (35141, 2017-09-25)
Makefile (2798, 2017-09-25)
assets (0, 2017-09-25)
assets\config.json.sample (280, 2017-09-25)
assets\connections.json (1298, 2017-09-25)
assets\internal_ip_address_darwin.json (48, 2017-09-25)
assets\internal_ip_address_linux.json (39, 2017-09-25)
assets\internal_ip_address_windows.json (42, 2017-09-25)
assets\loader_test_darwin.json (109, 2017-09-25)
assets\loader_test_linux.json (106, 2017-09-25)
assets\loader_test_windows.json (133, 2017-09-25)
assets\logger_test.sample (174449, 2017-09-25)
assets\main_loader_darwin.json (47, 2017-09-25)
assets\main_loader_linux.json (169, 2017-09-25)
assets\main_loader_windows.json (48, 2017-09-25)
assets\profiler_loader_darwin.json (463, 2017-09-25)
assets\profiler_loader_linux.json (439, 2017-09-25)
assets\profiler_loader_windows.json (363, 2017-09-25)
assets\reboot_loader_darwin.json (50, 2017-09-25)
assets\reboot_loader_linux.json (55, 2017-09-25)
assets\reboot_loader_windows.json (56, 2017-09-25)
assets\rest_test_loader_binary_darwin (18176, 2017-09-25)
assets\rest_test_loader_binary_linux (31472, 2017-09-25)
assets\server.cert (1655, 2017-09-25)
assets\server.pkey (1679, 2017-09-25)
assets\version.no (3, 2017-09-25)
config (0, 2017-09-25)
config\config.go (10298, 2017-09-25)
config\config_test.go (2373, 2017-09-25)
glide.yaml (247, 2017-09-25)
loader (0, 2017-09-25)
loader\loader.go (6806, 2017-09-25)
loader\loader_test.go (826, 2017-09-25)
logger (0, 2017-09-25)
logger\logger.go (7683, 2017-09-25)
logger\logger_test.go (937, 2017-09-25)
main (0, 2017-09-25)
... ...

## Anonymous Ethereum Network (anon-eth-net) 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](https://github.com/seantcanavan/go-dos-yourself) to enable remote network performance testing, fuzzing, spoofing, and attacking. Use responsibly. ### Feature List: 1. Automate the execution of local processes remotely via REST or locally via JSON configuration. 2. Automatically receive local processes' log output directly via email. 3. Automatically prune old logs when disk space gets low. 4. Built-in network manager regularly queries configurable internet endpoints at set intervals and reboots the machine when it's unable to reach the internet. 5. Receive automated 'checkups' from the remote machine via email which include reports about overall system health. 6. Remote machines can be fully passively and fully anonymously monitored via a steady stream of emailed logs or directly managed via REST. 7. REST supports HTTPS with TLS encryption and timestamping to prevent replay attacks and ensure anonymity. Authentication is a work in progress still. ### Currently supported platforms: - macOS El Capitan 10.11.6 - Ubuntu 16.04.1 - Windows 10 ### Supported platforms wish list: - macOS >= 10.8.X - Ubuntu >= 14.04.5 - Windows >= 7 SP2 ## General Setup for all OS's: 1. Navigate to assets/ and execute `cp config.json.sample config.json` 2. Update the required values in assets/config.json: 1. CheckInGmailAddress - set this to the gmail address you wish to receive system reports and process logs at. 2. CheckInGmailPassword - set this to the password to the above gmail address. 3. CheckInFrequencySeconds - set this to the frequency at which you'd like to receive system reports at your specified email address. value is in seconds. 4. NetQueryFrequencySeconds - set this to the frequency at which you'd like anon-eth-net to check for internet connectivity. 3. Optionally update the optional values in assets/config.json: 1. 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. 2. 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. 4. 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 5. Download your favorite ethereum miner from the internet and add its install location to your system PATH variable. 6. 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. 7. 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. 8. You're done! Run the binary! ## Mac Code Compilation Setup: #### Required Packages: 1. Git: `brew install git` 2. Go: `brew install go` 3. Glide: `brew install glide` #### Required Setup: 1. 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` 2. Since this project is under my name on GitHub it has to be cloned into a folder titled `seantcanavan` so use `git clone` to download the repository into a subfolder with my username like so: 1. `cd github.com` 2. `mkdir seantcanavan` 3. `cd seantcanavan` 4. `git clone git@github.com:seantcanavan/anon-eth-net.git` The code should now live within a folder titled `golang/src/github.com/seantcanavan/anon-eth-net`. 3. Go is already automatically configured on your local macOS path if installed via the brew package manager. 4. Setup GOBIN and GOPATH system variables for your macOS user. Point to the `` directory. For GOBIN use the same value as GOPATH but add /bin to the end. GOPATH should be something like `/Users//` and GOBIN should be something like `/Users///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: 1. `nano ~/.bash_profile` 2. 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). 3. `export GOPATH=/Users//` 4. `export GOBIN=/Users///bin` 5. I use a folder called 'workspace' as a former Eclipse user so my paths looks like this: 6. `export GOPATH=/Users/seantcanavan/workspace/golang` 7. `export GOBIN=/Users/seantcanavan/workspace/golang/bin` 5. 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: 1. `sudo visudo` 2. ` ALL=(ALL) NOPASSWD:/usr/sbin/lsof` 3. Mine looks like: `seantcanavan ALL=(ALL) NOPASSWD:/user/sbin/lsof` 4. ` ALL=(ALL) NOPASSWD:/sbin/shutdown` 5. Mine looks like: `seantcanavan ALL=(ALL) NOPASSWD:/sbin/shutdown` 6. 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. 1. Generate the private key: `openssl genrsa -out server.key 2048` 2. Generate the certificate and public key: `openssl req -new -x509 -sha256 -key server.key -out server.pem -days 3650` 3. Place both files in the 'assets' folder which will be at `/anon-eth-net/src/github.com/seantcanavan/assets/` 7. Change directory to the root of the source folder: `/anon-eth-net/src/github.com/seantcanavan/` 8. `make install` 9. TBA ## Linux Code Compilation Setup: #### Required Packages: 1. Git: `sudo apt-get install git` 2. Go: `sudo apt-get install golang-go` 3. iostat: `sudo apt-get install sysstat` 4. Glide: 1. `sudo add-apt-repository ppa:masterminds/glide && sudo apt-get update` 2. `sudo apt-get install glide` #### Required Setup: 1. 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` 2. Since this project is under my name on GitHub it has to be cloned into a folder titled `seantcanavan` so use `git clone` to download the repository into a subfolder with my username like so: 1. `cd github.com` 2. `mkdir seantcanavan` 3. `cd seantcanavan` 4. `git clone git@github.com:seantcanavan/anon-eth-net.git` The code should now live within a folder titled `golang/src/github.com/seantcanavan/anon-eth-net`. 3. Go is already automatically configured in your local Ubuntu path if installed via the synaptic package manager. 4. Setup GOBIN and GOPATH system variables for your Ubuntu user. Point to the `` directory. For GOBIN use the same value as GOPATH but add /bin to the end. GOPATH should be something like `/home//` and GOBIN should be something like `/home///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: 1. `nano ~/.bashrc` 2. 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). 3. `export GOPATH=/home//` 4. `export GOBIN=/home///bin` 5. I use a folder called 'workspace' as a former Eclipse user so my paths looks like this: 6. `export GOPATH=/home/seantcanavan/workspace/golang` 7. `export GOBIN=/home/seantcanavan/workspace/golang/bin` 5. 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: 1. `sudo visudo` 2. ` ALL=(ALL) NOPASSWD:/bin/netstat` 3. Mine looks like: `seantcanavan ALL=(ALL) NOPASSWD:/bin/netstat` 6. 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. 1. Generate the private key: `openssl genrsa -out server.key 2048` 2. Generate the certificate and public key: `openssl req -new -x509 -sha256 -key server.key -out server.pem -days 3650` 7. Change directory to the root of the source folder: `/anon-eth-net/src/github.com/seantcanavan/` 8. `make install` 9. TBA ## Windows Code Compilation Setup: #### Required Packages: 1. Git: `https://github.com/git-for-windows/git/releases/download/v2.10.2.windows.1/Git-2.10.2-***-bit.exe` 2. Golang: `https://storage.googleapis.com/golang/go1.7.3.windows-amd***.msi` 3. TBA - glide for windows? i don't think it's a thing unfortunately. will have to revert to 'go get' #### Required Setup: 1. Use `git clone` to download the repository. 2. Configure your local system to make sure that the Go installation path is on the system path. 3. 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\\clone_root_dir\anon-eth-net`. 4. 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. 5. 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. 1. Windows private key gen command here 2. Windows certificate gen command here 6. TBA

近期下载者

相关文件


收藏者