<?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 Md.Maruf Ahmed on Medium]]></title>
        <description><![CDATA[Stories by Md.Maruf Ahmed on Medium]]></description>
        <link>https://medium.com/@mdm4ruf4hm3d?source=rss-23a5255ca6e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5R9pZ3NzymizCmbz</url>
            <title>Stories by Md.Maruf Ahmed on Medium</title>
            <link>https://medium.com/@mdm4ruf4hm3d?source=rss-23a5255ca6e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:18:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mdm4ruf4hm3d/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[Advent of Cyber ’23 Side Quest | TryHackMe]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/advent-of-cyber-23-side-quest-tryhackme-796703e7f907?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/796703e7f907</guid>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Thu, 25 Apr 2024 11:57:18 GMT</pubDate>
            <atom:updated>2024-04-25T12:00:55.742Z</atom:updated>
            <content:encoded><![CDATA[<p>Explore a series of advanced challenges alongside the core Advent of Cyber event!</p><p>room url: <a href="https://tryhackme.com/r/room/adventofcyber23sidequest">https://tryhackme.com/r/room/adventofcyber23sidequest</a></p><p>Flag submissions</p><p>Submit the final flags gathered from each Side Quest Challenge. <br>Answer the questions below</p><p>Side Quest Challenge 1 Flag</p><blockquote>ans :<br> 1–f9548f131522e85ea30e801dfd9b1a4e526003f9e83301faad85e6154ef2834</blockquote><p>Side Quest Challenge 2 Flag</p><blockquote>ans: 2-K@bWJ5oHFCR80%whAvK5qw8Sp$5qf!nCqGM3ksaK</blockquote><p>Side Quest Challenge 3 Flag</p><blockquote>ans: 3-d2dc6a02db03401177f0511a6c99007e945d9cb9b96b8c6294f8c5a2c8e01f60</blockquote><p>Side Quest Challenge 4 Flag</p><blockquote>ans: 4–3f$FEBwD6AoqnyLjJ!!Hk4tc*V6w$UuK#evLWkBp</blockquote><p>Wallpaper</p><p>Type NO HINTS to continue.</p><blockquote>ans: NO HINTS</blockquote><p>The Frosty Five Will Return (And We Need Feedback To Make It Happen)</p><p>Answer the questions below<br>The Side Quest will return in Advent of Cyber 2024! Fill out this survey to help us make it better.<br>What’s the flag at the end of the survey?</p><blockquote>ans: THM{NO_HINTS}</blockquote><ul><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-1-the-return-of-the-yeti-tryhackme-b99a4ca15eca">Advent of Cyber ’23 Side Quest 1 | The Return of the Yeti | TryHackMe</a></li><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-2-snowy-armageddon-tryhackme-a958cd94a354">Advent of Cyber ’23 Side Quest 2 | Snowy ARMageddon | TryHackMe</a></li><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-3-sfrosteau-busy-with-vim-tryhackme-684ada21e5c9">Advent of Cyber ’23 Side Quest 3 | SFrosteau Busy with Vim | TryHackMe</a></li><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-4-the-bandit-surfer-tryhackme-22698be40078">Advent of Cyber ’23 Side Quest 4 | The Bandit Surfer | TryHackMe</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=796703e7f907" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advent of Cyber ’23 Side Quest 4 | The Bandit Surfer | TryHackMe]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/advent-of-cyber-23-side-quest-4-the-bandit-surfer-tryhackme-22698be40078?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/22698be40078</guid>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Thu, 25 Apr 2024 11:47:02 GMT</pubDate>
            <atom:updated>2024-04-25T11:47:02.583Z</atom:updated>
            <content:encoded><![CDATA[<p>The Bandit Yeti is surfing to town.<br>room url: <a href="https://tryhackme.com/r/room/surfingyetiiscomingtotown">https://tryhackme.com/r/room/surfingyetiiscomingtotown</a></p><p>Breaking Into the Best Festival Company</p><p>What is the user flag?</p><blockquote>ans: THM{SQli_SsRF_2_WeRkZeuG_PiN_ExPloit}</blockquote><p>What is the root flag?</p><blockquote>ans: THM{BaNDiT_YeTi_Lik3s_PATH_HijacKing}</blockquote><p>What is the yetikey4.txt flag?</p><blockquote>ans: 4–3f$FEBwD6AoqnyLjJ!!Hk4tc*V6w$UuK#evLWkBp</blockquote><ul><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-1-the-return-of-the-yeti-tryhackme-b99a4ca15eca">Advent of Cyber ’23 Side Quest 1 | The Return of the Yeti | TryHackMe</a></li><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-2-snowy-armageddon-tryhackme-a958cd94a354">Advent of Cyber ’23 Side Quest 2 | Snowy ARMageddon | TryHackMe</a></li><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-3-sfrosteau-busy-with-vim-tryhackme-684ada21e5c9">Advent of Cyber ’23 Side Quest 3 | SFrosteau Busy with Vim | TryHackMe</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22698be40078" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advent of Cyber ’23 Side Quest 3 | SFrosteau Busy with Vim | TryHackMe]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/advent-of-cyber-23-side-quest-3-sfrosteau-busy-with-vim-tryhackme-684ada21e5c9?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/684ada21e5c9</guid>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Thu, 25 Apr 2024 11:38:20 GMT</pubDate>
            <atom:updated>2024-04-25T11:48:40.158Z</atom:updated>
            <content:encoded><![CDATA[<p>Stay frosty!<br>room url: <a href="https://tryhackme.com/r/room/busyvimfrosteau">https://tryhackme.com/r/room/busyvimfrosteau</a></p><p>Frosteau’s Laptop</p><p>What is the value of the first flag?</p><blockquote>ans: THM{Let.the.game.begin}</blockquote><p>What is the value of the second flag?</p><blockquote>ans: THM{Seems.like.we.are.getting.busy}</blockquote><p>What is the value of the third flag?</p><blockquote>ans: THM{Not.all.roots.and.routes.are.equal}</blockquote><p>What is the value of the fourth flag?</p><blockquote>ans: THM{Frosteau.would.be.both.proud.and.disappointed}</blockquote><p>What is the value of the third Yetikey that has been placed in the root directory to verify the compromise?</p><blockquote>ans:</blockquote><blockquote>3-d2dc6a02db03401177f0511a6c99007e945d9cb9b96b8c6294f8c5a2c8e01f60</blockquote><h3>advent-of-cyber-23-side-quest-1-the-return-of-the-yeti</h3><p><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-1-the-return-of-the-yeti-tryhackme-b99a4ca15eca">Advent of Cyber ’23 Side Quest 1 | The Return of the Yeti | TryHackMe</a></p><h3><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-2-snowy-armageddon-tryhackme-a958cd94a354?source=post_page-----b99a4ca15eca--------------------------------">https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-2-snowy-armageddon-tryhackme-a958cd94a354?source=post_page-----b99a4ca15eca--------------------------------</a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=684ada21e5c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advent of Cyber ’23 Side Quest 2 | Snowy ARMageddon | TryHackMe]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/advent-of-cyber-23-side-quest-2-snowy-armageddon-tryhackme-a958cd94a354?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a958cd94a354</guid>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Thu, 25 Apr 2024 11:27:18 GMT</pubDate>
            <atom:updated>2024-04-25T11:55:55.122Z</atom:updated>
            <content:encoded><![CDATA[<p>Assist the Yeti in breaching the cyber police perimeter!</p><p>Breaching the CyberPolice perimeter</p><p>What is the content of the first flag?</p><blockquote>ans : THM{YETI_ON_SCREEN_ELUSIVE_CAMERA_STAR}</blockquote><p>What is the content of the yetikey2.txt file?</p><blockquote>ans: 2-K@bWJ5oHFCR80%whAvK5qw8Sp$5qf!nCqGM3ksaK</blockquote><h3>advent-of-cyber-23-side-quest-1-the-return-of-the-yeti</h3><p><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-1-the-return-of-the-yeti-tryhackme-b99a4ca15eca">Advent of Cyber ’23 Side Quest 1 | The Return of the Yeti | TryHackMe</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a958cd94a354" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advent of Cyber ’23 Side Quest 1 | The Return of the Yeti | TryHackMe]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/advent-of-cyber-23-side-quest-1-the-return-of-the-yeti-tryhackme-b99a4ca15eca?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b99a4ca15eca</guid>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Thu, 25 Apr 2024 11:22:41 GMT</pubDate>
            <atom:updated>2024-04-25T11:56:51.513Z</atom:updated>
            <content:encoded><![CDATA[<p>New Year, New Opportunities</p><p>What’s the name of the WiFi network in the PCAP?</p><blockquote>ans: FreewifiBFC</blockquote><p>What’s the password to access the WiFi network?</p><blockquote>ans: Christmas</blockquote><p>What suspicious tool is used by the attacker to extract a juicy file from the server?</p><blockquote>ans: mimikatz</blockquote><p>What is the case number assigned by the CyberPolice to the issues reported by McSkidy?</p><blockquote>ans: 31337–0</blockquote><p>What is the content of the yetikey1.txt file?</p><blockquote>ans: 1-f9548f131522e85ea30e801dfd9b1a4e526003f9e83301faad85e6154ef2834</blockquote><h3>advent-of-cyber-23-side-quest-2-snowy-armageddon</h3><ul><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-2-snowy-armageddon-tryhackme-a958cd94a354">Advent of Cyber ’23 Side Quest 2 | Snowy ARMageddon | TryHackMe</a></li><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-3-sfrosteau-busy-with-vim-tryhackme-684ada21e5c9">Advent of Cyber ’23 Side Quest 3 | SFrosteau Busy with Vim | TryHackMe</a></li><li><a href="https://mdmarufahmed9090.medium.com/advent-of-cyber-23-side-quest-4-the-bandit-surfer-tryhackme-22698be40078">Advent of Cyber ’23 Side Quest 4 | The Bandit Surfer | TryHackMe</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b99a4ca15eca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[REmux The Tmux | TryHackMe Walkthrough]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/remux-the-tmux-tryhackme-walkthrough-207711510a0f?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/207711510a0f</guid>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[remux-the-tmux]]></category>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Thu, 25 Apr 2024 09:38:35 GMT</pubDate>
            <atom:updated>2024-04-25T10:15:07.152Z</atom:updated>
            <content:encoded><![CDATA[<p>Updated, how to use tmux guide. Defaults and customize your workflow.</p><h3>Starting tmux “Sessions” and default tmux “prefix”</h3><p>Do the ctrl and b keys need to be held down the whole time with every commands to work? yea/nay</p><blockquote>ans : nay</blockquote><p>How to start tmux with the session with the name “thm”?</p><blockquote>ans : tmux new -s thm</blockquote><p>How to change the current tmux session name?</p><blockquote>ans : ctrl b shift $</blockquote><p>How to quit a tmux session without closing the session? To attach back later.</p><blockquote>ans : ctrl b s</blockquote><p>How to list all tmux sessions?</p><blockquote>ans : tmux ls</blockquote><p>How to reattach to a detached tmux session with the session name of “thm”</p><blockquote>ans : tmux a -t thm</blockquote><p>How to create a new tmux session from your current tmux session with the name kali?</p><blockquote>ans : tmux new -s kali -d</blockquote><p>How to switch between two or more tmux sessions without detaching from the current tmux session?</p><blockquote>ans : ctrl b s</blockquote><p>How do you force kill the tmux session named “thm” if it’s not responsive from a new terminal window or tmux session?</p><blockquote>ans : tmux kill-session -t thm</blockquote><p>Within a nested tmux session. A second tmux session within the first one. How to change the session name of the second/internal tmux session?</p><blockquote>ans : tmux kill-session -t thm</blockquote><p>How to get into a tmux prompt to run/type tmux commands?</p><blockquote>ans : ctrl b shift :</blockquote><p>Are there more than one way to exit a tmux prompt? yea/nay</p><blockquote>ans : yea</blockquote><p>Is tmux case sensitive. Will hitting the caps lock break tmux? yea/nay</p><blockquote>ans : yea</blockquote><p>Within tmux prompt or command mode how would you change the tmux directory? Where a new window or pane will start from the changed directory of /opt.</p><blockquote>ans : a -c /opt</blockquote><p>How to kill all tmux sessions accept the one currently in use? With the name “notes”.</p><blockquote>ans : tmux kill-session -t notes -a</blockquote><h3>Manage tmux “Panes”</h3><p>How to create a new pane split horizontally?</p><blockquote>ans : exit</blockquote><p>How to close a tmux pane like closing a ssh session?</p><blockquote>ans : ctrl b shift %</blockquote><p>How to create a new pane split vertically?<br>How to cycle between tmux pre built layout options? Starting with the number 1.</p><blockquote>ans : ctrl b esc 1</blockquote><p>How to cycle/toggle between tmux layouts, one at a time?</p><blockquote>ans : ctrl b spacebar</blockquote><p>How to force quit a frozen, crashed or borked pane?</p><blockquote>ans : ctrl b x y</blockquote><p>How to move between the two must used tmux panes for the current tmux window?</p><blockquote>ans : ctrl b ;</blockquote><p>Can you use the arrow to move to the desired pane? yea/nay</p><blockquote>ans : yea</blockquote><p>How to move the currently selected pane clockwise?</p><blockquote>ans : ctrl b shift {</blockquote><p>How to move the currently selected pane counter-clockwise</p><blockquote>ans : ctrl b shift }</blockquote><p>Before using swap-pane. How to check for which pane has what number?</p><blockquote>ans : ctrl b q</blockquote><p>How to swap two panes and move with the swapped pane? Within tmux prompt mode. 1 -&gt; 3 location</p><blockquote>ans : swap-pane -s 3 -t</blockquote><p>How to swap two panes without changing the currently selected pane location? Within tmux prompt mode. 1 -&gt; 4 pane number</p><blockquote>ans : swap-pane -s 4 -t</blockquote><h3>Manage tmux “Windows”</h3><p>Manage tmux “Windows”</p><p>How to create a new empty tmux window?</p><blockquote>ans : ctrl b c</blockquote><p>How to change the currently select window’s name?</p><blockquote>ans : ctrl b ,</blockquote><p>How to move the currently selected pane to it’s own tmux window?</p><blockquote>ans : ctrl b shift !</blockquote><p>How to fuse two panes together with the “source” window of “bash”? After entering a tmux prompt?</p><blockquote>ans : join-pane -s bash</blockquote><p>How to fuse two panes together with the “destination” window of “sudo”? After entering a tmux prompt?</p><blockquote>ans : join-pane -t sudo</blockquote><p>What option can added with question 4 and 5 to fuse together vertically?</p><blockquote>ans : -v</blockquote><p>What option can added with question 4 and 5 to fuse together horizontally?</p><blockquote>ans : -h</blockquote><p>With join-pane can you use the window number instead of the window’s name? yea/nay</p><blockquote>ans : yea</blockquote><p>How to kill or completely close a window. Including all the panes open on that window. If it’s unresponsive?</p><blockquote>ans : ctrl b shift &amp;</blockquote><p>How to view and cycle between all the tmux windows for the current tmux session without detaching from the current session?</p><blockquote>ans : ctrl b w</blockquote><p>How to move back to the previous tmux window?</p><blockquote>ans : ctrl b n</blockquote><p>How to move up to the next tmux window?</p><blockquote>ans : ctrl b p</blockquote><h3>Tmux “copy” mode</h3><p>Tmux “copy” mode</p><p>How to start copy mode?</p><blockquote>ans : ctrl b [</blockquote><p>While in copy mode. How to search/grep up the wall of terminal text?</p><blockquote>ans : ctrl r</blockquote><p>While in copy mode. How to search/grep down the wall of terminal text?</p><blockquote>ans : ctrl s</blockquote><p>How to exit search up or search down within copy mode?</p><blockquote>ans : esc</blockquote><p>What single key can also be used to to exit out of copy mode.</p><blockquote>ans : q</blockquote><p>After starting copy mode. How do you enable text highlighting to select for text copying?</p><blockquote>ans : ctrl spacebar</blockquote><p>After selecting the text you want to copy. How do copy it?</p><blockquote>ans : alt w</blockquote><p>When in a terminal text editor. How to paste from the tmux clipboard?</p><blockquote>ans : ctrl b ]</blockquote><p>How to double check what is currently copied to the tmux clipboard</p><blockquote>ans : ctrl b shift #</blockquote><h3>Oh My Tmux and beyond</h3><p>Does tmux have a default tmux.conf config file? yea/nay</p><blockquote>ans : nay</blockquote><p>Where can you find examples for custom tmux.conf config files?</p><blockquote>ans : /usr/share/doc/tmux</blockquote><p>Can you use Hex color codes in place of the color name? yea/nay</p><blockquote>ans : yea</blockquote><p>What directory must the .tmux.conf be put in to work with the next tmux session</p><blockquote>ans : home</blockquote><p>How would you update tmux changes without quitting the tmux session from a tmux prompt?</p><blockquote>ans : source-file~/.tmux.conf</blockquote><p>How to completely reset tmux to its default and kill all sessions? If the .tmux.conf is borked.</p><blockquote>ans :tmux kill-server</blockquote><p>How would you select addition hotkeys. Without overwriting the default hotkey?</p><blockquote>ans : bind</blockquote><p>How would you change the prefix to Ctrl a?</p><blockquote>ans : set -g prefix C-a</blockquote><p>Can you display shell command output. From a script or one line command? yea/nay</p><blockquote>ans : yea</blockquote><p>How would you load a plugin into a tmux config file?</p><blockquote>ans : set -g @ plugin</blockquote><p>How can you run the desired plugin after loading it?</p><blockquote>ans : run-shell</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=207711510a0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Empire TryHacMe Walkthrough | TryHackMe: Empire]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/empire-tryhacme-walkthrough-tryhackme-empire-2bcfd4df7302?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bcfd4df7302</guid>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Mon, 25 Mar 2024 19:06:42 GMT</pubDate>
            <atom:updated>2024-03-25T19:07:30.803Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*jyFeDEhMy3XItBY3Cec_zQ.png" /></figure><h3>Empire</h3><p>Room link: <a href="https://tryhackme.com/r/room/rppsempire">https://tryhackme.com/r/room/rppsempire</a></p><p>Learn how to use Empire and it’s GUI Starkiller, a powerful post-exploitation C2 framework.</p><h3>Modules</h3><p>What module allows you to use any mimikatz command?</p><blockquote>PowerShell/credenttials/mimikatz/command</blockquote><p>What MITRE ATT&amp;CK technique is associated with powershell/trollsploit/voicetroll?</p><blockquote>T1491</blockquote><p>What module implants a keylogger on the device?</p><blockquote>PowerShell/collection/keylogger</blockquote><p>What MITRE ATT&amp;CK technique is associated with the module above?</p><blockquote>T1056</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bcfd4df7302" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Cryptography | TryHackMe Walkthrough]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/introduction-to-cryptography-tryhackme-walkthrough-a885898890f1?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a885898890f1</guid>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Thu, 21 Mar 2024 19:01:35 GMT</pubDate>
            <atom:updated>2024-03-21T19:01:35.100Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction to Cryptography</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KMwwK8D3qEVU4R0ArTUwkg.png" /></figure><p>Learn about encryption algorithms such as AES, Diffie-Hellman key exchange, hashing, PKI, and TLS.</p><p>Introduction</p><p>You have received the following encrypted message:</p><p>“Xjnvw lc sluxjmw jsqm wjpmcqbg jg wqcxqmnvw; xjzjmmjd lc wjpm sluxjmw jsqm bqccqm zqy.” Zlwvzjxj Zpcvcol</p><blockquote>You can guess that it is a quote. Who said it?<br>ans : Miyamoto Musashi</blockquote><p>Symmetric Encryption</p><p>Decrypt the file quote01 encrypted (using AES256) with the key s!kR3T55 using gpg. What is the third word in the file?</p><blockquote>ans : waste</blockquote><p>Decrypt the file quote02 encrypted (using AES256-CBC) with the key s!kR3T55 using openssl. What is the third word in the file?</p><blockquote>ans : science</blockquote><p>Decrypt the file quote03 encrypted (using CAMELLIA256) with the key s!kR3T55 using gpg. What is the third word in the file?</p><blockquote>ans : understand</blockquote><h3>Asymmetric Encryption</h3><p>On the AttackBox, you can find the directory for this task located at /root/Rooms/cryptographyintro/task03; alternatively, you can use the task file from Task 2 to work on your own machine.</p><p>Bob has received the file ciphertext_message sent to him from Alice. You can find the key you need in the same folder. What is the first word of the original plaintext?</p><blockquote>ans: Perception</blockquote><p>Take a look at Bob’s private RSA key. What is the last byte of p?</p><blockquote>ans : e7</blockquote><p>Take a look at Bob’s private RSA key. What is the last byte of q?</p><blockquote>ans: 27</blockquote><h3>Diffie-Hellman Key Exchange</h3><p>On the AttackBox, you can find the directory for this task located at /root/Rooms/cryptographyintro/task04; alternatively, you can use the task file from Task 2 to work on your own machine.</p><p>A set of Diffie-Hellman parameters can be found in the file dhparam.pem. What is the size of the prime number in bits?</p><blockquote>ans : 4096</blockquote><p>What is the prime number’s last byte (least significant byte)?</p><blockquote>ans : 4f</blockquote><h3>Hashing</h3><p>On the AttackBox, you can find the directory for this task located at /root/Rooms/cryptographyintro/task05; alternatively, you can use the task file from Task 2 to work on your own machine.</p><p>What is the SHA256 checksum of the file order.json?</p><blockquote>ans: 2c34b68669427d15f76a1c06ab941e3e6038dacdfb9209455c87519a3ef2c660</blockquote><p>Open the file order.json and change the amount from 1000 to 9000. What is the new SHA256 checksum?</p><blockquote>ans: 11faeec5edc2a2bad82ab116bbe4df0f4bc6edd96adac7150bb4e6364a238466</blockquote><p>Using SHA256 and the key 3RfDFz82, what is the HMAC of order.txt?</p><blockquote>ans: c7e4de386a09ef970300243a70a444ee2a4ca62413aeaeb7097d43d2c5fac89f</blockquote><h3>PKI and SSL/TLS</h3><p>On the AttackBox, you can find the directory for this task located at /root/Rooms/cryptographyintro/task06; alternatively, you can use the task file from Task 2 to work on your own machine.</p><p>What is the size of the public key in bits?</p><blockquote>ans : 4096</blockquote><p>Till which year is this certificate valid?</p><blockquote>ans : 2039</blockquote><h3>Authenticating with Passwords</h3><p>You were auditing a system when you discovered that the MD5 hash of the admin password is 3fc0a7acf087f549ac2b266baf94b8b1. What is the original password?</p><blockquote>ans : qwerty123</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a885898890f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Metasploit | hackthebox| HTB| By MD.Maruf Ahmed]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/introduction-to-metasploit-hackthebox-htb-by-md-maruf-ahmed-8045eceba7e8?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8045eceba7e8</guid>
            <category><![CDATA[hackthebox-writeup]]></category>
            <category><![CDATA[metasploit-framework]]></category>
            <category><![CDATA[hackthebox-walkthrough]]></category>
            <category><![CDATA[hackthebox-academy]]></category>
            <category><![CDATA[metasploit]]></category>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Fri, 08 Mar 2024 13:16:51 GMT</pubDate>
            <atom:updated>2024-03-08T13:16:51.525Z</atom:updated>
            <content:encoded><![CDATA[<h4>Using the Metasploit Framework</h4><blockquote>Which version of Metasploit comes equipped with a GUI interface?<br>answer : Metasploit Pro</blockquote><blockquote>What command do you use to interact with the free version of Metasploit? <br>answer: msfconsole</blockquote><h3>Modules</h3><blockquote>Use the Metasploit-Framework to exploit the target with EternalRomance. Find the flag.txt file on Administrator’s desktop and submit the contents as the answer.</blockquote><blockquote>answer: HTB{MSF-W1nD0w5–3xPL01t4t10n}</blockquote><h3>Payloads</h3><blockquote>Exploit the Apache Druid service and find the flag.txt file. Submit the contents of this file as the answer. <br> answer: HTB{MSF_Expl01t4t10n}</blockquote><h3>Sessions</h3><blockquote>The target has a specific web application running that we can find by looking into the HTML source code. What is the name of that web application? <br> answer: elFinder</blockquote><blockquote>Find the existing exploit in MSF and use it to get a shell on the target. What is the username of the user you obtained a shell with? <br> <br> answer:www-data</blockquote><blockquote>The target system has an old version of Sudo running. Find the relevant exploit and get root access to the target system. Find the flag.txt file and submit the contents of it as the answer. <br> <br> answer:HTB{5e55ion5_4r3_sw33t}</blockquote><h3>Meterpreter</h3><blockquote>Find the existing exploit in MSF and use it to get a shell on the target. What is the username of the user you obtained a shell with?<br> <br> answer: NT AUTHORITY\SYSTEM</blockquote><blockquote>Retrieve the NTLM password hash for the “htb-student” user. Submit the hash as the answer.</blockquote><blockquote>answer: cf3a5525ee9414229e66279623ed5c58</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8045eceba7e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Day 24] Mobile analysis You Are on the Naughty List, McGreedy]]></title>
            <link>https://mdm4ruf4hm3d.medium.com/day-24-mobile-analysis-you-are-on-the-naughty-list-mcgreedy-26fd91032260?source=rss-23a5255ca6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/26fd91032260</guid>
            <dc:creator><![CDATA[Md.Maruf Ahmed]]></dc:creator>
            <pubDate>Sun, 24 Dec 2023 16:32:47 GMT</pubDate>
            <atom:updated>2023-12-24T16:32:47.604Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Story</strong></p><p>Detective Frost-eau continues to piece the evidence together, and Tracy McGreedy is now a suspect. What’s more, the detective believes that McGreedy communicated with an accomplice.</p><p>Smartphones are now an indispensable part of our lives for most of us. We use them to communicate with friends, family members, and colleagues, browse the Internet, shop online, perform e-banking transactions, and many other things. Among other reasons, it’s because smartphones are so intertwined in our activities that they can help exonerate or convict someone of a crime.</p><p>Frost-eau suggests that Tracy’s company-owned phone be seized so that Forensic McBlue can analyse it in his lab to collect digital evidence. Because it’s company-owned, no complicated legal procedures are required.</p><h3>Learning Objectives</h3><p>After completing this task, you will learn about:</p><ul><li>Procedures for collecting digital evidence</li><li>The challenges with modern smartphones</li><li>Using Autopsy Digital Forensics with an actual Android image</li></ul><h3>Digital Forensics</h3><p>Forensics is a method of using science to solve crimes. As a forensic scientist, you would expect to collect evidence from crime scenes, such as fingerprints, DNA, and footprints. You would use and analyse this evidence to determine what happened at the crime scene and who did it.</p><p>With the spread of digital equipment, such as computers, phones, smartphones, tablets, and digital video recorders, a different set of tools and training are required. When it comes to digital evidence, the ideal approach is to acquire a raw image. A raw image is a bit-for-bit copy of the device’s storage.</p><p>Forensics is an essential part of the criminal justice system. It helps to solve crimes and bring criminals to justice. However, for evidence to be permissible in court, we must ensure that it’s not tampered with or lost and that it’s authentic when presented to the court. This is why we need to maintain a chain of custody. Chain of custody is a legal concept used to track the possession and handling of evidence from the time it’s collected at a crime scene to the moment it’s presented in court. The chain of custody is documented through a series of written records that track the evidence’s movement and who handled it at each step.</p><p>In the following sections, we assume that we are dealing with computers and smartphones owned by the company or seized as part of a criminal investigation.</p><h3>Acquiring a Digital Forensic Image</h3><p>Acquiring an image for digital forensics can be challenging, depending on the target device. Computers are more accessible than other devices, so we’ll start our discussion by focusing on them.</p><p>There are four main types of forensic image acquisition:</p><ul><li>Static acquisition: A <strong>bit-by-bit image</strong> of the disk is created while the device is turned off.</li><li>Live acquisition: A <strong>bit-by-bit image</strong> of the disk is created while the device is turned on.</li><li>Logical acquisition: A <strong>select list of files</strong> is copied from the seized device.</li><li>Sparse acquisition: Select <strong>fragments of unallocated data</strong> are copied. The unallocated areas of the disk might contain deleted data; however, this approach is limited compared to static and live acquisition because it doesn’t cover the whole disk.</li></ul><p>Let’s consider the following two scenarios:</p><ul><li>The seized computer is switched off.</li><li>As part of a crime scene, the investigators stumble on a live computer that’s switched on.</li></ul><h3>A Computer That’s Switched Off</h3><p>Imagine the evidence is a Windows 10 laptop that’s switched off. We know that by default, the disk is not encrypted. We should not turn it on as this will make some changes to the disk and tamper with the evidence as a result. Removing the hard disk drive or SSD from the laptop and cloning it is a relatively simple task:</p><ul><li>We use a write blocker, a hardware device that makes it possible to clone a disk without any risk of modifying the original data.</li><li>We rely on our forensic imaging software to get the raw image or equivalent. This would create a bit-by-bit copy of the disk.</li><li>Finally, we need a suitable storage device to save the image.</li></ul><h3>A Computer That’s Switched On</h3><p>Another example would be dealing with a laptop that is switched on. In this case, we shouldn’t switch it off. Instead, we should aim for a live image. The laptop might be encrypted, and shutting it down will make reading its data impossible without a password. Furthermore, data in the volatile memory (RAM) might be important for our investigation.</p><p>When they’re able to analyse a device that’s switched on, investigators can gain access to the accounts and services the suspect is logged into. This can be indispensable in some instances to prove guilt and solve a crime.</p><p>Various tools can be used. They usually require us to run a program on the target system, giving us access to all the data in the volatile memory and on the non-volatile memory (disk).</p><h3>Acquiring a Smartphone Image</h3><p>The smartphone is a ubiquitous digital device that we can expect to encounter. Modern smartphones are now encrypted by default, which can be a challenge for digital forensics. Without the decryption key, encrypted storage looks literally like random data. Finding the decryption key is crucial to be able to analyse the image.</p><p>Let us briefly overview smartphone encryption before discussing acquiring a forensic image of an Android device.</p><h3>Encryption in Smart Phones</h3><p>Android 4.4 introduced <strong>full-disk encryption</strong>. When full-disk encryption is activated, the user-created data is automatically encrypted before being written to the device storage and decrypted before being read from the storage. Furthermore, the phone cannot be booted before providing the password. It is important to note that this type of encryption applies to built-in storage and doesn’t include removable memory, such as micro SD cards.</p><p>Android 7.0 introduced <em>Direct Boot</em>, a <strong>file-based encryption</strong> mode. File-based encryption lets us use different keys for different files. From the user’s perspective, the phone can be booted, and some basic functionality can be used, such as receiving phone calls. Beyond this basic functionality, the encryption password needs to be provided. Depending on the settings and Android version, the SD card might also be encrypted; Android 9.0 and higher can encrypt an SD card as it would encrypt internal storage.</p><p>Since Android 6.0, encryption has been mandatory. Unless we are dealing with an older Android version, we can expect the seized phone to be encrypted. Apple iPhone devices are encrypted by default, too. <em>Data Protection</em>, a <strong>file-based encryption</strong> methodology, is part of iOS, the iPhone’s operating system.</p><p>In this section, we provided an overview of smartphone encryption. Ultimately, encryption can be a significant obstacle that digital forensic investigators need to overcome. Obtaining or discovering the encryption key is necessary for a complete digital forensic investigation.</p><h3>Practical Case</h3><p>Tracy McGreedy’s phone is company property. This means that it was easy for Detective Frost-eau to seize it and ask Forensic McBlue to use his expertise to carry out the digital forensic investigation.</p><p>The first thing Forensic McBlue does is put the phone in a Faraday bag. A Faraday bag prevents the phone from receiving any wireless signal, meaning Tracy McGreedy can’t wipe its data remotely.</p><p>Now that McBlue has Tracy McGreedy’s Android phone, it’s time to get an image. He successfully unlocks the phone using the same password used to lock everyone out of the server room three weeks ago! What a coincidence!</p><p>The main tools McBlue uses for analysing Android phones are Android Debug Bridge (adb) and <a href="https://www.autopsy.com/">Autopsy Digital Forensics</a>. Once the phone is unlocked and connected to the laptop, creating a backup using adb backup is relatively easy. Here’s the exact command he uses:</p><p>adb backup -all -f android_backup.ab</p><ul><li>backup -all means that we want to back up all applications that allow backups</li><li>-f android_backup.ab saves the backup to the file android_backup.ab</li></ul><p>The main limitation of adb backup is that some applications don’t support this option as they explicitly disallow backups with the setting allowBackup=false. Furthermore, although this option still works with a limited number of applications, it has been restricted since Android 12, so it’s a good idea to rely on more robust alternatives.</p><p>This backup of various applications is considered a logical image, but Forensic McBlue isn’t satisfied. He wants a full raw image of the phone storage.</p><p>Many commercial products can be used to acquire an image. However, most of them rely on the Android Debug Bridge (adb) and combine it with other tools, such as an exploit to gain root access. (An Android device won’t provide root access to the user, unless it’s for development purposes. This limits the ability to access many files and directories on the phone storage. “Rooting” an Android device gives us full access to the device files, including raw access to the disk.)</p><p>Forensic McBlue prepares a list of potential exploits that would give him root access to the Android device. After a couple of attempts, Forensic McBlue is able to exploit the phone successfully and get root access. With root access, he has full access to all the physical storage.</p><p>To confirm that he is root, he issues the command whoami. He also needs to issue the mount command to find the mounted devices, but this would result in a very long list of all real and virtual mounted devices. However, the application data is in the directory data. We need to focus our attention on the storage device mounted on /data. To filter for the lines mentioning “data”, Forensic McBlue uses the command mount | grep data instead of just mount. The output allows him to pinpoint the name of the storage device mounted on /data, which turns out to be /dev/block/dm-0. The interaction can be seen in the terminal below.</p><p>Terminal</p><pre>df-workstation$ adb shell<br>generic_x86:/ # whoami<br>root<br>127|generic_x86:/ # mount | grep data           <br>[...]<br>/dev/block/dm-0 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,errors=panic,data=ordered)<br>[...]<br>generic_x86:/ #</pre><p>As we learned from the commands in the terminal above, the device is /dev/block/dm-0. Think of this device as a partition on the smartphone’s disk. McBlue wants to get this whole partition and analyse it using Autopsy.</p><p>There are many ways to leverage the power of adb and get a raw dump of /dev/block/dm-0. One easy way is using adb pull:</p><p>adb pull /dev/block/dm-0 Android-McGreedy.img</p><p>The command above will pull the device /dev/block/dm-0 and save it to the local file Android-McGreedy.img. After a few minutes, the command is complete, and a 6 GB image file is created! Note that we need root access for the above command to work on the Android device.</p><p>Now, all we have to do is import the image into Autopsy. The steps are straightforward, as we see in the screenshots below. Once we start Autopsy, we see a dialogue box asking whether we want to create a new digital forensics case or open an existing one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q7AnOAMy2CU0luoZ.png" /></figure><p>After clicking “New Case”, we should specify the case name. Let’s use the suspect name and device to avoid ambiguity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bzks2NZe-nYqktEO.png" /></figure><p>Next, we need to provide the case number and the name of the investigator: Forensic McBlue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f6cRz8Zlb1bCWqWI.png" /></figure><p>The next step allows us to specify the name of the raw image. In some cases, we can have multiple raw images in one case. For example, we can have four images from the same suspect: two smartphones, a laptop, and a desktop. An explicit, unambiguous name is necessary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Mpheqi-jhRVVeQb5.png" /></figure><p>Now, let’s analyse the disk image we retrieved from the smartphone. In other cases, we might use a local disk, i.e., a hardware disk attached to the computer. Another example would be logical files, such as MS Outlook email archive .pst file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wo4jaQ-Cp32qxEJG.png" /></figure><p>We provide the location of the raw image file we want to analyse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p2w89SRCWyFocVEe.png" /></figure><p>Finally, we must select the ingest modules to help us analyse the file. In this case, the indispensable modules are the two Android Analyzer modules; however, we can select any other modules we find helpful in this case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UQrQiANHITWQqASY.png" /></figure><p>Once we click “<strong>Next</strong>”, Autopsy will create a new case and run the ingest modules on the selected data source: Android image in this case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AhlFYTe5WeggQQZ6.png" /></figure><p>Before moving forward, review the questions in the connection card shown below:</p><p>You can access an MS Windows machine with Autopsy set up on it. Click on “<strong>Start Room</strong>” and wait for it to load. It should take a couple of minutes to fully boot up.</p><p>You can display the virtual machine in your browser by clicking “<strong>Show Split View</strong>”. Alternatively, you can access the VM from your local remote desktop client over VPN. The login credentials for the remote desktop are:</p><ul><li>Username: administrator</li><li>Password: jNgQTDN7</li></ul><p>We have already created a case in Autopsy, so you don’t have to create a new one and wait for the ingest modules to analyse the data. Using Autopsy, open the Tracy McGreedy.aut case in the Documents folder and check the questions below:</p><p>Answer the questions below</p><p>One of the photos contains a flag. What is it?</p><blockquote>THM{DIGITAL_FORENSICS}</blockquote><p>What name does Tracy use to save Detective Frost-eau’s phone number?</p><blockquote>Detective Carrot-Nose</blockquote><p>One SMS exchanged with Van Sprinkles contains a password. What is it?</p><blockquote>chee7AQU</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26fd91032260" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>