Start your free Preview

Posture check · Account security

Computer whose dNSHostName isn't its own name ​(T1649)

The first label of the computer's dNSHostName differs from its sAMAccountName. Checks enabled computer accounts. Managed service accounts and failover cluster objects are excluded.

Why it matters

A computer certificate is issued in the account's dNSHostName. An account that carries another computer's name can get a certificate as that computer, and as the domain when the name is a domain controller's (Certifried).

How GraphnAI finds it

It runs after every sync, on each connected domain or tenant on its own. It applies to Active Directory.

It reads:

  • The directory attributes dNSHostName, sAMAccountName, userAccountControl, accountEnabled, servicePrincipalName and objectClass

Tiered Fidelity™ level: Theoretical

Every finding from this check carries the Theoretical level.

  1. TheoreticalThis checkConfigured in the directory. Nothing else checked.
  2. ConstrainedA constraint on it has been checked.
  3. ValidatedTelemetry has seen it in use.

How Select Fire™ contains it

Select Fire modes: Safe Mode, Semi-Auto, Full-Auto

How to fix it

Check who created the account and why the names differ. Set dNSHostName back to the computer's own name, or delete the account if nobody owns it. Revoke any certificate issued in the wrong name.

What Select Fire does

Select Fire opens from the finding and simulates each change on your live graph before anything changes in your directory. These steps contain a suspected compromise.

  1. Disable user For computer accounts.Semi-Auto, or Full-Auto when an Admin allows this action and every Full-Auto check passes. Never on a Tier 0 or Tier 1 account.

    Disabling the account stops the computer authenticating to the domain, so it can't request a certificate. If a real computer uses the account, it loses its domain trust until the account is enabled again.

To repair it: Set the computer's dNSHostName back to its own name, or delete the account if nobody owns it.

In Safe Mode, Select Fire writes the change as a PowerShell script. You review it and run it yourself.

Related checks

MITRE ATT&CK® technique names and MITRE D3FEND™ technique labels: © The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. ATT&CK® is a registered trademark and D3FEND™ a trademark of The MITRE Corporation.

See it on your own directory.

The Public Preview is free for 30 days from your first sync, on your own server.

Start your free Preview