<?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 Satyender Yadav on Medium]]></title>
        <description><![CDATA[Stories by Satyender Yadav on Medium]]></description>
        <link>https://medium.com/@satyender.yadav?source=rss-bb4eb77f0755------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vxatcI2k3T5Uff3wBZrx3A.jpeg</url>
            <title>Stories by Satyender Yadav on Medium</title>
            <link>https://medium.com/@satyender.yadav?source=rss-bb4eb77f0755------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:19:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@satyender.yadav/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[Wannabe Security Professional or SOC Analyst?]]></title>
            <link>https://medium.com/@satyender.yadav/wannabe-security-professional-or-soc-analyst-15bd8441b1c7?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/15bd8441b1c7</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[security-consultant]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[security-professional]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Sun, 03 Mar 2024 09:39:47 GMT</pubDate>
            <atom:updated>2024-03-03T09:39:47.039Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1jE7T_fPYoenTFxZvR53Wg.jpeg" /></figure><p>I always receive similar types of messages on multiple platforms, how we can become SOC analyst or how we can start in CyberSecurity. Therefore I thought why not write a blog which will contain all the resources I have used in my career and resources I generally refer to in my day-to-day job and learning journey. I hope you will find it helpful and if you have any suggestions please feel free to message me on my LinkedIn or any other social media.</p><p><em>I will not be explaining the details of each domain only sharing the resources.</em></p><h3>Table Of Contents</h3><ul><li>Windows Fundamentals &amp; Security</li><li>Linux Fundamentals &amp; Security</li><li>Cryptography Fundamentals</li><li>Network Fundamentals</li><li>Web Fundamentals &amp; Security</li><li>Active Directory Fundamentals &amp; Security</li><li>AWS Cloud Fundamentals &amp; Security</li><li>Azure Cloud Fundamentals &amp; Security</li><li>Bonus: SOC Resources</li><li>Great Resource for Multiple Domains</li></ul><h3>Windows Fundamentals &amp; Security</h3><h4>Labs</h4><p><a href="https://tryhackme.com/hacktivities?tab=search&amp;page=1&amp;free=free&amp;order=most-popular&amp;difficulty=all&amp;type=all&amp;searchTxt=windows">TryHackMe Widnows Labs</a></p><h4>Theory</h4><p><a href="https://book.hacktricks.xyz/windows-hardening">Windows Hardering HackTricks</a></p><p><a href="https://www.ultimatewindowssecurity.com/blog/">UltimateWindowsSecurity</a></p><p><a href="https://www.datadoghq.com/blog/monitoring-windows-server-2012/">DataDog Windows Monitoring</a></p><p><a href="https://youtu.be/ZjQSuyuN0nA?si=wbMjbEn6XrF3fYGU">Windows Server For Beginners</a></p><h3>Linux Fundamentals &amp; Security</h3><h4>Labs</h4><p><a href="https://tryhackme.com/hacktivities?tab=search&amp;page=1&amp;free=free&amp;order=most-popular&amp;difficulty=all&amp;type=all&amp;searchTxt=linux">TryHackMe Linux Labs</a></p><p><a href="https://overthewire.org/wargames/bandit/">OverTheWire Bandit</a></p><h4>Theory</h4><p><a href="https://www.youtube.com/watch?v=kPylihJRG70&amp;pp=ygUSbGludXggZnVuZGFtZW50YWxz">Linux Fundamentals THM</a></p><p><a href="https://youtu.be/48-Cd7jipsQ?si=R_E0IZcCgZqFFsM8">Red Hat Enterprise Linux (RHEL)</a></p><h3>Cryptography Fundamentals</h3><h4>Labs</h4><p><a href="https://cryptohack.org/">Cryptohack Labs</a></p><h4>Theory</h4><p><a href="https://blog.cryptohack.org/">Cryptohack Blogs</a></p><p><a href="https://cryptohack.org/courses/">Cryptohack Course</a></p><h3>Network Fundamentals &amp; Security</h3><h4>Labs</h4><p><a href="https://tryhackme.com/hacktivities?tab=search&amp;page=1&amp;free=free&amp;order=most-popular&amp;difficulty=all&amp;type=all&amp;searchTxt=network">TryHackMe Network Labs</a></p><p><a href="https://overthewire.org/wargames/bandit/">OverTheWire Bandit</a></p><h4>Theory</h4><p><a href="https://youtu.be/DRzs2SklWeg?si=LSOPeXRmkmhms2Fz">Introductory Networking THM</a></p><p><a href="https://youtu.be/yIgSqMnhYoQ?si=J25_AZDkdNop6iqK">Network Fundamentals by NetworkBytes</a></p><p><a href="https://youtu.be/VwN91x5i25g?si=JVpsb_ijFa_SRNts">Computer Networks by NesoAcadmey</a></p><h3>Web Fundamentals &amp; Security</h3><h4>Labs</h4><p><a href="https://portswigger.net/web-security">Portswigger Labs</a></p><p><a href="https://github.com/digininja/DVWA">DVWA Lab</a></p><p><a href="https://owasp.org/www-project-webgoat/">OWASP WebGoat</a></p><p><a href="https://owasp.org/www-project-juice-shop/">OWASP Juice Shop</a></p><p><a href="https://tryhackme.com/hacktivities?tab=search&amp;page=1&amp;free=free&amp;order=most-popular&amp;difficulty=all&amp;type=walkthrough&amp;searchTxt=web">Web Security Labs THM</a></p><h4>Theory</h4><p><a href="https://portswigger.net/web-security">Portswigger Academy</a></p><p><a href="https://owasp.org/www-project-top-ten/">OWASP Top 10</a></p><p><a href="https://youtu.be/4Jk_I-cw4WE?si=Sln6OI6seDTi5PV-">WebSecurity PwnFunction</a></p><p><a href="https://youtu.be/4Jk_I-cw4WE?si=Sln6OI6seDTi5PV-">John Hammond Web Security Playlist</a></p><p><a href="https://www.youtube.com/live/ZBi8Qa9m5c0?si=LHMTn45TYCZMK66S">Web App Testing TheCyberMentor</a></p><h3>Active Directory Fundamentals &amp; Security</h3><h4>Labs</h4><p><a href="https://tryhackme.com/hacktivities?tab=search&amp;page=1&amp;free=free&amp;order=most-popular&amp;difficulty=all&amp;type=walkthrough&amp;searchTxt=active+directory">ActiveDirectory Labs THM</a></p><p><a href="https://www.hackthebox.com/">HackTheBox Active Directory Labs</a></p><p><a href="https://www.vulnhub.com/">Vulnhub Labs</a></p><h4>Theory</h4><p><a href="https://youtu.be/pKtDQtsubio?si=cIlER7WO_ssvsJQx">ACTIVE DIRECTORY | JohnHammond</a></p><p><a href="https://youtu.be/VXxH4n684HE?si=WqihrtjtzjvAD-OR">Hacking Active Directory for Beginners | TheCyberMentor</a></p><p><a href="https://youtu.be/xftEuVQ7kY0?si=zYSvSwwyKcgcK_sd">Build an Active Directory Hacking Lab| TheCyberMentor</a></p><p><a href="https://m0chan.github.io/2019/07/31/How-To-Attack-Kerberos-101.html">ActiveDirectory Attacks | m0chan</a></p><p><a href="https://book.hacktricks.xyz/windows-hardening/active-directory-methodology">HackTricks AD Attacks</a></p><p><a href="https://adsecurity.org/">ADSecurity Blogs &amp; Research</a></p><h3>AWS Fundamentals &amp; Security</h3><h4>Labs</h4><p><a href="https://pwnedlabs.io/">PwnedLabs AWS Labs</a></p><h4>Theory</h4><p><a href="https://youtu.be/uFrj0jHN848?si=UG0xUt8zzDiG7rTh">AWS Re:Invent 2022</a></p><p><a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html">AWS CloudTrail Document [ Best Resource ]</a></p><p><a href="https://www.sumologic.com/blog/what-is-aws-cloudtrail/">Basics of Cloudtrail | sumologic</a></p><p><a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_architecture.html">AWS Cloudwatch Document</a></p><h3>Azure Fundamentals &amp; Security</h3><h4>Labs</h4><p><a href="https://pwnedlabs.io/">PwnedLabs Azure Labs</a></p><h4>Theory</h4><p><a href="https://learn.microsoft.com/en-us/azure/security/fundamentals/overview">Azure security | Microsoft Learn</a></p><p><a href="https://learn.microsoft.com/en-us/azure/security/">Microsoft Academy</a></p><h3>Bonus: SOC Resources</h3><h4>Labs</h4><p><a href="https://bots.splunk.com/login?redirect=/">Splunk BOTS</a></p><p><a href="https://cyberdefenders.org/blueteam-ctf-challenges/">CyberDefenders Labs</a></p><p><a href="https://blueteamlabs.online/">Blue Team Labs</a></p><p><a href="https://portal.rangeforce.com/courses">Rangeforce Labs</a></p><p><a href="https://www.hackthebox.com/blog/sherlocks">HTB Sherlocks</a></p><p><a href="https://tryhackme.com/path/outline/soclevel1">SOC Level 1 | THM Labs</a></p><p><a href="https://tryhackme.com/path/outline/soclevel2">SOC Level 2 | THM Labs</a></p><p><a href="https://tryhackme.com/path/outline/blueteam">Cyber Defense | THM Labs</a></p><p><a href="https://app.letsdefend.io/">LetsDefend Labs</a></p><h4>Learnings</h4><p><a href="https://www.splunk.com/en_us/training/free-courses/overview.html">Splunk Free Trainings</a></p><p><a href="https://mailtrap.io/blog/email-headers">Email Headers Analysis</a></p><p><a href="https://www.siemxpert.com/blog/phishing-email-analysis/#:~:text=Many%20parameters%20are%20required%20when,to%20learn%20the%20recipient%20addresses.">Phishing Analysis by SIEMExpert</a></p><p><a href="https://intezer.com/blog/incident-response/automate-analysis-phishing-email-files/">Detect Phishing Emails by Intezer</a></p><p><a href="https://learn.microsoft.com/en-us/security/operations/incident-response-playbook-phishing">Phishing Investigation by Microsoft</a></p><p><a href="https://app.letsdefend.io/training">LetsDefend Training</a></p><p><a href="https://www.youtube.com/watch?v=qA0YcYMRWyI">Malware Analysis by HuskyHacks</a></p><p><a href="https://youtu.be/giv0DQDSsjQ?si=BISyQL0gVThm5ghj">DFS101: Digital Forensics | DfirScience</a></p><p><a href="https://www.youtube.com/@13Cubed">Digital Forensics Tutorials by 13Cubed</a></p><h3>Great Resource for Multiple Domains</h3><p><a href="https://www.youtube.com/@SANSForensics">SANS Digital Forensics and Incident Response</a></p><p><a href="https://www.youtube.com/@LiveOverflow">LiveOverflow</a></p><p><a href="https://www.youtube.com/@_JohnHammond">JohnHammond</a></p><p><a href="https://www.youtube.com/@sonianuj">Anuj Soni | Malware Analysis</a></p><p><a href="https://stuxnet999.github.io/">Abhiram’s Blog</a></p><p><a href="https://aboutdfir.com/">AboutDFIR</a></p><p><a href="https://www.youtube.com/@MalwareAnalysisForHedgehogs">MalwareAnalysisForHedgehogs</a></p><p><a href="https://www.inversecos.com/">Inversecos Blogs</a></p><p><a href="https://thedfirreport.com/">The DFIR Report</a></p><p><a href="https://thisweekin4n6.com/">This Week In 4n6</a></p><p><a href="https://www.ashemery.com/">Ali Hadi Blogs, Trainings &amp; Labs</a></p><p><a href="https://www.youtube.com/@PinkDraconian">PinkDraconian</a></p><p><a href="https://www.youtube.com/@TCMSecurityAcademy">The CyberMentor</a></p><p>Thanks For Reading and Drop Your Feedback 😄</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15bd8441b1c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Certified Cyberdefender ( CCD ) Course & Exam Review]]></title>
            <link>https://medium.com/@satyender.yadav/certified-cyberdefender-ccd-course-exam-review-24dbab296f62?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/24dbab296f62</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[exam-review]]></category>
            <category><![CDATA[digital-forensic-training]]></category>
            <category><![CDATA[certified-cyberdefender]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 10:47:35 GMT</pubDate>
            <atom:updated>2023-04-07T10:47:35.594Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*h79h0ZGas90NUd2trGsHsA.png" /></figure><h3>Why I bought Certified Cyberdefender ( CCD )</h3><p>The reason me buying the CCD course just after a few months after the release is that I have been solving labs on the Cyberdefenders website for a very long time and have played multiple CTFs hosted by <a href="https://cyberdefenders.org/">Cyberdefender </a>Team and from these CTFs and labs, I know these guys have great knowledge about their domains. So I thought let’s take the course and see if it is really worth it and you will find this answer later in the blog.</p><h3>CCD Course Content</h3><p>You can find a lot of other reviews sharing the modules of the course. I will add that also but I will tell you what difference I found in CCD course.</p><h4>Course Modules</h4><p>The Course covers majorly all domains:</p><ul><li>Security Operations Fundamentals.</li><li>Incident Response.</li><li>Perimeter Defense.</li><li>Digital Forensics.</li><li>Threat Hunting.</li></ul><p>For more detailed content details check <a href="https://cyberdefenders.org/blueteam-training/courses/certified-cyberdefender/">Cyberdefenders CCD</a></p><p>After completing the course I can say that there are no such prerequisites Anyone who knows the basics of security and how to google is a sufficient skill.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*H9-SBY9sC-Qx49EXLLWyiA.png" /></figure><p>When I attempted the exam there are 170+ written articles and 21 labs available covering all domains of cyber defence. The labs are really challenging some labs took me 9 hours to solve. So have patience while solving the labs.</p><p>I like the Disk and Memory labs most as they really want me to research the topic and understand which artefacts are best to find the evidence and which tool will parse and how to correlate the information from multiple artefacts to reach the final answer.</p><p>For solving the labs you will have 120 hours. People asking in the discord server if this is sufficient to solve all the labs. From my experience, 120 Hours is more than enough. I solved each lab 3 times and also check a few of them while attempting my exam after that still I have 80 hours left.</p><h4>Is CCD Content Good?</h4><p>The course modules are really well structured and the content is not just the theory of the topic but there are examples which will tell you how this theory will be applied in real-life investigation. You will also be provided with the tools you can use and how these tools will be used with detailed explanations. Each module has multiple labs associated with it, which are created to test your knowledge of that module. They also added additional labs list which I liked as it helped me while preparing for my exam. The very important thing is the community they have built, everyone is very supportive and helps you in your learning journey.</p><h3>Exam Experience</h3><p>The exam is 48 hours long and this is more than enough time for anyone to complete the exam. I solved the exam and even rechecked my answers 2 times and did my day-to-day task then also I have 7 hours left. In CCD you have questions and you have to provide the answer no report is required to submit and try to provide how you reach this answer as the exam is checked manually and you can get partial points.</p><p>The Exam has 2 scenarios completely based on real Incidents covering all the modules you studied in the course. The Scenario is similar to how a corporate environment looks like systems, servers, firewalls, agents etc… The questions are not hard [ but some are 😁 ], the question has everything mentioned so that you can find the answer [<strong> Read the question carefully </strong>]. The question from each domain will check your in-depth knowledge of the tool you use and the concepts you are applying.</p><h3>Exam Advice</h3><p>You can pick any domain to solve first but I suggest reading both scenarios and understanding what happened in both cases and how we get to know about the incident will help you to understand the findings you found during your investigation, how the attacker laterally moved into the system and you can create the timeline of events question by question which will speed up your investigation process. The labs have an internet connection available so use it and if you found that some tools are not working as you expected don’t worry download them from the internet, I also used a lot of new tools which are not pre-available in the labs. Last piece of advice don’t panic focus on the question and scenario if you feel stressed just leave the chair and relax for a few mins as you have a lot of time to solve the exam.</p><h4>Remember Defend smarter, not harder</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24dbab296f62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[wormcon 0x01: Networking Challenges]]></title>
            <link>https://medium.com/@satyender.yadav/wormcon-0x01-networking-challenges-c69cf2f9128f?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/c69cf2f9128f</guid>
            <category><![CDATA[wormcon]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[forensics]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 17:46:29 GMT</pubDate>
            <atom:updated>2021-09-01T17:46:29.867Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NF27qVxEDJiRwrogxjFZdw.jpeg" /></figure><p>Network forensics is <strong>a sub-branch of digital forensics relating to the monitoring and analysis of computer network traffic</strong> for the purposes of information gathering, legal evidence, or intrusion detection. … Network traffic is transmitted and then lost, so network forensics is often a proactive investigation.</p><p>Network At Risk: Part 1 [ HTTP Traffic ]</p><p>Network At Risk: Part 2 [ FTP Traffic ]</p><p>Network At Risk: Part 3 [ VOIP Traffic ]</p><p>Network At Risk: Part 4 [ Wifi cracking ]</p><h3>Network At Risk: Part 1</h3><pre><strong>Description:</strong><br>We are in danger again we got a incident report by our system and after that we capture the network traffic but I think this is not a normal and easy one we have to do deep analysis but due to shortage of time I am giving the task to you. Hope you will find something intresting.</pre><pre><a href="https://mega.nz/file/Rg9ARZKS#sQDzsVb4cnySoF6K93HNCPPa5_rpCF2GHeR8-b4lT0g">Download</a></pre><p>When we check the traffic there is HTTP traffic in the PCAP file it means if any website is accessed with this we can export that files easily using the HTTP Export option. We got normal static files [ CSS, JS, and HTML ] and one very suspicious filename is also there if we search that name in the PCAP file we get to know that a GET request is sent to that URL. The suspicious thing is that the suspicious request is from 127.0.0.1 it means the request is done internally. We can only found that js is the only way which we can use to send requests. Therefore start analyzing the js files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fK_rJ8URI4qI7_p0hHySiw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*hGR-aakQHBsbLqWD6XMXSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p80ygTdPWe7-GlD8PzD0mw.png" /></figure><p>If we check the jquery file closely we find a <strong>K3Y </strong>term in the file and then we follow this small clue and reach the function which fetches the file and sends it to the <strong>enCrYpTX0r</strong> for XOR and after that send the get request to that string. We just have to follow the same process and decode the string we got and we will have our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*DokQSMuzVzUYHVC5EHlbDQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*BYzJ77AHblNGkXvB57UDYQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*KraK94YaiXmYXY2v4P7jfA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*FcVdudstL5aYELh6JqEOzA.png" /></figure><p><strong><em>wormcon{http_1s_n0t_s4f3_h4h4!!!!}</em></strong></p><h3>Network At Risk: Part 2</h3><pre><strong>Description:</strong><br>This is the another network traffic we capture for the another network we followed the same process you told us in previous one but that doesn&#39;t work in this case can you help us out in this also.</pre><pre><a href="https://mega.nz/file/w99CGDba#OVMjlHAOQ8Z0rGpryZ02wXBTgOy71j4m5Tyehi-7aAU">Download</a></pre><p>Import the PCAP file in Wireshark and check the traffic in fast go we find that it contains FTP Traffic. In FTP files and data is transferred as unencrypted so in the 0 streams, we found the username and password of the FTP traffic. Similar if we check the other streams we got that lot of commands are executed on the FTP client-side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AyQiIXGiLRw8GHpj7HKbSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*Ak8xnIMzvixV9kN3ooERZQ.png" /></figure><p>Onstream number 107, a zip file is transferred we can extract it by converting it to raw then decode and extract files using cyber chef.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*dVAWamhFgF4NswqebAtdtg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*TbxO8QY9_4D1Gr-3W1fdjg.png" /></figure><p>When we unzip the extracted file it asks for a password we already have the password for the FTP account we will use that and get our flag.</p><p><strong><em>wormcon{Y0u_4r3_St1LL_US1nG_F7P}</em></strong></p><h3>Network At Risk: Part 3</h3><pre><strong>Description:</strong><br>We work for secret govt agencies and we got a report that there will attack on the state by terrorist group and our spy send us some files in three parts which he captured from their network can you tell what is happening on the network.</pre><pre><a href="https://mega.nz/file/Nt9wmTgT#Tzrui6ama6XJG-kyhEA3uYsIIh9oOZw7N4gaAK9yf4A">Download</a></pre><pre>Note: put _ between the words and put them in the flag format</pre><p>When we import the PCAP file to the Wireshark we can see that it contains a lot of RTP packets and if you don’t know about the RTP this protocol is used during VOIP [ Voice over Internet Protocol ] to transfer voice data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XT1mEhhqE-hx0yAoW4q87w.png" /></figure><p>Now our task is to extract the RTP data therefore we can use the <a href="https://pcap2wav.xplico.org/index.php"><strong>pcap2wa</strong></a><strong>v</strong> tool to extract it. After extracting we can listen to the talk conversation and get our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fdsoSEb-7lz0jkWeg1lh5Q.png" /></figure><p><strong><em>wormcon{welcome_to_the_world_of_voip}</em></strong></p><h3>Network At Risk: Part 4</h3><pre><strong>Description:<br></strong>Help me to get into this network!! <br><a href="http://static.vulnfreak.org/network_part_6_9880252676946079/challenge.cap">Download</a></pre><pre>Flag Format: wormcon{password_bssid} <br>Note: bssid is in lowecase </pre><p>After downloading the file we see it&#39;s a ‘.cap’ file but as in challenge specified that you need a password. So that makes it pretty obvious that it is a captured wifi handshake and we have to brute force to get the password.</p><pre>aircrack-ng -b challenge.cap -w ./rockyou.txt</pre><p>For Bssid we can get the WLAN Traffic and we will get our Bssid also.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*kU-50w8yRs-_hux77qaySA.png" /></figure><p>Final flag: <strong><em>wormcon{P@$$w0rd_82:25:fa:ee:ed:91}</em></strong></p><p>Thanks For Reading and Drop Your Feedbacks 😄</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c69cf2f9128f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[wormcon 0x01 : Digital Forensics [ Secret Mission ]]]></title>
            <link>https://medium.com/@satyender.yadav/wormcon-0x01-digital-forensics-secret-mission-660d2c3775c1?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/660d2c3775c1</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[wormcon]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tor-browser]]></category>
            <category><![CDATA[forensics]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 17:42:25 GMT</pubDate>
            <atom:updated>2021-09-01T17:42:25.868Z</atom:updated>
            <content:encoded><![CDATA[<h3>wormcon 0x01 : Digital Forensics [ Secret Mission ]</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NF27qVxEDJiRwrogxjFZdw.jpeg" /></figure><p>Memory forensics (sometimes referred to as memory analysis) refers to <strong>the analysis of volatile data in a computer’s memory dump</strong>. Information security professionals conduct memory forensics to investigate and identify attacks or malicious behaviors that do not leave easily detectable tracks on hard drive data. [ Definition from <a href="https://digitalguardian.com/blog/what-are-memory-forensics-definition-memory-forensics#:~:text=Memory%20forensics%20(sometimes%20referred%20to,tracks%20on%20hard%20drive%20data.">Digital Guardians</a> ]</p><p>This challenge contains Three parts :</p><p><em>Secret Mission Part 1: Payment PDF &amp; JavaScript</em></p><p><em>Secret Mission Part 2: Tor Browser Forensics</em></p><p><em>Secret Mission Part 3: Apache Access.log</em></p><h3><strong><em>Secret Mission Part 1</em></strong></h3><pre>Hello welcome back to work we got new project and after a great success in last case because of you we are giving you one more task this time. So we got a project from govt Secret agency that they are behind a person and they have doubt that he is involved with the hackers group and they given us the image of his system.</pre><pre>we got a report that he got a message and next instruction to follow but after asking to person he is saying that he only got advance money and the details of it payment but no message can you find what is the message he received.</pre><pre><a href="https://mega.nz/file/898iyBoS#tD77BTv4bq58C26es7IT_2n1xNgRd1QZs-dZkeeSGtE">Download</a> [Same as shared on Discord]</pre><pre>Password: W0rmc0nDiGit4lF0r3nS1cSMem0rY</pre><p>From the description, we have information that the person has a money receipt and some information is hidden in it.</p><p>So we can check the <strong>cmdline </strong>history because it will help us in finding which applications are opened.</p><pre><strong>vol.py -f mem.raw --profile=Win81U1x64 cmdline</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jjTPAUvuygZz14HYsG6k_A.png" /><figcaption>cmdline Result</figcaption></figure><p>From the result, we found that <strong>Wordpad </strong>is used to open a file named <strong>invoice.pdf. </strong>Now we have to dump the file and check if this file has anything for us or not.</p><pre><strong>vol.py -f mem.raw --profile=Win81U1x64 filescan | grep invoice.pdf</strong></pre><pre><strong>vol.py -f mem.raw --profile=Win81U1x64 dumpfiles -Q 0x00000000052e3480 --dump-dir=.</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nY50sqAtTjptjOtbU1viTg.png" /><figcaption>invoice.pdf</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UqSaDlK1j2w068kooIHvtQ.png" /><figcaption>Invoice Dump</figcaption></figure><p>After analyzing the file we found JavaScript in it which is in the form of hex after decoding the hex we got a base64 and after decoding the base64 we will get our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDhjop-0y4rl98vCiOK3xg.png" /><figcaption>JavaScript in PDF</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XCSw8w-0sDjgqt8vKVXk2Q.png" /><figcaption>Hex Decoded</figcaption></figure><p><strong><em>wormcon{PDF_w1th_JS_1s_N0t_4n_0ld_Styl3}</em></strong></p><h3><strong><em>Secret Mission Part 2</em></strong></h3><pre>He is contacting to the group via uncommon browser you have to find what is the name of the file on the system which he used to install and have to figure out did he open that browser or not. If yes then md5 the second last registry value added by that browser and if not open then md5 OF the last registry value added by that browser.</pre><pre>Ex: filename chrome.exe and registry value you got C:\Program Files\Mozilla Firefox  <br>MD5: d7030a44793e0158eb6a03c8dc84cc65<br>Sample Flag: wormcon{chrome.exe_1d7030a44793e0158eb6a03c8dc84cc65}</pre><p>So first we have to understand the description in this <br>- We have to find the uncommon browser used to contact the hacker <br>- Then we have to find did he only install and then open or not <br>- In cases, if open we have to find the last registry key value and if or not opened only installed then we have to find the second last registry value added by that browser.</p><p>So first thing here is Tor is the uncommon browser used for contacting hackers most of the time. So if we follow this general idea and find about the Tor Browser registry key Forensics you will a research report on Research Gate <strong>[</strong><a href="https://www.researchgate.net/publication/332004753_Forensic_Analysis_of_Tor_Browser_A_Case_Study_for_Privacy_and_Anonymity_on_the_Web"><strong>Forensic Analysis of Tor Browser: A Case Study for Privacy and Anonymity on the Web</strong></a><strong>]</strong>.</p><p>Now if we read this report we will find that if Tor Browser is only installed and not opened only one registry is added and the location of that key is <strong><em>Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store</em></strong></p><p>In this way, you check if any other key is added by Tor Browser or not if there is only one key it means it is only installed and we just have to print the key.</p><p>We will use volatility for finding the key and printing their values.</p><pre><strong>vol.py -f mem.raw --profile=Win81U1x64 printkey -K &quot;Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store&quot;</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08vzd5lGejcC36Ff_EgeUQ.png" /></figure><p>Printing the value we get both the answers to the value of the key and the installer file name also.</p><p><strong>wormcon{T0rbR0Ws3R-10.0.1.exe_f8affd271d58cc1bbac6f96598064161}</strong></p><h3>Secret Mission Part 3</h3><pre>We find that he got project to develop a web project for the hackers but in hurry he leaked the critical information while developing a web project on his system. Find the information he leaked unintentionally</pre><p>The description told us that he is developing some web project and while printing the keys for Tor Browser we found the xampp also installed on the system and xampp all access links are stored in access.log in xampp directory. The second way to approach this challenge is that we can also find access.log is opened with Wordpad in cmdline.</p><p>We now have to find the file offset and dump the file and find our flag.</p><pre><strong>vol.py -f mem.raw --profile=Win81U1x64 filescan | grep access.log</strong></pre><pre><strong>vol.py -f mem.raw --profile=Win81U1x64 dumpfiles -Q 0x000000007c87d350 --dump-dir=.</strong></pre><pre><strong>cat file.None.0xffffe000037ffa80.dat | cut -d &quot; &quot; -f 7 | sort -u</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvGYSnWfLGdtCfd6mhMz_g.png" /><figcaption>xampp Registry Key</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*DYyQvsTnCpGSRCpp9ZplGw.png" /><figcaption>cmdline access.log</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0bPfciEVxMmW4UgF6294w.png" /><figcaption>filescan access.log</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NVpxaNr4V-YkpaDK8NAk7Q.png" /><figcaption>Dump access.log</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ids2Re5ja3yeP80hmbc6Rw.png" /></figure><p><strong>wormcon{Th1s_Y34r_DFIR_R0ckS!!!!!!!!!!!}</strong></p><p>Thanks for reading and drop your feedbacks 💪</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=660d2c3775c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[wormcon 0x01: Digital Forensics [ wormonetics ]]]></title>
            <link>https://medium.com/@satyender.yadav/wormcon-0x01-digital-forensics-wormonetics-5def2232616c?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/5def2232616c</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ftk-imager]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[wormcon]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Tue, 31 Aug 2021 14:03:51 GMT</pubDate>
            <atom:updated>2021-08-31T14:39:22.145Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NF27qVxEDJiRwrogxjFZdw.jpeg" /></figure><p>Disk forensics is the science of extracting forensic information from digital storage media like Hard disk, USB devices, Firewire devices, CD, DVD, Flash drives, Floppy disks, etc... <a href="http://www.cyberforensics.in/(A(YFMf49VLzAEkAAAAMWE3NDQ2ZTEtNjg5MC00Mjc5LWE0NjQtNTc2NDQxNjRlNTdhxwC8Rqlzd2-ICCb20r6htoqh1sI1))/Research/DiskForensics.aspx?AspxAutoDetectCookieSupport=1#:~:text=Disk%20forensics%20is%20the%20science,Authenticate%20the%20evidence">[Defination from CyberForensics India]</a></p><p>This challenge contains Three parts :</p><p><em>wormonetics Part 1: Finding hacker mail &amp; Intern name,</em></p><p><em>wormonetics Part 2: Finding the email and reach to a secret portal</em></p><p><em>wormonetics Part 3: Finding the malware and its family</em></p><p><strong>wormonetics Part : 1</strong></p><pre><strong>Description <br></strong>Welcome to our organization wormonetics. Our R&amp;D team is working on a secret project Project Σ. But due to an insider threat, our Project is at risk [ As per the law of corporate yes he is an Intern ]. After doing a lot of analysis we got the final person who is responsible but we find strong evidence so we capture the image of his PC Disk and for further Investigation, we need your help in return we will provide you points 😄</pre><pre>So now you have to find what name our intern is using for contacting the Hackers and it will be great if you also find the email address of whom he is contacting. Flag : wormcon{name_email}</pre><pre>Example: Name is Bob and email is hacker@gmail.com<br>Sample Flag : wormcon{bob_hacker@gmail.com}</pre><pre><a href="https://mega.nz/file/kltyhCaD#QoRhdAuU0rPBGWDdsw9cXF22YOZqG6hj1TdsJziHdGY">Download File</a> <br>Password: DiskF0r3ns1cswormc0nCTFh4ckS</pre><p>So we have a file named wormonetics.001 load that file into FTK Imager and as per description it says that the intern is talking to the hacker via email so it can be possible that there can be a mailing application will be used by the intern so as we check the user <em>l3v1ath4n</em> <strong>AppData/Roaming</strong> folder we find that <em>thunderbird</em> folder is there it means thunderbird can be used as a mailing application for that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*MjmeZxgMg2FBnRmIeqAsRQ.png" /><figcaption>FTK Imager [ ThunderBird ]</figcaption></figure><p>When we check the Thunderbird folder we will similar profiles pattern as we see in the Firefox one it means we can import the profiles of Thunderbird into our system as we do in Firefox and can see all the emails easily.</p><p>The process to import the profile into thunderbird <em>export the folder from FTK Imager</em> -&gt; <em>Go to thunderbird profile manager</em> -&gt; <em>create a new profile and add the folder to that profile then open the thunderbird mail</em> and we can see all the mails easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*2WSWV-NkjR2L76pDfpXKoQ.png" /><figcaption>Thunderbird [ Profile Manager ]</figcaption></figure><p>Now we have to find the name used by the Intern so if we check the first email in the inbox we will find a mail from the outlook team which has the heading <strong>Hi, Harry. </strong>It means the first name of the Intern is<strong> Harry</strong>. Now we have to find the mail of the hacker if we check the sent mail he sent a mail to a person with a name dark and content and his email address is <strong>hackwithdark@outlook.com</strong>.</p><pre>Hello Dark,</pre><pre>Hi want to confirm If I was selected or not</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WvA_VkzqNb8Ni5e9FpsmWw.png" /><figcaption>FTK Imager [ Inbox ]</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bYsvO7v_k7wsTjiu6on9bA.png" /><figcaption>FTK Imager [ sent ]</figcaption></figure><p><strong><em>Flag: wormcon{harry_hackwithdark@outlook.com}</em></strong></p><p><strong>wormonetics Part: 2</strong></p><pre><strong>DESCRIPTION</strong><br>We worked on the email you provided us earlier and we get to know that our Intern received an secret mail from the Group having information about where they will further communicate. Now your task is to find where they are planning to communicate and reach there to check what they discussed.</pre><p>It is said that he received a secret mail from which contain the information about what they are planning. so if we check the inbox of the thunderbird mail we will see there is nothing interesting, now we check the directories of the users we will find an email named <strong>Get Your Offer.eml </strong>in <strong>Users/Public/Music</strong> so when we export the email and open it in notepad we will see that there are two attachments in it and we have the base64 of them because attachment is sent via base64 encoding via emails. When we decode the base64 we will find one zip and one HTML file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lg9RE32gr8Ft46D09s4h0w.png" /><figcaption>Get Your Offer.eml</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*rbQl45fDlPHHo0bCERxvZQ.png" /><figcaption>Annual_report.zip</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*WmXUz8N5hHOVnwKKPia_GQ.png" /><figcaption>HTML FILE</figcaption></figure><p>In the zip file, we have one Xls file and when we take md5 of the Xls file and search on virus total we can see that it had the macros in it. we can use the olevba tool which is inbuilt in oletool python module. We can extract the VBA macros using olevba. So now we have to check the macros we find two arrays containing decimal values so when we decode them we find the credentials <strong><em>[user: APT-1337-SH4D0W Pass: PL3AS3S3CUR3 ]</em></strong> but till now we have nothing to where we can use these credentials. But we have left with the HTML file so we can check that file it contains a lot of URLs but one URL is apt-login.vulnfreak.org so this is an uncommon URL among all so when you visit that it asks for credentials for login which we already found in VBA macro we will use them and log in and we will get the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zjlYPZUkSNZN3l__3_e7Bw.png" /><figcaption>apt Portal URL</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*A60i7HMGmeDtiOox79THUg.png" /><figcaption>Password</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*yef3q9b13mcZaLoye78NYw.png" /><figcaption>Username</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*fWwJJ_KnxulD2aps153dPA.png" /><figcaption>Login Portal</figcaption></figure><p><strong><em>Flag: wormcon{D0nT_TruST_4nY0n3!!!!!!!}</em></strong></p><p><strong>wormonetics Part: 3</strong></p><pre>After the last evidence we are sure and ask the Intern about this so he told us that he also doesn’t know what happened he said after the last message he received there is no communication between them and also his system starts behaving suspiciously. We think they inject malware into the system if this is true you have to find what is the name of the malware file on the system and which family malware belongs</pre><pre>EX: filename hack.bat and  malware family Aurora<br>Sample Flag: wormcon{hack.bat_Aurora}</pre><p>According to the description malware file is in the system so it means they can even execute commands also if we can check the history somehow we will reach the injected file also. The tool which is used by attackers most in windows is PowerShell. Googling about the history file of the PowerShell we will the path of the file <strong>APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4c4q09z6nirSTy567JJbMg.png" /><figcaption>Powershell History</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*W8VQrZOKYQnVdLun6dS-iA.png" /><figcaption>Malware</figcaption></figure><p>When you reach the file you will get the path of the injected malware with the name of the malware on the system. Now we have to find the malware family FTK Imager has a great option that we can download the MD5 of any file without exporting the file. Exporting the MD5 hash of the malware then search on Virus Total and see it is malware but not a clear detail about the malware. But in the community section we find that it belongs to Bitter Rat family.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_hXKdaP-mPt478bsnXINAg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QSp8JEGIMpg5_yDe-_Nh7Q.png" /><figcaption>Virustotal Communtiy</figcaption></figure><p><strong><em>Flag : wormcon{ifconfig.exe_Bitter_Rat}</em></strong></p><p>Thanks for reading and drop your feedbacks 💪</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5def2232616c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MemLabs Lab 6 — The Reckoning]]></title>
            <link>https://medium.com/@satyender.yadav/memlabs-lab-6-the-reckoning-6ba0d2e6af5a?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ba0d2e6af5a</guid>
            <category><![CDATA[memlabs]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[memory-forensics]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Wed, 07 Jul 2021 08:07:21 GMT</pubDate>
            <atom:updated>2021-07-07T08:07:21.680Z</atom:updated>
            <content:encoded><![CDATA[<h3>MemLabs Lab 6- The Reckoning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zr6_KKDNAgeDuVRICezQ4g.png" /></figure><p><a href="https://github.com/stuxnet999/MemLabs"><strong>MemLabs</strong></a><strong> </strong>is an educational, introductory set of CTF-styled challenges which is aimed to encourage students, security researchers, and also CTF players to get started with the field of Memory Forensics.</p><blockquote>We received this memory dump from the Intelligence Bureau Department. They say this evidence might hold some secrets of the underworld gangster David Benjamin. This memory dump was taken from one of his workers whom the FBI busted earlier this week. Your job is to go through the memory dump and see if you can figure something out. FBI also says that David communicated with his workers via the internet so that might be a good place to start.</blockquote><p>We start our challenge by checking our raw image info</p><p>For this just simply use the command</p><p>Command :</p><pre>volatility imageinfo -f MemoryDump_Lab6.raw</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hSw7618RiJJ3Q0n44x4HOA.png" /></figure><p>It shows us a lot of profiles we can check one by one which is important for us and contains all processes for this use command</p><p>Command :</p><pre>volatility -f MemoryDump_Lab6.raw — profile=Win7SP1x64 pslist</pre><p>It shows us that <strong><em>Win7SP1x64</em></strong> is important for us in this case.</p><p>We can see two processes <strong>FIREFOX</strong>, <strong>CHROME</strong>, and <strong>WINRAR</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MAmtEVV7nwEY6-HYZfwedQ.png" /></figure><p>As a first approach, I go for <em>cmdscan </em>where we find two commands <strong>whomai</strong> and <strong>env</strong>.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab6.raw — profile=Win7SP1x64 pslist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*Zx6l8yJ96uUbPrYbICwyVw.png" /></figure><p>Since we also have the RAR process also I try to find the file location as we done previously I tried cmdline and found a file named <strong>flag.rar</strong> and dumped that file. But as of now, we know it is password protected.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab6.raw — profile=Win7SP1x64 pslist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S2fLFBrj_Jf3TTrLaKv8HA.png" /></figure><p>Since above we found two commands are on the cmd and one is <em>env</em> I thought might be there is something in env variables and used <em>envars </em>plugins it has a lot of results this time I saved it in the file and starting observing the file and at the half of the file found the rar password.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab6.raw — profile=Win7SP1x64 pslist</pre><blockquote>Password : easypeasyvirus</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*04wqzvpBZ7NuQgBq5_1_IA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*b80_PNdYyrUHV2ST3Y6dew.png" /></figure><p><strong>aN_Am4zINg_!_i_gU3Ss???_}</strong></p><p>We got our one flag this time easily. Know we left with chrome and firefox process. As earlier we learned there are plugins to check the chrome history I used that and find a Pastebin link.</p><p><a href="https://pastebin.com/RSGSi1hk">suspicious - Pastebin.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4B2zby9oOoQt0tQ_UxHsHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*_GK5--hjRxpylImYI-uxQA.png" /></figure><p>Pastebin has a link to Google Docs. Google Docs has garbage value and in one go you will miss but when you observe carefully found <strong>MEGA LINK</strong> in it.</p><p><a href="https://www.google.com/url?q=https://docs.google.com/document/d/1lptcksPt1l_w7Y29V4o6vkEnHToAPqiCkgNNZfS9rCk/edit?usp%3Dsharing&amp;sa=D&amp;source=hangouts&amp;ust=1566208765722000&amp;usg=AFQjCNHXd6Ck6F22MNQEsxdZo21JayPKug">Document Link</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*zKsYjUP9iFL5pswWLSg1bg.png" /></figure><p>When you paste it to the browser it asks for the description key but we have nothing yet any key. If we go back to Pastebin there is a written David sent the key in the mail. I grep <strong>gmail.com</strong> from the dump. and saved it to the file.</p><p>Command :</p><pre>strings MemoryDump_Lab6.raw | grep -i gmail.com</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*WiOWk3GidGiuMtl6bf1pxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*fgLOLOjZYB3BSNBSXyU7DA.png" /></figure><p>I search for the key keyword and there is a lot of results I tried some but they are unable to decrypt it. Finally found the key at the end of the file and decrypt the mega file.</p><p><a href="https://mega.nz/file/SrxQxYTQ#zyWxCjCYYSEMA-hZe552qWVXiPwa5TecODbjnsscMIU">40.1 KB file on MEGA</a></p><blockquote>Key : zyWxCjCYYSEMA-hZe552qWVXiPwa5TecODbjnsscMIU</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*tXqG007wBWuKFcbWVDVhVw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oszr3rF2IzqxWDKk4y_nHQ.png" /></figure><p>From there we got one png file but it is damaged I checked its magick number so there is little change. We have to replace the 69 with the 49. After this, we got our last flag of this MEMLAB Series.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*zjUPaw21g0iSrJTxdZgK4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*c_AsIK6qIysKo2_ghPLmgw.png" /></figure><p><strong>inctf{thi5_cH4LL3Ng3_!s_g0nn4_b3_aN_Am4zINg_!_i_gU3Ss???_}</strong></p><p>Thanks For Reading hope you enjoyed 😃</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ba0d2e6af5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MemLabs Lab 5- Black Tuesday]]></title>
            <link>https://medium.com/@satyender.yadav/memlabs-lab-5-black-tuesday-531712c6df21?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/531712c6df21</guid>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[memory-forensics]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[memlabs]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Wed, 07 Jul 2021 08:07:04 GMT</pubDate>
            <atom:updated>2021-07-07T08:07:04.206Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*esqFLGTI1Uzv-2oT98d6gQ.png" /></figure><p><a href="https://github.com/stuxnet999/MemLabs"><strong>MemLabs</strong></a> is an educational, introductory set of CTF-styled challenges which is aimed to encourage students, security researchers, and also CTF players to get started with the field of Memory Forensics.</p><blockquote>We received this memory dump from our client recently. Someone accessed his system when he was not there and he found some rather strange files being accessed. Find those files and they might be useful. I quote his exact statement,</blockquote><blockquote><em>The names were not readable. They were composed of alphabets and numbers but I wasn’t able to make out what exactly it was.</em></blockquote><blockquote>Also, he noticed his most loved application that he always used crashed every time he ran it. Was it a virus?</blockquote><p>We start our challenge by checking our raw image info</p><p>For this just simply use the command</p><p>Command :</p><pre>volatility imageinfo -f MemoryDump_Lab5.raw</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z56Sad6PLJEkueqxzhMGsg.png" /></figure><p>It shows us a lot of profiles we can check one by one which is important for us and contains all processes for this use command</p><p>Command :</p><pre>volatility -f MemoryDump_Lab5.raw — profile=Win7SP1x64 pslist</pre><p>It shows us that Win7SP1x64 is important for us in this case.</p><p>We can see two processes <strong>NOTEPAD </strong>and <strong>WINRAR</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fBtb4D8GLGBZZeQdQ0TIOQ.png" /></figure><p>So I Firstly check the cmdlineto find the location of the files as the NOTEPAD process is running. But Instead of file name we got the name of the <strong>RAR</strong> file and one more interesting thing is that <strong><em>NOTEPAD </em></strong>is running from the <strong>Videos folder</strong>.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab5.raw — profile=Win7SP1x64 cmdline</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wEErFSrtjctbSzZpEyxx2w.png" /></figure><p>So I dumped the rar file but as we know it is password protect again and challenge desc also says we can’t get the flag of stage2 before stage1. So this time we first have to hunt for the stage1 flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qOD0nIt7vwNUdSnSAz1EQQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*xGK7tqEMpwaKmXsMo0WMTQ.png" /></figure><p>So I dumped the NOTEPAD process running from the videos folder but it dumped three files this time while dumping the one and I checked all the three files but I am unable to find any juicy information about the password of the rar or flag1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8upQLSISrnpFG4iOYqL8Zg.png" /></figure><p>I stared checked other plugins like cmdscan clipboard and during <strong>netscan </strong>time I got a different exe used which I not seen in other challenges i.e., <strong>wininit.exe</strong></p><p>Command :</p><pre>volatility -f MemoryDump_Lab5.raw — profile=Win7SP1x64 netscan </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cmY68Bhl1JSMPXS78XiYHQ.png" /></figure><p>After googling and reading about it found an article having info.</p><pre><strong>iehistory</strong></pre><pre>This plugin recovers fragments of IE history index.dat cache files. It can find basic accessed links (via FTP or HTTP), redirected links ( — REDR), and deleted entries ( — LEAK). It applies to any process which loads and uses the wininet.dll library, not just Internet Explorer. Typically that includes Windows Explorer and even malware samples.<br>I used the iehistory plugin and we find a list of files accessed by the browser and there are a lot of files to confuse you and a lot of old challenges files also like.</pre><pre>SmartNet@file:///C:/Users/SmartNet/Documents/New%20Text%20Document.txt</pre><pre>SmartNet@file:///C:/Users/SmartNet/Desktop/st4G3$$1.txt</pre><pre>Alissa Simpson@file:///C:/Windows/AppPatch/ZmxhZ3shIV93M0xMX2QwbjNfU3Q0ZzMtMV8wZl9MNEJfNV9EMG4zXyEhfQ.bmp</pre><p>Command :</p><pre>volatility -f MemoryDump_Lab5.raw — profile=Win7SP1x64 iehistory</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NKli-tNx2LhFIAoXiFjSnA.png" /></figure><p>when we decoded <strong>ZmxhZ3shIV93M0xMX2QwbjNfU3Q0ZzMtMV8wZl9MNEJfNV9EMG4zXyEhfQ</strong> we got our first flag.</p><p><strong>flag{!!_w3LL_d0n3_St4g3–1_0f_L4B_5_D0n3_!!}</strong></p><p>Now we can use this as the password for the second stage and finally we got our last flag also.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*AjXEFfaxkQyq6VebjVjyUA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FArRxT8ZvYljfalGejp9jg.png" /></figure><p>Thanks For Reading hope you enjoyed 😃</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=531712c6df21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MemLabs Lab 4- Obsession]]></title>
            <link>https://medium.com/@satyender.yadav/memlabs-lab-4-obsession-8b391682e68f?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b391682e68f</guid>
            <category><![CDATA[memory-forensics]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[memlabs]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 10:58:42 GMT</pubDate>
            <atom:updated>2021-07-04T10:58:42.730Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D3wXEU-9I_1c-tn5hCvvKg.png" /></figure><p><a href="https://github.com/stuxnet999/MemLabs"><strong>MemLabs</strong></a> is an educational, introductory set of CTF-styled challenges which is aimed to encourage students, security researchers, and also CTF players to get started with the field of Memory Forensics.</p><blockquote>My system was recently compromised. The Hacker stole a lot of information but he also deleted a very important file of mine. I have no idea on how to recover it. The only evidence we have, at this point of time is this memory dump. Please help me.</blockquote><p>We start our challenge by checking our raw image info</p><p>For this just simply use the command</p><p>Command :</p><pre>volatility imageinfo -f MemoryDump_Lab4.raw </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6cSMYO3hN9OtJ1SdJtn8Gw.png" /></figure><p>It shows us a lot of profiles we can check one by one which is important for us and contains all processes for this use command</p><p>Command :</p><pre>volatility -f MemoryDump_Lab4.raw — profile=Win7SP1x64 pslist </pre><p>It shows us that <em>Win7SP1x64</em> is important for us in this case.</p><p>We can see two processes <strong>VBoxTray</strong> and <strong>StickyNot</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UJwcy_1bmeEFWKNxi5vIkQ.png" /></figure><p>So I dumped these processes and checked for juicy information in these dumps. But after a lot of greps and strings, we can’t find anything.</p><p>After this, we try <strong>cmdscan </strong>but in this case, we have nothing.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab4.raw — profile=Win7SP1x64 cmdscan</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*CUIRqoTK9fPU8CQQjcTp3A.png" /></figure><p>Since it in Desc that something is deleted so we have to recover that. So I searched for the recycle bin in the filescan but Recycle bin also has nothing in it.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab4.raw — profile=Win7SP1x64 filesca | grep -i recycle</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ux1pbpQIZ9ZP7Ni1ozN7vg.png" /></figure><p>So I started taking keywords from the desc and start searching for them so finally, we got some results on the <strong>important</strong></p><p>Command :</p><pre>volatility -f MemoryDump_Lab2.raw — profile=Win7SP1x64 filescan | grep -i important</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4lUwoOLqKFbt4WWWX-tG5g.png" /></figure><p>But here is the twist I dump the file but it is not to the system. I tried a lot to dump it but I am unable to dump this file.</p><p>So I started googling about this and I found one article about <strong>MFT PARSER</strong>.</p><p><a href="https://searchwindowsserver.techtarget.com/definition/master-file-table">Windows Server storage management</a></p><blockquote>So what is an MFT parser?</blockquote><p>So we can say that it is a type of database that stores the information about each file and directory of the NTFS filesystem.</p><p>Plus point is here is that the MFT parser is default installed in the volatility. So we can directly use it.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab2.raw — profile=Win7SP1x64 mftparser</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OMv_L98IYOKU4X9DCGnwaA.png" /></figure><p>So as I told you it is DB for all the files and directory systems having so it is very large. Put its output in the file and then search for the filename we found i.e, <strong>Important.txt</strong>. And we got our flag.</p><pre><br>$DATA<br>0000000000: 69 0d 0a 0d 0a 0d 0a 6e 0d 0a 0d 0a 0d 0a 63 74 i……n……ct<br>0000000010: 0d 0a 0d 0a 0d 0a 0d 0a 66 7b 31 0d 0a 0d 0a 0d ……..f{1…..<br>0000000020: 0a 5f 69 73 0d 0a 0d 0a 0d 0a 5f 6e 30 74 0d 0a ._is……_n0t..<br>0000000030: 0d 0a 0d 0a 0d 0a 5f 45 51 75 34 6c 0d 0a 0d 0a ……_EQu4l….<br>0000000040: 0d 0a 0d 0a 5f 37 6f 5f 32 5f 62 55 74 0d 0a 0d …._7o_2_bUt…<br>0000000050: 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 5f 74 68 31 73 ……….._th1s<br>0000000060: 5f 64 30 73 33 6e 74 0d 0a 0d 0a 0d 0a 0d 0a 5f _d0s3nt…….._<br>0000000070: 6d 34 6b 65 0d 0a 0d 0a 0d 0a 5f 73 33 6e 0d 0a m4ke……_s3n..<br>0000000080: 0d 0a 0d 0a 0d 0a 73 33 7d 0d 0a 0d 0a 47 6f 6f ……s3}….Goo<br>0000000090: 64 20 77 6f 72 6b 20 3a 50 d.work.:P</pre><p><strong>inctf{1_is_n0t_EQu4l_70_2_bUt_th1s_d0s3nt_m4ke_s3ns3}</strong></p><p>Thanks For Reading hope you enjoyed 😃</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b391682e68f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MemLabs Lab 3- The Evil’s Den]]></title>
            <link>https://medium.com/@satyender.yadav/memlabs-lab-3-the-evils-den-4b5e1e63f86d?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b5e1e63f86d</guid>
            <category><![CDATA[memory-forensics]]></category>
            <category><![CDATA[memlabs]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 10:58:32 GMT</pubDate>
            <atom:updated>2021-07-04T10:58:32.776Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FDoFd5uF15WzIQSMRvCPwQ.png" /></figure><p><a href="https://github.com/stuxnet999/MemLabs"><strong>MemLabs</strong></a> is an educational, introductory set of CTF-styled challenges which is aimed to encourage students, security researchers, and also CTF players to get started with the field of Memory Forensics.</p><blockquote>A malicious script encrypted a very secret piece of information I had on my system. Can you recover the information for me please?</blockquote><p>As we doing so far firstly we are going to check the Image info about the raw image we got</p><p>For this just simply use commands</p><pre>volatility imageinfo -f MemoryDump_Lab3.raw</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HE6l52ZK42e8-Ff_QOxu1w.png" /></figure><p>It shows us a lot of profiles we can check one by one which is important for us and contains all processes for this use command</p><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 pslist</pre><p>It shows us that <strong>Win7SP1x86</strong> is important for us in this case.</p><p>In this, we can see we only have 2 important processes and both of them are <strong>NOTEPAD</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sfhrZ85PfARKF3qDDMYgLQ.png" /></figure><p>So start dumping the process one by one and check if they have something for us.</p><p>SO firstly I go for Dumpit and for the dumping process you can simply use it.</p><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 procdump -p &lt;process-id&gt; — dump-dir &lt;directory&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g-7mQ4_WvNotWFRG1JK9Aw.png" /></figure><p>After I analyze the dump process of both the <strong>NOTEPAD </strong>with strings on it and putting it in Hopper but I find nothing useful there.</p><p>So therefore I try to grep some files from filescan with a secret keyword and I got bisect.py. I wasted a lot of time on it then understood it is just a system file 😅.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c5c9b05490e06c8bd552c5021fdfddcc/href">https://medium.com/media/c5c9b05490e06c8bd552c5021fdfddcc/href</a></iframe><p>So after I tried to get to what is on the cmd that time but same no juicy information.</p><p>command to use</p><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 cmdscan</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*90FOPIwp0KOE7Y69ChXq9A.png" /></figure><p>Therefore I check the console to check the cmd executes, Text copied on the clipboard, and connection but no result this time.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 console<br>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 clipboard<br>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 netscan</pre><p>So after a lot of struggle, I read the desc once more, and there it is <strong>STEGHIDE </strong>tool will be required for this challenge.</p><p>So the first thing that came to mind is that there must be an image that has our flag. So I search for jpg and jpeg ( steghide only supports jpeg, jpg, and wav extensions ).</p><p>Command :</p><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 filescan | grep -i jpeg</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g8ebVEaRHVQwgJPHYK2ydQ.png" /></figure><p>So we get one image result with the name <strong><em>suspisions1.jpeg</em></strong></p><p>Command :</p><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 dumpfiles -Q &lt;offset-value&gt; — dump-dir</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*y5OxDTRKyghzm33RFmdl_A.jpeg" /></figure><p>I tried steghide on it as we know steghide needs a password to extract so first I tried with a blank password but it says the wrong passphrase.</p><p>Command :</p><pre>steghide extract -sf suspision1.jpeg</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*KoJELm5hTJGwsbs-hB91wA.png" /></figure><p>So after a lot of searching and reading, I found that we can check command-line arguments with the plugin <strong>cmdline</strong></p><p>Command :</p><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 cmdline</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mecuz6Uq81c_S1UnBTkpYA.png" /></figure><p>From the results of the cmdline we get to know that there are two files names evilscript.py and vip.txt that are opened on the notepad two processes.</p><p>So we dumped these two files and check their content.</p><p>Command :</p><pre><strong>vip.txt</strong></pre><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 dumpfiles -Q 0x000000003e727e50 — dump-dir ./</pre><pre><strong>evilscript.py</strong></pre><pre>volatility -f MemoryDump_Lab3.raw — profile=Win7SP1x86 dumpfiles -Q 0x000000003de1b5f0 — dump-dir ./</pre><p>Contents of Evilscript.py</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b4dac7a21449616c4fa63043621e750/href">https://medium.com/media/3b4dac7a21449616c4fa63043621e750/href</a></iframe><p>Contents of vip.txt</p><pre> — -<br>616d 3167 6432 5634 4d32 3077 5847 7333<br>6232 553d 0d0a <br> — -</pre><p>So after decoding the hex value of the vip.txt we got the base64 string am1gd2V4M20wXGs3b2U=</p><p>Now we have to work on the Python script. So the script is doing simple a xor of every char of the flag with 3 and then encode the complete string to the base64.<br>We have to just reverse the code to get the flag.</p><p>so decoded the base64 string and put in the xor function and get the half part of the flag.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ecb8bd64afe256eed03bdbcae093a425/href">https://medium.com/media/ecb8bd64afe256eed03bdbcae093a425/href</a></iframe><p>Half Flag —<strong> inctf{0n3_h4lf</strong></p><p>After this, we only left with the <strong>suspision1.jpeg</strong>. So I brute-forced it for password with the <strong>STEGCRACKER </strong>but after a wait of a long time no result.</p><p>So I remembered in MEMLAB 2 we used the flag of previous as a password so I tried the half part flag as a password and it works.</p><p>We get a file <strong>secret text</strong> which has our next half flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*LSthyrlrhVVzraq2a5dyvQ.png" /></figure><p>Complete flag : <strong>inctf{0n3_h4lf_1s_n0t_3n0ugh}</strong></p><p>Thanks For Reading hope you enjoyed 😃</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b5e1e63f86d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MemLabs Lab 2- A New World]]></title>
            <link>https://medium.com/@satyender.yadav/memlabs-lab-2-a-new-world-b1772ad80c33?source=rss-bb4eb77f0755------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1772ad80c33</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[memory-forensics]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[memlabs]]></category>
            <dc:creator><![CDATA[Satyender Yadav]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 10:58:19 GMT</pubDate>
            <atom:updated>2021-07-04T10:58:19.387Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hgvay8nBl1iGW9rCjo0IjA.png" /></figure><p><a href="https://github.com/stuxnet999/MemLabs"><strong>MemLabs</strong></a> is an educational, introductory set of CTF-styled challenges which is aimed to encourage students, security researchers, and also CTF players to get started with the field of Memory Forensics.</p><blockquote>One of the clients of our company lost access to his system due to an unknown error. He is supposedly a very popular “environmental” activist. As a part of the investigation, he told us that his go-to applications are browsers, his password managers, etc. We hope that you can dig into this memory dump and find his important stuff and give it back to us.</blockquote><p>We start our challenge by checking our raw image info</p><p>For this just simply use the command</p><pre>volatility imageinfo -f MemoryDump_Lab2.raw</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LvG8K88rCfkJaRes-V3UVA.png" /></figure><p>It shows us a lot of profiles we can check one by one which is important for us and contains all processes for this use command</p><pre>volatility -f MemoryDump_Lab2.raw — profile=Win7SP1x64 pslist</pre><p>It shows us that <em>Win7SP1x64</em> is important for us in this case.</p><p>In this, we can see that there is a lot of process of <strong>CHROME </strong>and one process of <strong>KeePass</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8pmHqhwgs7CYEVJAFV_6BQ.png" /></figure><p>So I google how to check the history and cookies of chrome from the Memory dump. I got a very great article from which I get to know that in 2014 plugins are created for the volatility to check chrome history, cookies, search results, etc.</p><ul><li><a href="https://blog.superponible.com/2014/08/31/volatility-plugin-chrome-history">Volatility Plugin - Chrome History</a></li><li><a href="https://github.com/superponible/volatility-plugins">superponible/volatility-plugins</a></li></ul><p>So we first check the chrome history we find a <a href="https://mega.nz/folder/TrgSQQTS#H0ZrUzF0B-ZKNM3y9E76lg">MEGA link</a>.</p><pre>Command :<br> <br>volatility — plugins=plugins/ -f MemoryDump_Lab2.raw chromehistory</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uanAecrLpC9SiYiRut3NXw.png" /></figure><p>Mega Link contains the zip there. So when we try to unzip the file but it shows that password is sha1 of stage-3 of memlab1. with this password, we can unzip our zip and get our first flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*tuhxU-NRNUMMDGXu0Hxeig.png" /></figure><p>Then we check chrome cookies, chromevisits, chromesearchterms, chrome downloads, chromedownloadchains but we don’t find anything special other than the only mega link.</p><p>So now we have another process <strong>KeePass </strong>so if we google the extension for the KeePass software it has <strong><em>kdbx</em></strong>. So now we have to find a file from the dump having a .kdbx extension.</p><pre>Command :</pre><pre>volatility -f MemoryDump_Lab2.raw — profile=Win7SP1x64 filescan | grep kdbx</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*vo_e7v9EqM-x5KYZRiulBA.png" /></figure><p>We find a file <strong>Hidden.kdbx</strong> so we dump it and open this file in the KeePass software to check it.</p><pre>Command :</pre><pre>volatility -f MemoryDump_Lab2.raw — profile=Win7SP1x64 dumpfiles -Q 0x000000003fb112a0 — dump-dir</pre><p>So we can import this kdbx file in the KeePass but it is asking for the master password. But we don’t have Master Password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*ivqibEsXyeoaFUXQd-omsA.png" /></figure><p>So we need the master password. I dump the KeePass process and check for the strings if there is a password in it or not. But I can’t find any juicy information. I checked the clipboard if the user has a password on the clipboard. But have nothing on it.</p><p>I checked for the password file in the filescan but instead of a file, I find the <strong>PASSWORD.PNG</strong> and<strong> PASSWORD.LOG</strong>. When we check the Password.png file at the bottom it has the password. I tried this as the Master Password for the KeePass file and it works. We Got our another flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3apg3KlBC45IF-2nplQ_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*8URIv7q_NcjfcjVUD-aqbw.png" /></figure><p><strong>flag{w0w_th1s_1s_Th3_SeC0nD_ST4g3_!!}</strong></p><p>If we check descriptions carefully it has `popular “environmental” activists`. So I googled how to check the environment in the volatility. We get a plugin <strong>envars</strong>.</p><p>Command :</p><pre>volatility -f MemoryDump_Lab2.raw — profile=Win7SP1x64 envars</pre><p>After running this command we get a lot of results but if you check it carefully there are some strings that are repeated regularly.</p><p>Like :</p><blockquote>C:/Windows/System32/cmd.exe<br> C:/Windows/ZmxhZ3t3M2xjMG0zX1QwXyRUNGczXyFfT2ZfTDRCXzJ9</blockquote><p>So when we decoded the base64 string we get the flag.</p><p><strong>flag{w3lc0m3_T0_$T4g3_!_Of_L4B_2}</strong></p><p>Thanks For Reading hope you enjoyed 😃</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1772ad80c33" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>