Nullpath

wdsfilecrawler

reference toolwdsmdtcredential-extractionfile-sharing updated 06 Sept 2026 · 2 min

wdsfilecrawler

wdsfilecrawler is the WDS deployment-share crawler — it walks the Windows Deployment Services deployment share (\\<wds>\RemoteInstall\... and the MDT deployment share) and harvests credentials from answer files (unattend.xml, MDT CustomScripts, .xml/.ps1/.ini files) that commonly embed local-admin passwords, domain accounts, and MDT/OSD creds. It’s the “read the deployment share for secrets” tool in the wds-mdt-discovery family — the read-only credential harvest complementing pxethief (the PXE-boot credential grab). See wds-mdt-discovery for the full discovery + harvesting mechanics.

What it finds

  • unattend.xml / answer files — <LocalAccounts>, <AdministratorPassword>, OOBE credentials, MDT UserDatabase/CustomSettings creds.
  • MDT deployment share filesCustomSettings.ini, CustomScripts, Scripts with embedded passwords / connection strings.
  • drivers / outofbox configs with service-account creds.
  • The deployment share path itself — confirms a WDS/MDT server is present and reachable (a discovery win).

Typical use

# Point it at the WDS deployment share; it crawls + extracts creds
.\wdsfilecrawler.exe \\wds01.corp.local\RemoteInstall\OSImages
# -> parsed unattend.xml / MDT creds (local admin, domain, MDT service acct)

Detection

  • SMB share enumeration — a read crawl of the RemoteInstall / MDT deployment share from an unusual source (4656/4660, share access logs).
  • unattend.xml / answer-file reads — mass file reads of the deployment share.
  • The credential use — a logon with a harvested local/domain account.

Mitigations

  • Restrict the deployment share ACLs — don’t leave the MDT/WDS share world-readable (wds-mdt-discovery).
  • Scrub answer files — remove embedded creds from unattend.xml / MDT files after deployment (or use a secrets store).
  • Alert on deployment-share enumeration from non-deployment sources.
  • Tiering — the WDS/MDT plane is Tier-0-adjacent.

References