Windows API reference
WNetAddConnection3W
Adds a network connection with an owner window for authentication prompts.
- Library
- Mpr.dll
- Category
- Lateral Movement
- Suspicion
- high
Detection summary
WNetAddConnection3W has no reviewed Sysmon/ETW event; correlate SMB and named-pipe activity with the connection request.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Use Sysmon 3 and 17/18 plus EDR network/API telemetry. The owner-window variant changes authentication prompting, not the observability of the connection itself.
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
- WNetAddConnection2W — Mpr.dll