Lateral movement using administrative shares.
What gives it awayADMIN$ or C$ access from a workstation to another workstation. Administration normally originates from servers or jump boxes.
ATT&CK T1021.002Nothing matches that yet. Tell us what you were looking for and it goes on the list.
Windows Security Log · Event 5140
Something connected to a shared folder over the network. Ordinary file access produces enormous volumes of this, but connections to the hidden administrative shares are a different matter — they are how remote administration and lateral movement both work.
Also written as 5140Event ID 5140
Something on your network opened a shared folder on this PC. Normal if you share files between machines or use a media server.
Filter to the administrative shares — ADMIN$, C$, and IPC$ — and the volume becomes manageable and the signal strong. IPC$ in particular is used by nearly every remote enumeration and lateral movement technique. Pair with 5145 when you need to know which file was touched rather than just which share.
Sanitised. Addresses come from the RFC 5737 documentation ranges.
A network share object was accessed.
Subject:
Security ID: CORP\jbrooks
Account Name: jbrooks
Account Domain: CORP
Logon ID: 0x3E9A11
Network Information:
Object Type: File
Source Address: 192.0.2.44
Source Port: 49712
Share Information:
Share Name: \\*\ADMIN$
Share Path: \??\C:\Windows
Access Request Information:
Access Mask: 0x1
Accesses: ReadData (or ListDirectory) Everything else in the log line is context.
\\*\IPC$The interprocess communication share. Used by legitimate remote administration and by nearly every enumeration and lateral movement tool. \\*\ADMIN$The Windows directory, exposed as a hidden administrative share. Remote execution tooling writes here. \\*\C$The whole system drive, exposed administratively. Rarely needed outside deliberate administration. A named business shareOrdinary file access. The bulk of the volume. Most of the time it is one of these.
What gives it awayADMIN$ or C$ access from a workstation to another workstation. Administration normally originates from servers or jump boxes.
ATT&CK T1021.002What gives it awayADMIN$ access immediately followed by a service installation on the same host.
ATT&CK T1570What gives it awayIPC$ connections from one source to a large number of hosts in a short window.
ATT&CK T1135What gives it awayOne account accessing shares across many servers that it has never touched before.
ATT&CK T1039SecurityEvent | where EventID == 5140 and ShareName has_any ('ADMIN$','C$') | project TimeGenerated, Computer, SubjectUserName, IpAddress, ShareName | order by TimeGenerated desc SecurityEvent | where EventID == 5140 and ShareName contains 'IPC$' | summarize hosts = dcount(Computer) by SubjectUserName, IpAddress, bin(TimeGenerated, 30m) | where hosts > 20 index=wineventlog EventCode=5140 Share_Name IN ("\\\\*\\ADMIN$","\\\\*\\C$") | stats count by Account_Name src_ip dest It is the interprocess communication share, a special share Windows uses for authenticated remote calls rather than for files. Remote management, service control, and named-pipe communication all go through it — as does almost every network enumeration and lateral movement tool, which is why it is worth watching.
It depends entirely on direction. Access from a server or jump box used for administration is expected. Access from one workstation to another rarely has a legitimate explanation, and it is the standard way remote execution tools stage a payload before running it.
Because it fires for every connection to every share, and file servers handle thousands per hour from ordinary work. Collect it filtered to administrative shares rather than in full, or the volume will cost more than the signal is worth.
Last reviewed 28 August 2026