Windows API reference
WinHttpWriteData
Uploads body data, a common exfiltration primitive.
- Library
- Winhttp.dll
- Category
- Internet
- Suspicion
- high
- MITRE ATT&CK
- T1041 Exfiltration Over C2 Channel
Detection summary
WinHttpWriteData is not directly logged; Sysmon 3 shows the connection, not the uploaded body.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Use EDR network/API telemetry for upload behavior and correlate with Sysmon 3 connections and the data source. The API call itself has no reviewed Sysmon event.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1041: Exfiltration Over C2 Channel
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Browsers, updaters, telemetry clients and installers.
Related APIs
- WinHttpSendRequest — Winhttp.dll