Skip to main content

Exfiltration via API

Infringement
technique
Updated 6 April 2026

A subject may exfiltrate organizational data through direct interaction with application programming interfaces (APIs), leveraging HTTP/S-based service endpoints to transmit sensitive information outside of the organization’s controlled environment. This method typically involves programmatic data transfer using scripts, command-line tools, or software development kits (SDKs), rather than user-facing web interfaces. In this infringement method, the subject authenticates to an external or unauthorized internal API using credentials such as API keys, OAuth tokens, or session tokens, and submits data via structured requests (e.g., POST, PUT). These APIs may belong to legitimate third-party services (e.g., cloud platforms, SaaS applications) or attacker-controlled infrastructure designed to receive and store exfiltrated data. Unlike platform-driven exfiltration (e.g., uploading files via a web interface), API-based exfiltration is typically automated, scalable, and capable of operating without generating browser artifacts. This allows the subject to transfer large volumes of data, segment payloads across multiple requests, or embed exfiltration within otherwise legitimate application traffic. This technique is particularly effective in environments where API traffic is common and trusted, and where inspection of request payloads, headers, or authentication patterns is limited.

0
Prevention Strategies
4
Detection Methods
0
Tactics
2
Contributors

Detection Methods (4)

Agent Capable of Endpoint Detection and Response

An agent capable of Endpoint Detection and Response (EDR) is a software agent installed on organization endpoints (such as laptops and servers) that (at a minimum) records the Operating System, application, and network activity on an endpoint. Typically EDR operates in an agent/server model, where agents automatically send logs to a server, where the server correlates those logs based on a rule set. This rule set is then used to surface potential security-related events, that can then be analyzed. An EDR agent typically also has some form of remote shell capability, where a user of the EDR platform can gain a remote shell session on a target endpoint, for incident response purposes. An EDR agent will typically have the ability to remotely isolate an endpoint, where all network activity is blocked on the target endpoint (other than the network activity required for the EDR platform to operate).

Agent Capable of User Activity Monitoring

An agent capable of User Activity Monitoring (UAM) is a software agent installed on organization endpoints (such as laptops); typically, User Activity Monitoring agents are only deployed on endpoints where a human user Is expected to conduct the activity. The User Activity Monitoring agent will typically record Operating System, application, and network activity occurring on an endpoint, with a focus on activity that is or can be conducted by a human user. The purpose of this monitoring is to identify undesirable and/or malicious activity being conducted by a human user (in this context, an Insider Threat). Typical User Activity Monitoring platforms operate in an agent/server model where activity logs are sent to a server for automatic correlation against a rule set. This rule set is used to surface activity that may represent Insider Threat related activity such as capturing screenshots, copying data, compressing files or installing risky software. Other platforms providing related functionality are frequently referred to as User Behaviour Analytics (UBA) platforms.

Agent Capable of User Behaviour Analytics

An agent capable of User Behaviour Analytics (UBA) is a software agent installed on organizational endpoints (such as laptops). Typically, User Activity Monitoring agents are only deployed on endpoints where a human user is expected to conduct the activity. The User Behaviour Analytics agent will typically record Operating System, application, and network activity occurring on an endpoint, focusing on activity that is or can be conducted by a human user. Typically, User Behaviour Analytics platforms operate in an agent/server model where activity logs are sent to a server for automatic analysis. In the case of User Behaviour Analytics, this analysis will typically be conducted against a baseline that has previously been established. A User Behaviour Analytic platform will typically conduct a period of ‘baselining’ when the platform is first installed. This baselining period establishes the normal behavior parameters for an organization’s users, which are used to train a Machine Learning (ML) model. This ML model can then be later used to automatically identify activity that is predicted to be an anomaly, which is hoped to surface user behavior that is undesirable, risky, or malicious. Other platforms providing related functionality are frequently referred to as User Activity Monitoring (UAM) platforms.

Web Proxy Logs

Depending on the solution used, web proxies can provide a wealth of information about web-based activity. This can include the IP address of the system making the web request, the URL requested, the response code, and timestamps.An organization must perform SSL/TLS interception to receive the most complete information about these connections.

Contributors

Forscie® Limited
The ITM Team

Our pillar mapping

Our own keyword match of each prevention and detection to the Insider Risk Index's five pillars. It is not part of the Forscie Matrix and not a measured value.

Visibility
4
Prevention & Coaching
Investigation & Evidence
Identity & SaaS
Phishing Resilience

Attribution

This technique is part of the Forscie® Insider Threat Matrix™. Copyright 2026 Forscie® Limited. Licensed under Apache License 2.0.

View on Forscie® Insider Threat Matrix™
Exfiltration via API | Insider Risk Index