
Exfiltration Over Web Service (T1567)
Exfiltration over web service is an attack technique, listed by MITRE ATT&CK as T1567, in which an intruder sends stolen data through an existing, legitimate web service, such as cloud storage or a code repository, rather than through its main control channel. The provider runs the service and the attacker abuses it, so the upload can look routine.
Exfiltration over web service usually turns up in a mapping to MITRE ATT&CK, a public knowledge base of attacker techniques, or in an incident report. "Web service" here means an ordinary online service, the kind a victim's environment may already be talking to. What defines the technique is the job the service does, carrying stolen data out, not who owns the server.
CyberRecaps is supported by its readers. We may earn an affiliate commission at no extra cost to you if you buy through a link on this page.


Explain It Like I'm 10
Suppose a kid wants to get a copy of a classmate's drawings out of school without being stopped. Walking out the door with them would get noticed. But the whole class plays the same online game, the school network allows it, and every player has a storage page in it for their own stuff. The kid uploads the drawings to their own page and opens it later from home. To anyone watching the network, it looks like one more kid playing the game. Exfiltration over web service works roughly like that: the data leaves through a service everyone already uses, into a spot the sender can reach again later.
Exfiltration Over Web Service Quiz
Test your knowledge about Exfiltration Over Web Service - maybe you already know everything about it.
What is exfiltration over web service?

How Exfiltration Over Web Service Works
Exfiltration is the part of an attack where stolen data leaves the victim's environment: its networks, devices or cloud services. Data exfiltration covers that whole step; a web service is one route out of it.
One route is a line the attacker already has. Malware on a compromised machine keeps contact with a server the attacker controls, to take instructions and send results back. That line is the command and control (C2) channel, and stolen data can travel over it too, in the same kind of traffic as the instructions.
What sets this route apart
Exfiltration over web service takes a different route. The intruder uploads the data to an online service that stores what its customers upload, and the data lands somewhere the attacker can reach, such as an account, repository or channel. Seen from the victim's network, the transfer is one more connection to a service it may already use. The service accepts the upload because accepting uploads is its job.
Who owns the server is not what sets this route apart, because legitimate web services can also carry C2 traffic. The difference is the job the service does: here it carries stolen data out instead of the primary C2 channel. The provider runs the same legitimate service for its customers either way; the abuse is the attacker's use of it.
MITRE splits the technique into four sub-techniques, one per kind of destination:
- Cloud storage (T1567.002): services that let users store, edit and retrieve files over the internet. MITRE gives Dropbox and Google Docs as examples.
- Code repository (T1567.001): a service where developers keep source code, often reached through an API, the interface programs use to talk to a service.
- Text storage site (T1567.003): a site such as Pastebin, which developers commonly use to share code and other information. MITRE notes that paid features and encryption options may let adversaries store data more securely.
- Webhook (T1567.004): a webhook is a way for one service to push data to another over the web, without the receiver having to keep asking for it. Public services such as Discord and Slack let customers create webhook endpoints. MITRE describes two uses: connecting an attacker-owned environment to an online service the victim uses, which then posts data to the endpoint automatically, so data flows out repeatedly, or posting data the attacker has gathered straight to the endpoint. Because one service posts to another, this route can run between cloud services as well as from a device.

Why Does the Traffic Blend In?
MITRE names three conditions that make a transfer to an ordinary service hard to tell from everyday use:
- Cover from existing traffic: Popular web services may give a significant amount of cover, because computers on the network are likely already talking to them before any compromise. If a company's machines connect to a storage service all day, one more connection to it is not new information.
- Permission: Firewall rules, which decide which connections a network allows and which it blocks, may already permit traffic to these services, because people need them for work.
- Encryption: Web service providers commonly use TLS, which encrypts the connection so that data sent over it is visible only to the two ends. A defender watching the wire sees a connection to a known service, not the files inside it. TLS does not hide how much data is sent, and MITRE calls the encryption "an added level of protection" for the attacker, not invisibility.
The Canadian Centre for Cyber Security describes the same difficulty from the defender's side. Organizations often already have legitimate traffic flowing to approved cloud and web service providers, which makes malicious transfers difficult to detect.

What Do Documented Cases Show?
A worm that used a repository and a webhook (campaign, September 2025)
In its alert of 23 September 2025, CISA described a self-replicating worm, publicly known as Shai-Hulud, that had compromised over 500 packages in npm, a JavaScript registry. Its malware scanned for sensitive credentials, including GitHub access tokens. It then sent them to an endpoint the actor controlled and uploaded them to a public repository. MITRE records that the repository was created under the compromised developer's own account, so the stolen data sat inside the developer's own account on a code-hosting service, where, being public, anyone could read it. MITRE also records that secrets went to a webhook on webhook.site. CISA's alert advises blocking outbound connections to webhook.site domains and auditing repository webhooks.
A firewall device that posted to Slack (incident report, December 2025)
CERT Polska's January 2026 report on attacks of 29 December 2025 describes an attack on a manufacturing company. The attacker got in through a Fortinet perimeter device and added two scripts to it, one aimed at credentials and one at security settings. The device has a built-in feature for sending notifications to a designated Slack channel, and the attacker used it to send the scripts' output to a Slack channel under the attacker's control. CERT Polska maps this to the webhook sub-technique. Here the sender was a network device, not a user's computer, and the destination a collaboration service.

