MDT Domain Join Credentials in CustomSettings.ini

Detects Microsoft Deployment Toolkit (MDT) customsettings.ini files that embed domain join credentials, including DomainAdminPassword and DomainAdmin account values used during automated OS deployments. Mirrors Snaffler rule KeepDomainJoinCredsByName / KeepDomainJoinCredsByPath.

Type
regex
Engine
boost_regex
Confidence
high
Confidence justification
High confidence: DomainAdminPassword= in an ini-format file is the canonical MDT credential pattern with negligible false-positive surface outside deployment tooling. AdminPassword= is slightly broader but gated with MDT context evidence at the 75+ tier.
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth)
Frameworks
CIS Controls, ISO 27001, NIST CSF
Data categories
credentials, security
Scope
specific
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Unsupported

Pattern

(?:DomainAdminPassword|AdminPassword)\s*=\s*\S{4,}

Corroborative evidence keywords

customsettings, JoinDomain, DomainAdminDomain, MachineObjectOU, DeployRoot, DomainAdmin, TaskSequenceID

Proximity: 300 characters

Should match

Should not match

Known false positives

Collections