Command Line
sharpshares.exe /threads 50 /ldap:all /filter:sysvol,netlogon,ipc$,print$ /outfile:test.txt
Description
SharpShares is a utility for enumerating network shares - the above example will check all domain computer objects and will not look for shares with the given names in the /filter argument.
Risk
High
Risk Reason
SharpShares is very commonly used immediately after compromising an initial foot-hold - these types of commandline arguments are extremely suspicious.
Fidelity
High
Fidelity Reason
It would be extremely uncommon to find these filenames or arguments used in a benign way.
Operating Systems
Killchain Phases
References
MITRE ATT&CK TECHNIQUES
URL: https://attack.mitre.org/techniques/T1135
Description: 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. (Citation: Wikipedia Shared Resource) (Citation: TechNet Shared Folder) [Net](https://attack.mitre.org/software/S0039) 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.
Tactics: