Skip to content

Sasquatch is an installation script for provisioning secure HTTPS and DNS redirectors for offensive security testing, leveraging Caddy and CoreDNS

License

Notifications You must be signed in to change notification settings

fkadibs/sasquatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sasquatch

"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault. Bigfoot is blurry, and that's extra scary to me. There's a large, out-of-focus monster roaming the countryside." — Mitch Hedberg, Strategic Grill Locations

A fork of "You Can't See Me", this project leverages Caddy and CoreDNS to redirect HTTP and DNS traffic during network penetration tests or red team operations. It performs some basic hardening with fail2ban, iptables, and pre-defined Caddy rules. Consider this a template to build upon, using Caddy's flexibility (tls, mtls, magic headers, rewrite, etc.).

Note: Currently under development, future updates may include breaking changes. Developed and tested on Ubuntu 20.04 and Cobalt Strike 4.0+.

Features

  • Evade vendor sandboxes
  • Block Shodan access
  • Block scanners and bots
  • Block Tor exit nodes
  • Auto SSL creation and renewal using Caddy
  • X-Forwarded header inclusion
  • Server hardening using iptables and fail2ban
  • jQuery profiling inspired by APT29
  • DNS forwarding to avoid detection
  • Flexible, encrypted networking with Tailscale

Getting Started

Clone the repository and make the script executable.

The only variables you need to provide are the type of provisioning (http or dns), the C2 domain, and C2 listener ip/port.

Usage: ./provision.sh [http,dns] <domain> <ip:port>
Example: ./provision.sh http example.org 100.20.4.142:443

At the end of the provisioning, you will be prompted with a URL to manually authorize the server to join your Tailscale network. Once authorized, traffic will begin to reach your C2 listener.

Logging

Sasquatch generates logs following locations:

Caddy:

  • /var/log/caddy/access.log
  • /var/log/caddy/deny.log

CoreDNS:

  • /var/log/coredns/dns.log

fail2ban:

  • /var/log/fail2ban/jail.log

Resources

About

Sasquatch is an installation script for provisioning secure HTTPS and DNS redirectors for offensive security testing, leveraging Caddy and CoreDNS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published