Windows Event ID · Security log

Event ID 5140: A network share object was accessed

Written when someone connects to a shared folder, if Audit File Share is enabled. Access to the hidden admin shares ADMIN$ and C$ from a workstation is a classic sign of remote execution tools such as PsExec.

Key fields

Share Name
For example \\*\ADMIN$ or \\*\Finance.
Source Address
Where the connection came from.
Account Name
Who connected.

What looks suspicious

  • ADMIN$ or C$ access followed by a 7045 service install.
  • Admin share access from a non-IT workstation.

Practise with real logs

These labs give you an .evtx file where Event ID 5140 is part of the story.

Related Event IDs

Questions people ask

What is Event ID 5140?

Event ID 5140 (Security log) means "A network share object was accessed". Written when someone connects to a shared folder, if Audit File Share is enabled. Access to the hidden admin shares ADMIN$ and C$ from a workstation is a classic sign of remote execution tools such as PsExec.

What should I look for in Event ID 5140?

ADMIN$ or C$ access followed by a 7045 service install. Admin share access from a non-IT workstation.

Full field reference: the Windows Security Log Encyclopedia and Microsoft's documentation. Back to the Event ID cheat sheet.