Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ documents for different readers.
at all. Every pinned digest is also scanned weekly for fixable HIGH and
CRITICAL CVEs, and each image with findings has an open issue until a scan
finds it clean.
- **Documented decisions and runbooks.** 141 ADRs covering what was chosen
- **Documented decisions and runbooks.** 142 ADRs covering what was chosen
and what was rejected — including the costs accepted knowingly; 57
runbooks for the operations that are easy to get wrong at 1am, one of which
is the handover page a successor reads first. Every critical alert links to
Expand Down Expand Up @@ -236,7 +236,7 @@ inbound passes may still reach it. Data flow and the maintained Mermaid topology
│ ├── architecture.md network.md hardware.md
│ ├── observability.md security.md roadmap.md changelog.md
│ ├── diagrams/ # the network diagram (SVG) and its predecessors
│ ├── adr/ # 141 ADRs — architecture decision records
│ ├── adr/ # 142 ADRs — architecture decision records
│ ├── exercises/ # purple-team exercise records — see its README
│ └── runbooks/ # 57 runbooks; successor-handover.md is the front door
└── Makefile # make help
Expand Down
5 changes: 3 additions & 2 deletions ansible/roles/gpos/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
# Admins nor anything else this GPO named, and the 2026-11 titan audit found it
# logged on interactively there. They keep NETWORK logon, which nothing here
# needs (ADR-0140): on a member, Ansible's `Administrator` is the member's own
# local account, not AD\Administrator. Closing it is still to be decided. The
# console on a member is the local Administrator's.
# local account, not AD\Administrator. ADR-0142 keeps it until the exercises
# against titan are recorded. The console on a member is the local
# Administrator's.
#
# `cse` is gPCMachineExtensionNames, the client-side-extension GUIDs that tell a
# member which engines to run for this GPO; without it the file in SYSVOL is
Expand Down
2 changes: 1 addition & 1 deletion ansible/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
})
}
# ADR-0136: Deny Tier 0 refuses Domain Admins the console and RDP on
# members, and leaves them network logon (ADR-0136, ADR-0140).
# members, and leaves them network logon (ADR-0136, ADR-0140, ADR-0142).
$deny = Get-GPO -Name 'Deny Tier 0 Logon on Members' -ErrorAction SilentlyContinue
$inf = if ($deny) { Join-Path $env:SystemRoot `
"SYSVOL\domain\Policies\{$($deny.Id)}\Machine\Microsoft\Windows NT\SecEdit\GptTmpl.inf" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
**Status:** Accepted · 2026-11 · amends
[ADR-0136](0136-deny-the-domains-own-admins-the-console-on-members.md)

> [!NOTE]
> Amended by [ADR-0142](0142-keep-domain-admins-network-logon-on-members-until-the-titan-exercises.md),
> which takes the decision left open below: Domain Admins keep network logon
> on members until the exercises against `titan` are recorded. The text here
> is left as written, per ADR-0001 and ADR-0115.

## Context

[ADR-0136](0136-deny-the-domains-own-admins-the-console-on-members.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# ADR-0142: Keep Domain Admins' network logon on members until the titan exercises are recorded

**Status:** Accepted · 2026-11 · amends
[ADR-0140](0140-correct-why-adr-0136-leaves-domain-admins-network-logon.md),
taking the decision it left open

## Context

[ADR-0136](0136-deny-the-domains-own-admins-the-console-on-members.md)
refuses Domain and Enterprise Admins the console and RDP on members, and
leaves them network logon.
[ADR-0140](0140-correct-why-adr-0136-leaves-domain-admins-network-logon.md)
withdrew the reason given for the second half, because the pipeline reaches a
member as its local Administrator. It left whether to close the gap as a
separate decision. This is that decision.

Read on `titan` on 2026-11-27:

- Its local Administrators are `AD\Domain Admins` and `TITAN\Administrator`,
and nothing else. `t1-admin` exists (`roles/tiers`) but belongs to no group
that administers a server.
- `RequireSecuritySignature` is `False`, so it is still a relay target as
[ADR-0029](0029-size-the-lab-domain-and-separate-its-namespace-and-clock.md)
derived.

Three exercises land on `titan`'s SMB as a borrowed identity, and none has
been recorded: constrained delegation (#1480) and resource-based constrained
delegation (#1478), both of which impersonate a user to `titan`'s CIFS, and
the NTLM relay (#1781). In each, the identity that matters is one that is an
administrator on `titan`, and today the only domain one is a Domain Admin.

## Decision

**Domain and Enterprise Admins keep network logon on members for now.**
`roles/gpos` and `verify.yml` are unchanged: `SeDenyNetworkLogonRight` names
`Tier 0 Admins` only.

**It is revisited once #1478, #1480 and #1781 are recorded.** Each exercise
file says which identity reached `titan` and what the estate saw. Closing the
gap then is a new ADR, and its precondition is a Tier 1 group that is an
administrator on `Servers`. Without that, a deny leaves no domain account to
administer `titan` over the network, and the three exercises reach it as a
user and nothing more.

## Alternatives considered

- **Deny it now.** It closes the residual ADR-0136 names. But it changes what
the first run of each exercise against `titan` can show, before any of them
has a baseline. It would also need the Tier 1 administrators group first, so
it is not the one-line GPO change it looks like.
- **Leave the question open.** ADR-0140 did that, and it left the gap with no
owner and no condition for closing it.

## Consequences

- **A Tier 0 credential can still arrive at a member over the network** (SMB,
WMI, SSH as a domain admin). It is a known, owned gap, with a condition for
closing it.
- **The exercises against `titan` run on the domain as built.** A relayed or
impersonated Domain Admin gets an admin session on `titan`, and the exercise
file records whether the estate saw it.
- `build-the-lab-domain.md` §5 and `roles/gpos`'s comment point here instead
of saying the question is undecided.
17 changes: 17 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@ docstring gives: it is a record, not a claim about now.

## 2026-11-27

- **Lab domain: Domain Admins keep network logon on members, for now.**
[ADR-0142](adr/0142-keep-domain-admins-network-logon-on-members-until-the-titan-exercises.md)
takes the decision ADR-0140 left open. Read on `titan`: its only local
administrators are `AD\Domain Admins` and its own `Administrator`, and SMB
signing is still not required, so it is still the relay target. A deny now
would leave the three exercises that land on `titan` (#1478, #1480 and the
NTLM relay, #1781, opened today) nothing to land as. The GPO is unchanged.
The question is revisited when those three are recorded, and a deny then
needs a Tier 1 group that administers `Servers` first.
- **`titan` read after its audit, 2026-11-27.** The audit's finding 1 is
closed on the box: the console and RDP denies name Tier 0, Domain and
Enterprise Admins, nobody is logged on, Git and Claude Code are gone, and the
only profiles are the local `administrator` and `Public`. The installers
#1770 removes are gone and the textfile directory is SYSTEM and Administrators
only. Still as the audit found, by decision: no update since 2026-01-14
(ADR-0137), and C: at 59 GB of 80 until the rebuild, which the evaluation
licence requires before about 2027-04-05.
- **Lab domain: `roles/base` now removes `Panther\unattend.xml`, and
`verify.yml` holds every guest to having none.** This corrects the
2026-10-09 #1099 entry, which says `SetupComplete.cmd` deletes the file. It
Expand Down
5 changes: 5 additions & 0 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ Ansible, Sysmon and BloodHound each closed with its issue, and the record is in
and #1480 constrained delegation. It closes when all six are recorded, each
with a detection outcome. The three switches of ADR-0141 (`unsigned_ldap`,
`maq`, `spooler`) are off by default and are not among the six. → [runbook](runbooks/build-the-lab-domain.md)
- **[#1781](https://github.com/Gerrrt/HomeLab/issues/1781) NTLM relay into
`titan`.** The exercise ADR-0029 built `titan` for, with no weakness tag:
the relay works on shipped defaults. With #1478 and #1480 it is what
[ADR-0142](adr/0142-keep-domain-admins-network-logon-on-members-until-the-titan-exercises.md)
waits on before deciding Domain Admins' network logon on members.

## last

Expand Down
7 changes: 5 additions & 2 deletions docs/runbooks/build-the-lab-domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,11 @@ ordinary users, and one service account with an SPN on a real service on
> ([ADR-0140](../adr/0140-correct-why-adr-0136-leaves-domain-admins-network-logon.md)).
> `ramuh`'s Security log showed `RAMUH\Administrator` for each of `phoenix`'s
> logons on 2026-11-16, and `whoami` on `titan` printed `titan\administrator`
> on 2026-11-26. Whether the network deny should change is not decided:
> closing it would also refuse a relayed Domain Admin on `titan`. At a
> on 2026-11-26. The network logon stays until the exercises against `titan`
> (#1478, #1480, #1781) are recorded
> ([ADR-0142](../adr/0142-keep-domain-admins-network-logon-on-members-until-the-titan-exercises.md)):
> `titan`'s only domain administrators are Domain Admins, so a deny would
> leave those exercises nothing to land as. At a
> member's console, log on as its local `Administrator`.

`titan` gets the shares — including one obviously-interesting decoy, because a
Expand Down