<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacking Blog</title><link>https://hack.com.cy/notes/cloud/aws/all-in-one/</link><description>Recent content on Hacking Blog</description><generator>Hugo</generator><language>en</language><atom:link href="https://hack.com.cy/notes/cloud/aws/all-in-one/index.xml" rel="self" type="application/rss+xml"/><item><title>All in one cheat-sheet for AWS Enumeration</title><link>https://hack.com.cy/notes/cloud/aws/all-in-one/all-in-one/</link><pubDate>Thu, 21 Aug 2025 00:00:00 +0000</pubDate><guid>https://hack.com.cy/notes/cloud/aws/all-in-one/all-in-one/</guid><description>&lt;h1 id="-aws-cli-privilege-escalation--recon-playbook">🔍 AWS CLI Privilege Escalation &amp;amp; Recon Playbook&lt;/h1>
&lt;hr>
&lt;h1 id="1-identity--who-am-i">&lt;strong>1. Identity – Who am I?&lt;/strong>&lt;/h1>
&lt;h3 id="get-current-identity">Get current identity&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">aws sts get-caller-identity --profile &amp;lt;profile&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>Returns &lt;strong>Account ID, User ID, and ARN&lt;/strong> of your current identity.&lt;br>
Confirms if you are a &lt;strong>user&lt;/strong>, a &lt;strong>role&lt;/strong>, or a &lt;strong>temporary session (STS)&lt;/strong>.&lt;/p>
&lt;/blockquote>
&lt;h3 id="get-account-alias">Get account alias&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">aws iam list-account-aliases --profile &amp;lt;profile&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>Displays the friendly &lt;strong>account alias&lt;/strong> (instead of numeric ID).&lt;br>
Useful if multiple accounts are in play.&lt;/p></description></item></channel></rss>