Skip to content

feat(range): install Sliver as the range C2 on ragnarok (ADR-0095) - #1654

Merged
Gerrrt merged 4 commits into
mainfrom
gerrrt/sliver-on-ragnarok
Nov 23, 2026
Merged

Gerrrt merged 4 commits into
mainfrom
gerrrt/sliver-on-ragnarok

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

What changed

Installs Sliver as the range C2 on ragnarok and documents it, the last build piece of #421.

  • build-the-playground.md §5 gains The C2: Sliver on ragnarok: pin and signature-verify the release, run the server as a sliver systemd daemon, generate the operator config, put the outbound scope back, and a worked beacon proof.
  • §5's reachability list gains the operator console, 31337/tcp on ragnarok's lease.
  • docs/roadmap.md Build the range on gandalf #421 entry: the C2 is done, so the build is complete.
  • docs/changelog.md: a 2026-11-22 entry recording the install and the beacon.

Describe-not-publish per ADR-0095 and security.md: the runbook names the framework, version, transport and port, and carries no implants, profiles, operator configs or keys.

Why

ADR-0095 chose Sliver and #1481 asked for it on ragnarok with a target beaconing back. It's the one runbook piece that was never built, and #421's last named blocker.

How it was done and proved (on ragnarok, 2026-11-22)

  • Sliver v1.7.9, server + client, signatures verified against Sliver's own minisign key (taken from https://sliver.sh/install, not memory).
  • Installed to /usr/local/bin, server unpacked, sliver systemd daemon enabled (operator multiplayer on 31337).
  • The install lifted the outbound scope for internet, then systemctl restart nftables put it back. Forwarding stayed 0/0 afterward — the thing Put Sliver on ragnarok before the first exercise #1481 calls out, since installing Docker would have flipped it on.
  • Beacon proof: an mTLS listener on 172.30.30.10:8443, a Linux beacon run on ms3-ub1404 (VMID 101) over SSH, called back from 172.30.30.101 within one interval — with the scope on, so a range target reaches the C2 and the scope doesn't break it. The target was reverted to clean and stopped; ragnarok was stopped.

Persistence: the install is on the running VM, so a tofu rebuild of ragnarok reruns §5's steps — like the targets, Sliver is VM state, not baked into template 902 (which is shared with the defensive garuda).

Known residue: one stale test-beacon record remains on the server until Sliver's 1h auto-prune.

Closes #1481.

Sliver was #421's last build piece, so this also removes #421's roadmap entry and records it in the changelog.

Closes #421.

Blast radius

ragnarok only, which is stopped now. No estate host, firewall rule, or VLAN changed. The C2's listeners and implants are scoped to 10.0.30.0/24 and 172.30.30.0/24 (ADR-0014), enforced by ragnarok's nftables scope.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service — 31337 is on ragnarok's lease, reached over the existing 50 → 30 path
  • No credential added outside secrets/*.sops.yaml — the operator config is a credential and is not committed

Verification

  • make validate passes. Not run (no docker on this Mac). What ran:
    • python3 scripts/check_docs.py: docs OK.
    • markdownlint-cli2 0.24.1: 0 issues.
    • Docs only, so lint's other tools have nothing to check.
  • Deployed to the lab and confirmed working: the beacon call-back above, scope and forwarding re-checked after.
  • Docs updated

🤖 Generated with Claude Code

The last build piece of #421. build-the-playground.md §5 gains "The C2":
pin and signature-verify Sliver v1.7.9, run it as a systemd daemon, and a
worked beacon proof. The operator console (31337/tcp on the lease) joins
§5's reachability list. Installed on ragnarok 2026-11-22; a Linux beacon
on target 101 called back to the mTLS listener on 172.30.30.10 with the
outbound scope on, forwarding still 0. The target was reverted to clean.
The install is on the running VM (not template 902, shared with garuda),
so a tofu rebuild reruns §5 — Sliver is VM state, like the targets.

Closes #1481.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 04:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The runbook can install unverified binaries and run the server as root after download or signature-check failures, so installation must abort safely and restore the nftables scope.

4 open issues
What changed in this PR

Documents Sliver as the range C2 on ragnarok, implementing ADR-0095 and recording the target callback proof for #1481.

Changes:

  • Adds installation, signature verification, daemon setup, operator access, and beacon-proof instructions.
  • Adds the operator port to the reachability list and documents scope restoration.
  • Records the installation in the changelog and marks the range build complete in the roadmap.
File Description
docs/​runbooks/​build-the-playground.md Adds Sliver setup, operator access, and range-local beacon verification.
docs/​roadmap.md Updates the range build entry following the C2 installation.
docs/​changelog.md Records the installation, callback proof, and rebuild implications.

Review effort: Balanced

Comment thread docs/runbooks/build-the-playground.md Resolved
Comment thread docs/runbooks/build-the-playground.md Resolved
Comment thread docs/runbooks/build-the-playground.md Resolved
Comment thread docs/runbooks/build-the-playground.md Resolved
Gerrrt and others added 3 commits November 22, 2026 20:43
…claim

Review on #1654:
- The install block now runs under set -e with a trap that restores the
  nftables scope on any exit, so a failed download or signature check aborts
  and leaves ragnarok filtered, not open.
- Create /root/.sliver-client/configs (0700) before `operator --save`, which
  does not make its parent.
- Re-prove the scope with a finish-attack-vm.sh rerun from phoenix (§8 check
  three, including the raw-Ethernet path), required before the beacon; the two
  local reads only show the tables are loaded.
- The vmbr1 beacon is a range-local reachability proof, not SOC visibility:
  Zeek mirrors Saruman's vmbr0, not gandalf's isolated vmbr1. SOC visibility
  is an exercise with a domain host on VLAN 30.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sliver was the last piece. Remove #421's roadmap entry and keep its
worthwhile content as a dated changelog record. What is left on the range
is the exercises, each its own issue.

Closes #421.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Gerrrt
Gerrrt enabled auto-merge (squash) November 23, 2026 04:53
@Gerrrt
Gerrrt merged commit 0cde355 into main Nov 23, 2026
9 of 10 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/sliver-on-ragnarok branch November 23, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Put Sliver on ragnarok before the first exercise Build the range on gandalf

2 participants