Domain admin rights reachable without any account
Domain ad.admin-soehne.example · service account “svc-backup”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
A technical account used by the backup software has full administrator rights in the company’s Windows domain and a short password that never expires. An old setting on this account lets any device in the company network obtain a scrambled copy of the password, without logging in at all. Because the password is weak, the copy could be turned back into the real password within hours.
Steps to reproduce
- Connect a test laptop to an office network, without any company account.
- Request the scrambled password data of the service account, which the old setting allows without login.
- Recover the password offline and confirm with the client: it grants domain administrator rights.
Account: svc-backup · Member of: Domain Admins
Old setting: password data handed out without login = yes
Password last changed: over 5 years ago
Recovered offline: yes (under 3 hours) Business impact
One device plugged into any office network, or one infected PC, leads to full control of every Windows computer, server and email account, including the backup server. That is the path ransomware groups take to encrypt a whole company and its backups: weeks of downtime, and under NIS2 the management is personally liable.
Remediation
Switch off the old setting, change the password to a long random one, or move to a managed service account that rotates its own password. Remove domain admin rights and give the account only what backups need. Check all other accounts for the same setting, and keep one backup copy offline.
CWE-521 (Weak Password Requirements) · CWE-250 (Execution with Unnecessary Privileges) · MITRE ATT&CK T1558.004 (AS-REP Roasting), T1078.002 (Domain Accounts)