T1135 Network Share Discovery
Discoveryon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0182 Behavior-chain detection for T1135 Network Share Discovery across Windows, Linux, and macOS
AN0513 Windows
Process or script enumerates network shares via CLI (net view/net share, PowerShell Get-SmbShare/WMI) or OS APIs (NetShareEnum/ srvsvc.NetShareEnumAll RPC) → bursts of outbound SMB/RPC connections (445/139, \\host\IPC$ / srvsvc) to many hosts inside a short window → optional follow-on file listing or copy operations.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=17 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106 |
|
etw:Microsoft-Windows-RPCrpc_call: srvsvc.NetShareEnum / NetShareEnumAll from non-admin or unusual processes | Not mapped to Sentinel yet. |
AN0514 Linux
CLI tools (smbclient -L, smbmap, rpcclient, nmblookup) or custom scripts enumerate SMB shares on many internal hosts → corresponding SMB connections (445/139) captured by Zeek/Netflow within a short window.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve of smbclient, smbmap, rpcclient, nmblookup, crackmapexec smb | Not mapped to Sentinel yet. |
NSM:Flowconnection: TCP connections to ports 139/445 to multiple hosts | Not mapped to Sentinel yet. |
NSM:Flowsmb_command: TreeConnectAndX to \\*\IPC$ / srvsvc or Trans2/NT_CREATE for listing shares | Not mapped to Sentinel yet. |
AN0515 macOS
Use of native/mac tools (sharing -l, smbutil view, mount_smbfs) or scripts to enumerate SMB shares across many hosts, followed by outbound SMB connections observed in PF/Zeek logs.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_EXEC: Process execution of "sharing -l", "smbutil view", "mount_smbfs" | Not mapped to Sentinel yet. |
macos:unifiedlogCommand line contains smbutil view //, mount_smbfs // | Not mapped to Sentinel yet. |
NSM:FirewallOutbound connections to 139/445 to multiple destinations | Not mapped to Sentinel yet. |
NSM:Flowconnection: SMB connections to multiple internal hosts | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (5)
- Claroty - Policy violation
- Excessive share permissions
- Powershell Empire Cmdlets Executed in Command Line
- Silverfort - SMB share enumeration
- vArmour AppController - SMB Realm Traversal
How the Content Hub rules for T1135 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
7 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Potential Dridex Activity
- Turla Group Lateral Movement
- File Explorer Folder Opened Using Explorer Folder Shortcut Via Shell
- HackTool - SharpView Execution
- PUA - Advanced IP Scanner Execution
- PUA - Advanced Port Scanner Execution
- Net.EXE Execution
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.