GoExec - Remote Execution Multitool

1747219556392.webp

GoExec is a new take on some of the methods used to gain remote execution on Windows devices. GoExec implements a number of largely unrealized execution methods and provides significant OPSEC improvements overall.

Build & Install with Go​

To build this project from source, you will need Go version 1.23.* or greater and a 64-bit target architecture. More information on managing Go installations can be found here

Code:
# Install goexec
go install -ldflags="-s -w" github.com/FalconOpsLLC/goexec@latest

Manual Installation​

For pre-release features, fetch the latest commit and build manually.

Code:
# (Linux) Install GoExec manually from source
# Fetch source
git clone https://github.com/FalconOpsLLC/goexec
cd goexec

Code:
# Build goexec (Go >= 1.23)
CGO_ENABLED=0 go build -ldflags="-s -w"
Code:
# (Optional) Install goexec to /usr/local/bin/goexec
sudo install ./goexec /usr/local/bin

Install with Docker​

We've provided a Dockerfile to build and run GoExec within Docker containers.

Code:
# (Linux) Install GoExec Docker image
# Fetch source
git clone https://github.com/FalconOpsLLC/goexec
cd goexec

Code:
# Build goexec image
docker build . --tag goexec --network host
# Run goexec via Docker container
alias goexec='docker run -it --rm --name goexec goexec'
goexec -h # display help menu

 
Back
Top