I am running PsExec as a local user (local user mgmttest) as follows:
psexec \\mgmt2 -u domain.test\deploy -p password -e -i ipconfig
At this moment, the following event is received on the domain controller:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4776</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14336</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2022-01-11T09:28:35.097336300Z" />
<EventRecordID>128219558</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="1096" />
<Channel>Security</Channel>
<Computer>dc01.domain.test</Computer>
<Security />
</System>
- <EventData>
<Data Name="PackageName">MICROSOFT_AUTHENTICATION_PACKAGE_V1_0</Data>
<Data Name="TargetUserName">mgmttest</Data>
<Data Name="Workstation">mgmt1</Data>
<Data Name="Status">0xc0000064</Data>
</EventData>
</Event>
Why PsExec try to authenticate with a local user on a domain controller and сreating event 4776?