AWS - ElastiCache

Reading time: 2 minutes

tip

Impara e pratica il hacking AWS:HackTricks Training AWS Red Team Expert (ARTE)
Impara e pratica il hacking GCP: HackTricks Training GCP Red Team Expert (GRTE) Impara e pratica il hacking Azure: HackTricks Training Azure Red Team Expert (AzRTE)

Supporta HackTricks

ElastiCache

AWS ElastiCache รจ un servizio di archiviazione dati e cache in memoria completamente gestito che fornisce soluzioni ad alte prestazioni, bassa latenza e scalabili per le applicazioni. Supporta due popolari motori in memoria open-source: Redis e Memcached. ElastiCache semplifica la configurazione, gestione e manutenzione di questi motori, consentendo agli sviluppatori di delegare compiti che richiedono tempo come provisioning, patching, monitoraggio e backup.

Enumeration

bash
# ElastiCache clusters
## Check the SecurityGroups to later check who can access
## In Redis clusters: Check AuthTokenEnabled to see if you need password
## In memcache clusters: You can find the URL to connect
aws elasticache describe-cache-clusters

# List all ElastiCache replication groups
## Find here the accesible URLs for Redis clusters
aws elasticache describe-replication-groups

#List all ElastiCache parameter groups
aws elasticache describe-cache-parameter-groups

#List all ElastiCache security groups
## If this gives an error it's because it's using SGs from EC2
aws elasticache describe-cache-security-groups

#List all ElastiCache subnet groups
aws elasticache describe-cache-subnet-groups

# Get snapshots
aws elasticache describe-snapshots

# Get users and groups
aws elasticache describe-user-groups
aws elasticache describe-users

# List ElastiCache events
aws elasticache describe-events

Privesc (TODO)

tip

Impara e pratica il hacking AWS:HackTricks Training AWS Red Team Expert (ARTE)
Impara e pratica il hacking GCP: HackTricks Training GCP Red Team Expert (GRTE) Impara e pratica il hacking Azure: HackTricks Training Azure Red Team Expert (AzRTE)

Supporta HackTricks