Windows Event ID · Security log
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.
These labs give you an .evtx file where Event ID 5140 is part of the story.
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.
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.