MITRE ATT&CKsub-technique
T1567.004 Exfiltration Over Webhook
- Domain
- enterprise
- Tactics
- Exfiltration
- Platforms
- ESXi, Linux, macOS, Office Suite, SaaS, Windows
- Version
- 1.2
- Created
- 2023-07-20
Description
Adversaries may exfiltrate data to a webhook endpoint rather than over their primary command and control channel. Webhooks are simple mechanisms for allowing a server to push data over HTTP/S to a client without the need for the client to continuously poll the server. Many public and commercial services, such as Discord, Slack, and `webhook.site`, support the creation of webhook endpoints that can be used by other services, such as Github, Jira, or Trello. When changes happen in the linked services (such as pushing a repository update or modifying a ticket), these services will automatically post the data to the webhook endpoint for use by the consuming application.
Adversaries may link an adversary-owned environment to a victim-owned SaaS service to achieve repeated Automated Exfiltration of emails, chat messages, and other data. Alternatively, instead of linking the webhook endpoint to a service, an adversary can manually post staged data directly to the URL in order to exfiltrate it.
Access to webhook endpoints is often over HTTPS, which gives the adversary an additional level of protection. Exfiltration leveraging webhooks can also blend in with normal network traffic if the webhook endpoint points to a commonly used SaaS application or collaboration service.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1567 Exfiltration Over Web Service technique
Tactic · MITRE ATT&CK (1)
- TA0010 Exfiltration tactic
Referenced by MITRE ATT&CK · mitigates (1)
- M1057 Data Loss Prevention mitigation
Referenced by MITRE ATT&CK · uses (2)
Referenced by Compliance · mitigates (3)
- NIST-AC-17 Remote Access NIST 800-53 control
- NIST-AC-4 Information Flow Enforcement NIST 800-53 control
- NIST-SC-7 Boundary Protection NIST 800-53 control
References
- https://medium.com/checkmarx-security/webhook-party-malicious-packages-caught-exfiltrating-data-via-legit-webhook-services-6e046b07d191 Checkmarx Webhooks
- https://www.cyberark.com/resources/threat-research-blog/the-not-so-secret-war-on-discord CyberArk Labs Discord
- https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks Discord Intro to Webhooks
- https://www.microsoft.com/security/blog/2023/10/03/defending-new-vectors-threat-actors-attempt-sql-server-to-cloud-lateral-movement/ Microsoft SQL Server
- https://blog.talosintelligence.com/collab-app-abuse/ Talos Discord Webhook Abuse
- https://github.com/pushsecurity/saas-attacks/blob/main/techniques/webhooks/description.md Push Security SaaS Attacks Repository Webhooks
- https://www.redhat.com/en/topics/automation/what-is-a-webhook RedHat Webhooks