AWS CLI Tips and Tricks
A collection of tips and tricks for using the AWS CLI.
First reported Nov 04, 2024 03:15 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordPublished file metadata, source observations, indicators, and research history in one bounded catalog.
Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.
1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.
Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.
A collection of tips and tricks for using the AWS CLI.
First reported Nov 04, 2024 03:15 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordKeep your access by chaining assume-role calls.
First reported Feb 03, 2021 03:20 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordUsing the AWS CLI as a LOLScript to download and exfiltrate data.
First reported Jul 13, 2023 03:46 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordLeverage a default configuration in Terraform Enterprise to steal credentials from the Metadata Service
First reported Dec 23, 2021 21:59 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordBrute force the permissions of a service account to see what you have access to.
First reported Aug 23, 2022 14:34 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordHow to take advantage of misconfigured Amazon Cognito User Pools.
First reported Jun 20, 2023 17:26 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordMaintain access to S3 resources by configuring Access Control Lists associated with S3 Buckets or Objects.
First reported Apr 13, 2021 02:53 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordChart of the IAM unique ID prefixes.
First reported Jul 27, 2020 19:47 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordGoogle Workspace Apps Script projects create hidden GCP projects (sys-) that can be impersonated by attackers. This technique enables stealthy persistence (service accounts, hidden compute, cryptomining) and can bypass common console inspections.
First reported Oct 08, 2025 18:22 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordSecurity considerations and constraints that are unique to GCP
First reported May 29, 2022 13:26 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordHow to convert an unique identifier to a principal ARN.
First reported Nov 20, 2023 00:54 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordAn end of year summary for Hacking the Cloud in 2023.
First reported Dec 20, 2023 01:25 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordA new privilege escalation technique in Google Cloud that leverages tag bindings to bypass IAM conditions and gain unauthorized access to sensitive resources.
First reported May 02, 2025 10:10 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordGCP themed CTF
First reported Aug 29, 2022 00:18 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordConnect to the Tor network from an EC2 instance without alerting GuardDuty.
First reported Feb 20, 2021 04:07 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordKnowing only the name of a public S3 bucket, you can ascertain the account ID it resides in.
First reported Apr 03, 2021 01:39 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordUtilizng standard out to standard in with aws-cli utilizing multiple profiles to avoid logging and detection in a victim environment
First reported Feb 10, 2023 15:12 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordRecovering and accessing files in private Storage Accounts that have been deleted.
First reported Mar 17, 2022 14:35 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordAbuse IAM's eventual consistency to maintain persistence against incident response containment.
First reported Dec 14, 2025 12:53 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordConvert access to the AWS Console into IAM credentials.
First reported Jul 14, 2021 20:46 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordHow to work with stolen IAM credentials and things to consider.
First reported May 14, 2022 21:51 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordBrute force the permissions of all resources above to see what permissions you have. Includes example of brute forcing ~9500 permissions at the end. Also introduces tool that passively collections permissions allowed as run (gcpwn)
First reported Jul 14, 2024 21:08 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordAn end of year summary for Hacking the Cloud in 2025.
First reported Jan 04, 2026 20:47 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordCommon techniques that can be leveraged to escalate privileges in an AWS account.
First reported Nov 04, 2021 21:03 UTCCatalog metadata updated Dec 05, 2026 03:11 UTCOpen evidence recordA filename, label, or report mention alone does not establish maliciousness. Observation dates describe cited sources; collection dates describe this local metadata catalog. No malware samples are stored, fetched, or executed by these pages.