Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 2.42 KB

T1135.md

File metadata and controls

51 lines (31 loc) · 2.42 KB

T1135 - Network Share Discovery

Networks often contain shared network drives and folders that enable users to access file directories on various systems across a network.

===Windows===

File sharing over a Windows network occurs over the SMB protocol. (Citation: Wikipedia Shared Resource) (Citation: TechNet Shared Folder)

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.

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.

===Mac===

On Mac, locally mounted shares can be viewed with the df -aH command.

Detection: System and network discovery techniques normally occur throughout an operation as an adversary learns the environment. Data and events should not be viewed in isolation, but as part of a chain of behavior that could lead to other activities, such as Lateral Movement, based on the information obtained.

Normal, benign system and network events related to legitimate remote system discovery may be uncommon, depending on the environment and how they are used. Monitor processes and command-line arguments for actions that could be taken to gather system and network information. Remote access tools with built-in features may interact directly with the Windows API to gather information. Information may also be acquired through Windows system management tools such as Windows Management Instrumentation and PowerShell.

Platforms: macOS, Windows

Data Sources: Process Monitoring, Process command-line parameters, Network protocol analysis, Process use of network

Permissions Required: User

Atomic Tests


Atomic Test #1 - Network Share Discovery

Network Share Discovery

Supported Platforms: macOS, Linux

Inputs

Name Description Type Default Value
computer_name computer name to find a mount on string computer1

Run it with sh!

df -aH
smbutil view -g //${computer_name}
showmount ${computer_name}