MITRE ATT&CK / Techniques / T1135

Network Share Discovery

ID
T1135
Tactics
TA0007 Discovery
Platforms
Linux, macOS, Windows
Data sources
Process Creation, Network Connection Creation, Named Pipe Metadata, Command Execution, OS API Execution, Network Traffic Flow
Source
attack.mitre.org
MITRE last modified
25 Oct 2025

Adversaries may look for folders and drives shared on remote systems as a means of identifying sources of information to gather as a precursor for Collection and to identify potential systems of interest for Lateral Movement. Networks often contain shared network drives and folders that enable users to access file directories on various systems across a network.

File sharing over a Windows network occurs over the SMB protocol. [2] [3] Net can be used to query a remote system for available shared drives using the net view \\\\remotesystem command. It can also be used to query shared drives on the local system using net share. For macOS, the sharing -l command lists all shared points used for smb services.

Detection

Mitigations (1)

M1028 Operating System Configuration

Enable Windows Group Policy “Do Not Allow Anonymous Enumeration of SAM Accounts and Shares” security setting to limit users who can enumerate network shares.[1]

Groups (16)

Software (59)

References

  1. Windows Anonymous Enumeration of SAM Accounts
  2. Wikipedia Shared Resource
  3. TechNet Shared Folder