Network Share Discovery

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: T1135
Sub-techniques:  No sub-techniques
Tactic: Discovery
Platforms: Linux, Windows, macOS
Contributors: Praetorian
Version: 3.2
Created: 14 December 2017
Last Modified: 29 September 2023

Procedure Examples

ID Name Description
S1129 Akira

Akira can identify remote file shares for encryption.[3]

G0006 APT1

APT1 listed connected network shares.[4]

G0050 APT32

APT32 used the net view command to show all shares available, including the administrative shares such as C$ and ADMIN$.[5]

G0082 APT38

APT38 has enumerated network shares on a compromised host.[6]

G0087 APT39

APT39 has used the post exploitation tool CrackMapExec to enumerate network shares.[7]

G0096 APT41

APT41 used the net share command as part of network reconnaissance.[8][9]

S0640 Avaddon

Avaddon has enumerated shared folders and mapped volumes.[10]

S1053 AvosLocker

AvosLocker has enumerated shared drives on a compromised network.[11][12]

S0638 Babuk

Babuk has the ability to enumerate network shares.[13]

S0606 Bad Rabbit

Bad Rabbit enumerates open SMB shares on internal victim networks.[14]

S1081 BADHATCH

BADHATCH can check a user's access to the C$ share on a compromised machine.[15]

S0534 Bazar

Bazar can enumerate shared drives on the domain.[16]

S0570 BitPaymer

BitPaymer can search for network shares on the domain or workgroup using net view .[17]

S1068 BlackCat

BlackCat has the ability to discover network shares on compromised networks.[18][19]

C0015 C0015

During C0015, the threat actors executed the PowerView ShareFinder module to identify open shares.[20]

G0114 Chimera

Chimera has used net share and net view to identify network shares of interest.[21]

S0660 Clambling

Clambling has the ability to enumerate network shares.[22]

S0611 Clop

Clop can enumerate network shares.[23]

S0154 Cobalt Strike

Cobalt Strike can query shared drives on the local system.[24]

S0575 Conti

Conti can enumerate remote open SMB network shares using NetShareEnum().[25][26]

S0488 CrackMapExec

CrackMapExec can enumerate the shared folders and associated permissions for a targeted network.[27]

S0625 Cuba

Cuba can discover shared resources using the NetShareEnum API call.[28]

G0105 DarkVishnya

DarkVishnya scanned the network for public shared folders.[29]

S0616 DEATHRANSOM

DEATHRANSOM has the ability to use loop operations to enumerate network resources.[30]

S0659 Diavol

Diavol has a ENMDSKS command to enumerates available network shares.[31]

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.[32]

S1159 DUSTTRAP

DUSTTRAP can identify and enumerate victim system network shares.[33]

S0367 Emotet

Emotet has enumerated non-hidden network shares using WNetEnumResourceW. [34]

S0363 Empire

Empire can find shared drives on the local system.[35]

G1016 FIN13

FIN13 has executed net view commands for enumeration of open shares on compromised machines.[36][37]

S0618 FIVEHANDS

FIVEHANDS can enumerate network shares and mounted drives on a network.[38]

S0696 Flagpro

Flagpro has been used to execute net view to discover mapped network shares.[39]

S0617 HELLOKITTY

HELLOKITTY has the ability to enumerate network resources.[30]

S0483 IcedID

IcedID has used the net view /all command to show available shares.[40]

G1032 INC Ransom

INC Ransom has used Internet Explorer to view folders on other systems.[41]

S1139 INC Ransomware

INC Ransomware has the ability to check for shared network drives to encrypt.[42]

S0260 InvisiMole

InvisiMole can gather network share information.[43]

S0250 Koadic

Koadic can scan local network for open SMB.[44]

S1075 KOPILUWAK

KOPILUWAK can use netstat and Net to discover network shares.[45]

S0236 Kwampirs

Kwampirs collects a list of network shares with the command net share.[46]

S1160 Latrodectus

Latrodectus can run C:\Windows\System32\cmd.exe /c net view /all to discover network shares.[47][48]

S1141 LunarWeb

LunarWeb can identify shared resources in compromised environments.[49]

S0233 MURKYTOP

MURKYTOP has the capability to retrieve information about shares on remote hosts.[50]

S0039 Net

The net view \remotesystem and net share commands in Net can be used to find shared drives and directories on remote and local systems respectively.[51]

S0365 Olympic Destroyer

Olympic Destroyer will attempt to enumerate mapped network shares to later attempt to wipe all files on those shares.[52]

C0012 Operation CuckooBees

