Windows API reference
NetUseAdd
Creates a network connection entry without mapping a drive.
- Library
- Netapi32.dll
- Category
- Lateral Movement
- Suspicion
- high
Detection summary
NetUseAdd has no reviewed Sysmon/ETW event; correlate SMB connections and named-pipe activity with the connection setup.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Use Sysmon 3 for network connections and Sysmon 17/18 for named pipes, plus EDR network/API telemetry. The API call itself is not recorded, and legitimate backup and admin tools use it.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1021.002: Remote Services: SMB/Windows Admin Shares
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
IT administration, backup, deployment and monitoring tools.
Related APIs
- NetUseDel — Netapi32.dll
- WNetAddConnection2W — Mpr.dll