Repository navigation
redStackPRO 0.9.1
Patch release. Deploy reliability fixes for Windows and WSL operators, plus new
verification tooling for confirming a range actually works end to end.
Bug fixes
- Jumpbox SSH no longer stalls on a fresh deploy. A new jumpbox answers on
port 22 before cloud-init has installed the operator's key, so the key was
briefly refused and ssh dropped to a password prompt: the deploy either hung at
"wait for the jumpbox to accept ssh" or failed the next step with "Permission
denied, please try again". SSH is now forced non-interactive (BatchMode), so the
connection simply retries until cloud-init finishes. (#2) - SSH key permissions on Windows drives. A private key on a WSL-mounted Windows
drive reports mode 0777, which StrictModes rejects, silently dropping the deploy
to password auth. The deploy now connects with a 0600 copy on a real filesystem,
and skips that copy on Git Bash (where NTFS cannot express 0600 and MSYS governs
permissions by ACL). - The deploy stops at the real error when a step fails. deploy.sh had no top-level
set -e, so a failedterraform applyran on and the run ended on a misleading
"unfilled address placeholders remain", burying the cause. It now aborts at the
failing step with its own message, and empty terraform outputs no longer provision
the hosts with a blank credential or chase an empty jumpbox address. - Interrupting a deploy no longer leaves instances you cannot clean. An
interruptedterraform applycan create instances it never records in state, which
terraform destroythen cannot remove (and which block it).manage.sh teardown --forcesweeps the range's instances by tag or label first, so the teardown
finishes; a failed apply or teardown now points you at it.
Changes and additions
- verify.py, a scripted range check, now ships in every export. It lands at the
root of the exported working directory next to deploy.sh, checks a live range
against the export that built it, and exits 0 (all passed), 1 (a check failed), or
2 (could not run). Two subcommands:python verify.py doors .probes the redirector front doors from outside: TLS
chains validate per cert source, each door serves its cover page, decoys differ,
the gating header is enforced, and one door's token cannot open another.python verify.py stack .checks the range over SSH from the jumpbox:
provisioning finished, the Guacamole portal answers and the stock guacadmin
account is gone, the hosts block is in place, each teamserver holds 443, and each
redirector carries its cert tool.- Add
--planto list the checks without running them.
- rsp-check, an on-box redirector health check. Installed at
/usr/local/sbin/rsp-checkon each redirector; runsudo rsp-check. It confirms
the C2 path end to end on the box itself: web server up, ports 80 and 443
listening, the decoy cover site served to ungated requests, and for each fronted
teamserver that the gating header changes the response and the backend is
reachable. It finishes by printing the exact payload call (domain, URI prefix,
gating header). Adapted from redStack's test_redirector.sh. - C2 payload recipe in OFFENSE-BRIEFING.md. The generated offense briefing now
carries a "C2 redirectors & payloads" section: per redirector, the callback
domain, the gating header name and value, and the URI-prefix route to each
teamserver, with the exacthttps://<domain>/<prefix>/...call to use. It points
you to confirm the route withpython verify.py doors .orsudo rsp-check. - Running version on the canvas. The canvas shows the server version it is
talking to, under the redStackPRO wordmark (read from the API health endpoint).
Useful when asking a user what their container reports. - ssh_public_key is filled for you. When the field is left empty, deploy.sh
derives it from the private key it already found, so you no longer paste the public
half into deploy.tfvars and the two halves cannot drift. - Ingress fails closed. operator_source_ranges now ships unset instead of
0.0.0.0/0; the deploy stops until you set it, so a range is never exposed to the
whole internet by default. - AWS checks credentials up front. deploy.sh runs
aws sts get-caller-identity
before apply (matching the GCP check) and flags Elastic IP / vCPU quota and the
Kali Marketplace subscription, rather than letting them surface as late apply errors.
Acknowledgements
Thanks to V.S. for the deploy logs and reports that surfaced the SSH issues and
helped shape this release.
Full changelog: v0.9.0...v0.9.1