Sim (se os eventos de logon estiverem registrados)
Você só pode acessar um compartilhamento em um PC remoto (por exemplo, via \REMOTEPC\SHARENAME
) se puder fazer logon no computador remoto com uma conta com privilégios suficientes para isso. Portanto, acessar um compartilhamento aciona um logon no PC remoto. Todos os logons para um PC são registrados no log de eventos de segurança (supondo que esse log de eventos esteja habilitado).
Se os eventos de logon forem registrados, a ID de evento 4624 será registrada no log de eventos de segurança (Windows Vista +). Parece assim:
An account was successfully logged on. Subject: Security ID: NULL SID Account Name: - Account Domain: - Logon ID: 0x0 Logon Type: 3 New Logon: Security ID: DOMAIN\user Account Name: user Account Domain: DOMAIN Logon ID: 0x3f33d66 Logon GUID: {6dad1ee6-55ea-50af-7561-0289b6364aad} Process Information: Process ID: 0x0 Process Name: - Network Information: Workstation Name: Source Network Address: 192.168.1.10 Source Port: 55372 Detailed Authentication Information: Logon Process: Kerberos Authentication Package: Kerberos Transited Services: - Package Name (NTLM only): - Key Length: 0
O texto adicional no evento fornece mais explicações:
This event is generated when a logon session is created. It is generated on the computer that was accessed.
The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request. - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event. - Transited services indicate which intermediate services have participated in this logon request. - Package name indicates which sub-protocol was used among the NTLM protocols. - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.