From 1d3db0a9f00fa2d958aba84fa1ecda957bc3c347 Mon Sep 17 00:00:00 2001 From: JonasBK Date: Tue, 13 Oct 2026 13:57:04 +0200 Subject: [PATCH] AD sites --- README.md | 1 + TierZeroTable.json | 30 +++++++++++++++++++++++------- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b73b3f5..91ff328 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Values: - AD group - AD object - AD OU +- AD site - AD user - Computer host - DC group diff --git a/TierZeroTable.json b/TierZeroTable.json index 438b513..cdd9461 100644 --- a/TierZeroTable.json +++ b/TierZeroTable.json @@ -344,12 +344,12 @@ "Tier Zero Default Risk": "YES - Takeover", "Tier Zero Config Risk": "N/A - Compromise by default", "Tier Zero": "YES", - "Rationale": "Control over a GPO allows you to compromise users and computers affected by the GPO (see references). If a GPO is linked to a Tier Zero container (Domain, OU, or Site), then the GPO is Tier Zero. ", - "Cypher": "MATCH (n:GPO)-[:GPLink]->()-[:Contains]->(m:Base)\r\nWHERE 'admin_tier_0' IN split(m.system_tags, ' ')\r\nRETURN n", + "Rationale": "Control over a GPO allows you to compromise users and computers affected by the GPO (see references). If a GPO is linked to a Tier Zero container (Domain, OU, or Site), then the GPO is Tier Zero.", + "Cypher": "MATCH (n:GPO)-[:GPLink]->()-[:Contains|ServerIs*1..]->(m:Base)\r\nWHERE m:Tag_Tier_Zero OR 'admin_tier_0' IN split(m.system_tags, ' ')\r\nRETURN DISTINCT n", "Microsoft PAS Role": "NO", "AdminSDHolder Protected": "NO", "Episode": "2", - "References": "https://learn.microsoft.com/en-us/previous-versions/windows/desktop/policy/group-policy-objects\r\nhttps://wald0.com/?p=179\r\nhttps://www.trustedsec.com/blog/weaponizing-group-policy-objects-access/" + "References": "https://learn.microsoft.com/en-us/previous-versions/windows/desktop/policy/group-policy-objects\r\nhttps://wald0.com/?p=179\r\nhttps://www.trustedsec.com/blog/weaponizing-group-policy-objects-access/\r\nhttps://bloodhound.specterops.io/resources/edges/gp-link\r\nhttps://bloodhound.specterops.io/resources/edges/server-is" }, { "Asset": "GPO NOT linked to Tier Zero container", @@ -360,12 +360,28 @@ "Tier Zero Default Risk": "NO", "Tier Zero Config Risk": "NO", "Tier Zero": "NO", - "Rationale": "Control over a GPO allows you to compromise users and computers affected by the GPO (see references). If a GPO is not linked to a Tier Zero container (Domain, OU, or Site), then the GPO does not effect Tier Zero principals and is therefore not Tier Zero. ", - "Cypher": "MATCH (n:GPO)\r\nOPTIONAL MATCH p = (n)-[:GPLink]->()-[:Contains]->(m:Base)\r\nWHERE 'admin_tier_0' IN split(m.system_tags, ' ')\r\nWITH n,p\r\nWHERE p IS NULL\r\nRETURN n", + "Rationale": "Control over a GPO allows you to compromise users and computers affected by the GPO (see references). If a GPO is not linked to a Tier Zero container (Domain, OU, or Site), then the GPO does not effect Tier Zero principals and is therefore not Tier Zero.", + "Cypher": "MATCH (n:GPO)\r\nOPTIONAL MATCH p = (n)-[:GPLink]->()-[:Contains|ServerIs*1..]->(m:Base)\r\nWHERE m:Tag_Tier_Zero OR 'admin_tier_0' IN split(m.system_tags, ' ')\r\nWITH n,p\r\nWHERE p IS NULL\r\nRETURN DISTINCT n", "Microsoft PAS Role": "NO", "AdminSDHolder Protected": "NO", "Episode": "2", - "References": "https://learn.microsoft.com/en-us/previous-versions/windows/desktop/policy/group-policy-objects\r\nhttps://wald0.com/?p=179\r\nhttps://www.trustedsec.com/blog/weaponizing-group-policy-objects-access/" + "References": "https://learn.microsoft.com/en-us/previous-versions/windows/desktop/policy/group-policy-objects\r\nhttps://wald0.com/?p=179\r\nhttps://www.trustedsec.com/blog/weaponizing-group-policy-objects-access/\r\nhttps://bloodhound.specterops.io/resources/edges/gp-link\r\nhttps://bloodhound.specterops.io/resources/nodes/site-subnet" + }, + { + "Asset": "AD Site", + "Category": "AD site", + "Platform": "Active Directory", + "Identification": "ObjectClass: site, under CN=Sites,CN=Configuration,", + "Description": "An Active Directory site groups well-connected IP subnets and holds server objects representing its domain controllers. Sites organize replication and help clients locate nearby domain controllers. GPOs can be linked to a site to apply policy to its domain controllers and member computers, including user-side policy for users signing in to those computers.", + "Tier Zero Default Risk": "YES - Takeover", + "Tier Zero Config Risk": "N/A - Compromise by default", + "Tier Zero": "YES", + "Rationale": "A site is Tier Zero when its policies can affect domain controllers or other Tier Zero computers or users. The default site, Default-First-Site-Name, contains the forest's domain controllers until additional sites are configured, so control over it enables Tier Zero takeover in a default environment. GenericAll, GenericWrite, or WriteGPLink on a site allows an attacker to change its gPLink attribute and apply malicious policy. Control over an existing GPO linked to the site provides another takeover path.", + "Cypher": "MATCH (n:Site)\r\nRETURN n", + "Microsoft PAS Role": "NO", + "AdminSDHolder Protected": "NO", + "Episode": "Community contribution", + "References": "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/cdacdd51-f324-41e9-b83f-71263902dabe\r\nhttps://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/designing-the-site-topology\r\nhttps://bloodhound.specterops.io/resources/nodes/site\r\nhttps://bloodhound.specterops.io/resources/nodes/site-server\r\nhttps://bloodhound.specterops.io/resources/nodes/site-subnet\r\nhttps://bloodhound.specterops.io/resources/edges/write-gp-link\r\nhttps://www.synacktiv.com/en/publications/site-unseen-enumerating-and-attacking-active-directory-sites" }, { "Asset": "krbtgt", @@ -959,4 +975,4 @@ "Episode": "Community contribution", "References": "https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/technical-reference/the-role-of-the-ad-fs-configuration-database\r\nhttps://learn.microsoft.com/en-us/windows-server/identity/ad-fs/design/federation-server-farm-using-sql-server\r\nhttps://github.com/mandiant/ADFSDump" } -] \ No newline at end of file +]