{"id":333,"date":"2019-01-17T06:35:07","date_gmt":"2019-01-17T06:35:07","guid":{"rendered":"https:\/\/mrjsec.co.uk\/blog\/?p=333"},"modified":"2019-01-17T06:35:14","modified_gmt":"2019-01-17T06:35:14","slug":"objective-8-network-traffic-forensics","status":"publish","type":"post","link":"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/","title":{"rendered":"<center>Objective 8: Network Traffic Forensics<\/center>"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">\ufeff\ufeffIn objective eight we need to find the name of the song described in the document sent from Holly Evergreen to Alabaster Snowball.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"534\" height=\"327\" data-attachment-id=\"334\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture1-10\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture1-9.png?fit=534%2C327&amp;ssl=1\" data-orig-size=\"534,327\" data-comments-opened=\"1\" data-image-title=\"Capture1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture1-9.png?fit=534%2C327&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture1-9.png?resize=534%2C327&#038;ssl=1\" alt=\"\" class=\"wp-image-334\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture1-9.png?w=534&amp;ssl=1 534w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture1-9.png?resize=300%2C184&amp;ssl=1 300w\" sizes=\"auto, (max-width: 534px) 100vw, 534px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">If we have completed Python Escape from LA Cranberry Pi terminal challenge by SugarPlum Mary, then we can get this hint.<br>\n&#8220;Yay, you did it! You escaped from the Python!<br>\nAs a token of my gratitude, I would like to share a rumour I had heard about Santa&#8217;s new web-based packet analyser &#8211; Packalyzer (https:\/\/packalyzer.kringlecastle.com\/).<br>\nAnother elf told me that Packalyzer was rushed and deployed with development code sitting in the web root.<br>\nHe found this out by looking at HTML comments left behind and was able to grab the server-side source code.<br>\nThere was suspicious-looking development code using environment variables to store SSL keys and open up directories.<br>\nThis elf then told me that manipulating values in the URL gave back weird and descriptive errors.<br>\nI&#8217;m hoping these errors can&#8217;t be used to compromise SSL on the website and steal logins.<br>\nOn an unrelated note, have you seen the HTTP2 talk at KringleCon by the Chrises? I never knew HTTP2 was so different!&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Also, two hints <a href=\"https:\/\/developers.google.com\/web\/fundamentals\/performance\/http2\/\">link1<\/a> and <a href=\"https:\/\/www.youtube.com\/watch?v=9E-8HkDs-kQ\">link2.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">So, let&#8217;s jump into this! Heading too https:\/\/packalyzer.kringlecastle.com\/ we can see this website.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"627\" data-attachment-id=\"335\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture2-10\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture2-8.png?fit=904%2C627&amp;ssl=1\" data-orig-size=\"904,627\" data-comments-opened=\"1\" data-image-title=\"Capture2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture2-8.png?fit=700%2C486&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture2-8.png?fit=700%2C486&amp;ssl=1\" alt=\"\" class=\"wp-image-335\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture2-8.png?w=904&amp;ssl=1 904w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture2-8.png?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture2-8.png?resize=768%2C533&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture2-8.png?resize=700%2C486&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">We have a login screen and a register link, let&#8217;s first register an account (before trying anything else, i.e. password spraying?)<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"952\" height=\"704\" data-attachment-id=\"336\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture3-10\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture3-9.png?fit=952%2C704&amp;ssl=1\" data-orig-size=\"952,704\" data-comments-opened=\"1\" data-image-title=\"Capture3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture3-9.png?fit=700%2C518&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture3-9.png?fit=700%2C518&amp;ssl=1\" alt=\"\" class=\"wp-image-336\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture3-9.png?w=952&amp;ssl=1 952w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture3-9.png?resize=300%2C222&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture3-9.png?resize=768%2C568&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture3-9.png?resize=700%2C518&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">So let&#8217;s try to login with the account created now, it worked! Now we can see this screen.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1819\" height=\"270\" data-attachment-id=\"337\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture4-10\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?fit=1819%2C270&amp;ssl=1\" data-orig-size=\"1819,270\" data-comments-opened=\"1\" data-image-title=\"Capture4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?fit=700%2C104&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?fit=700%2C104&amp;ssl=1\" alt=\"\" class=\"wp-image-337\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?w=1819&amp;ssl=1 1819w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?resize=300%2C45&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?resize=768%2C114&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?resize=700%2C104&amp;ssl=1 700w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture4-9.png?w=1400&amp;ssl=1 1400w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"416\" data-attachment-id=\"367\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture.png?fit=588%2C416&amp;ssl=1\" data-orig-size=\"588,416\" data-comments-opened=\"1\" data-image-title=\"Capture\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture.png?fit=588%2C416&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture.png?resize=588%2C416&#038;ssl=1\" alt=\"\" class=\"wp-image-367\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture.png?w=588&amp;ssl=1 588w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture.png?resize=300%2C212&amp;ssl=1 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Let&#8217;s try and sniff some traffic and see what we get?<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1777\" height=\"761\" data-attachment-id=\"338\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture5-8\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?fit=1777%2C761&amp;ssl=1\" data-orig-size=\"1777,761\" data-comments-opened=\"1\" data-image-title=\"Capture5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?fit=700%2C300&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?fit=700%2C300&amp;ssl=1\" alt=\"\" class=\"wp-image-338\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?w=1777&amp;ssl=1 1777w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?resize=300%2C128&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?resize=768%2C329&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?resize=700%2C300&amp;ssl=1 700w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture5-7.png?w=1400&amp;ssl=1 1400w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Well. I guess that has worked, and if we go to  &#8220;Captures&#8221; we even have a .pcap file, let&#8217;s open it in Wireshark and see what we get here.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1037\" height=\"234\" data-attachment-id=\"341\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture6-9\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?fit=1037%2C234&amp;ssl=1\" data-orig-size=\"1037,234\" data-comments-opened=\"1\" data-image-title=\"Capture6\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?fit=700%2C158&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?fit=700%2C158&amp;ssl=1\" alt=\"\" class=\"wp-image-341\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?w=1037&amp;ssl=1 1037w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?resize=300%2C68&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?resize=768%2C173&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?resize=700%2C158&amp;ssl=1 700w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture6-8.png?resize=1035%2C234&amp;ssl=1 1035w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">In Wireshark, this is what we can see here, so there are some encrypted captured packets. I bet there is an SSL key somewhere on the website to decrypt.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1105\" height=\"500\" data-attachment-id=\"342\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture7-8\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture7-7.png?fit=1105%2C500&amp;ssl=1\" data-orig-size=\"1105,500\" data-comments-opened=\"1\" data-image-title=\"Capture7\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture7-7.png?fit=700%2C317&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture7-7.png?fit=700%2C317&amp;ssl=1\" alt=\"\" class=\"wp-image-342\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture7-7.png?w=1105&amp;ssl=1 1105w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture7-7.png?resize=300%2C136&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture7-7.png?resize=768%2C348&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture7-7.png?resize=700%2C317&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Going back to Packalyzer let&#8217;s see what files we can find here, using view-source within firefox we can view the HTML of the page.<br>\nAlso, we can find this line of code.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1658\" height=\"830\" data-attachment-id=\"343\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture8-7\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?fit=1658%2C830&amp;ssl=1\" data-orig-size=\"1658,830\" data-comments-opened=\"1\" data-image-title=\"Capture8\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?fit=700%2C350&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?fit=700%2C350&amp;ssl=1\" alt=\"\" class=\"wp-image-343\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?w=1658&amp;ssl=1 1658w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?resize=300%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?resize=768%2C384&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?resize=700%2C350&amp;ssl=1 700w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture8-6.png?w=1400&amp;ssl=1 1400w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">\u2026. Now, need to find the app.js file!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Well, I guess they haven&#8217;t made it easy to find for us.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"61\" data-attachment-id=\"344\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture9-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture9-3.png?fit=553%2C61&amp;ssl=1\" data-orig-size=\"553,61\" data-comments-opened=\"1\" data-image-title=\"Capture9\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture9-3.png?fit=553%2C61&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture9-3.png?resize=553%2C61&#038;ssl=1\" alt=\"\" class=\"wp-image-344\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture9-3.png?w=553&amp;ssl=1 553w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture9-3.png?resize=300%2C33&amp;ssl=1 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">let&#8217;s, do some more digging within the HTML page, and we can see this line of code.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"123\" data-attachment-id=\"345\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture10-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture10-3.png?fit=842%2C123&amp;ssl=1\" data-orig-size=\"842,123\" data-comments-opened=\"1\" data-image-title=\"Capture10\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture10-3.png?fit=700%2C102&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture10-3.png?fit=700%2C102&amp;ssl=1\" alt=\"\" class=\"wp-image-345\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture10-3.png?w=842&amp;ssl=1 842w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture10-3.png?resize=300%2C44&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture10-3.png?resize=768%2C112&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture10-3.png?resize=700%2C102&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">So they keep all .js files in \/pub\/, which means.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"613\" height=\"159\" data-attachment-id=\"346\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture11-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture11-2.png?fit=613%2C159&amp;ssl=1\" data-orig-size=\"613,159\" data-comments-opened=\"1\" data-image-title=\"Capture11\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture11-2.png?fit=613%2C159&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture11-2.png?resize=613%2C159&#038;ssl=1\" alt=\"\" class=\"wp-image-346\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture11-2.png?w=613&amp;ssl=1 613w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture11-2.png?resize=300%2C78&amp;ssl=1 300w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Ummm, nope. Hang on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Ah, here we go!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"863\" height=\"575\" data-attachment-id=\"347\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture12-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture12-2.png?fit=863%2C575&amp;ssl=1\" data-orig-size=\"863,575\" data-comments-opened=\"1\" data-image-title=\"Capture12\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture12-2.png?fit=700%2C466&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture12-2.png?fit=700%2C466&amp;ssl=1\" alt=\"\" class=\"wp-image-347\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture12-2.png?w=863&amp;ssl=1 863w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture12-2.png?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture12-2.png?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture12-2.png?resize=700%2C466&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">So the app.js is here (https:\/\/packalyzer.kringlecastle.com:80\/pub\/app.js)<br>\nAnd we can see this line of text &#8220;const key_log_path = ( !dev_mode || __dirname + process.env.DEV + process.env.SSLKEYLOGFILE )&#8221; That&#8217;s what we need a key to decrypt the encypted captured packets!<br>\nHowever, where is the key kept?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Scrolling down within the app.js file source code, we can see this line of code.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"534\" height=\"504\" data-attachment-id=\"348\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture13-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture13-2.png?fit=534%2C504&amp;ssl=1\" data-orig-size=\"534,504\" data-comments-opened=\"1\" data-image-title=\"Capture13\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture13-2.png?fit=534%2C504&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture13-2.png?resize=534%2C504&#038;ssl=1\" alt=\"\" class=\"wp-image-348\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture13-2.png?w=534&amp;ssl=1 534w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture13-2.png?resize=300%2C283&amp;ssl=1 300w\" sizes=\"auto, (max-width: 534px) 100vw, 534px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">load_envs ()<br>\ncreates each process.env as a subdirectory within this websites root folder!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">So, this means for us we should be able to access this folder &#8220;DEV&#8221; at (https:\/\/packalyzer.kringlecastle.com\/DEV\/) <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"67\" data-attachment-id=\"349\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture14-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture14-2.png?fit=472%2C67&amp;ssl=1\" data-orig-size=\"472,67\" data-comments-opened=\"1\" data-image-title=\"Capture14\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture14-2.png?fit=472%2C67&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture14-2.png?resize=472%2C67&#038;ssl=1\" alt=\"\" class=\"wp-image-349\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture14-2.png?w=472&amp;ssl=1 472w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture14-2.png?resize=300%2C43&amp;ssl=1 300w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Cool! But we stil don&#8217;t have that damm Key! Grrr, But do you remember eariler in this line &#8220;const key_log_path = ( !dev_mode || __dirname + process.env.DEV + process.env.SSLKEYLOGFILE )&#8221;<br>\nLet&#8217;s try and goto (https:\/\/packalyzer.kringlecastle.com\/SSLKEYLOGFILE\/) and see what we get now?<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"67\" data-attachment-id=\"350\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture15-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture15-2.png?fit=742%2C67&amp;ssl=1\" data-orig-size=\"742,67\" data-comments-opened=\"1\" data-image-title=\"Capture15\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture15-2.png?fit=700%2C63&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture15-2.png?fit=700%2C63&amp;ssl=1\" alt=\"\" class=\"wp-image-350\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture15-2.png?w=742&amp;ssl=1 742w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture15-2.png?resize=300%2C27&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture15-2.png?resize=700%2C63&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Sweet! Now we know the name of the Key which we can find in \/DEV\/ so going too (https:\/\/packalyzer.kringlecastle.com\/DEV\/packalyzer_clientrandom_ssl.log) We can see our SSL key! Wooop!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"123\" data-attachment-id=\"351\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture16-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture16-1.png?fit=701%2C123&amp;ssl=1\" data-orig-size=\"701,123\" data-comments-opened=\"1\" data-image-title=\"Capture16\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture16-1.png?fit=700%2C123&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture16-1.png?fit=700%2C123&amp;ssl=1\" alt=\"\" class=\"wp-image-351\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture16-1.png?w=701&amp;ssl=1 701w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture16-1.png?resize=300%2C53&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture16-1.png?resize=700%2C123&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Now let&#8217;s copy all of this (yes, all of this!) save it as key.txt<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"518\" height=\"353\" data-attachment-id=\"352\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture17-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture17-1.png?fit=518%2C353&amp;ssl=1\" data-orig-size=\"518,353\" data-comments-opened=\"1\" data-image-title=\"Capture17\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture17-1.png?fit=518%2C353&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture17-1.png?resize=518%2C353&#038;ssl=1\" alt=\"\" class=\"wp-image-352\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture17-1.png?w=518&amp;ssl=1 518w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture17-1.png?resize=300%2C204&amp;ssl=1 300w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Next, let&#8217;s go back into Wireshark and load in that key.txt (Note, if you have closed Wireshark or no longer have the .pcap file, do another sniff in packalyzer)<br>\nTo add the key.txt within Wireshark (first load the .pcap file) and then go to Edit &#8211; Preferences &#8211; Protocols &#8211; SSL and load the key.txt<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"471\" data-attachment-id=\"353\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture18-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture18-1.png?fit=734%2C471&amp;ssl=1\" data-orig-size=\"734,471\" data-comments-opened=\"1\" data-image-title=\"Capture18\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture18-1.png?fit=700%2C449&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture18-1.png?fit=700%2C449&amp;ssl=1\" alt=\"\" class=\"wp-image-353\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture18-1.png?w=734&amp;ssl=1 734w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture18-1.png?resize=300%2C193&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture18-1.png?resize=700%2C449&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Using the set Key, we have told Wireshark to use; the encrypted captured packets decrypt for us to view, using the filter &#8220;http2.data.data&#8221; we find what encrypted in a better view.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"237\" height=\"75\" data-attachment-id=\"354\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture19-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture19-1.png?fit=237%2C75&amp;ssl=1\" data-orig-size=\"237,75\" data-comments-opened=\"1\" data-image-title=\"Capture19\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture19-1.png?fit=237%2C75&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture19-1.png?resize=237%2C75&#038;ssl=1\" alt=\"\" class=\"wp-image-354\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Interesting. Now we can decrypt the encrypted packets were able to see login&#8217;s that were made to packalyzer, earlier in this guide you could see we were not admin, I wonder if one of the users here is an admin?<br>\nWe can see the name &#8220;alabaster&#8221;, and as we know Alabaster is Santa&#8217;s right-hand ma\u2026 Elf. So let&#8217;s try his login? (Sorry Alabaster!) &#8220;alabaster:Packer-p@re-turntable192&#8221;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"911\" height=\"739\" data-attachment-id=\"355\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture20-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture20-1.png?fit=911%2C739&amp;ssl=1\" data-orig-size=\"911,739\" data-comments-opened=\"1\" data-image-title=\"Capture20\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture20-1.png?fit=700%2C568&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture20-1.png?fit=700%2C568&amp;ssl=1\" alt=\"\" class=\"wp-image-355\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture20-1.png?w=911&amp;ssl=1 911w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture20-1.png?resize=300%2C243&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture20-1.png?resize=768%2C623&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture20-1.png?resize=700%2C568&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Moreover, we&#8217;re now an admin! (Sorry again Alabaster!) <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"472\" data-attachment-id=\"356\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture21\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture21.png?fit=1024%2C472&amp;ssl=1\" data-orig-size=\"1024,472\" data-comments-opened=\"1\" data-image-title=\"Capture21\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture21.png?fit=700%2C323&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture21.png?fit=700%2C323&amp;ssl=1\" alt=\"\" class=\"wp-image-356\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture21.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture21.png?resize=300%2C138&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture21.png?resize=768%2C354&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture21.png?resize=700%2C323&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Also, if we look at the Captures tab, we can see one has already done, I wonder what super secret is here?<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"129\" data-attachment-id=\"357\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture22\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture22.png?fit=956%2C129&amp;ssl=1\" data-orig-size=\"956,129\" data-comments-opened=\"1\" data-image-title=\"Capture22\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture22.png?fit=700%2C94&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture22.png?fit=700%2C94&amp;ssl=1\" alt=\"\" class=\"wp-image-357\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture22.png?w=956&amp;ssl=1 956w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture22.png?resize=300%2C40&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture22.png?resize=768%2C104&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture22.png?resize=700%2C94&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Opening the file &#8220;super_secret_packet_capture.pcap&#8221; we can see it&#8217;s SMTP traffic, in Wireshark let&#8217;s select one and &#8220;Follow &#8211; TCP Stream&#8221;, and it seems we have an email, could this be the code to unlock the piano door?<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1180\" height=\"845\" data-attachment-id=\"358\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture23\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture23.png?fit=1180%2C845&amp;ssl=1\" data-orig-size=\"1180,845\" data-comments-opened=\"1\" data-image-title=\"Capture23\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture23.png?fit=700%2C501&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture23.png?fit=700%2C501&amp;ssl=1\" alt=\"\" class=\"wp-image-358\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture23.png?w=1180&amp;ssl=1 1180w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture23.png?resize=300%2C215&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture23.png?resize=768%2C550&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture23.png?resize=700%2C501&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">There is also an attachment within this email, let&#8217;s copy the whole BASE64 told from start to end.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"675\" height=\"812\" data-attachment-id=\"359\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture24\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture24.png?fit=675%2C812&amp;ssl=1\" data-orig-size=\"675,812\" data-comments-opened=\"1\" data-image-title=\"Capture24\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture24.png?fit=675%2C812&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture24.png?resize=675%2C812&#038;ssl=1\" alt=\"\" class=\"wp-image-359\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture24.png?w=675&amp;ssl=1 675w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture24.png?resize=249%2C300&amp;ssl=1 249w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">So let&#8217;s save it to a file, we don&#8217;t know what sort of data this is it could be an mp3, pdf, doc, txt? So we save it without any extension.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"370\" data-attachment-id=\"360\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture25\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture25.png?fit=711%2C370&amp;ssl=1\" data-orig-size=\"711,370\" data-comments-opened=\"1\" data-image-title=\"Capture25\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture25.png?fit=700%2C364&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture25.png?fit=700%2C364&amp;ssl=1\" alt=\"\" class=\"wp-image-360\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture25.png?w=711&amp;ssl=1 711w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture25.png?resize=300%2C156&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture25.png?resize=700%2C364&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Moreover, we can use Linux&#8217;s built-in BASE64 command line to decode the file (https:\/\/linux.die.net\/man\/1\/base64)<br>\nCommand: &#8220;base64 -d file &gt; newfile&#8221; we can use the &#8220;file&#8221; to see what sort of file it is.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"335\" height=\"201\" data-attachment-id=\"362\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture26\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture26.png?fit=335%2C201&amp;ssl=1\" data-orig-size=\"335,201\" data-comments-opened=\"1\" data-image-title=\"Capture26\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture26.png?fit=335%2C201&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture26.png?resize=335%2C201&#038;ssl=1\" alt=\"\" class=\"wp-image-362\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture26.png?w=335&amp;ssl=1 335w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture26.png?resize=300%2C180&amp;ssl=1 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">So it&#8217;s a PDF <a href=\"https:\/\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/newfile.pdf\">file<\/a>!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"712\" data-attachment-id=\"364\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture27\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture27.png?fit=831%2C712&amp;ssl=1\" data-orig-size=\"831,712\" data-comments-opened=\"1\" data-image-title=\"Capture27\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture27.png?fit=700%2C600&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture27.png?fit=700%2C600&amp;ssl=1\" alt=\"\" class=\"wp-image-364\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture27.png?w=831&amp;ssl=1 831w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture27.png?resize=300%2C257&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture27.png?resize=768%2C658&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture27.png?resize=700%2C600&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Moreover, within the PDF file, we can find the following text &#8220;We\u2019ve just taken Mary Had a Little Lamb from Bb to A!&#8221; So our answer is &#8220;Mary Had a Little Lamb.&#8221;<br>\n<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"349\" data-attachment-id=\"365\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture28\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture28.png?fit=806%2C349&amp;ssl=1\" data-orig-size=\"806,349\" data-comments-opened=\"1\" data-image-title=\"Capture28\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture28.png?fit=700%2C303&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture28.png?fit=700%2C303&amp;ssl=1\" alt=\"\" class=\"wp-image-365\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture28.png?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture28.png?resize=300%2C130&amp;ssl=1 300w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture28.png?resize=768%2C333&amp;ssl=1 768w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture28.png?resize=700%2C303&amp;ssl=1 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"278\" data-attachment-id=\"366\" data-permalink=\"https:\/\/mrjsec.co.uk\/blog\/objective-8-network-traffic-forensics\/capture29\/\" data-orig-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture29.png?fit=535%2C278&amp;ssl=1\" data-orig-size=\"535,278\" data-comments-opened=\"1\" data-image-title=\"Capture29\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture29.png?fit=535%2C278&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture29.png?resize=535%2C278&#038;ssl=1\" alt=\"\" class=\"wp-image-366\" srcset=\"https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture29.png?w=535&amp;ssl=1 535w, https:\/\/i0.wp.com\/mrjsec.co.uk\/blog\/wp-content\/uploads\/2019\/01\/Capture29.png?resize=300%2C156&amp;ssl=1 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">Could this be the door code to the piano lock?. Find out Soon.<br>\n(Spoiler: It&#8217;s not) <\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:center\">References:<br>\nhttps:\/\/linux.die.net\/man\/1\/base64<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ufeff\ufeffIn objective eight we need to find the name of the song described in the document sent from Holly Evergreen to Alabaster Snowball. If we have completed Python Escape from LA Cranberry Pi terminal challenge&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[10],"tags":[13,14,12],"class_list":["post-333","post","type-post","status-publish","format-standard","hentry","category-kringlecon-2018","tag-13","tag-ctf","tag-kringlecon"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paD3U6-5n","_links":{"self":[{"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/posts\/333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=333"}],"version-history":[{"count":2,"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions"}],"predecessor-version":[{"id":368,"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions\/368"}],"wp:attachment":[{"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mrjsec.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}