<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bruteforce on rchitect</title><link>https://www.rchitect.in/categories/bruteforce/</link><description>Recent content in Bruteforce on rchitect</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 13 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://www.rchitect.in/categories/bruteforce/index.xml" rel="self" type="application/rss+xml"/><item><title>John the ripper as passowrd cracking tool</title><link>https://www.rchitect.in/posts/john-ripper/</link><pubDate>Wed, 13 Apr 2022 00:00:00 +0000</pubDate><guid>https://www.rchitect.in/posts/john-ripper/</guid><description>&lt;h1 id="john-the-ripper-for-bruteforcing"&gt;
 John the Ripper for Bruteforcing
 &lt;a class="heading-link" href="#john-the-ripper-for-bruteforcing"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h1&gt;
&lt;h4 id="case1-the-zip-passowrd-cracking"&gt;
 Case1: The zip passowrd cracking
 &lt;a class="heading-link" href="#case1-the-zip-passowrd-cracking"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h4&gt;
&lt;p&gt;In below case there is zip file which require password to open.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;──(rocky㉿kali)-[~/hckbox/node]
└─$ unzip newbackup.zip 
Archive: newbackup.zip
 creating: var/www/myplace/
[newbackup.zip] var/www/myplace/package-lock.json password: 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This requires a password and we need to crack the zip with john to get passowrd.&lt;/p&gt;
&lt;p&gt;As this is a zip file we need to use the script from John for converting this to a hash value. The scripts are usually located under /usr/share/john&lt;/p&gt;</description></item><item><title>Directory scan to identify the sub domains of website</title><link>https://www.rchitect.in/posts/directoryscan/</link><pubDate>Tue, 29 Mar 2022 00:00:00 +0000</pubDate><guid>https://www.rchitect.in/posts/directoryscan/</guid><description>&lt;h1 id="directory-scanning-to-identify-the-sub-domains"&gt;
 Directory Scanning to identify the sub domains
 &lt;a class="heading-link" href="#directory-scanning-to-identify-the-sub-domains"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;Using the gobuster fing the sub directories&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;gobuster dir -u http://10.10.10.88 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt 
===============================================================
Gobuster v3.1.0
by OJ Reeves (@TheColonial) &amp;amp; Christian Mehlmauer (@firefart)
===============================================================
[+] Url: http://10.10.10.88
[+] Method: GET
[+] Threads: 10
[+] Wordlist: /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt
[+] Negative Status codes: 404
[+] User Agent: gobuster/3.1.0
[+] Timeout: 10s
===============================================================
2022/03/23 20:44:04 Starting gobuster in directory enumeration mode
===============================================================
/webservices (Status: 301) [Size: 316] [--&amp;gt; http://10.10.10.88/webservices/]
/server-status (Status: 403) [Size: 299] 

===============================================================
2022/03/23 21:01:06 Finished
===============================================================###### Login Credentials and Rabithole
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;As we found one sub directory, always run one more gobuster scan with new subdirectory url to find if any more sub directories are present.&lt;/p&gt;</description></item><item><title>Bruteforce using Hydra</title><link>https://www.rchitect.in/posts/hydra/</link><pubDate>Sun, 20 Mar 2022 00:00:00 +0000</pubDate><guid>https://www.rchitect.in/posts/hydra/</guid><description>&lt;h1 id="bruteforce-using-hydra"&gt;
 Bruteforce using Hydra
 &lt;a class="heading-link" href="#bruteforce-using-hydra"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;To use Hydra we need to mainly identify 4 Parameters:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;lt;IP Address&amp;gt; = &amp;#34;&amp;#34;

&amp;lt;Login Page&amp;gt; = &amp;#34;&amp;#34;

&amp;lt;Request Body&amp;gt; = &amp;#34;&amp;#34;

&amp;lt;Error Message&amp;gt; =&amp;#34;&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To identify these parameters, lets intercept the request with Burp.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.rchitect.in/images/walk/Nineveh/4.png" alt="hydra"&gt;&lt;/p&gt;
&lt;p&gt;Based on the intercepted values, I have filled the values for HTTPS site subdomain&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;= &amp;ldquo;10.10.10.43&amp;rdquo;&lt;/p&gt;
&lt;p&gt;= &amp;ldquo;/db/index.php&amp;rdquo;&lt;/p&gt;
&lt;p&gt;= &amp;ldquo;^PASS^&amp;amp;login=Log+In&amp;amp;proc_login=true&amp;rdquo;&lt;/p&gt;
&lt;p&gt;=&amp;ldquo;Incorrect password.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now Formulate the bruteforce command using hydra. For using hydra always username is required. In this case we can give any fixed value. Remember to use &amp;ldquo;https-post-form&amp;rdquo; as its a ssl website.&lt;/p&gt;</description></item></channel></rss>