Windows API reference
setsockopt
Sets socket options such as timeouts and broadcast permission.
- Library
- Ws2_32.dll
- Category
- Network / Sockets
- Suspicion
- low
- MITRE ATT&CK
- T1095 Non-Application Layer Protocol
Detection summary
setsockopt has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: User-mode API not logged directly by Sysmon or standard kernel ETW; detect via static import triage, sandbox API hooking, or behavioral correlation.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Browsers, games, IM clients, IT tooling and updaters.
Related APIs
- getsockopt — Ws2_32.dll