"NT-Autority\System" impersonated or overtaken? GPO-problems.

Raymond Hellberg 6 Reputation points
2020-09-15T10:27:35.277+00:00

Hi all, was reseaching a GPO-problem on a single W10_1903 PC.

DNS, DFS and evereything else seemed okay, except from all the GPO-errors in the Event Log.

But when I from a psexec command prompt, (running "WhoAmI" gives "NT-Autority\System" for sure) ran "dir \<domain.com>\SysVol" I got: "Wrong username or password". Running that several times locked another domain account, whitch is a local administrator on that computer.

So to me it seems like that other domain account has "taken over" the NT-Autority\System account in some way. Any hints appreciated, thanks.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,617 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,746 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,754 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,720 questions
{count} votes

3 answers

Sort by: Most helpful
  1. MotoX80 31,571 Reputation points
    2020-09-15T14:05:57.593+00:00

    I would put the PC into a workgroup, and then delete it's computer account from the domain. Then check all of the domain controllers to verify that it's account does not exist on any of them. Then re-join it to the domain and put its account in the correct OU.

    0 comments No comments

  2. Daisy Zhou 18,701 Reputation points Microsoft Vendor
    2020-09-16T02:54:05.35+00:00

    Hello @Raymond Hellberg ,

    Thank you for posting here.

    Based on the description, I did a test in my lab, I got the result successfully.

    24967-sy.png

    We can check:

    1.Check whether we can logon this computer with any domain account. If no, we may need to disjoin the computer from domain and then rejoin the computer to domain OR reset the secure channel password.

    1)Logon this computer with built-in local Administrator.
    2)Open CMD and run as Administrator.
    3)Type Netdom resetpwd /s:target_server /ud:mydomain\domain_admin /pd:* and click Enter.

    /s:server is the name of the domain controller to use for setting the machine account password. This is the server where the KDC is running.
    /ud:domain\User is the user account that makes the connection with the domain you specified in the /s parameter. This must be in domain\User format. If this parameter is omitted, the current user account is used.
    /pd:* specifies the password of the user account that is specified in the /ud parameter. Use an asterisk (*) to be prompted for the password.

    2.If we access another shared folder on the DC or domain file server, can we access?

    3.Check whether only this domain-joined computer has this issue.

    4.What is your GPO-errors in the Event Log, what settings we have configured in this GPO.

    5.Check what account (local account or domain account) do we use to logon this computer, if we change another account (local account or domain account), check whether the issue persists.

    6.Check whether we have a domain account with the same name as this computer.

    Best Regards,
    Daisy Zhou

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Raymond Hellberg 6 Reputation points
    2020-09-18T07:06:59.47+00:00

    Thanks all, but none of the suggested solutions worked. I even tried ro reset Windows. Also searched the whole registry for that account that got locked in case something there had got messed up, bu did not find it at all.
    I ended up with wipe&reinstall, all well with that one now. I hope there are not more of these in our domain, that sympthom seems a bit scary...