206 lines
7.3 KiB
HTML
206 lines
7.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; font-src 'self' data:; img-src 'self' data:; connect-src 'self'; base-uri 'self'; form-action 'self' https://defcon.social https://bsky.app;">
|
|
<meta http-equiv="X-Content-Type-Options" content="nosniff">
|
|
<link rel="stylesheet" href="../assets/css/style.css">
|
|
<link rel="icon" type="image/x-icon" href="../favicon.ico">
|
|
<script>
|
|
// Apply theme immediately to prevent flash
|
|
(function() {
|
|
const theme = localStorage.getItem('theme') ||
|
|
(window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
|
|
document.documentElement.setAttribute('data-theme', theme);
|
|
})();
|
|
</script>
|
|
<title>cloud_enum Cheatsheet - Cheatsheets - Launch Pad</title>
|
|
</head>
|
|
<body>
|
|
<button class="theme-toggle" id="themeToggle" aria-label="Toggle dark mode">
|
|
<svg class="theme-icon theme-icon-moon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
|
|
<svg class="theme-icon theme-icon-sun" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display: none;"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
|
|
</button>
|
|
<br/><br/>
|
|
<div class="name">
|
|
__ _______________________ _________._________________________
|
|
\_ _____/ \______ \ / _ \ / _____/ / _____/ | | \_ _____/
|
|
| __) | _/ / /_\ \ / \ ___ / \ ___ | | | __)_
|
|
| \ | | \ / | \ \ \_\ \ \ \_\ \ | |___ | \
|
|
\___ / |____|_ / \____|__ / \______ / \______ / |_______ \ /_______ /
|
|
\/ \/ \/ \/ \/ \/ \/
|
|
</div>
|
|
<div class="blog-page-header">
|
|
<div class="blog-header-content">
|
|
<a href="/cheatsheets" class="back-link" title="Back to Cheatsheets">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 24 24" class="home-icon"><path fill="currentColor" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>
|
|
</a>
|
|
<h1 class="blog-page-title">cloud_enum Cheatsheet</h1>
|
|
</div>
|
|
</div>
|
|
<div class="blog-post-container">
|
|
<div class="blog-posts-container" style="max-width: 900px; margin: 0 auto;">
|
|
<div class="blog-post">
|
|
<div class="blog-post-content">
|
|
<p><a href="index.html">← Back to cheatsheets</a></p>
|
|
<p><a href="../index.html">← Home</a></p>
|
|
<hr>
|
|
<p>cloud_enum is a multi-cloud OSINT tool for enumerating public resources in AWS, Azure, and GCP. It discovers storage buckets, apps, databases, and other cloud services based on keyword mutations.</p>
|
|
<hr>
|
|
<h2>Basic Usage</h2>
|
|
<ul>
|
|
<li>cloud_enum -k <keyword> - Enumerate using keyword</li>
|
|
</ul>
|
|
<ul>
|
|
<li>python3 cloud_enum.py -k <keyword> - Run with Python</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>Options</h2>
|
|
<ul>
|
|
<li>-k, --keyword - Base keyword for enumeration</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-kf, --keyfile - File with keywords (one per line)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-m, --mutations - Mutations file for keyword variations</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-b, --brute - Brute force with mutations file</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-t, --threads - Threads for brute forcing (default 5)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-ns, --nameserver - Custom DNS server</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-l, --logfile - Log output to file</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-f, --format - Output format (json, csv)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>--disable-aws - Disable AWS checks</li>
|
|
</ul>
|
|
<ul>
|
|
<li>--disable-azure - Disable Azure checks</li>
|
|
</ul>
|
|
<ul>
|
|
<li>--disable-gcp - Disable GCP checks</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-qs, --quickscan - Quick scan (no mutations)</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>What It Finds</h2>
|
|
<h3>AWS</h3>
|
|
<ul>
|
|
<li>S3 Buckets</li>
|
|
<li>Open S3 Buckets</li>
|
|
<li>AWS Apps (Elastic Beanstalk)</li>
|
|
</ul>
|
|
<h3>Azure</h3>
|
|
<ul>
|
|
<li>Storage Accounts (Blob, File, Queue, Table)</li>
|
|
<li>Azure Websites/Apps</li>
|
|
<li>Azure Databases</li>
|
|
<li>Azure VMs</li>
|
|
<li>Azure Container Registries</li>
|
|
</ul>
|
|
<h3>GCP</h3>
|
|
<ul>
|
|
<li>GCP Buckets</li>
|
|
<li>Open GCP Buckets</li>
|
|
<li>GCP App Engine apps</li>
|
|
<li>Firebase databases</li>
|
|
<li>Cloud Functions</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>Common Examples</h2>
|
|
<h3>Basic Enumeration</h3>
|
|
<pre><code>cloud_enum -k companyname</code></pre>
|
|
<p>Enumerate resources for company.</p>
|
|
<h3>Multiple Keywords</h3>
|
|
<pre><code>cloud_enum -kf keywords.txt</code></pre>
|
|
<p>Use multiple keywords from file.</p>
|
|
<h3>With Mutations</h3>
|
|
<pre><code>cloud_enum -k companyname -m mutations.txt -b</code></pre>
|
|
<p>Brute force with keyword mutations.</p>
|
|
<h3>Quick Scan</h3>
|
|
<pre><code>cloud_enum -k companyname -qs</code></pre>
|
|
<p>Fast scan without mutations.</p>
|
|
<h3>AWS Only</h3>
|
|
<pre><code>cloud_enum -k companyname --disable-azure --disable-gcp</code></pre>
|
|
<p>Check only AWS resources.</p>
|
|
<h3>Azure Only</h3>
|
|
<pre><code>cloud_enum -k companyname --disable-aws --disable-gcp</code></pre>
|
|
<p>Check only Azure resources.</p>
|
|
<h3>Save Output</h3>
|
|
<pre><code>cloud_enum -k companyname -l results.txt</code></pre>
|
|
<p>Log results to file.</p>
|
|
<h3>JSON Output</h3>
|
|
<pre><code>cloud_enum -k companyname -f json -l results.json</code></pre>
|
|
<p>Save as JSON.</p>
|
|
<h3>More Threads</h3>
|
|
<pre><code>cloud_enum -k companyname -b -t 10</code></pre>
|
|
<p>Faster brute forcing.</p>
|
|
<hr>
|
|
<h2>Mutations</h2>
|
|
<p>Mutations generate variations of your keyword:</p>
|
|
<pre><code># Example mutations file
|
|
-dev
|
|
-prod
|
|
-staging
|
|
-backup
|
|
-test
|
|
-internal
|
|
.dev
|
|
.prod
|
|
_backup</code></pre>
|
|
<p>These get appended/prepended to the keyword.</p>
|
|
<hr>
|
|
<h2>Installation</h2>
|
|
<pre><code>git clone https://github.com/initstring/cloud_enum.git
|
|
cd cloud_enum
|
|
pip3 install -r requirements.txt
|
|
python3 cloud_enum.py -k test</code></pre>
|
|
<hr>
|
|
<h2>Tips</h2>
|
|
<ul>
|
|
<li>Use company name, product names, project names as keywords</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Check variations: companyname, company-name, companynameinc</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Open buckets are high-value findings</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Combine with manual checks for access permissions</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Use mutations for thorough enumeration</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Check for sensitive file exposure in found buckets</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Great for OSINT and attack surface mapping</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Always get authorization before testing access</li>
|
|
</ul>
|
|
<hr>
|
|
<p><a href="index.html">← Back to cheatsheets</a></p>
|
|
<p><a href="../index.html">← Home</a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script async type="text/javascript" src="../blog/analytics.js"></script>
|
|
<script src="../theme.js"></script>
|
|
</body>
|
|
</html>
|