net.exe

by Microsoft
Operating Systemhigh risk

Summary

Net command (net.exe) is a Windows command-line utility for managing network resources, user accounts, groups, services, and shares. It supports subcommands including net user, net group, net localgroup, net share, net use, net start, net stop, and net view.

net.exe is the 54th most commonly executed Windows program in EchoTrail's dataset, observed 681,775 times across enterprise environments. It typically runs from C:\Windows\System32 and it is most often launched by cmd.exe.

54th
most commonly executed Windows program
681,775
observed executions
medium
statistical confidence

Behavior

Top Paths

  • C:\Windows\System3298.96%
  • C:\Windows\SysWOW641.04%

Top Hashes (SHA256)

  • 8267ee144d1bf557bc2a8a46335242bf0c52b919442e03401f6902872611661540.76%
  • 9f376759bcbcd705f726460fc4a7e2b07f310f52baa73caaaaa124fddbdf993e16.42%
  • b331b2ce9418ffaf3a759b3889db1777f1848ffd9954689c6fa25fd6ffc4383412.73%
  • 96cdfd7b263947a6a7c0db54141a6b8d7777db0a03a17cbf95666d98422f937b8.41%
  • bce29f498dbefdbae3eb2874f5dbe6e3c60b7cf6581d4aa1514042ebbf185a256.97%
  • 25c8266d2bc1d5626dcdf72419838b397d28d44d00ac09f02ff4e421b43ec3696.73%
  • e9739d544ee0d428696036cbd656c41dcc505b67cc43dba7c6bec4e3959282ac1.98%
  • 3b9ad8e2c1d03ff941a7c9192a605f31671b107def6ff503a71a0fb2c5bbd6591.97%
  • 7d76325d4092c9c9fe48b36c275c0255e461d8197a7960df35dfbc270a9c66131.15%
  • 59372c8e1d2498d190d38f2bfffc96a3028422a7f5c3fa351bd0c7547155a3100.98%

Process Ancestry

Top Grandparents

Top Parents

Top Children

Rare or environment-specific process names are omitted from ancestry tables. Percentages are of all observed relationships.

Security Analysis

What does net.exe normally do?

Located in C:\Windows\System32 or C:\Windows\SysWOW64. Commonly launched by cmd.exe, management agents (LTSVC.exe), and svchost.exe. Almost always spawns net1.exe, which performs the actual work. Also spawns conhost.exe.

When is net.exe suspicious?

Discovery commands in sequence: net user, net group, net localgroup, net share, net view executed in rapid succession suggest enumeration. net user /add or net localgroup administrators /add — account creation or privilege escalation. net use to mount remote shares, especially with explicit credentials. net stop targeting security services.

How do attackers abuse net.exe?

User and group enumeration: net user /domain, net group "Domain Admins" /domain for identifying high-value accounts. Account manipulation: net user <name> <password> /add and net localgroup administrators <name> /add for persistence and privilege escalation. Share enumeration: net view and net share for identifying file shares and lateral movement targets. Service manipulation: net stop/start for disabling security products. Lateral movement: net use \\target\c$ for mapping remote shares with stolen credentials.

Detection guidance

High-confidence: net user /add or net localgroup administrators /add (account creation/escalation). net stop targeting security services (WinDefend, MpsSvc, etc.). Medium-confidence: net user /domain, net group /domain (domain enumeration). Multiple net commands in sequence from the same parent. net use with explicit credentials in the command-line. Note: net.exe delegates to net1.exe — the actual command appears in net1.exe's command-line.

False positive notes

Management agents (LabTech/LTSVC) heavily use net commands for monitoring. Logon scripts frequently use net use for drive mappings. IT administrators use net commands routinely. The sheer volume from management agents means filtering by parent process is essential.

MITRE ATT&CK techniques

Related Processes

Ask Rocky about net.exe

Rocky answers questions about net.exe grounded in this same dataset — free, no account needed.

Need this data programmatically? The Rocky API includes 500 free lookups a month. Or just ask Rocky.

Data from EchoTrail's dataset of ~346M Windows process executions. Last extracted 2026-08-04.