MITRE ATT&CK / Techniques / T1584.007

Compromise Infrastructure: Serverless

ID
T1584.007
Tactics
TA0042 Resource Development
Sub-technique of
T1584 Compromise Infrastructure
Platforms
PRE
Data sources
Response Content
Source
attack.mitre.org
MITRE last modified
16 Apr 2025

Adversaries may compromise serverless cloud infrastructure, such as Cloudflare Workers, AWS Lambda functions, or Google Apps Scripts, that can be used during targeting. By utilizing serverless infrastructure, adversaries can make it more difficult to attribute infrastructure used during operations back to them.

Once compromised, the serverless runtime environment can be leveraged to either respond directly to infected machines or to Proxy traffic to an adversary-owned command and control server.[1][2][3] As traffic generated by these functions will appear to come from subdomains of common cloud providers, it may be difficult to distinguish from ordinary traffic to these providers - making it easier to Hide Infrastructure.[4][1]

Detection

Mitigations (1)

M1056 Pre-compromise

This technique cannot be easily mitigated with preventive controls since it is based on behaviors performed outside of the scope of enterprise defenses and controls.

References

  1. BlackWater Malware Cloudflare Workers
  2. AWS Lambda Redirector
  3. GWS Apps Script Abuse 2021
  4. Detecting Command & Control in the Cloud