Files
hacktricks-cloud/pentesting-cloud/gcp-security/gcp-persistence/gcp-cloud-functions-persistence.md
2024-12-12 19:35:48 +01:00

2.8 KiB

GCP - Cloud Functions Persistence

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}

Cloud Functions

For more info about Cloud Functions check:

{% content-ref url="../gcp-services/gcp-cloud-functions-enum.md" %} gcp-cloud-functions-enum.md {% endcontent-ref %}

Persistence Techniques

  • Modify the code of the Cloud Function, even just the requirements.txt
  • Allow anyone to call a vulnerable Cloud Function or a backdoor one
  • Trigger a Cloud Function when something happens to infect something

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}