AWS - Security Hub Enum

Tip

Aprende y practica AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Aprende y practica GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
Aprende y practica Az Hacking: HackTricks Training Azure Red Team Expert (AzRTE)

Apoya a HackTricks

Security Hub

Security Hub recopila datos de seguridad de todas las cuentas de AWS, servicios y productos de socios de terceros compatibles y te ayuda a analizar tus tendencias de seguridad e identificar los problemas de seguridad de mayor prioridad.

Centraliza alertas relacionadas con la seguridad a través de cuentas y proporciona una interfaz de usuario para ver estas. La mayor limitación es que no centraliza alertas a través de regiones, solo a través de cuentas.

Características

  • Regional (los hallazgos no cruzan regiones)
  • Soporte para múltiples cuentas
  • Hallazgos de:
  • Guard Duty
  • Config
  • Inspector
  • Macie
  • terceros
  • autogenerados contra estándares CIS

Enumeration

# Get basic info
aws securityhub describe-hub

# Get securityhub org config
aws securityhub describe-organization-configuration #If the current account isn't the security hub admin, you will get an error

# Get the configured admin for securityhub
aws securityhub get-administrator-account
aws securityhub get-master-account # Another way
aws securityhub list-organization-admin-accounts # Another way

# Get enabled standards
aws securityhub get-enabled-standards

# Get the findings
aws securityhub get-findings

# Get insights
aws securityhub get-insights

# Get Automation rules (must be from the admin account)
aws securityhub list-automation-rules

# Get members (must be from the admin account)
aws securityhub list-members
aws securityhub get-members --account-ids <acc-id>

Bypass Detection

TODO, PRs aceptados

References

Tip

Aprende y practica AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Aprende y practica GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
Aprende y practica Az Hacking: HackTricks Training Azure Red Team Expert (AzRTE)

Apoya a HackTricks