<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by UprootSecurity on Medium]]></title>
        <description><![CDATA[Stories by UprootSecurity on Medium]]></description>
        <link>https://medium.com/@uprootsecurity?source=rss-9317abf11af3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kIou_Z5m_9ozs2CIW7AGJw.png</url>
            <title>Stories by UprootSecurity on Medium</title>
            <link>https://medium.com/@uprootsecurity?source=rss-9317abf11af3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:56:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@uprootsecurity/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Google VRP Targets by Tier]]></title>
            <link>https://uprootsecurity.medium.com/google-vrp-targets-by-tier-c0679c27e545?source=rss-9317abf11af3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0679c27e545</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[pentest]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vapt]]></category>
            <dc:creator><![CDATA[UprootSecurity]]></dc:creator>
            <pubDate>Thu, 02 May 2024 05:55:37 GMT</pubDate>
            <atom:updated>2025-05-30T06:50:08.981Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog post details Google’s Vulnerability Reward Program (VRP) targets categorized by tier, highlighting the domain name, tier level, and a brief description of the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BnUqWuLxIdDhHDLlp1HmdA.png" /></figure><h3>Tier 0 (Most Sensitive)</h3><ul><li><strong>Domain:</strong> flash.android.com</li><li><strong>Description:</strong> Provides updates for Android devices.</li><li><strong>Domain:</strong> accounts.google.com</li><li><strong>Description:</strong> Manages Google accounts, including login, security, and privacy settings.</li><li><strong>Domain:</strong> console.actions.google.com</li><li><strong>Description:</strong> Platform for building Assistant actions.</li><li><strong>Domain:</strong> admin.google.com</li><li><strong>Description:</strong> Google Workspace administration console.</li><li><strong>Domain:</strong> bard.google.com</li><li><strong>Description:</strong> Likely an internal domain for Google AI research (information not publicly available).</li><li><strong>Domain:</strong> chrome.google.com</li><li><strong>Description:</strong> Download and update the Chrome web browser.</li><li><strong>Domain:</strong> chromewebstore.google.com</li><li><strong>Description:</strong> Chrome Web Store for extensions and themes.</li><li><strong>Domain:</strong> clients6.google.com (and other client domains)</li><li><strong>Description:</strong> Likely part of Google’s internal infrastructure (information not publicly available).</li><li><strong>Domains:</strong> Various cloud.google.com subdomains (console, ide, shell, ssh, etc.)</li><li><strong>Description:</strong> Google Cloud Platform console and tools for managing cloud resources.</li><li><strong>Domain:</strong> cloudsearch.google.com</li><li><strong>Description:</strong> Enterprise search engine for Google Workspace.</li><li><strong>Domain:</strong> cloudssh.developers.google.com</li><li><strong>Description:</strong> Secure shell access for Google Cloud development environment.</li><li><strong>Domain:</strong> console.developers.google.com</li><li><strong>Description:</strong> Google Developers console for managing APIs and projects.</li><li><strong>Domain:</strong> ediscovery.google.com</li><li><strong>Description:</strong> Tool for electronic discovery and legal investigation (Google Workspace).</li><li><strong>Domain:</strong> fi.google.com</li><li><strong>Description:</strong> Google Fi mobile network service.</li><li><strong>Domain:</strong> console.firebase.google.com</li><li><strong>Description:</strong> Firebase console for managing app development.</li><li><strong>Domain:</strong> gemini.google.com (This is me!</li><li><strong>Description:</strong> Internal domain for Google AI research (information not publicly available).</li><li><strong>Domain:</strong> inbox.google.com</li><li><strong>Description:</strong> Gmail web interface for email.</li><li><strong>Domain:</strong> issuetracker.google.com</li><li><strong>Description:</strong> Internal bug tracking system for Google (not publicly accessible).</li><li><strong>Domain:</strong> mail.google.com</li><li><strong>Description:</strong> Alternative Gmail web interface.</li><li><strong>Domain:</strong> mail-settings.google.com</li><li><strong>Description:</strong> Settings management for Gmail accounts.</li><li><strong>Domain:</strong> meet.google.com</li><li><strong>Description:</strong> Google Meet for video conferencing.</li><li><strong>Domain:</strong> myaccount.google.com</li><li><strong>Description:</strong> Central hub for managing Google account information.</li><li><strong>Domain:</strong> passwords.google.com</li><li><strong>Description:</strong> Management of passwords associated with your Google account</li><li><strong>Domain:</strong> play.google.com</li><li><strong>Description:</strong> Google Play Store for apps, games, and digital content.</li><li><strong>Domain:</strong> remotedesktop.google.com</li><li><strong>Description:</strong> Remote access tool for Google Cloud.</li><li><strong>Domain:</strong> script.google.com</li><li><strong>Description:</strong> Create and share online scripts and spreadsheets.</li><li><strong>Domain:</strong> takeout.google.com</li><li><strong>Description:</strong> Download your Google account data.</li><li><strong>Domain:</strong> vault.google.com</li><li><strong>Description:</strong> Cloud-based archiving and eDiscovery for Workspace.</li><li><strong>Domain:</strong> googleacquisitionmigration.com</li><li><strong>Description:</strong> Likely a domain involved in Google acquisitions (information not publicly available).</li><li><strong>Domains:</strong> Chromium bug tracking domains (bugs.chromium.org, etc.)</li><li><strong>Description:</strong> Public bug tracker for the Chromium open-source project (used in Chrome).</li></ul><p><strong>Tier 1 (Highly Sensitive)</strong></p><ul><li><strong>Domain:</strong> enexpress.app</li><li><strong>Description:</strong> Purpose unknown (limited information available).</li><li><strong>Domain:</strong> ci.android.com</li><li><strong>Description:</strong> Likely part of Android’s continuous integration pipeline (information not publicly available).</li><li><strong>Domain:</strong> ads.google.com</li><li><strong>Description:</strong> Google Ads platform for online advertising.</li><li><strong>Domain:</strong> adwords.google.com (deprecated)</li><li><strong>Description:</strong> Legacy service for Google Ads (no longer actively developed).</li><li><strong>Domains:</strong> Various baseline.google.com subdomains</li><li><strong>Description:</strong> Likely internal tooling related to Google services (information not publicly available).</li><li><strong>Domain:</strong> businessmessages.google.com</li><li><strong>Description:</strong> Platform for businesses to communicate with customers through messaging.</li><li><strong>Domain:</strong> calendar.google.com</li><li><strong>Description:</strong> Google Calendar for managing appointments and scheduling.</li><li><strong>Domain:</strong> chat.google.com</li><li><strong>Description:</strong> Google Chat for instant messaging.</li><li><strong>Domains:</strong> Various client domains (clients.google.com, etc.)</li><li><strong>Description:</strong> Likely part of Google’s internal infrastructure (information not publicly available).</li><li><strong>Domain:</strong> bigquery.cloud.google.com</li><li><strong>Description:</strong> BigQuery, a data warehouse service for Google Cloud.</li><li><strong>Domains:</strong> Various cloud.google.com subdomains (channelservices, partners, source, storage)</li><li><strong>Description:</strong> Subdomains for specific Google Cloud Platform functionalities.</li><li><strong>Domain:</strong> docs.google.com</li><li><strong>Description:</strong> Google Docs for collaborative online document creation.</li><li><strong>Domain:</strong> domains.google.com</li><li><strong>Description:</strong> Domain name registration and management service by Google.</li><li><strong>Domain:</strong> drive.google.com</li><li><strong>Description:</strong> Google Drive for cloud storage and file access.</li><li><strong>Domain:</strong> encrypted.google.com</li><li><strong>Description:</strong> Likely a secure subdomain for specific Google services (information not publicly available).</li><li><strong>Domain:</strong> express.google.com</li><li><strong>Description:</strong> Purpose unknown (limited information available).</li><li><strong>Domain:</strong> get.google.com</li><li><strong>Description:</strong> Serves as a redirect for various Google products.</li><li><strong>Domain:</strong> groups.google.com</li><li><strong>Description:</strong> Google Groups for online discussion forums.</li><li><strong>Domain:</strong> hangouts.google.com (deprecated)</li><li><strong>Description:</strong> Legacy service for Google video chat (no longer actively supported).</li><li><strong>Domain:</strong> home.google.com</li><li><strong>Description:</strong> Google Home for smart home device management.</li><li><strong>Domain:</strong> hume.google.com</li><li><strong>Description:</strong> Purpose unknown (limited information available).</li><li><strong>Domain:</strong> ipv6.google.com</li><li><strong>Description:</strong> Subdomain related to Google’s IPv6 implementation.</li><li><strong>Domain:</strong> lens.google.com</li><li><strong>Description:</strong> Google Lens for image recognition and information retrieval.</li><li><strong>Domain:</strong> lers.google.com</li><li><strong>Description:</strong> Purpose unknown (limited information available).</li><li><strong>Domain:</strong> messages.google.com</li><li><strong>Description:</strong> Text messaging service for Google Fi.</li><li><strong>Domain:</strong> myactivity.google.com</li><li><strong>Description:</strong> Manage your Google activity history across various products.</li><li><strong>Domain:</strong> notifications.google.com</li><li><strong>Description:</strong> Manage notification preferences for Google products.</li><li><strong>Domain:</strong> pay.google.com</li><li><strong>Description:</strong> Google Pay for digital wallet transactions.</li><li><strong>Domain:</strong> payments.google.com</li><li><strong>Description:</strong> Payment processing platform for Google services.</li><li><strong>Domain:</strong> photos.google.com</li><li><strong>Description:</strong> Google Photos for cloud storage and photo management.</li><li><strong>Domains:</strong> Sandbox subdomains for baseline.google.com</li><li><strong>Description:</strong> Testing environments for internal Google services.</li><li><strong>Domain:</strong> shopping.google.com</li><li><strong>Description:</strong> Google Shopping for product search and comparison.</li><li><strong>Domain:</strong> store.google.com</li><li><strong>Description:</strong> Google Store for purchasing hardware devices.</li><li><strong>Domain:</strong> talkgadget.google.com (deprecated)</li><li><strong>Description:</strong> Legacy service for Google Talk video chat (no longer supported).</li><li><strong>Domain:</strong> timeline.google.com (and related subdomains)</li><li><strong>Description:</strong> Likely internal service for managing Google product usage history (information not publicly available).</li><li><strong>Domain:</strong> voice.google.com</li><li><strong>Description:</strong> Google Voice for voicemail and phone number management.</li><li><strong>Domain:</strong> wallet.google.com (deprecated)</li><li><strong>Description:</strong> Legacy service for Google Wallet (replaced by Google Pay).</li><li><strong>Domain:</strong> <a href="https://www.google.com/">www.google.com</a></li><li><strong>Description:</strong> The main Google search engine website.</li><li><strong>Domain:</strong> toolbox.googleapps.com</li><li><strong>Description:</strong> Toolbox for managing Google Workspace applications (potentially outdated).</li><li><strong>Domain:</strong> googlesource.com</li><li><strong>Description:</strong> Public code repository for Google open-source projects.</li><li><strong>Domains:</strong> Youtube subdomains (checkout, m, payments, studio)</li><li><strong>Description:</strong> Subdomains for specific functionalities within Youtube.</li><li><strong>Domain:</strong> legalretrievals.google</li><li><strong>Description:</strong> Subdomain likely related to Google’s legal department (information not publicly available).</li><li><strong>Domains:</strong> Area 120 subdomains (orionwifi, signals, threadit)</li><li><strong>Description:</strong> Subdomains for Google’s experimental product incubator, Area 120 (information may be limited).</li></ul><h3>Google VRP Acquisition Targets by Tier</h3><p>Here’s a breakdown of the Google VRP acquisition targets by tier, along with a description of the domain and the application it refers to based on information found on the internet:</p><h3>Tier 0 :</h3><ul><li><strong>admin.pring.app, callback.pring.app, staging.callback.pring.app (pring.app)</strong></li><li><strong>api.appsheet.com, eu.appsheet.com, </strong><a href="https://www.appsheet.com/"><strong>www.appsheet.com</strong></a><strong> (AppSheet):</strong> A no-code application development platform that allows users to build mobile and web applications without coding.</li><li><strong>azure.cloudsimple.com (Microsoft Azure Cloud Simple):</strong> A service by Microsoft that allows businesses to migrate and run existing workloads on Microsoft Azure.</li><li><strong>help.fitbit.com, myhelp.fitbit.com (Fitbit):</strong> Help and support documentation for Fitbit wearables and fitness trackers.</li><li><strong>de.looker.com, gw2-pbvpn.looker.com, keybox.looker.com, pbvpn.looker.com, rampart.looker.com (Looker):</strong> Business intelligence (BI) and data analytics platform.</li><li><strong>login.mandiant.com, app.validation.mandiant.com (Mandiant):</strong> Cybersecurity firm specializing in incident response, threat intelligence, and forensics.</li><li><strong>accounts.nest.com, accounts.ft.nest.com (Nest):</strong> Smart home products from Google, including thermostats, cameras, and doorbells.</li><li><strong>dpcapi-admin.photomath.com, internal.photomath.com (Photomath):</strong> Math problem-solving app that uses a smartphone camera to scan and solve equations.</li><li><strong>signalpath.com (SignalPath):</strong> Cloud-based communications platform offering secure messaging and file sharing.</li><li><strong>service.cloudvmwareengine.google (Google Cloud VMware Engine):</strong> Service that allows running existing VMware workloads on Google Cloud Platform.</li><li><strong>api.pring.jp, dev-api.pring.jp, future-api.pring.jp (pring.jp)</strong></li></ul><h3>Tier 1:</h3><ul><li><strong>argocd-dwh-eu-dev.photomath.net, argocd-dwh-us-dev.photomath.net, … (photomath.net):</strong> Subdomains likely related to Photomath’s internal infrastructure using Argo CD for deployment automation.</li><li><strong>baja.photomath.net, cuvar.photomath.net, … (photomath.net):</strong> Subdomains likely related to Photomath’s internal infrastructure.</li><li><strong>nodeapi-span.sproute.net, span.sproute.net (Sproute)</strong></li><li><strong>signalpath.systems (SignalPath Systems):</strong> Website of the SignalPath cloud-based communications platform.</li><li><strong>app.dataform.co (Dataform):</strong> Data management platform for business intelligence.</li><li><strong>passbolt.siemplify.co (Siemplify Passbolt):</strong> Password management solution offered by Siemplify.</li><li><strong>apigee.com, enterprise.apigee.com, sense-ui.apigee.com (Apigee):</strong> API management platform for developers.</li><li><strong>censuslooker.com (Census.gov + Looker):</strong> Integration of Looker with US Census data.</li><li><strong>dropcam.com (Dropcam):</strong> Security camera company acquired by Google and integrated into Nest.</li><li><strong>cloud-file-service-gcp.elastifile.com, noc.elastifile.com (Elastifile):</strong> Cloud-based file storage platform.</li><li><strong>intelligence.fireeye.com (FireEye):</strong> Cybersecurity threat intelligence from FireEye.</li><li><strong>accounts.fitbit.com, autodiscover.fitbit.com, … (Fitbit):</strong> Fitbit website, various subdomains for account management, device configuration, etc.</li><li><strong>apigee.google.com (Apigee by Google):</strong> Apigee API management platform offered by Google Cloud.</li><li><strong>looker.com, corp.looker.com, … (Looker):</strong> Looker business intelligence platform.</li><li><strong>advantage.mandiant.com, api.advantage.mandiant.com, … (Mandiant Advantage):</strong> Threat intelligence platform from Mandiant.</li><li><strong>md.mandiant.com, md-us.mandiant.com (Mandiant):</strong> Mandiant website and potentially a regional</li></ul><p>If you require more subjects and targets to hack, please visit the ultimate Private program <a href="https://www.uprootsecurity.com/vdp-programs">list</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0679c27e545" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Subdomain enumeration pro tips : Get everything]]></title>
            <link>https://uprootsecurity.medium.com/subdomain-enumeration-9b07183fd34c?source=rss-9317abf11af3------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b07183fd34c</guid>
            <category><![CDATA[subdomains-enumeration]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[appsec]]></category>
            <category><![CDATA[subdomain]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[UprootSecurity]]></dc:creator>
            <pubDate>Tue, 09 Apr 2024 09:14:45 GMT</pubDate>
            <atom:updated>2025-05-30T06:53:42.772Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IWYfn_pP34tjAPX3b8eyeQ.png" /></figure><p>What is subdomain enumeration?</p><p>Subdomain enumeration is a fundamental technique in cybersecurity, focused on uncovering all the subdomains associated with a primary domain. This method is critical for security professionals, hackers, and corporate IT teams alike, as it reveals a comprehensive landscape of a company’s web presence. By mapping out all subdomains, individuals can pinpoint potential vulnerabilities, overlooked areas, and hidden services that could be exploited or need protection.</p><p>The process involves using specialized tools and strategies to scan the vast expanse of the internet and systematically identify subdomains. This could uncover anything from development environments to external services, offering a clearer view of an organization’s digital footprint. Performing subdomain enumeration is akin to charting a map of unknown territories, enabling a more informed approach to cybersecurity efforts.</p><h3>Different types of subdomain enumeration.</h3><h3>1. Passive Enumeration</h3><p>Passive enumeration involves collecting subdomain information without directly interacting with the target domain’s servers. This method is discreet and reduces the risk of detection since it generally involves gathering data from third-party sources rather than the target system itself. Tools like VirusTotal, SecurityTrails, or search engines like Google can be utilized for passive enumeration. Given the increasing concerns over cybersecurity and privacy, this technique is preferred for initial reconnaissance, allowing testers to gather valuable information without raising alarms.</p><p>This script performs several operations, including:</p><ul><li>Collecting DNS information using dig.</li><li>Enumerating subdomains with the assetfinder tool. (Note: You must have assetfinder installed this script to work. It can be installed from its GitHub page or using package managers where available.)</li><li>Pulling historical website data from the Wayback Machine.</li><li>Check out this <a href="https://uprootsecurity.com/blog/the-best-subdomain-enumeration-techniques-guide">link</a> for more advanced script which includes more tools</li></ul><pre>#!/bin/bash<br><br># Passive Enumeration Bash Script<br><br># Target domain<br>read -p &quot;Enter the target domain: &quot; targetDomain<br><br>echo &quot;Performing passive enumeration on $targetDomain&quot;<br><br># Using dig with a public DNS server to gather DNS information<br>echo &quot;Gathering DNS records...&quot;<br>dig @$targetDomain ANY +noall +answer<br><br># Enumerating subdomains using assetfinder<br>echo &quot;Enumerating subdomains...&quot;<br>assetfinder --subs-only $targetDomain &gt; subdomains.txt<br>echo &quot;Subdomains saved to subdomains.txt&quot;<br><br># Searching the wayback machine for historical data<br>echo &quot;Searching Wayback Machine for historical data...&quot;<br>wget -O wayback-data.txt https://web.archive.org/cdx/search/cdx?url=*$targetDomain*&amp;output=text<br>echo &quot;Historical data saved to wayback-data.txt&quot;<br><br># Display completion message<br>echo &quot;Passive enumeration completed successfully.&quot;</pre><h3>2. Active Enumeration</h3><p>Active enumeration methods involve direct interaction with the target’s domain system. This could include sending DNS or HTTP requests to the target’s servers. Tools like Sublist3r, DNSMap, or Amass perform DNS queries to find subdomains actively. While this method can yield more comprehensive results compared to passive techniques, it also increases the risk of detection. In an era where organizations are constantly on the alert for cyber threats, using active enumeration requires careful timing and justification.</p><p>Let’s walk through a simple bash script that utilizes, a powerful tool for network discovery and security auditing. This script aims to discover live hosts and scan for open ports on a target domain.</p><p><strong>Note:</strong> This script is for educational purposes; always seek permission before testing on live environments.</p><p>If you want to include the Naabu tool to the script from project discovery then visit this <a href="https://uprootsecurity.com/blog/the-best-subdomain-enumeration-techniques-guide">here</a>.</p><pre>#!/bin/bash<br><br># Basic Active Enumeration Script with Nmap<br># Ensure you have Nmap installed and have permission to scan the target network.<br><br>if [ &quot;$#&quot; -ne 1 ]; then<br>    echo &quot;Usage: $0 &lt;target_domain&gt;&quot;<br>    exit 1<br>fi<br><br>TARGET=$1<br><br># Step 1: Discover live hosts in the target domain<br>echo &quot;Discovering live hosts on $TARGET...&quot;<br>nmap -sn $TARGET.*<br><br># Step 2: Perform a basic port scan on discovered hosts<br>echo &quot;Performing a basic port scan...&quot;<br>nmap -sS $TARGET<br><br># Always refine and expand the script based on specific enumeration goals.</pre><h3>3. Brute-Force Enumeration</h3><p>This technique involves systematically guessing subdomain names and checking if they exist. Utilizing wordlists containing common subdomain names, tools like fierce or Knock can automate the process. As this method generates a high volume of DNS queries, it’s easily detectable and might not always be efficient against well-configured rate limiting and monitoring defences. However, with the growing sophistication of bot detection and blocking mechanisms, brute-force enumeration tools have also evolved, now incorporating delay tactics and user-agent spoofing to mimic legitimate traffic.</p><pre>#!/bin/bash<br><br># Script for brute-force subdomain enumeration using fierce<br><br># Make sure the user provides a domain name to scan<br>if [ &quot;$#&quot; -ne 1 ]; then<br>    echo &quot;Usage: $0 &lt;domain&gt;&quot;<br>    exit 1<br>fi<br><br>DOMAIN=$1<br><br># Specify a wordlist. Adjust the path according to your setup.<br># You can find numerous wordlists in tools like SecLists (https://github.com/danielmiessler/SecLists)<br>WORDLIST=&quot;/path/to/your/subdomains/wordlist.txt&quot;<br><br>echo &quot;Starting brute-force subdomain enumeration for $DOMAIN using fierce&quot;<br>echo &quot;This might take a while...&quot;<br><br># Run fierce with delay options to mimic legitimate traffic, reducing the chance of blocking.<br># Remove &#39;--delay&#39; option or adjust it as per rate-limiting policies of the target domain if needed.<br><br>fierce --domain $DOMAIN --wordlist $WORDLIST --delay 3<br><br>echo &quot;Enumeration completed.&quot;</pre><p>save the bash script as <em>name.sh</em> and then give executable rights <em>chmod +x name.sh</em></p><p>checkout for more payloads <a href="https://github.com/danielmiessler/SecLists/tree/master/Discovery/DNS">here</a>.</p><h3>4. DNS Zone Transfer</h3><p>DNS Zone Transfer (AXFR) is a type of active enumeration where the tester attempts to request a copy of the entire DNS zone for a domain. This is only possible if the DNS servers are misconfigured to allow such transfers to unauthorized users. Although this vulnerability is less common now due to better default configurations and awareness, it remains a critical check during a VAPT exercise. In today’s environment, where misconfigurations are a leading cause of data breaches, verifying DNS zone transfer settings is integral.</p><pre>#!/bin/bash<br><br># Comprehensive DNS Zone Transfer check using multiple tools.<br><br>if [ &quot;$#&quot; -ne 2 ]; then<br>    echo &quot;Usage: $0 &lt;Domain&gt; &lt;DNS Server&gt;&quot;<br>    exit 1<br>fi<br><br>DOMAIN=$1<br>DNSSERVER=$2<br>TIMESTAMP=$(date +%Y%m%d-%H%M%S)<br>OUTPUT_DIR=&quot;DNS_Zone_Transfer_$TIMESTAMP&quot;<br>mkdir -p $OUTPUT_DIR<br><br><br># Function to perform DNS Zone Transfer using dig<br>function check_dig {<br>    echo &quot;1. Using dig for DNS Zone Transfer...&quot;<br>    dig @$DNSSERVER $DOMAIN AXFR &gt; &quot;$OUTPUT_DIR/dig_$DOMAIN.txt&quot;<br>    echo &quot;Done. Output saved to $OUTPUT_DIR/dig_$DOMAIN.txt&quot;<br>    echo &quot;---------------------------------------------------------------------&quot;<br>}<br><br># Function to perform DNS Zone Transfer using host<br>function check_host {<br>    echo &quot;2. Using host for DNS Zone Transfer...&quot;<br>    host -l $DOMAIN $DNSSERVER &gt; &quot;$OUTPUT_DIR/host_$DOMAIN.txt&quot;<br>    echo &quot;Done. Output saved to $OUTPUT_DIR/host_$DOMAIN.txt&quot;<br>    echo &quot;---------------------------------------------------------------------&quot;<br>}<br><br># Function to perform DNS Zone Transfer using nslookup<br>function check_nslookup {<br>    echo &quot;3. Using nslookup for DNS Zone Transfer...&quot;<br>    echo -e &quot;server $DNSSERVER\nls -d $DOMAIN&quot; | nslookup &gt; &quot;$OUTPUT_DIR/nslookup_$DOMAIN.txt&quot;<br>    echo &quot;Done. Output saved to $OUTPUT_DIR/nslookup_$DOMAIN.txt&quot;<br>    echo &quot;---------------------------------------------------------------------&quot;<br>}<br><br># Running all checks<br>echo &quot;DNS Zone Transfer checks for $DOMAIN using server $DNSSERVER...&quot;<br>echo &quot;=====================================================================&quot;<br>check_dig<br>check_host<br>check_nslookup<br>echo &quot;All checks complete. Review the outputs in the $OUTPUT_DIR directory.&quot;</pre><p>The script first ensures you’ve provided a domain and its DNS server, then sets up a timestamped output directory to avoid overwriting past results. It performs DNS Zone Transfer checks using three separate functions for dig, host, and nslookup, with each function’s output saved in a unique text file within the designated directory for easy identification and analysis.</p><ol><li><strong>Prepare the Script</strong>:</li></ol><ul><li>Save the script to a file, for example as dns_zone_transfer_check.sh.</li><li>Make the script executable by running chmod +x dns_zone_transfer_check.sh in your terminal.</li></ul><p><strong>2. Execute the Script</strong>:</p><ul><li>Run the script with the domain and DNS server as arguments:</li><li>./dns_zone_transfer_check.sh example.com ns.example.com</li><li>Replace example.com and ns.example.com with your target domain and its authoritative DNS server, respectively.</li></ul><h3>5. Certificate Transparency Logs</h3><p>Certificate Transparency logs are an increasingly popular source for subdomain enumeration. These publicly available logs are meant to prevent SSL certificates from being issued for a domain without the domain owner’s knowledge. Tools that search these logs, such as crt.sh, can reveal subdomains that have had SSL certificates issued, offering an updated view of an organization’s internet-facing assets. With the rising enforcement of HTTPS and the proliferation of SSL certificates, leveraging CT logs for enumeration aligns with current security best practices.</p><pre>#!/bin/bash<br><br># Check if domain is provided<br>if [ -z &quot;$1&quot; ]; then<br>    echo &quot;Usage: $0 &lt;domain&gt;&quot;<br>    exit 1<br>fi<br><br>DOMAIN=$1<br><br># Define user-agent to use with curl for querying crt.sh<br>USER_AGENT=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3&quot;<br><br># Query crt.sh for subdomains &amp; clean up the output<br>echo &quot;Enumerating subdomains for $DOMAIN from crt.sh...&quot;<br>curl -s -A &quot;$USER_AGENT&quot; &quot;https://crt.sh/?q=%.$DOMAIN&amp;output=json&quot; | jq -r &#39;.[].name_value&#39; | sed &#39;s/\*\.//g&#39; | sort -u<br><br>echo &quot;Enumeration complete.&quot;</pre><p><strong>Explanation:</strong></p><ol><li><strong>Checking Input:</strong> The script starts by checking if you’ve provided a domain as an argument. If not, it prompts you to use the correct usage format and exits.</li><li><strong>Setting Variables:</strong> The DOMAIN variable holds the domain to query. The USER_AGENT string is set to identify the script as a legitimate browser session while making requests. This helps in case certain services have checks to block non-browser user agents.</li><li><strong>Enumeration Process:</strong></li></ol><ul><li>It utilizes curl to query crt.sh&#39;s JSON output for certificates related to the domain. The -s flag silences curl&#39;s progress output, and -A specifies the user agent.</li><li>The output is filtered through jq (a lightweight and flexible command-line JSON processor) to extract the domain names from each certificate entry.</li><li>The sed command strips any wildcard entries (e.g., *.example.com), as these are not specific subdomains.</li><li>The sort -u command sorts the output and removes any duplicate entries.</li></ul><p><strong>Requirements:</strong></p><ul><li>You must have jq installed on your system to process JSON output (sudo apt-get install jq on Debian/Ubuntu or brew install jq on MacOS).</li><li>Ensure curl is installed (usually pre-installed on most UNIX systems).</li></ul><p><strong>Usage:</strong> To use the script, save it to a file, make it executable with chmod +x scriptname.sh, and run it with a domain as an argument:</p><pre>./scriptname.sh example.com</pre><h3>6. Dorking from Google</h3><p>Google Dorking leverages advanced search operators in Google to unearth information that might not be readily available through regular searches. It’s like using special keywords and commands to unlock hidden corners of the internet. This technique can be used for good, like security professionals like finding subdomains and also to find hidden files and directories.</p><pre>#!/bin/bash<br><br># Prompt user for target domain<br>read -p &quot;Enter target domain (e.g., example.com): &quot; target<br><br># Remove temporary files (if any) silently<br>rm -rf subdomain_scan_tmp1.txt subdomain_scan_tmp.txt &amp;&gt; /dev/null<br><br># Extract the first part of the domain (without TLD)<br>sfe=$(echo &quot;$target&quot; | cut -d &quot;.&quot; -f 1)<br><br># Set a loop duration (adjust as needed)<br>runtime=&quot;40 seconds&quot;<br>endtime=$(date -ud &quot;$runtime&quot; +%s)<br><br># Loop for the specified duration<br>while [[ $(date -u +%s) -le $endtime ]]; do<br><br>  # Start with &quot;www&quot; subdomain<br>  echo -n &quot;+-www&quot; &gt; subdomain_scan_tmp.txt<br><br>  # Loop through common subdomain prefixes (add more as needed)<br>  for prefix in mail ftp blog shop; do<br>    potential_subdomain=&quot;$prefix.$target&quot;<br><br>    # Check if the subdomain resolves to an IP (basic validation)<br>    if host -t A &quot;$potential_subdomain&quot; &amp;&gt; /dev/null; then<br>      echo &quot;+-$potential_subdomain&quot; &gt;&gt; subdomain_scan_tmp.txt<br>    fi<br>  done<br><br>  # Use Google search for additional discovery (limited accuracy)<br>  # Be aware of Google&#39;s terms of service<br>  search_url=&quot;https://www.google.com/search?q=site:$target&quot;<br>  user_agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64)&quot;<br><br>  # Download search results silently and filter for potential subdomains<br>  potential_subdomains=$(curl -s -A &quot;$user_agent&quot; &quot;$search_url&quot; | grep -Eo &quot;(http|https)://[^/]+&quot; | grep -i &quot;$target&quot;)<br><br>  # Extract subdomain names and remove duplicates<br>  for subdomain in $potential_subdomains; do<br>    subdomain_name=$(echo &quot;$subdomain&quot; | cut -d &#39;/&#39; -f 3 | cut -d &#39;.&#39; -f 1)<br>    if [[ &quot;$subdomain_name&quot; != &quot;$sfe&quot; ]]; then<br>      echo &quot;+-$subdomain_name&quot; &gt;&gt; subdomain_scan_tmp.txt<br>    fi<br>  done<br><br>  # Sort and remove duplicates from the temporary file<br>  cat subdomain_scan_tmp.txt | tr &#39;+-&#39; &#39;\n&#39; | sort -u | sed &#39;s/^/+-/&#39; | tr -d &#39;\n&#39; &gt; subdomain_scan_tmp1.txt<br><br>  # Move temporary file content to the main temporary file<br>  mv subdomain_scan_tmp1.txt subdomain_scan_tmp.txt<br><br>done<br><br># Print discovered subdomains (remove leading &quot;+&quot; sign)<br>cat subdomain_scan_tmp.txt | tr &#39;+-&#39; &#39;\n&#39; | sed &#39;s/^+//&#39;<br><br># Remove temporary files again<br>rm -rf subdomain_scan_tmp1.txt subdomain_scan_tmp.txt</pre><p>This code scans a domain for potential subdomains. It checks common prefixes (mail, ftp) and uses Google search (be mindful of terms!). It avoids duplicate entries and prints the findings.</p><p>To run it:</p><ol><li>Save the code as a file (e.g., scan.sh).</li><li>Open a terminal and navigate to the file location (use cd).</li><li>Make the script executable with chmod +x scan.sh.</li><li>Run it with ./scan.sh. Enter your target domain (e.g., example.com) when prompted.</li></ol><h3>The final Work</h3><p>This script incorporates functions for each enumeration technique: passive, active, brute-force, DNS zone transfer, and Google Dorking. It accepts the target domain and wordlist as inputs and then sequentially executes each enumeration technique.</p><p>Ensure that you have separate scripts for each technique (e.g., certificate_transparency_logs.sh, active_enumeration.sh, brute_force_enumeration.sh, dns_zone_transfer_check.sh, and google_dorking.sh), and they are executable and located in the same directory as the main script.</p><p>To use the script:</p><ol><li>Save the main script and each individual enumeration script in separate files.</li><li>Make all the scripts executable (e.g., chmod +x script_name.sh).</li><li>Run the main script (./main_script.sh).</li><li>Follow the prompts to enter the target domain and wordlist path.</li></ol><pre>#!/bin/bash<br><br># Function for passive enumeration<br>passive_enum() {<br>    targetDomain=$1<br>    echo &quot;Performing passive enumeration for $targetDomain...&quot;<br><br>    # Passive enumeration using certificate transparency logs<br>    ./certificate_transparency_logs.sh &quot;$targetDomain&quot;<br><br>    echo &quot;Passive enumeration completed.&quot;<br>}<br><br># Function for active enumeration<br>active_enum() {<br>    target=$1<br>    echo &quot;Performing active enumeration for $target...&quot;<br><br>    # Active enumeration using naabu and nmap<br>    ./active_enumeration.sh &quot;$target&quot;<br><br>    echo &quot;Active enumeration completed.&quot;<br>}<br><br># Function for brute-force enumeration<br>brute_force_enum() {<br>    target=$1<br>    wordlist=$2<br>    echo &quot;Performing brute-force enumeration for $target using $wordlist...&quot;<br><br>    # Brute-force enumeration using fierce<br>    ./brute_force_enumeration.sh &quot;$target&quot; &quot;$wordlist&quot;<br><br>    echo &quot;Brute-force enumeration completed.&quot;<br>}<br><br># Function for DNS zone transfer<br>dns_zone_transfer() {<br>    domain=$1<br>    dnsServer=$2<br>    echo &quot;Performing DNS zone transfer check for $domain using DNS server $dnsServer...&quot;<br><br>    # DNS zone transfer check<br>    ./dns_zone_transfer_check.sh &quot;$domain&quot; &quot;$dnsServer&quot;<br><br>    echo &quot;DNS zone transfer check completed.&quot;<br>}<br><br># Function for Google Dorking<br>google_dorking() {<br>    target=$1<br>    echo &quot;Performing Google Dorking for $target...&quot;<br><br>    # Google Dorking<br>    ./google_dorking.sh &quot;$target&quot;<br><br>    echo &quot;Google Dorking completed.&quot;<br>}<br><br># Main function<br>main() {<br>    # Accept target domain and wordlist as inputs<br>    read -p &quot;Enter the target domain: &quot; targetDomain<br>    read -p &quot;Enter the wordlist path: &quot; wordlist<br><br>    # Perform enumeration techniques<br>    passive_enum &quot;$targetDomain&quot;<br>    active_enum &quot;$targetDomain&quot;<br>    brute_force_enum &quot;$targetDomain&quot; &quot;$wordlist&quot;<br>    dns_zone_transfer &quot;$targetDomain&quot; &quot;8.8.8.8&quot;  # Change DNS server as needed<br>    google_dorking &quot;$targetDomain&quot;<br>}<br><br># Execute main function<br>main</pre><p>For further techniques, consult the ultimate subdomain enumeration <a href="https://resources.uprootsecurity.com/finding-subdomains">guide</a>.</p><h3>Use the scripts responsibly and cheers!</h3><p>For more such content and tips <a href="https://uprootsecurity.com/blog">UpootSecurity</a>, <a href="https://www.linkedin.com/company/uprootsecurity/?">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b07183fd34c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>