Net

S0039

Tool.View on attack.mitre.org

About this tool

The Net utility is a component of the Windows operating system. It is used in command-line operations for control of users, groups, services, and network connections.

Net has a great deal of functionality, much of which is useful for an adversary, such as gathering system and network information for Discovery, moving laterally through SMB/Windows Admin Shares using net use commands, and interacting with services. The net1.exe utility is executed for certain functionality when net.exe is run and can be used directly in commands such as net1 user.

Techniques used16

Procedure examples16

TechniqueProcedure example
T1007
System Service Discovery

The net start command can be used in Net to find information about Windows services.

T1018
Remote System Discovery

Commands such as net view can be used in Net to gather information about available remote systems.

T1021.002
SMB/Windows Admin Shares

Lateral movement can be done with Net through net use commands to connect to the on remote systems.

T1049
System Network Connections Discovery

Commands such as net use and net session can be used in Net to gather information about network connections from a particular host.

T1069.001
Local Groups

Commands such as net group and net localgroup can be used in Net to gather information about and manipulate groups.

T1069.002
Domain Groups

Commands such as net group /domain can be used in Net to gather information about and manipulate groups.

T1070.005
Network Share Connection Removal

The net use \\system\share /delete command can be used in Net to remove an established connection to a network share.

T1087.001
Local Account

Commands under net user can be used in Net to gather information about and manipulate user accounts.

T1087.002
Domain Account

Net commands used with the /domain flag can be used to gather information about and manipulate user accounts on the current domain.

T1098.007
Additional Local or Domain Groups

The `net localgroup` and `net group` commands in Net can be used to add existing users to local and domain groups.

T1124
System Time Discovery

The net time command can be used in Net to determine the local or remote system time.

T1135
Network Share Discovery

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.

T1136.001
Local Account

The net user username \password commands in Net can be used to create a local account.

T1136.002
Domain Account

The net user username \password \domain commands in Net can be used to create a domain account.

T1201
Password Policy Discovery

The net accounts and net accounts /domain commands with Net can be used to obtain password policy information.

View all 16 procedure examples

Groups that use it33

Show 9 more

Campaigns1

References2

  1. Microsoft Net Utility Open source
    Microsoft. (2006, October 18). Net.exe Utility. Retrieved September 22, 2015.
  2. Savill 1999 Open source
    Savill, J. (1999, March 4). Net.exe reference. Retrieved September 22, 2015.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.