AWS - SQS Enum
{{#include ../../../banners/hacktricks-training.md}}
SQS
Amazon Simple Queue Service (SQS) is presented as a fully managed message queuing service. Its main function is to assist in the scaling and decoupling of microservices, distributed systems, and serverless applications. The service is designed to remove the need for managing and operating message-oriented middleware, which can often be complex and resource-intensive. This elimination of complexity allows developers to direct their efforts towards more innovative and differentiating aspects of their work.
Enumeration
# Get queues info
aws sqs list-queues
aws sqs get-queue-attributes --queue-url <url> --attribute-names All
# More about this in privesc & post-exploitation
aws sqs receive-message --queue-url <value>
aws sqs send-message --queue-url <value> --message-body <value>
Unauthenticated Access
{{#ref}}
../aws-unauthenticated-enum-access/aws-sqs-unauthenticated-enum/README.md
{{#endref}}
Privilege Escalation
{{#ref}}
../aws-privilege-escalation/aws-sqs-privesc/README.md
{{#endref}}
Post Exploitation
{{#ref}}
../aws-post-exploitation/aws-sqs-post-exploitation/README.md
{{#endref}}
Persistence
{{#ref}}
../aws-persistence/aws-sqs-persistence/README.md
{{#endref}}
References
{{#include ../../../banners/hacktricks-training.md}}