# Data from Network Shared Drive

Data from Network Shared Drive
Technique
ID T1039
Tactic Collection
Platform Linux, macOS, Windows
System Requirements Privileges to access network shared drive
Data Sources File monitoring, Process monitoring, Process command-line parameters

Sensitive data can be collected from remote systems via shared network drives (host shared directory, network file server, etc.) that are accessible from the current system prior to Exfiltration.

Adversaries may search network shares on computers they have compromised to find files of interest. Interactive command shells may be in use, and common functionality within cmd may be used to gather information.

## Examples

• BRONZE BUTLER has exfiltrated files stolen from file shares.1
• Sowbug extracted Word documents from a file server on a victim network.2
• menuPass has collected data from remote systems by mounting network shares with net use and using Robocopy to transfer data.3
• When it first starts, BADNEWS crawls the victim's mapped drives and collects documents with the following extensions: .doc, .docx, .pdf, .ppt, .pptx, and .txt.4
• CosmicDuke steals user files from network shared drives with file extensions and keywords that match a predefined list.5

## Mitigation

Identify unnecessary system utilities or potentially malicious software that may be used to collect data from a network share, and audit and/or block them by using whitelisting6 tools, like AppLocker,78 or Software Restriction Policies9 where appropriate.10

## Detection

Monitor processes and command-line arguments for actions that could be taken to collect files from a network share. Remote access tools with built-in features may interact directly with the Windows API to gather data. Data may also be acquired through Windows system management tools such as Windows Management Instrumentation and PowerShell.