Threat Hunting: Lateral Movement - Net Use command to mount remote root share

Where in the Cyber Kill Chain? 


Reconnaisance_killchain.png

IDENTIFYING

Mount Remote Root Share

COMPONENT

Remarks

TACTIC

Net Use command to mount remote root share

TECHNIQUE

Identify the use of the net use command to mount the root C$ or ADMIN$ share on a remote system. This is commonly used during lateral movement as a precursor to transferring files or other means of interacting with a system that require network authentication. This likely returns false positives depending on how users mount shares in the environment, as well as ancillary activity from log on scripts and other legitimate usage.

A legitimate administrator usage and automated scripts may all trigger this activity with high frequency and broad scale. It requires additional filtering either by user, computer group, or some combination thereof. You should set the Enable Skip Unique / Make Stackable option in large environments.

PROCEDURE

Trace Executed Processes

  1. Open the TaaS Tanium Console.

  2. Use either the Question Builder or Question Bar, proceed to Trace Executed Processes

  3. Treat inputs as Regular Expressions: Enabled

  4. Skip Unique / Make Stackable: Enabled

  5. Process Path: (?i).*\\net\.exe

  6. Command-Line: (?i).*use.*\\\\.*\\(ADMIN|C)\$.*

Get Trace Executed Processes[1 week,1630438722721|1630442321721,1,0,1,0,"(?i).*\\net\.exe","","(?i).*use.*\\\\.*\\(ADMIN|C)\$.*","","",""] from all machines

Technique effective against the following adversary TTPs

  • Lateral Movement