Repository navigation
redteam: Phase 3 (part 1) — admin abuse: telemetry redirection, heap-grep refuted, churn - #317
Merged
Merged
Conversation
… heap-grep refuted, churn
rt-3-1 telemetry redirection (CONFIRMED): the admin chain works
end-to-end — get, rewrite dest, Set soft-restarts the daemon into
shipping every socket record to the attacker VM's catcher (122 lines
within one poll). The RT-11 tier-4 blind rides the same Set (pinned:
the victim's own catcher is dark 1674->1674 lines over 7s), the
detection gap is the Set audit line alone ('Set: reconfigure
requested' at the default debug level + xtcp_counts{function=Set}
start/reconfigure), Get/Set responses are redacted (rt-3-7's surface
held), and the restore is verified by a final Get. tcpDest note: the
catcher must accept BEFORE the Set — the re-exec'd daemon dials once
and never retries.
rt-3-5 pprof heap-grep (REFUTED): the plan's 'heap profile leaks
bearer tokens' premise reflected core-dump thinking — a Go
/debug/pprof/heap profile is stack/size metadata, not a memory image
(decompressed profile contains no 32-hex substring at all).
/debug/pprof/cmdline is http.NotFound by construction
(cmd/xtcp2/listeners.go:305). pprof is admin-gated 401/403/200. The
protected-page finding remains valid for core dumps only (process
privileges, beyond the admin credential). Plan row amended, severity
S2 -> S3.
rt-3-6 soft-restart churn (BLOCKED): 10/10 back-to-back Sets accepted,
both TCP listeners survive, the catcher keeps reporting, every Set
leaves an audit line, no UDS leak (docker diff: no /run/xtcp2
entries). The churn rate itself is unbounded — the S3 residual.
Harness hardening: pkill -f 'socat.*9999' matches its own ssh session's
command line and kills it (exit 255) — the [s]ocat bracket trick;
grep -c prints 0 AND exits 1 (the || echo 0 double-count trap); the
fog warning lines must be stripped from evidence logs before
protojson reads them.
Deferred (next session): rt-3-2 (S3 exfil — needs the Garage
fixture), rt-3-3/rt-3-4 (poll/envelope abuse), rt-7-1/7-2/7-3
(artifact bombs — Garage), rt-7-4 (govulncheck wiring).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Phase 3 of docs/redteam-plan.md, part 1: the admin-credential abuse rows that need no new fixtures. (Branched off the phase0-harness stack since #313 hasn't merged yet; rebase onto main after #313 lands if needed.)
Scenarios (findings.md rows, all with evidence)
get→ rewrite dest →Setsoft-restarts the daemon into shipping every socket record to the attacker VM's catcher (122 lines within one poll). The RT-11 tier-4 blind rides the same Set (pinned: the victim's own catcher is dark 1674→1674 lines over 7 s), the detection gap is the Set audit line alone, Get/Set responses are redacted, and the restore is verified by a final Get. tcpDest note: the catcher must accept BEFORE the Set — the re-exec'd daemon dials once and never retries./debug/pprof/cmdlineishttp.NotFoundby construction. pprof is admin-gated 401/403/200. The protected-page finding remains valid for core dumps only. Plan row amended, severity S2 → S3.docker diff). The churn rate itself is unbounded — the S3 residual.Harness hardening included
pkill -f 'socat.*9999'matches its own ssh session's command line and kills it (exit 255) — the[s]ocatbracket trick;grep -cprints 0 and exits 1 (the|| echo 0double-count trap); fog warning lines must be stripped from evidence logs before protojson reads them.Deferred (part 2)
rt-3-2 (S3 exfil — needs the Garage fixture), rt-3-3/rt-3-4 (poll/envelope abuse), rt-7-1/7-2/7-3 (artifact bombs — Garage), rt-7-4 (govulncheck wiring).