<?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 Johny Manuel on Medium]]></title>
        <description><![CDATA[Stories by Johny Manuel on Medium]]></description>
        <link>https://medium.com/@jonybond?source=rss-7689f9e230ea------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*lKxW3SegxAFWtqGt.jpg</url>
            <title>Stories by Johny Manuel on Medium</title>
            <link>https://medium.com/@jonybond?source=rss-7689f9e230ea------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 21:50:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jonybond/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[Magnet User Summit CTF 2019- Walk through Part 3 & 4 — Complete]]></title>
            <link>https://medium.com/@jonybond/magnet-user-summit-ctf-2019-walk-through-part-3-4-complete-8da1ffd6024f?source=rss-7689f9e230ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/8da1ffd6024f</guid>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Johny Manuel]]></dc:creator>
            <pubDate>Tue, 30 Jul 2019 11:06:47 GMT</pubDate>
            <atom:updated>2019-07-30T11:06:47.606Z</atom:updated>
            <content:encoded><![CDATA[<h3>Magnet User Summit CTF 2019- Walk through Part 3 &amp; 4</h3><p>Its been a while since my last walk through and my trial license for Magnet Axiom tool expired. I tried reaching out to Magnet team for a free account where i am still waiting for a license key. Well lets use the free tools to crack the puzzle.</p><p><a href="https://medium.com/@jonybond/dfir-defcon-challenge-2018-my-take-part-1-89276be04f4b"><strong>Part 1</strong></a><strong>: </strong>Basic — Desktop</p><p><a href="https://medium.com/@jonybond/magnet-user-summit-ctf-2019-walk-through-part-2-7afab8303ef3"><strong>Part 2:</strong></a> Activity</p><p>I have been applying for Jobs which kept me away from completing this walk through since i had to prepare for interviews. I also found a .VHD file while solving an earlier challenge in part2 which when i tried to mount asked for a bit locker password. I gave up Part3 that time and proceeded to take part 4 first and come back for Part 3 later. To my surprise Part 4 had one of their challenges give out the answer when i completed 90% of the challenge. They should have kept for Mobile as part3 and the latter one as part 4.</p><h3>Mobile</h3><ol><li>What type of mobile image do you have?</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*ef84lFFhNBbN07QLTZD_cg.png" /><figcaption>Mobile challenge files</figcaption></figure><p>Answer: Quick/Logical (the file name gives away this answer)</p><p>2. What is the IMSI for the SIM Card?</p><p>The Quick image folder had sqlite databases under Agent Data folder. I opened the file agent_sim via DB Browser for Sqlite. IMSI abbreviates to international mobile subscriber identity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5PbCFrSPgEgvvpkpJgVQ_g.png" /></figure><p>Answer: 311480460682294</p><p>3. What is the phone number for the device in the format 2125551212?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y62L9OMIiv-yzcISoErrDw.png" /></figure><p>Answer: 3153165956</p><p>4. Which Google search was made on the phone on Dec 4, 2018?</p><p>The files given for the challenge contained google takeout archive. In shot takeout is a service given by google where close to 47 different activities done using google can be taken out as an archive file.</p><p><a href="https://www.lifewire.com/what-is-google-takeout-4173795">Download All the Things! Google Makes It Easy to Grab Your Data and Go</a></p><p>So the my activity folder &gt; search &gt; myactivity.html lists the search done using google.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fp_nNXiYeDgthAm0qagYUw.png" /></figure><p>Answer: iguana potty training</p><p>5. What is mobile device owner’s username on Kik?</p><p>The takeout archive had a file under mail listed with .mbox extension. I proceeded to download mbox viewer using the following <a href="https://sourceforge.net/projects/mbox-viewer/">sourceforge link</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nNnrEvQVlGr3kDM1ygm90g.png" /></figure><p>Answer: selmabspring</p><p>6. What country was the mobile phone in on December 7th?</p><p>To get the above details i mounted the agent_mmssms sqlite file. The file had time written in epoch format. So i used the below sql query to get the time format fixed</p><p><strong>SQL Query</strong></p><p>SELECT *,datetime(date_sent/1000, ‘unixepoch’, ‘localtime’) as ‘date_sent’,datetime(date/1000, ‘unixepoch’, ‘localtime’) as ‘date’ from mmssms;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jr-DeofV2md8xCxFfoCPMA.png" /></figure><p>There were two field in epoch format. So i referenced the <a href="https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns">link</a> which details what those fields resemble:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r4aB81hfSQfdQLlviuLLmQ.png" /></figure><p>Answer: Australia</p><p>7. What is the file name of the largest picture taken with the phone camera?</p><p>Open DCIM &gt; Camera folder (sort by file size). The question asks you for picture. Do not copy the file name of video and submit as it would give you incorrect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*5WZ64nYuAIxbyFzAmeGTfw.png" /></figure><p>Answer:20181209_144014</p><p>8. What is the home email address for the user that is texted on Feb 13, 2019?</p><p>I proceeded to look at the MMSSMS sqlite db file where all the date that got listed were on 14th February. The timestamps are in UTC. So i proceeded to look at the Android device configuration from take out. The take out had the following data captured which listed the timezone of the user is in New York time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X85hZd7E0QsZQNNcbRlsOA.png" /></figure><p>So i converted the date from UTC to EST which gave the timestamp as 10:57 PM (pretty late to call someone for dinner unless you want to serve them leftovers :P)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FWHKN5pWxN7blMy-ggOlbw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*shXfQrfjO2LWC9p2ddywJg.png" /></figure><p>So now we have the contact number of the user who texted (504–344–9306).</p><p>After this i proceeded to mount the contacts db and checked the phone address associated with the above number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NqnkzpV8_6iSHzxn3Vl54g.png" /></figure><p>Answer: phoebe5042002@icloud.com</p><p>9. What email address sent the Mega invite?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nPKsR4pEvaEc_6JMd5IA6A.png" /></figure><p>Answer: wdoobner@putinsangels.com</p><p>10. Which imagery is part of the user’s kik avatar?</p><p>Quick image had a temp folder which had kiktmporiginalpicfile</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DpkS_BlTi9Wy_E8dpaE2tA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dh9yBTAawj5Bw8qIOOfjfQ.png" /></figure><p>Answer: Penguin</p><p>11. What state was the phone in on December 25th, 2018?</p><p>I tried looking inside the sms db for any clues that would leave the relevant details. but had no luck. Then i proceeded to open the camera folder under sdcard and look for EXIF info. There was a picture taken on 25th December with location co-ordinates tagged</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*roUBwq9bvLxsBbMr0JoR0w.png" /></figure><p>The open maps option on photos program from microsoft revealed the below details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EbFa6TE0L7iYPoY5g8TFwQ.png" /></figure><p>Answer: Florida</p><p>12. What theme park was the mobile device in on Dec 25, 2018?</p><p>A google search for exposition blvd + bumblebee mans taco truck shows the below location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*7H8AqiV_ETdzeaQbxV7edw.png" /></figure><p>Answer: Universal Studios</p><p>13. Which of the following apps was NOT downloaded from Google Play?</p><p>I navigated to the playstore folder under takeout archive and searched the library folder for this data. Unfortunately i could not find a detailed explanation or writeup for library.json or installs.json</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kd5NQzSFufrPRMw_MXgh4A.png" /></figure><p>Answer: Youtube</p><p>14. What time zone was the phone in on Dec 9th?</p><p>Please frame your answer in relationship to UTC in the format: UTC+0 or UTC-1 or UTC+1</p><p>From MMSSMS sqlite DB we found that the user was in Australia on 7th Dec 2018. But there were no direct evidence like exifinfo in pictures that could lead us via Location. so i navigated to Camera folder and filtered the time by December 9th 2018.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSzxPDyZ-e9XS0yYxb_Lcg.png" /></figure><p>Then i uploaded few of the images in images.google.com to search if any of the locations are well known. Many of the suggested hits were pointing to Sydney.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vLoqmXh7aQA26xCw58MvWw.png" /></figure><p>Time zone converter was used to get the offset difference on 9th December 2018.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Klzu5lQZUOtW428S-UJwiQ.png" /></figure><p>Answer: UTC+11</p><p>15. What is the last name of the user whose email is <a href="/service/mailto:pangolinsrock@outlook.com">pangolinsrock@outlook.com</a>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BkJOK1WwWvdr5z8bdeAWMQ.png" /></figure><p>Answer: Frazier</p><p>16. What account posted the video that the mobile device visited on 4 Dec 2018 at 06:23 am UTC?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c3HvdMvOZLlxrrrJzyBtCA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JRBBcr2-gV0ejiJgOMaahA.png" /></figure><p>Answer: DesertedReptile98</p><p>17. What country was the mobile device owner in when reading a document that was “IN MEMORY OF MOE”?</p><p>The search activity was sifted through and every link visited was opened. One of the links under search activity led to the following page which was opened on Dec 4, 2018, 1:25:05 AM EDT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XFCDngtvN2HuwiVXpJa9jQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*gGYr55soUXxOIiqEtBAJdw.png" /></figure><p>Filtering the mmssms data you can find the user received a welcome message on 2018–12–04 20:26:21. The time conversion of timezones does not exactly match the answer but that is the close one that you can find here.</p><p>Answer: New Zealand</p><p>Bitlocker Password: revealed once you solve the mobile activity puzzle section</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*by7WY_Wrv21CD-l4-6UXFw.png" /></figure><h3>Secret Project</h3><ol><li>What language was used to create the secret projects executable?</li></ol><p>To get this mount, extrasecretstuff.vhd file. Once mounted it will prompt you for the password. After this i opened ftkimager and mounted the bit locker as logical volume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Pm8BJusomKSJD7Ou2hamQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*4-Z_nSPthMgJ7AqbgBuP4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4L-hlvLM3VXjoccWkh_RAA.png" /><figcaption>Empty Folder :(</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LCpYEw9atn-Ds_lBPov8eQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*AcoyhfG92Fa3sUH0q-BkHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UG7nGYF5rNA_vBD96OqmYg.png" /></figure><p>Answer: Python</p><p>2. Which version of Python is used for the compiled binary? (format: N.N)</p><p>Answer: 2.7 (Refer above image)</p><p>3. Which tool was used to create the compiled executable?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*fwV-_3VfC8jfLcf9smFUjw.png" /></figure><p>I tried to use PEstudio and PEiD and pass the executable. But this gave the compiler as Visual studio C++. The question had only 2 incorrect tries left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*pEMlLX8lzThirAsJmFLlwQ.png" /></figure><p><a href="https://www.youtube.com/watch?v=r6BtA8p8kRU&amp;t=755s">https://www.youtube.com/watch?v=r6BtA8p8kRU&amp;t=755s</a></p><p>Refer the above video to understand how Python archive works. A very useful video by Hedgehogs channel which helps us to solve majority of this challenge.</p><p>So in short, the file starts with PYZ which is the magic number associated with Python archive and if use pass the executable via strings you will find Pyinstaller string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*BS1AKz6gNurQcm1o8p1BQg.png" /></figure><p>Answer: Pyinstaller</p><p>4. What is the Processor Architecture of the compiled binary?</p><p>Process hacker can get us this relevant data for this puzzle</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*JGBbJpEY5yyfPegKQLWLdg.png" /></figure><p>Answer: AMD64</p><p>5. What number does the at-5000 redial?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*WNsEcpAH3yZYYiev-q7Fmg.png" /></figure><p>Answer: 5558904</p><p>6. Who is associated with the number that gets redialed?</p><p>For this we need to go back to the python code that was used to compile this binary (at5000.exe)</p><p>If you google on how to get the python code from executable, you will find quite a lot of tools that can help you with this. Many of the discussions will lead you to pyinstxtractor.</p><p>Huge thanks to Karsten Hahn (<a href="http://twitter.com/struppigel">@struppigel</a>) for his wonderful walkthrough to decompile python binaries.</p><p>I followed the steps he mentioned in this <a href="https://www.youtube.com/watch?v=x8OtmBoCyw4&amp;t=144s">video </a>from his hedgehog channel on how to get the python code after extracting from pyinstxtractor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aoobnwNxCWmUGf8morkEwQ.png" /></figure><p>Once you open the folder, you will find a file named as at-5000.pyc_dis which will have the decompiled code of at-5000.exe</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9gE2Rc6W1REdEEVkaydksg.png" /></figure><p>Answer: NED FLANDERS</p><p>7. How much time (in seconds) does the AT-5000 wait between dialing numbers?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*ryl6uQgiPOEAhq_maQHECQ.png" /></figure><p>Answer: 0.01</p><p>8. What two libraries does at-5000 import?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q_4uMVhJevq1NPVBGbMPQg.png" /></figure><p>Answer: time random</p><p>9. What is the max number of calls the AT-5000 can make?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*evn2PLEZn31OQsaiTbHBSg.png" /></figure><p>Answer: 10000000</p><p>That completes the MUS2019 challenge which was partially played using Magnet Axiom and free tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*ntBP8zwDzL_ROIvjir1EvA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eF6wmJoAMSp7x6cuBTT4kA.png" /></figure><p>The challenge got over by April. The place doesnt really matter though as i took my sweet own time to get this done:)</p><p>Please leave your comments if there are any.</p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8da1ffd6024f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magnet User Summit CTF 2019- Walk through — Part 2]]></title>
            <link>https://medium.com/@jonybond/magnet-user-summit-ctf-2019-walk-through-part-2-7afab8303ef3?source=rss-7689f9e230ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/7afab8303ef3</guid>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[mus2019]]></category>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[dfir]]></category>
            <dc:creator><![CDATA[Johny Manuel]]></dc:creator>
            <pubDate>Sat, 20 Apr 2019 14:22:27 GMT</pubDate>
            <atom:updated>2019-04-20T14:25:47.441Z</atom:updated>
            <content:encoded><![CDATA[<h3><a href="https://medium.com/@jonybond/magnet-user-summit-ctf-2019-walk-through-part-1-d0823eb10cb3?source=your_stories_page---------------------------">Magnet User Summit CTF 2019- Walk through — Part </a>2</h3><p>It took me some time to work on the second section of MUS CTF 2019. Few mistakes were made because of copy paste and ended up spending hours to figure out and took longer routes for arriving at the right solution.</p><p>We also have a hard stop of 30 days because the license of Magnet Axiom expires after that.</p><p>Learned a lot of good ways to figure out the answers though!. Lets get started!</p><h3>Activity</h3><p>Q1. How many files were downloaded from the magnetic4nsics Sharepoint?</p><p>I switched over to Artifacts view in Magnet Axiom and clicked on web related tab. The tool had sorted the artifacts group based on their types (cookies,downloads and History). Based on the above types i was able to find two artifacts related to Download one in Chrome and another one in Edge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fpB4_oaJ_Us7lqyggQFI3A.png" /><figcaption>Chrome Download</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UmER8oYe9c-tO2XJwVILkA.png" /><figcaption>Edge Browser Download</figcaption></figure><p>Answer: 2</p><p>Q2. Whats the name of the archive that was retrieved from the sharepoint?</p><p>The above screenshot highlights the archive that was downloaded from magnetic4nsics.com and it was downloaded to D: Drive</p><p>Answer: OneDrive_1_3–18–2019.zip</p><p>Q3. On March 18th 2019 at 18:58:21 Selma saw a Windows popup notification. What type of notification was it?</p><p>My first go to stop was to filter out the windows event logs from Artifacts view and filter it by the time given above. I got two hits for the SID associated with Selma.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jhWogVaxYrJ2rSd3YHcb4w.png" /><figcaption>Axiom Event Log view</figcaption></figure><p>So i quickly jumped to conclusion that the answer is push notification. The answer that i entered was not accepted. So i exported the log out and opened it in native event viewer from windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yPFYtxEAw2XScJBOCjiMTw.png" /><figcaption>Push notification logs</figcaption></figure><p>Based on the above Screenshot i answered it as toast which was accepted by the CTF system.</p><p>Answer: Toast</p><p>Q4. Which was retrieved from the sharepoint first?</p><p>a. OneDrive_1_3–18–2019.zip</p><p>b. README</p><p>If you refer my screenshots for Q1, you will find the timestamps where readme file was downloaded was prior to the archive was contacted.</p><p>Answer: README</p><p>Q5. At 6:35PM on the 18th of March, Selma logged into her account on the Desktop. What method of did she use to access the Desktop?</p><p>a. Windows RDP</p><p>b. TeamViewer</p><p>c. VNC</p><p>I switched to security event logs from Axiom view and filtered out the logs for the specified time. I could only find Logon type 11 at the said time and not logon type 10 which would indicate it was Remote Desktop protocol. To double check i also viewed the Remote services Operational logs to verify and did not find any fruitful outcome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CcqxsSWm2Tybou2g4rPzNQ.png" /><figcaption>Windows Event Logs — 4624 @ 6:35 PM</figcaption></figure><p>I found logon type 7 and 5 which are related to Unlock and Service. So i ruled out RDP from the above List.</p><p>Then i proceeded to research on TeamViewer related artifacts where i found the following <a href="https://www.systoolsgroup.com/forensics/teamviewer/">link</a> from systoolgroup which helped me to answer this one.</p><p>The link highlighted that the primary artifacts are listed under the following folders:</p><p>C:\Program Files\Teamviewer &amp; C:\Users\[username]\Appdata\Roaming\Teamviewer\MRU\RemoteSupport</p><ul><li>Connections_incoming.txt</li><li>TeamViewerX_Logfile.log (X indicates the version of Team viewer)</li></ul><p>The file under User folder was not found in our case. I did not make the effort to mount VSS snapshots to check if the user folder had the required file.</p><p>I opened the connections_incoming.txt and found a logon timestamp within the mentioned time frame. Also the last written time under user hive of Selma Bouvier corresponds close to the above mentioned timestamps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RLMGkNpaYh0ZUmEjEleOHA.png" /><figcaption>connections_incoming.txt</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0WPMIlv1fwL_Bk1AYgH2JA.png" /><figcaption>Selma Bouvier — TeamViewer Registry Hive</figcaption></figure><p>I also tried to verify if there are any VNC software under HKLM\SOFTWARE\ but did not find any.</p><p>Answer: TeamViewer</p><p>Q6. What was the host name of the machine Selma used to remote into the Desktop at 6:35PM on the 18th of March?</p><p>If you look at the above Connections_incoming.txt screenshot you will find the answer as JHYDE-SP</p><p>Answer: JHYDE-SP</p><p>Q7. How many unique machines accessed the Desktop via TeamViewer?</p><p>a.6</p><p>b.2</p><p>c.4</p><p>d.3</p><p>The distinct number of desktop names which are captured under Connections_incoming.txt is the answer for the above challenge.</p><p>Answer: 3</p><p>Q8. What is the volume serial number of the volume the sharepoint archive was placed on (format: decimal number)?</p><p>I ended up working a lot on this challenge as i was copy pasting my output with space and took so many options and finally found the solution was right in front of me the whole time.</p><p>Alright Let me narrate how i did that, the question is about the volume name where OneDrive_1_3–18–2019.zip was placed. If you look at my screenshot it was placed in Drive D:</p><p>So i started to get all link files where the extension name was ending with .txt and used KAPE module options to parse the output. The recent folder under Selma Appdata had this artifact.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*6RLWgjfj_BRQZSdDyI75Mw.png" /><figcaption>Lnkfile Parsed using KAPE tool</figcaption></figure><p>Since the question specifically asks us to enter the format in Decimal number, I opened the default Windows Calculator in Programmer mode and copied the VSN in to HEX format. The decimal output gave me the required option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*RjaLxOR7-KbdzJ2cpPalAA.png" /><figcaption>Calculator</figcaption></figure><p>I copied the Decimal equivalent ‭2935122090‬ and entered in to the output box which was not accepted since i had a space in the front.</p><p>Other options that i tried….</p><p>I copied the Supersecretstuff.vhd under Selma’s Desktop and attached the VHD to disk management option. The volume was bitlocker protected. I then embarked my journey to look for any key that could indicate if bitlocker was cached somewhere. Then i found a paper which mentioned that bitlocker key could be retrieved from memory if present in hiberfil.sys which stores a copy of memory when you hibernate the machine. The acquired image did not have the required file.</p><p>The question also only had 2 tries to get to the right answer. So I created so many dummy Login accounts to increase my number of tries. Finally in one of the attempts i thought if was leaving some extra space between the answers. Voila!, there what a stupid mistake it was. But it gave me so many options to arrive at this problem.</p><p>Answer: 2935122090‬ (Dont leave any extra space in front :P)</p><p>Q9. Again, on the 18th of March at 18:08:57, another notification was given. What did this notification say?</p><p>I approached this question the same way i solved Q3, I filtered the push notification event window to 18:08:57 of March, 18th.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jjCC6crmn2Yq733FHSrQKg.png" /><figcaption>Windows Event Push notifications\</figcaption></figure><p>I tried pasting the above line which was not accepted by the challenge system. I tried to see if the tracking id 329 is logged somewhere which could give detailed output of what the actual notification was. I looked for detailed KB around 3052 — Event ID this did not give me any fruitful results.</p><p>I went on to ask the lords of google to show some relevant pages. I typed windows toast notifications artifacts and windows toast notifications forensics.</p><p>The top results were leading me to a linkedin Slide share results. It had an incredible amount of artifacts which are related to Windows 10. I also had a look at the Packt book for windows forensics cookbook which had a detailed explanation. The other list of pages that i encountered were from hecfblog and Yogesh khatri’s page. After going through all those pages i understood that the output of toast notifcations are stored under an sqlite Database.</p><p>An excerpt from the book Windows Forensics cookbook:</p><blockquote>Details of notifications are stored in the following location:</blockquote><blockquote>\Users\Username\AppData\Local\Microsoft\Windows\Notifications</blockquote><blockquote>The name of the database will differ depending on the build version of Windows 10 installed on the machine. From Anniversary onwards, they are stored in wpndatabase.db; before that, they can be found in appdb.dat</blockquote><p>I grabbed the file wpndatabase.db from Selma’s user folder and opened it using sqlite DB.</p><p>The file had an id where i filtered it to 329 based on the windows event log that i have mentioned above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vbW1UZYiXXBfi7RYkaQHZw.png" /><figcaption>SQLite DB output of wpndatabase.db</figcaption></figure><p>Answer: You are now syncing “OneDrive — Magnetic4nsics”</p><p>Q10. How many bytes total were sent out on the network via the Team Viewer Service?</p><p>While viewing the artifacts window under Magnet Axiom, i found an artifact names SRUM Network usage. The file was parsing the required data from SRUBD.dat. I filtered the output based on the application name teamviewer_Service.exe</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FZvsLX_vaRH7N-hY-4zRIA.png" /><figcaption>SRUM Network Usage Artifact</figcaption></figure><p>I exported the above results out as an excel sheet and summed up the bytes sent column.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q3JR_qHDJyx5Of2zMeht0A.png" /><figcaption>SRUM output</figcaption></figure><p>Answer: 95681804</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*atZ2oUit9PNt8p_2PNHWYQ.png" /><figcaption>Status — now</figcaption></figure><h3><strong>References</strong></h3><ol><li>TeamViewer Artifacts : <a href="https://www.systoolsgroup.com/forensics/teamviewer/">https://www.systoolsgroup.com/forensics/teamviewer/</a></li><li>Remote Desktop Apps: <a href="https://www.researchgate.net/publication/313796589_An_exploration_of_artefacts_of_remote_desktop_applications_on_Windows">https://www.researchgate.net/publication/313796589_An_exploration_of_artefacts_of_remote_desktop_applications_on_Windows</a></li><li>Yogesh Khatri’s Blog on Windows Notifications: <a href="https://www.swiftforensics.com/2016/06/prasing-windows-10-notification-database.html">https://www.swiftforensics.com/2016/06/prasing-windows-10-notification-database.html</a></li></ol><p>4. HECF Blog’s write up on Windows notifications: <a href="https://www.hecfblog.com/2018/08/daily-blog-440-windows-10-notifications.html">https://www.hecfblog.com/2018/08/daily-blog-440-windows-10-notifications.html</a></p><p>5. Brent Muir’s Slide on Windows 10 Forensics: <a href="https://www.slideshare.net/bsmuir/windows-10-forensics-os-evidentiary-artefacts">https://www.slideshare.net/bsmuir/windows-10-forensics-os-evidentiary-artefacts</a></p><p>6. Windows Forensics CookBook: <a href="https://subscription.packtpub.com/book/networking_and_servers/9781784390495/10/ch10lvl1sec63/parsing-windows-10-notifications">https://subscription.packtpub.com/book/networking_and_servers/9781784390495/10/ch10lvl1sec63/parsing-windows-10-notifications</a></p><p>Thanks for reading. Please add your comments/feedback if you have any. I will work on the remaining parts and try to upload them as soon as i can.</p><p>-Johny</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7afab8303ef3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magnet User Summit CTF 2019- Walk through — Part 1]]></title>
            <link>https://medium.com/@jonybond/magnet-user-summit-ctf-2019-walk-through-part-1-d0823eb10cb3?source=rss-7689f9e230ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0823eb10cb3</guid>
            <category><![CDATA[dfir]]></category>
            <category><![CDATA[axiom-magnet]]></category>
            <category><![CDATA[magnet-user-summit]]></category>
            <category><![CDATA[walkthrough]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Johny Manuel]]></dc:creator>
            <pubDate>Thu, 11 Apr 2019 11:23:54 GMT</pubDate>
            <atom:updated>2019-04-13T05:12:08.355Z</atom:updated>
            <content:encoded><![CDATA[<h3><a href="https://mus2019.ctfd.io/">Magnet User Summit CTF 2019</a>- Walk through — Part 1</h3><p>This is my take on the Magnet user Summit CTF which was recently opened for public with the images and a 30-day trial for Magnet Axiom.</p><p>I have never used Magnet Axiom ever, so bare with me if the options that i use is completely wrong or if i am going a long way to arrive at simple solutions. Feel free to add them as comments if you have a shorter version for the problem mentioned.</p><p>I would fall back to my sift workstation if i am not comfortable with options listed. Moreover there is a challenge section on mobile forensics which i have not worked on.</p><p>Lets get started!</p><p>The images are shared in Google drive and the following 3 images with acquisition summary is uploaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-ER5yq0YvTcj6mPichy9w.png" /><figcaption>MUS CTF Challenge — 2019</figcaption></figure><blockquote><strong>Section1: Basic — Desktop</strong></blockquote><p>Q1. What is the SHA1 Hash of the Desktop Image?</p><p>For this i opened the acquisition summary text file and got the SHA1 hash from it</p><p>Answer: a20c2f43a80ddcad35b958b701a6cdd4b67e535c</p><p>Q2. Who acquired the Desktop image?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*c6N4SlOhgPhpgBxzXTkZfQ.png" /><figcaption>Mpowers</figcaption></figure><p>Answer: M Powers</p><p>Q3: What is the Volume Serial Number of the Desktop’s OS volume?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*1YjoAmEA7Dkgh210zOXHFQ.png" /><figcaption>VSN</figcaption></figure><p>Answer: CCEE-841B</p><p>Q4. What is the timezone of the Desktop?</p><p>Since Axiom was processing the image to pre-populate and categorize the artifacts (40% was processed at the time of writing), I Proceeded to extract the ‘system’ file from C:\Windows\System32\Config folder using FTK Imager</p><p>I also wanted to use a Windows Registry tool that can run through the hives pointed instead of using regripper commandline tool. I navigated to Eric Zimmerman’s <a href="https://ericzimmerman.github.io/#!index.md">tool-chest</a> and downloaded Registry Explore/RECmd tool</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DnFyUU6JYYplQTRFs3ZdUA.png" /><figcaption>TImeZone information</figcaption></figure><p>Answer: Pacific Standard Time</p><p>Q5. Which user installed Team Viewer?</p><p>Based on the fact that Application event logs would track when MSInstaller is used, i Proceeded to check for Event ID 11707. This did not yield any results.</p><p>Then i proceeded to mount NTUser.dat (user Registry hives) which would contain this detail under NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Uninstall</p><p>Then i proceeded to look at the amcache.hve which would also hold the first time an application was run. So there i found the following hit from Magnet Axiom. They have a neat way of mounting the hives which saved me the time from copying the hive and choosing regripper plugin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cEQd9sBTuthCq-HQD3eRmQ.png" /><figcaption>amcache.hve</figcaption></figure><p>Based on the file location I chose to answer this as Administrator</p><p>Answer: Administrator</p><p>Q6. What was the timezone offset at the time of Imaging?</p><p>Answer: Active Time Bias / 60 = 420/60 = 7 (UTC-7)</p><p>Q7. At least how many times did the teamviewer_desktop.exe run?</p><p>The number of times an application executed can be tracked from the prefetch file. So from the Magnet Axiom i chose the prefetch artifact and found it was executed thrice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lRLcSCd7IQlLXRwVN4VIfg.png" /><figcaption>Artifact View</figcaption></figure><p>Answer: 3</p><p>Q8. When was the Windows OS installed?</p><p>This can be obtained by Parsing the HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CurrentVersion\InstallDate Key and convert the unix time 0x5b5c1af9 (1532762873) (Sat, 28 Jul 2018 07:27:53 GMT)</p><p>Artifact View OS Information also captures all basic details about the Operating System</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KT2Tgfnh5uB5JBmQYDKjbQ.png" /><figcaption>OS Info</figcaption></figure><p>Answer: Sat, 28 Jul 2018 07:27:53 GMT</p><p>Q9. What is the name of the file associated with MFT entry number 102698?</p><p>Switch to FileSystem View in Magnet Axiom and filter by MFT Record number</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ehEeH6h1o1zknkETWpJYOg.png" /><figcaption>MFT Entry number 102698</figcaption></figure><p>Answer: TeamViewer_Setup.exe</p><p>Q10. What is the MFT sequence number associated with the file “\Users\Administrator\Desktop\FTK_Imager_Lite_3.1.1\FTK Imager.exe”?</p><p>I tried to find this using the Magnet Axiom interface but i was not able to figure this out with the available options. I switched to SIFT workstation and used filename search on the mounted image. Using the mft entry I got he Sequence number from istat command as detailed below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iesaYAGap4lwRZabf4OdAw.png" /><figcaption>Sequence number of FTKImager.exe</figcaption></figure><p>Answer: 4</p><p>Q11. Which file name represents the USN record where the USN number is 546416480?</p><p>Lets get the $UsnJrnl:$J file using icat command and parse it using usn.py script for getting this data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0uwFQxZh1GMeGhDSykq0zg.png" /><figcaption>USN</figcaption></figure><p>Answer: TransportSecurity~RF134e6674.TMP</p><p>Q12. What is the IP address of the Desktop?</p><p>This is typically captured under SYSTEM hive, but Magnet axiom has a separate artifact under Operating System category which simplifies this for us</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EJzuBbOrJZ8zjCvWbHL5QQ.png" /><figcaption>IP Address</figcaption></figure><p>Answer: 64.44.141.76</p><p>Q13. Which User Shutdown Windows on February 25th 2019?</p><p>Lets read through the SYSTEM event logs which should give us this detail. Magnet Axiom has a easy way of sifting through event logs which has spared us some time. Event Logs 1074,6006 and 6008 can help us get our desired outcome</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ohs4lV75F3ayDVdHl2tog.png" /><figcaption>System Shutdown</figcaption></figure><p>Answer: Administrator (based on SID)</p><p>Q14. What is the SHA1 hash of the c:\users\selmabouvier\appdata\local\packages\microsoft.microsoftedge_8wekyb3d8bbwe\tempstate\downloads\megasyncsetup (1).exe file?</p><p>I initially searched for file presence in file system but looks like the file was deleted already. So i chose to look into the amcache.hve which also logs the sha1 hash of any application executed first and its first run time. Have a look at Yogesh Khatri’s writeup or Eric Zimmermans toolset on how the artifact breakdown is achieved.</p><p>I navigated to Magnet Axiom’s Registry view and chose other hives, the application name in question was listed there. That lead me to the Sha1 hash of the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0e5QvwFHHXEbqZ0HMkcFjw.png" /><figcaption>SHA1 Hash</figcaption></figure><p>Answer: 082129a2b431f36a194f2594e3987e31b22dc5ea</p><p>Q15: After looking at the TEAMVIEWER_DESKTOP.EXE prefetch file, which path was the executable in at the time of execution?</p><p>I tried with prefetch view in Axiom which did not give the desired data, so i downloaded PEcmd from Eric Zimmermans toolset and extract the .pf file which got me the desired output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u6Qx0UbwzGYeHkTrjE-xIg.png" /><figcaption>PECmd output</figcaption></figure><p>Answer: \VOLUME{01D4264BEE777579-CCEE841B}\PROGRAM FILES (X86)\TEAMVIEWER\TEAMVIEWER_DESKTOP.EXE</p><p>Q16. What is the file name that represented MFT entry 60725 with a sequence number of 10?</p><p>I have searched by the sequence number 10 and output for MFT Entry 10 from earlier output where i have parsed the USNJournal file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B4nLlOXcQNVKD_4RqPypWg.png" /><figcaption>USN.py output filtered</figcaption></figure><p>The other way is to use ANJP tool where i give $Logfile, $MFT and $UsnJrnl:$J file as output</p><p>I then navigate to filter tab and choose the below options as filters after referring the <a href="https://www.gettriforce.com/wp-content/uploads/2014/04/ANJP_V313-User_Guide.pdf">user guide</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RupU3nmZ2jdhIpPjOoqlkg.png" /><figcaption>ANJP Output</figcaption></figure><p>Answer: telemetry.P-ARIA-194626ba46434f9ab441dd7ebda2aa64–5f64bebb-ac28–4cc7-bd52–570c8fe077c9–7717.json.new</p><p>That completes the basic Desktop section. Please feel free to leave your feedbacks as comments if you have any.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drSt0Ma-ZZjogci5jJ4xeg.png" /><figcaption>MUS Part 1 Progress</figcaption></figure><p>Let me work on the remaining challenges and share my solution. Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0823eb10cb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DFIR Defcon Challenge — 2018 — My take — Part 1]]></title>
            <link>https://medium.com/@jonybond/dfir-defcon-challenge-2018-my-take-part-1-89276be04f4b?source=rss-7689f9e230ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/89276be04f4b</guid>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[defcon]]></category>
            <category><![CDATA[dfir-summit]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Johny Manuel]]></dc:creator>
            <pubDate>Thu, 04 Apr 2019 10:27:16 GMT</pubDate>
            <atom:updated>2019-04-07T09:58:16.577Z</atom:updated>
            <content:encoded><![CDATA[<h3>DFIR Defcon Challenge — 2018 — My take — Part 1</h3><p>I have been trying to write this for a while and finally thought I should give it a go before i forget how i did that. I scribble most of my day to day tasks/solutions in my notebook but often the words that i write at the time give a different meaning when i read at a later point.</p><p>Views that i express here are my own and does not in any way explain the quality or work that i do with my employer. Tools that i use are mostly open source (at times would embark into the free trial versions)and in no way intends to claim the work of the creator.</p><p>I have been listening to the forensic podcast (David Cowen’s Hacking Exposed blog)for a while, mostly during my drive from office to home(vice-versa) and have also been a fan of the experiments they do in Lunch test kitchen show. One such talk they gave in the podcast led me to this challenge and gave me an idea to try this out. Pretty late to the party though as the blog highlights that there would be a DFIR CTF challenge setup in magnetforensics summit this April ‘19.</p><p>There is a neat and complete solution explained by <a href="https://medium.com/u/1c4e78c13d5a">Mon</a> in this link below: <a href="https://medium.com/@monliclican/defcon-dfir-ctf-2018-lessons-learned-890ef781b96c">https://medium.com/@monliclican/defcon-dfir-ctf-2018-lessons-learned-890ef781b96c</a></p><p><strong>Link to challenge and CTF: </strong><a href="https://www.hecfblog.com/2018/08/daily-blog-451-defcon-dfir-ctf-2018.html">https://www.hecfblog.com/2018/08/daily-blog-451-defcon-dfir-ctf-2018.html</a></p><p>Ok Let’s get started. Let me share my current scoreboard before i complete them on my own (or take a peek out at others blog for answers :P)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/441/1*IELBj0MDY_VHFC2X2OYpaQ.png" /><figcaption><strong>My Progress so-far (</strong> zoom ratio was set at 25% to cover the entire challenge sheet<strong>)</strong></figcaption></figure><p>For the sake of demonstration i am registering a new account to start from the initial question given in challenge.</p><p><strong>HR Server Basic</strong></p><p>Q1. Which software was used to image the HR Server?</p><p>so if you extract image1 from the compressed file you will find the disk image was taken in .eo1 format and it also has an text document attached to it(which has the answer). I have a SIFT Workstation installed in VMWare Player and use the FTK Imager from windows desktop if the solution is pretty straight forward or if there is a windows freeware available to extract the data out.</p><p>I mount the image in FTK Imager and click on the properties which gives me XWF 19.6</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*kcE7ftlSCHg6rDo33ZJ9tg.png" /><figcaption>FTK Imager</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*KsMsGE9tNpjnWP8xwBVuaw.png" /><figcaption>HR Server Basic — Q1</figcaption></figure><p>Q2. Which version of the software was used to image the HR Server? [Format: n.n]</p><p>Answer: 19.6</p><p>Q3. What is the file name that represents MFT Entry 168043?</p><p>Lets mount the image in SIFT workstation and use the sleuthkit command line option which i find easier since i find command line tools fascinating than GUI versions</p><p>our SIFT toolset has many options to mount the disk image. ewfmount, imageMounter.py script, autopsy image load etc.</p><p><em>ewfmount diskimage mountdirectory (command line used)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*waZ8oaYHN3WSX2qUshJGzg.png" /><figcaption>ewfmount output</figcaption></figure><p>lets use fdisk -l or mmls command line option to identify the disk layer artifacts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*hd4XxT7Cs-N-g0tEtNNn6Q.png" /></figure><p>I tried the default mount option without specifying the offset which threw me few errors. Let me set the offset option where the ntfs filesystem is located to mount. this can be extracted by multiplying the start of sector address from mmls or fdisk with 512 bytes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ROECh0LQazP73FCxOfP52w.png" /><figcaption>552Image Mount screenshot</figcaption></figure><p>The below screenshot explains how to use the command line options at each layer. I assume the below image is outdated as i remember seeing this during my college days. (data layer commands have been renamed to blkstat) The question references MFT entry which falls under Meta data layer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*6WRkpDnPsD17mAwfyf_uVw.png" /></figure><p>Lets point the start of operating system address (in sectors, not in bytes) to the physical disk and use the mft entry (inode number) to get the desired output.</p><p>Another option is to use the ffind option from filename layer which can also do our searches based on inode number</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*JsyZ5S843xZUbaKABKkkIg.png" /><figcaption>istat &amp; ffind output</figcaption></figure><p>Q4. What is the MFT Entry number of the following file? \xampp\mysql\bin\mysql.exe</p><p>Lets use ifind command line option to get the mft entry number used by the above filepath. Got stuck since i was pasting the above input in my input command. Linux interprets the output in backward slash unlike windows. Make sure you enter the slack for above filepath under your -n argument</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cqZ0Ik2lzpLFrpTh8Tiz2Q.png" /><figcaption>ifind output for Q4</figcaption></figure><p>Q5. What is the MFT Attribute ID of the named $J data attribute for the MFT Entry with a file name of $UsnJrnl?</p><p>Sleuthkit can read the metadata address and for NTFS filesystem it is displayed as ADDR-TYPE-ID</p><p>ADDR is the metadata address, TYPE is the attribute type, and ID is the attribute id.</p><p>we can use fls -r option to recurse across directories to get our desired output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*FT_vdplbNqVeJNH1owpWPQ.png" /></figure><p>Answer: 3</p><p>Q6: At 2018–08–08 18:10:38.554 (UTC) what was the IP address of the the client that attempted to access SMB via an anonymous logon?</p><p>I proceeded to open the windows security.evtx log after mounting the image in FTKImager. I could only find 36 events there. No event got captured in the above time frame. Then i started looking at other logs that could capture this and found the event log named “Microsoft-Windows-SMBServer%4Security”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQrcHI1BdwtXcokB1m0yGA.png" /><figcaption>Event Viewer opened in IST format</figcaption></figure><p>Q7: What was the name of the batch file saved by mpowers?</p><p>[answer is fullpath starting with c:*****]</p><p>Extracted NTUSER.DAT from mpowers folder and parsed it to using regripper</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ejjcr44U1kqgRmXRuAUHQ.png" /></figure><p>Searched for .bat listed many hits in recent keys hive which led to this answer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ElKfsaqy49SongPeo1rWg.png" /><figcaption>rip.pl output for NTuser.dat hive</figcaption></figure><p>Answer: C:\Production\update_app.bat</p><p>Q9. What is the name of the hr management application that hosts a web server?</p><p>search for the keyword in users registry revealed xampp program being called out for running which is a famous web application hosting tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qtn0DONkqmMspRhoY8dECQ.png" /><figcaption>NTUSER keyword search for HR Management application</figcaption></figure><p>Answer: OrangeHRM</p><p>Q10. What was the public url for the HR system’s portal?</p><p>since the earlier clue gave an indication that xampp was being used for launching, let try to look at the access.log which would capture the urls accessed on that application</p><p>to locate the folder where the application was installed the fls query was used against the image for the keyword OrangeHRM</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XPjdJOob1CJKhg5fvfJq0A.png" /><figcaption>fls | grep OrangeHRM</figcaption></figure><p>istat on the mft address (128558) revealed the entry as a directory and Parent MFT entry number 59 revealed it is under Program Files folder.</p><p>Navigating into the apache access.log folder revealed the public ip used by the application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UT0-3M8AlmqwXn0pRCvPgQ.png" /><figcaption>access.log information</figcaption></figure><p>Answer: <a href="http://74.118.139.108/orangehrm-4.1/symfony/web/index.php/auth/login">http://74.118.139.108/orangehrm-4.1/symfony/web/index.php/auth/login</a></p><p>Q11. What is name of the file that had a change recorded with an update sequence number of 368701440?</p><p>using the output gathered from Question 5, extract the contents using icat commandline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*kcgECKKS38Z61tdzP9EMyQ.png" /><figcaption>icat command for extracting $J ADS from $Extend Journal</figcaption></figure><p>using usn.py with -v verbose option point the file extracted and get the corresponding hit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kx7TjS0TNWytwJwlMxqpWQ.png" /><figcaption>usn.py output</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ihg5p4_6_AbkQvGgTySpZg.png" /><figcaption>USN entry parsed with usn.py tool</figcaption></figure><p>Answer:</p><p>Q11. What is the name of the deleted file with a reference number of 12947848928752043?</p><p>search for the file reference number in the earlier output and look for the reason with delete in it or back refer the MFT entry in istat commandline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*oBLAnn8Dkw4UBWc08BxEzA.png" /><figcaption>FRN — File Reference Number</figcaption></figure><p>Answer: _MEI78882</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s4bsxcoZ1nsH6oe3cPVhNg.png" /><figcaption>HR Server — Basic Level completed</figcaption></figure><p><strong>HR Server — Advanced</strong></p><p>Q1. At 2018–07–30 22:31:33 UTC which user was logged in under, what was the logon type (integer), and the logon process name?</p><p>while answering HRServer — Basic Q6, we found that there are limited event logs and 1102 Audit clearance was issued and most of them are listed under operational event logs instead of their standard security.evtx log folder, I exported all event logs listed under winevt folder using FTKimager and copied it into a Folder called Logs to make sure that i am not missing any operational log folder that would have caught our desired output.</p><p>I used this powershell log parser listed under <a href="https://github.com/piesecurity/WindowsEventsToCSVTimeline">github</a> which can parse all event logs under a folder in a single shot and output the fields into a .csv file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RwoN-Bpsf6E2dJlTljWDjw.png" /><figcaption>Parse-LogsToTimeLine.ps1 Output</figcaption></figure><p>I opened “mytimeline.csv” and filtered the time created event to “2018–07–30 22h” so that i can see all events that happened around the said time.</p><p>I got the below output where key pieces of the question got answered</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sCuoTC5k-FiUnkh2KA0viA.png" /><figcaption>Parsed Event Logs — Filtered</figcaption></figure><p>So with all the available Logs that i found from terminal services folder, i formulated my answer as mpowers — 10 — Mstsc.exe — 74.118.138.195. Oops! the answer that i gave was wrong as my assumption was rdp client process would be mstsc.exe. I tried multiple entries and i could not clear this level.</p><p>Since the above answer hit a dead end, I proceeded to check if any volume shadow copies stored in this system which could contain an unaltered standard event logs copy before it was cleared (Event ID: 1102)</p><p>The vshadowinfo command was used to check when the volume shadow copy was created. It showed it was created on 07th Aug 18 which is earlier than our pivot point and it might have our desired outcome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*Q5sJi6eHt3vC5wQySVjcrg.png" /><figcaption>vshadowinfo with byte offset</figcaption></figure><p>The vshadowmount command was used to mount the volume shadow copy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*P_nZW1QnEyLIqkky4QHHwA.png" /><figcaption>vshadowmount command</figcaption></figure><p>I navigated to the mounted volume shadow location and then again ran my mount command as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GF_xoVfLA96QStICZV6W0Q.png" /></figure><p>First lets find the standard event Logs (application,Security,System) file size in volume shadow copy vs our file system mount location. The volume shadow copy’s file size was large compared to our audit log cleared event file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KjJkCEEAmBnTRz5a8dr5Sg.png" /><figcaption>file size comparison (Shadow copy vs acquired log folder copy)</figcaption></figure><p>I copied the security.evtx file from shadow copy and used <a href="https://eventlogxp.com/elexpostinstall.php?ver=4.8&amp;status=2">Event Log explorer tool</a> and filtered the event ID 4624 to view the below output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0H8SNH-t7JeCpt8ZpDZl0g.png" /><figcaption>Event Log Explorer Output</figcaption></figure><p>Answer: mpowers — 10 — User32–74.118.138.195 (make sure you leave some Space between the hyphens)</p><p>Q2. At 2018–07–27 02:42:43 (UTC), what is the name of the task that was started?</p><p>Based on the event logs that i have parsed using Parse-LogsToTimeLine.ps1 script, i have filtered my output to the above mentioned timeline. The Microsoft-Windows-TaskScheduler operational logs has a line item highlighting the task that was started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P0uoaXCOxIhzBXpZOs36Xw.png" /></figure><p>Answer: Throw Taco</p><p>Q3: Which IP address was accessing the OrangeHRM portal via Chrome 68.0.3440.84?</p><p>The best place to get this info is to look at the access.log in OrangeHRM folder and grep the results for Chrome 68.0.3440.84. Since the log adds a slash between the User agent and version make sure you include the relevant symbol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5RsZxqddaINMbR-T2sSyZw.png" /><figcaption>access.log filtered results</figcaption></figure><p>Answer: 74.118.139.108</p><p>Q4. What version of Apache was being used?</p><p>I navigated to the error.log folder and found an entry in the log lines as apache 2.4.26</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CiGJoV0nV_bq6FhiPpsESw.png" /><figcaption>Error.log</figcaption></figure><p>Answer: 2.4</p><p>Q5. What is the integer representation for the reason code given a USN V2 record where the record’s reason flags have the following:</p><p>USN_REASON_CLOSE | USN_REASON_DATA_EXTEND | USN_REASON_FILE_CREATE</p><p>I did a search on google for the official USN V2 record KB and it took me to this <a href="https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/d2a2b53e-bf78-4ef3-90c7-21b918fab304">link </a>where the hex values were documented as follows</p><p><em>USN_REASON_CLOSE — 0x80000000 — The file or directory is closed.<br>USN_REASON_FILE_CREATE — 0x00000100 — The file or directory is created for the first time<br>USN_REASON_DATA_EXTEND — 0x00000002 — The file or directory is extended (added to).</em></p><p>I switched to calculator and entered the Hex values as 0x80000102, combining all the above values into one. The decimal equivalent was the answer for this challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*XvhlQ-RCf8posu8isI1S2w.png" /><figcaption>Calculator output</figcaption></figure><p>Answer: 2147483906</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SHG351DZcuK_ExMNnFAmxg.png" /><figcaption>HR Server — Advanced Completed</figcaption></figure><h3>HR Server — Expert</h3><p>Q1. What was the top communicating IP address with the web server?</p><p>To answer this, we need some kind of parser that would format the output of access.log in a csv or excel. The log2timeline tool also has a module for web logs which can help us with this problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5lT4KzyumZOjVjQSJMprUw.png" /><figcaption>log2timeline command line output</figcaption></figure><p>The output was sent to a pivot table as shown below and conditional formatting was used to highlight the top 10 items.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qdZMSN6EWM_JFU7_wefHrA.png" /><figcaption>Apache2access log pivot table</figcaption></figure><p>Answer: 74.118.138.195</p><p>Q2. How many requests were made to the web server where the requested url contained a wget command within in?</p><p>The apache2access.csv output was filtered on the resource accessed or the complete log file with the keyword ‘wget’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GfG87FEA1Kf9S1wCuynD8g.png" /><figcaption>wget filtered</figcaption></figure><p>Answer: 101 (102–1 row for header)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*opb5CTqhvtLtTpKSVk9nPA.png" /><figcaption>HRServer — Expert Level Complete</figcaption></figure><p>Once this is done, the following level unlocks which has the password to the next image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xg2_C01giwt-Qxg9CAqkkA.png" /><figcaption>Password to the second image</figcaption></figure><p>Thanks for reading. I will write my walk through for the remaining images in the upcoming days!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89276be04f4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>