During Operation CuckooBees, the threat actors used the net share command as part of their advanced reconnaissance.[53]

C0014 Operation Wocao

During Operation Wocao, threat actors discovered network disks mounted to the system using netstat.[54]

S0165 OSInfo

OSInfo discovers shares on the network[55]

S0013 PlugX

PlugX has a module to enumerate network shares.[56]

S0192 Pupy

Pupy can list local and remote shared drives and folders over SMB.[57]

S0650 QakBot

QakBot can use net share to identify network shares for use in lateral movement.[58][59]

S0686 QuietSieve

QuietSieve can identify and search networked drives for specific file name extensions.[60]

S0458 Ramsay

Ramsay can scan for network drives which may contain documents for collection.[61][62]

S1073 Royal

Royal can enumerate the shared resources of a given IP addresses using the API call NetShareEnum.[63]

S1085 Sardonic

Sardonic has the ability to execute the net view command.[64]

S0444 ShimRat

ShimRat can enumerate connected drives for infected host machines.[65]

S0692 SILENTTRINITY

SILENTTRINITY can enumerate shares on a compromised host.[66]

G0054 Sowbug

Sowbug listed remote shared drives that were accessible from a victim.[67]

S0603 Stuxnet

Stuxnet enumerates the directories of a network resource.[68]

G0131 Tonto Team

Tonto Team has used tools such as NBTscan to enumerate network shares.[69]

S0266 TrickBot

TrickBot module shareDll/mshareDll discovers network shares via the WNetOpenEnumA API.[70][71]

G0081 Tropic Trooper

Tropic Trooper used netview to scan target systems for shared resources.[72]

S0612 WastedLocker

WastedLocker can identify network adjacent and accessible drives.[73]

S0689 WhisperGate

WhisperGate can enumerate connected remote logical drives.[74]

G0102 Wizard Spider

Wizard Spider has used the "net view" command to locate mapped network shares.[75]

S0251 Zebrocy

Zebrocy identifies network drives when they are added to victim systems.[76]

Mitigations

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.[77]

Detection

ID Data Source Data Component Detects
DS0017 Command Command Execution

Monitor executed commands and arguments that 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.

DS0009 Process OS API Execution

Monitor for API calls that 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.

Process Creation

Monitor for newly executed processes that 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.