How Does It Differ From Other Exfiltration Techniques?
ATT&CK separates four related techniques by one defining feature each.
Technique | What defines it | Where the data goes |
|---|---|---|
Exfiltration over web service (T1567) | An existing, legitimate external web service is used instead of the primary C2 channel | A cloud storage service, code repository, text storage site or webhook endpoint |
Exfiltration over the C2 channel (T1041) | The data travels over the existing C2 channel, using the same protocol as the C2 traffic | The server at the other end of that channel |
Exfiltration over an alternative protocol (T1048) | A different protocol from the one the C2 channel uses; MITRE's list includes FTP, SMTP, HTTP/S, DNS and SMB | An alternate network location, which may differ from the main C2 server |
Transfer to another cloud account (T1537) | The data stays inside one cloud service, moved to another account the attacker controls on the same service | A second account at the same provider |
DNS is one of the protocols MITRE lists under T1048.
A similarly named technique, T1102 Web Service, belongs to the command and control tactic, not to exfiltration. It uses a legitimate web service to relay data to and from a compromised system.

What Can Defenders Do, and Where Does Each Control Stop?
Each class of control changes a different part of the route, and each has a condition at which it stops helping.
Limit which external services can be reached
A web proxy is a server that forwards its users' requests to other servers. MITRE describes web proxies as a way to enforce a policy that prevents use of unauthorized external services. Where the policy applies, uploads to a service it does not allow are blocked. Blocking webhook.site domains, as CISA advised in the worm case, is an example of blocking one abused service by name. The limit: a service the organization does use has to stay reachable, and blocking it would block that use too. A block on the service cannot tell the organization's own account from an attacker's account on it.
Restrict which accounts can be used on a service
Some sign-in services can refuse sign-ins to accounts outside the organization. Microsoft documents one, tenant restrictions: the organization sets a policy and adds a signal to sign-in requests, for example through a corporate proxy, and Microsoft's identity service then blocks external accounts from signing in. That addresses the attacker's account on a service the business uses. Microsoft documents two protections separately:
- Authentication plane protection: blocks sign-ins that use external accounts. A corporate proxy that adds the header provides only this protection.
- Data plane protection: covers attacks that bypass sign-in, such as anonymous access or an access token, a digital pass that proves a sign-in, imported from elsewhere. It needs other enforcement, such as Microsoft's management of Windows devices.
So a proxy header alone does not cover every transfer that uses an external account, an imported token or anonymous access. The policy is also not enforced when the signal is missing from a request, and it applies to sign-ins handled by Microsoft's identity service, not to every service in this technique. A practical gap is the webhook: a Slack incoming webhook is a URL that accepts posted data, so an upload to an existing one need not involve a fresh interactive sign-in on the sending device.
Inspect what is being sent
Data loss prevention (DLP) tools look at the content of outbound data and can block sensitive data from leaving. What a deployment covers depends on the product, how it is set up, the applications and data types it supports and the policies the organization has configured. MITRE's mitigation entry gives browser uploads as its example, which shows one use of DLP, not a limit on what it can do.
Microsoft's endpoint DLP settings show the range:
- Application control: endpoint DLP can restrict which applications may access a protected file.
- Browser upload control: its service-domain upload restriction applies to uploads made through Microsoft Edge, or through Chrome or Firefox with Microsoft's extension installed.
Browser-focused controls therefore cover a narrower set of activities than application-level ones.
Where the tool sits also decides what it can read. A tool that only watches network traffic cannot read encrypted content without decrypting it first, and the Canadian Centre for Cyber Security says inspecting encrypted traffic will improve the effectiveness of a DLP solution. An endpoint control acts on the device, so it may inspect or restrict data before the connection encrypts it.
Watch behaviour around the upload
The destination looks normal, but what the sending program does around it can differ from usual. MITRE's detection strategy describes a program that does not normally use the network suddenly making outbound HTTPS connections with a high ratio of data sent to data received, large sets of files being read and archived and then uploaded, and accounts making abnormal calls to file upload endpoints.
Volume is only one signal. TLS does not hide how much data is sent, but a small transfer can still expose something valuable, such as the credentials the worm in the first case collected, so a volume threshold alone is not enough.
Two more places to look:
- Webhook configuration: MITRE's webhook detection strategy includes activity in an organization's cloud service accounts in which webhook configurations point to external or untrusted domains. Unexpected webhook creation or configuration changes, and untrusted destinations, in a service's audit logs are worth watching where the service provides them.
- Cloud-to-cloud paths: transfers between cloud services may never pass the organization's network proxy, so proxy logs alone would not show them.
The limit is the baseline. These analytics depend on what is normal for that organization, with thresholds "tunable by environment", and MITRE's cloud-storage analytic treats known backup tools as allowed and flags deviations. Activity that resembles legitimate use may evade particular volume or baseline checks, so correlating identity, destination, configuration and data-access context matters.