GCP - Cloud Functions Persistence

Reading time: 1 minute

tip

Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks

Cloud Functions

For more info about Cloud Functions check:

GCP - Cloud Functions Enum

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

tip

Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks