AWS - Organizations Enum

Reading time: 2 minutes

tip

AWS 해킹 배우기 및 연습하기:HackTricks Training AWS Red Team Expert (ARTE)
GCP 해킹 배우기 및 연습하기: HackTricks Training GCP Red Team Expert (GRTE) Azure 해킹 배우기 및 연습하기: HackTricks Training Azure Red Team Expert (AzRTE)

HackTricks 지원하기

기본 정보

AWS Organizations는 추가 비용 없이 새로운 AWS 계정을 생성할 수 있도록 합니다. 리소스는 손쉽게 할당할 수 있으며, 계정은 효율적으로 그룹화할 수 있고, 개별 계정이나 그룹에 거버넌스 정책을 적용하여 조직 내 관리 및 통제를 강화합니다.

주요 사항:

  • 새 계정 생성: AWS Organizations는 추가 요금 없이 새로운 AWS 계정을 생성할 수 있습니다.
  • 리소스 할당: 계정 간 리소스를 할당하는 과정을 간소화합니다.
  • 계정 그룹화: 계정을 함께 그룹화하여 관리를 더 간소화합니다.
  • 거버넌스 정책: 계정이나 계정 그룹에 정책을 적용하여 조직 전반에 걸쳐 준수 및 거버넌스를 보장합니다.

자세한 정보는 다음에서 확인할 수 있습니다:

AWS - Basic Information

bash
# Get Org
aws organizations describe-organization
aws organizations list-roots

# Get OUs, from root and from other OUs
aws organizations list-organizational-units-for-parent --parent-id r-lalala
aws organizations list-organizational-units-for-parent --parent-id ou-n8s9-8nzv3a5y

# Get accounts
## List all the accounts without caring about the parent
aws organizations list-accounts
## Accounts from a parent
aws organizations list-accounts-for-parent --parent-id r-lalala
aws organizations list-accounts-for-parent --parent-id ou-n8s9-8nzv3a5y

# Get basic account info
## You need the permission iam:GetAccountSummary
aws iam get-account-summary

References

tip

AWS 해킹 배우기 및 연습하기:HackTricks Training AWS Red Team Expert (ARTE)
GCP 해킹 배우기 및 연습하기: HackTricks Training GCP Red Team Expert (GRTE) Azure 해킹 배우기 및 연습하기: HackTricks Training Azure Red Team Expert (AzRTE)

HackTricks 지원하기