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. [1] [2] 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.
ID | Name | Description |
---|---|---|
G0006 | APT1 | |
G0050 | APT32 |
APT32 used the |
G0082 | APT38 |
APT38 has enumerated network shares on a compromised host.[5] |
G0087 | APT39 |
APT39 has used the post exploitation tool CrackMapExec to enumerate network shares.[6] |
G0096 | APT41 |
APT41 used the |
S0640 | Avaddon |
Avaddon has enumerated shared folders and mapped volumes.[9] |
S0638 | Babuk | |
S0606 | Bad Rabbit |
Bad Rabbit enumerates open SMB shares on internal victim networks.[11] |
S0534 | Bazar | |
S0570 | BitPaymer |
BitPaymer can search for network shares on the domain or workgroup using |
G0114 | Chimera |
Chimera has used |
S0660 | Clambling | |
S0611 | Clop | |
S0154 | Cobalt Strike |
Cobalt Strike can query shared drives on the local system.[17] |
S0575 | Conti |
Conti can enumerate remote open SMB network shares using |
S0488 | CrackMapExec |
CrackMapExec can enumerate the shared folders and associated permissions for a targeted network.[20] |
S0625 | Cuba |
Cuba can discover shared resources using the |
G0105 | DarkVishnya |
DarkVishnya scanned the network for public shared folders.[22] |
S0616 | DEATHRANSOM |
DEATHRANSOM has the ability to use loop operations to enumerate network resources.[23] |
S0659 | Diavol |
Diavol has a |
G0035 | Dragonfly |
Dragonfly has identified and browsed file servers in the victim network, sometimes , viewing files pertaining to ICS or Supervisory Control and Data Acquisition (SCADA) systems.[25] |
S0363 | Empire | |
S0618 | FIVEHANDS |
FIVEHANDS can enumerate network shares and mounted drives on a network.[27] |
S0696 | Flagpro |
Flagpro has been used to execute |
S0617 | HELLOKITTY |
HELLOKITTY has the ability to enumerate network resources.[23] |
S0260 | InvisiMole |
InvisiMole can gather network share information.[29] |
S0250 | Koadic | |
S0236 | Kwampirs |
Kwampirs collects a list of network shares with the command |
S0233 | MURKYTOP |
MURKYTOP has the capability to retrieve information about shares on remote hosts.[32] |
S0039 | Net |
The |
S0365 | Olympic Destroyer |
Olympic Destroyer will attempt to enumerate mapped network shares to later attempt to wipe all files on those shares.[34] |
G0116 | Operation Wocao |
Operation Wocao has discovered network disks mounted to the system using netstat.[35] |
S0165 | OSInfo | |
S0013 | PlugX | |
S0192 | Pupy |
Pupy can list local and remote shared drives and folders over SMB.[38] |
S0650 | QakBot |
QakBot can use |
S0686 | QuietSieve |
QuietSieve can identify and search networked drives for specific file name extensions.[41] |
S0458 | Ramsay |
Ramsay can scan for network drives which may contain documents for collection.[42][43] |
S0444 | ShimRat |
ShimRat can enumerate connected drives for infected host machines.[44] |
S0692 | SILENTTRINITY |
SILENTTRINITY can enumerate shares on a compromised host.[45] |
G0054 | Sowbug |
Sowbug listed remote shared drives that were accessible from a victim.[46] |
S0603 | Stuxnet |
Stuxnet enumerates the directories of a network resource.[47] |
G0131 | Tonto Team |
Tonto Team has used tools such as NBTscan to enumerate network shares.[48] |
S0266 | TrickBot |
TrickBot module shareDll/mshareDll discovers network shares via the WNetOpenEnumA API.[49][50] |
G0081 | Tropic Trooper |
Tropic Trooper used |
S0612 | WastedLocker |
WastedLocker can identify network adjacent and accessible drives.[52] |
G0102 | Wizard Spider |
Wizard Spider has used the "net view" command to locate mapped network shares.[53] |
S0251 | Zebrocy |
Zebrocy identifies network drives when they are added to victim systems.[54] |
ID | Mitigation | Description |
---|---|---|
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.[55] |
ID | Data Source | Data Component |
---|---|---|
DS0017 | Command | Command Execution |
DS0009 | Process | OS API Execution |
Process Creation |
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.