
This application assists in managing attack infrastructure for penetration testers by providing an interface to rapidly deploy, manage, and take down various cloud services. These include VMs, domain fronting, Cobalt Strike servers, API gateways, and firewalls.
Overview
hideNsneak provides a simple interface that allows penetration testers to build ephemeral infrastructure — one that requires minimal overhead.
hideNsneak can: –> deploy
, destroy
, and list
- Cloud instances via EC2, Google Cloud, Digital Ocean, Azure, and Alibaba Cloud
- API Gateway (AWS)
- Domain fronts via CloudFront and Azure Cloudfront
–> Proxy into said infrastructure –> Send and receive files –> Port scanning via NMAP –> Remote installations of Burp Collab, Cobalt Strike, Socat, LetsEncrypt, GoPhish, and SQLMAP
Running locally
At this time, all hosts are assumed Ubuntu 16.04 Linux
. In the future, we’re hoping to add on a docker container to decrease initial setup time.
- install go
- install terraform
- install ansible
- install custom providers
git clone https://github.com/rmikehodges/hideNsneak.git
go run main.go
–> make this an executablego get -u github.com/spf13/cobra/cobra
go get -u github.com/aws/aws-sdk-go/aws
- Fill in values in
config.yaml
with your keys and filepaths for the cloud providers you’d like to use:aws_access_key = "YOUR_SECRET_KEY" aws_secret_key =
"YOUR_SECRET_KEY" do_token = "YOUR_SECRET_KEY" azure_tenant_id =
"YOUR_SECRET_KEY" azure_client_id = "YOUR_SECRET_KEY"
azure_client_secret = "YOUR_SECRET_KEY" azure_subscription_id =
"YOUR_SECRET_KEY" - run
hidensneak
Commands
hidensneak help
–> run this anytime to get available commandshidensneak instance deploy
hidensneak instance destroy
hidensneak instance list
hidensneak api deploy
hidensneak api destroy
hidensneak api list
hidensneak domainfront enable
hidensneak domainfront disable
hidensneak domainfront deploy
hidensneak domainfront destroy
hidensneak domainfront list
hidensneak socks deploy
hidensneak socks list
hidensneak socks destroy
hidensneak socks proxychains
hidensneak socks socksd
hidensneak install burp
hidensneak install cobaltstrike
hidensneak install socat
hidensneak install letsencrypt
hidensneak install gophish
hidensneak install nmap
hidensneak install sqlmap
For all commands, you can run --help
after any of them to get guidance on what flags to use.
Organization
_terraform
–> stuff related to deploying, destroying, and listing infrastucture_ansible
–> stuff related to ssh_assets
–> random assets for the beauty of this project_cmd
–> frontend interface_deployer
–> backend commands and structsmain.go
–> where the magic happenssecrets.go
–> a file that you write yourself, with all your secret stuff