References

  1. Wikipedia. (2017, April 15). Shared resource. Retrieved June 30, 2017.
  2. Microsoft. (n.d.). Share a Folder or Drive. Retrieved June 30, 2017.
  3. Max Kersten & Alexandre Mundo. (2023, November 29). Akira Ransomware. Retrieved April 4, 2024.
  4. Mandiant. (n.d.). APT1 Exposing One of China’s Cyber Espionage Units. Retrieved July 18, 2016.
  5. Dahan, A. (2017). Operation Cobalt Kitty. Retrieved December 27, 2018.
  6. DHS/CISA. (2020, August 26). FASTCash 2.0: North Korea's BeagleBoyz Robbing Banks. Retrieved September 29, 2021.
  7. Rusu, B. (2020, May 21). Iranian Chafer APT Targeted Air Transportation and Government in Kuwait and Saudi Arabia. Retrieved May 22, 2020.
  8. Fraser, N., et al. (2019, August 7). Double DragonAPT41, a dual espionage and cyber crime operation APT41. Retrieved September 23, 2019.
  9. Rostovcev, N. (2021, June 10). Big airline heist APT41 likely behind a third-party attack on Air India. Retrieved August 26, 2021.
  10. Yuste, J. Pastrana, S. (2021, February 9). Avaddon ransomware: an in-depth analysis and decryption of infected systems. Retrieved August 19, 2021.
  11. Hasherezade. (2021, July 23). AvosLocker enters the ransomware scene, asks for partners. Retrieved January 11, 2023.
  12. FBI, FinCEN, Treasury. (2022, March 17). Indicators of Compromise Associated with AvosLocker Ransomware. Retrieved January 11, 2023.
  13. Sogeti. (2021, March). Babuk Ransomware. Retrieved August 11, 2021.
  14. M.Léveille, M-E.. (2017, October 24). Bad Rabbit: Not‑Petya is back with improved ransomware. Retrieved January 28, 2021.
  15. Vrabie, V., et al. (2021, March 10). FIN8 Returns with Improved BADHATCH Toolkit. Retrieved September 8, 2021.
  16. Pantazopoulos, N. (2020, June 2). In-depth analysis of the new Team9 malware family. Retrieved December 1, 2020.
  17. Frankoff, S., Hartley, B. (2018, November 14). Big Game Hunting: The Evolution of INDRIK SPIDER From Dridex Wire Fraud to BitPaymer Targeted Ransomware. Retrieved January 6, 2021.
  18. Microsoft Defender Threat Intelligence. (2022, June 13). The many lives of BlackCat ransomware. Retrieved December 20, 2022.
  19. Brandt, Andrew. (2022, July 14). BlackCat ransomware attacks not merely a byproduct of bad luck. Retrieved December 20, 2022.
  20. DFIR Report. (2021, November 29). CONTInuing the Bazar Ransomware Story. Retrieved September 29, 2022.
  21. Jansen, W . (2021, January 12). Abusing cloud services to fly under the radar. Retrieved September 12, 2024.
  22. Lunghi, D. et al. (2020, February). Uncovering DRBControl. Retrieved November 12, 2021.
  23. Mundo, A. (2019, August 1). Clop Ransomware. Retrieved May 10, 2021.
  24. Cobalt Strike. (2017, December 8). Tactics, Techniques, and Procedures. Retrieved December 20, 2017.
  25. Baskin, B. (2020, July 8). TAU Threat Discovery: Conti Ransomware. Retrieved February 17, 2021.
  26. Podlosky, A., Hanel, A. et al. (2020, October 16). WIZARD SPIDER Update: Resilient, Reactive and Resolute. Retrieved June 15, 2021.
  27. byt3bl33d3r. (2018, September 8). SMB: Command Reference. Retrieved July 17, 2020.
  28. Roccio, T., et al. (2021, April). Technical Analysis of Cuba Ransomware. Retrieved June 18, 2021.
  29. Golovanov, S. (2018, December 6). DarkVishnya: Banks attacked through direct connection to local network. Retrieved May 15, 2020.
  30. McLellan, T. and Moore, J. et al. (2021, April 29). UNC2447 SOMBRAT and FIVEHANDS Ransomware: A Sophisticated Financial Threat. Retrieved June 2, 2021.
  31. Neeamni, D., Rubinfeld, A.. (2021, July 1). Diavol - A New Ransomware Used By Wizard Spider?. Retrieved November 12, 2021.
  32. US-CERT. (2018, March 16). Alert (TA18-074A): Russian Government Cyber Activity Targeting Energy and Other Critical Infrastructure Sectors. Retrieved June 6, 2018.
  33. Mike Stokkel et al. (2024, July 18). APT41 Has Arisen From the DUST. Retrieved September 16, 2024.
  34. Binary Defense. (n.d.). Emotet Evolves With new Wi-Fi Spreader. Retrieved September 8, 2023.
  35. Schroeder, W., Warner, J., Nelson, M. (n.d.). Github PowerShellEmpire. Retrieved April 28, 2016.
  36. Ta, V., et al. (2022, August 8). FIN13: A Cybercriminal Threat Actor Focused on Mexico. Retrieved February 9, 2023.
  37. Sygnia Incident Response Team. (2022, January 5). TG2003: ELEPHANT BEETLE UNCOVERING AN ORGANIZED FINANCIAL-THEFT OPERATION. Retrieved February 9, 2023.
  38. Matthews, M. and Backhouse, W. (2021, June 15). Handy guide to a new Fivehands ransomware variant. Retrieved June 24, 2021.
  39. Hada, H. (2021, December 28). Flagpro The new malware used by BlackTech. Retrieved March 25, 2022.
  1. DFIR. (2022, April 25). Quantum Ransomware. Retrieved July 26, 2024.
  2. Team Huntress. (2023, August 11). Investigating New INC Ransom Group Activity. Retrieved June 5, 2024.
  3. Cybereason Security Research Team. (2023, November 20). Threat Alert: INC Ransomware. Retrieved June 5, 2024.
  4. Hromcová, Z. (2018, June 07). InvisiMole: Surprisingly equipped spyware, undercover since 2013. Retrieved July 10, 2018.
  5. Magius, J., et al. (2017, July 19). Koadic. Retrieved September 27, 2024.
  6. Hawley, S. et al. (2023, February 2). Turla: A Galaxy of Opportunity. Retrieved May 15, 2023.
  7. Symantec Security Response Attack Investigation Team. (2018, April 23). New Orangeworm attack group targets the healthcare sector in the U.S., Europe, and Asia. Retrieved May 8, 2018.
  8. Stepanic, D. and Bousseaden, S. (2024, May 15). Spring Cleaning with LATRODECTUS: A Potential Replacement for ICEDID. Retrieved September 13, 2024.
  9. Batista, J. (2024, June 17). Latrodectus, are you coming back?. Retrieved September 13, 2024.
  10. Jurčacko, F. (2024, May 15). To the Moon and back(doors): Lunar landing in diplomatic missions. Retrieved June 26, 2024.
  11. FireEye. (2018, March 16). Suspected Chinese Cyber Espionage Group (TEMP.Periscope) Targeting U.S. Engineering and Maritime Industries. Retrieved April 11, 2018.
  12. Savill, J. (1999, March 4). Net.exe reference. Retrieved September 22, 2015.
  13. Mercer, W. and Rascagneres, P. (2018, February 12). Olympic Destroyer Takes Aim At Winter Olympics. Retrieved March 14, 2019.
  14. Cybereason Nocturnus. (2022, May 4). Operation CuckooBees: Deep-Dive into Stealthy Winnti Techniques. Retrieved September 22, 2022.
  15. Dantzig, M. v., Schamper, E. (2019, December 19). Operation Wocao: Shining a light on one of China’s hidden hacking groups. Retrieved October 8, 2020.
  16. Symantec Security Response. (2016, September 6). Buckeye cyberespionage group shifts gaze from US to Hong Kong. Retrieved September 26, 2016.
  17. Computer Incident Response Center Luxembourg. (2013, March 29). Analysis of a PlugX variant. Retrieved November 5, 2018.
  18. Nicolas Verdier. (n.d.). Retrieved January 29, 2018.
  19. Mendoza, E. et al. (2020, May 25). Qakbot Resurges, Spreads through VBS Files. Retrieved September 27, 2021.
  20. Kuzmenko, A. et al. (2021, September 2). QakBot technical analysis. Retrieved September 27, 2021.
  21. Microsoft Threat Intelligence Center. (2022, February 4). ACTINIUM targets Ukrainian organizations. Retrieved February 18, 2022.
  22. Sanmillan, I.. (2020, May 13). Ramsay: A cyber‑espionage toolkit tailored for air‑gapped networks. Retrieved May 27, 2020.
  23. Antiy CERT. (2020, April 20). Analysis of Ramsay components of Darkhotel's infiltration and isolation network. Retrieved March 24, 2021.
  24. Cybereason Global SOC and Cybereason Security Research Teams. (2022, December 14). Royal Rumble: Analysis of Royal Ransomware. Retrieved March 30, 2023.
  25. Budaca, E., et al. (2021, August 25). FIN8 Threat Actor Goes Agile with New Sardonic Backdoor. Retrieved August 9, 2023.
  26. Yonathan Klijnsma. (2016, May 17). Mofang: A politically motivated information stealing adversary. Retrieved May 12, 2020.
  27. Salvati, M. (2019, August 6). SILENTTRINITY Modules. Retrieved March 24, 2022.
  28. Symantec Security Response. (2017, November 7). Sowbug: Cyber espionage group targets South American and Southeast Asian governments. Retrieved November 16, 2017.
  29. Nicolas Falliere, Liam O Murchu, Eric Chien 2011, February W32.Stuxnet Dossier (Version 1.4) Retrieved. 2017/09/22
  30. Daniel Lughi, Jaromir Horejsi. (2020, October 2). Tonto Team - Exploring the TTPs of an advanced threat actor operating a large infrastructure. Retrieved October 17, 2021.
  31. Boutin, J. (2020, October 12). ESET takes part in global operation to disrupt Trickbot. Retrieved March 15, 2021.
  32. Tudorica, R., Maximciuc, A., Vatamanu, C. (2020, March 18). New TrickBot Module Bruteforces RDP Connections, Targets Select Telecommunication Services in US and Hong Kong. Retrieved March 15, 2021.
  33. Alintanahin, K. (2015). Operation Tropic Trooper: Relying on Tried-and-Tested Flaws to Infiltrate Secret Keepers. Retrieved June 14, 2019.
  34. Walter, J.. (2020, July 23). WastedLocker Ransomware: Abusing ADS and NTFS File Attributes. Retrieved September 14, 2021.
  35. Biasini, N. et al.. (2022, January 21). Ukraine Campaign Delivers Defacement and Wipers, in Continued Escalation. Retrieved March 14, 2022.
  36. DHS/CISA. (2020, October 28). Ransomware Activity Targeting the Healthcare and Public Health Sector. Retrieved October 28, 2020.
  37. Kaspersky Lab's Global Research & Analysis Team. (2018, February 20). A Slice of 2017 Sofacy Activity. Retrieved November 27, 2018.
  38. Microsoft. (2017, April 19). Network access: Do not allow anonymous enumeration of SAM accounts and shares. Retrieved May 20, 2020.