1-minute read of a 4 min report

Huntress Finds a Better Way to Detect Active Directory Timeroasting

By

1-minute read

What a defender needs to know

Huntress researcher Andrew Schwartz tested timeroasting against a patched Windows Server 2025 domain controller. An unauthenticated client that can reach the controller on UDP/123 can ask it to sign a time response for a named computer or trust account. Someone who collects the response can try weak account passwords offline. A random rotating machine secret remains a much harder target.

The authenticated request names an account by its RID at byte offset 48. Huntress found a 68-byte legacy format and a 120-byte extended format; legitimate Windows clients can use the extended format, so packet length alone is a poor attack alert. In the researcher’s lab, extended requests using the old-key selector received signed replies, while current-key probes timed out on the tested controller. Those probe results are specific to that setup.

Collect domain-controller UDP/123 requests and compare the RID in each authenticated client-mode request with the sending member’s own computer-account RID. Resolve IPs through DHCP or DNS and objectSid; give domain-controller trust synchronization its own expected RID. A single mismatch can expose a paced probe. Restrict controller time traffic from networks that do not need it, then confirm authorized domain members can still synchronize. Review old pwdLastSet on machine and trust accounts and PASSWD_NOTREQD on pre-Windows 2000 computer accounts; restore rotation where needed and replace weak secrets. Verify detection against an authorized member’s own-RID request and an approved mismatched-RID test event.

Primary sources