Skip to content

AD-GMC-07: Foreign SID details by domain should be investigated

ID AD-GMC-07
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Groups
Security area External access and sharing
Resource type Group
Reads from On-premises Active Directory

Foreign security principals (FSPs) represent security principals from trusted external domains or forests. Understanding their distribution is important because:

  • Trust visibility: Identifies external trusts that may have been forgotten or are no longer needed
  • Security boundaries: Helps assess the blast radius if an external domain is compromised
  • Access control: Reveals who has access to resources from outside the domain
  • Cleanup opportunities: May highlight groups that can be cleaned up after domain migrations

Operational

Regularly review foreign security principals:

  • Remove memberships from domains that are no longer trusted
  • Audit groups containing external accounts for appropriate access levels
  • Document all domain trusts and their business justifications
  • Consider converting external access to local accounts where appropriate
  • Monitor for unexpected foreign principal additions

This test examines all group memberships in Active Directory and identifies security principals with SIDs that don’t match the local domain SID. It groups these foreign principals by their domain SID and counts how many exist from each external domain.

  • Test-MtAdGroupMemberForeignSidCount - Counts total foreign security principals
  • Test-MtAdGroupPrivilegedWithMembersDetails - Reviews privileged group memberships

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.