Windows API reference
InternetWriteFile
Uploads data through a WinINet handle, a common exfiltration primitive.
- Library
- Wininet.dll
- Category
- Internet
- Suspicion
- high
- MITRE ATT&CK
- T1041 Exfiltration Over C2 Channel
Detection summary
InternetWriteFile has no reviewed Sysmon/ETW event; Sysmon 3 shows the connection, not the bytes uploaded.
- 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 file or credential access that could supply the data. Do not describe Sysmon 3 as request-body visibility.
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
- HttpSendRequestW — Wininet.dll