<?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 Cristian Mihai on Medium]]></title>
        <description><![CDATA[Stories by Cristian Mihai on Medium]]></description>
        <link>https://medium.com/@cristian.mihai.cristescu?source=rss-ee02853f2807------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Ft9X4hj7V18lzVDy</url>
            <title>Stories by Cristian Mihai on Medium</title>
            <link>https://medium.com/@cristian.mihai.cristescu?source=rss-ee02853f2807------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 07:27:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cristian.mihai.cristescu/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[[Blue Team Labs Online Write-up] — Phishy]]></title>
            <link>https://medium.com/@cristian.mihai.cristescu/blue-team-labs-online-write-up-phishy-d103383a1bf4?source=rss-ee02853f2807------2</link>
            <guid isPermaLink="false">https://medium.com/p/d103383a1bf4</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[interesting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Cristian Mihai]]></dc:creator>
            <pubDate>Wed, 04 Dec 2024 20:37:14 GMT</pubDate>
            <atom:updated>2024-12-04T20:37:14.569Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>[Blue Team Labs Online Write-up] — Phishy</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZX9fQOcvtfiTuI1b6hQDhA.png" /></figure><p><em>Scenario: You have been sent a phishing link — It is your task to investigate this website and find out everything you can about the site, the actor responsible, and perform threat intelligence work on the operator(s) of the phishing site.</em></p><p><em>1) The HTML page used on securedocument.net is a decoy. Where was this webpage mirrored from, and what tool was used? (Use the first part of the tool name only) (4 points)</em></p><p><em>Once we hit “Start Investigation” button from Blue Team Labs, the below page will be shown:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*eIGCjCrT-rl87W91WxUrhA.png" /></figure><p><em>Reading “PHISHY v1 READ ME.txt” file, we found out the phish link:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*Y2lAcVoXKzMCLZvsN5m-6w.png" /></figure><p><em>Enter that link in a web browser, we will see the below page which looks to be an Office365 login to access an Excel file.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E4dhH7o2RadLHkdgCXqTtg.png" /></figure><p><em>The question itself offers a clue: securedocument[.]net, the root domain. Let’s investigate this domain to see what we can discover.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*EH_ouEx3Fjl74QNIIgFyqw.png" /></figure><p><em>That’s something interesting when we go to the root domain: that cgi-sys in the URL</em></p><p><em>Checking the source code, we can see the below information, which is actually what we are looking for:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*QCnmj2yLkJxZBzmBnzQcMg.png" /></figure><blockquote><strong>Q1 Answer</strong><em>: 61.221.12.26/cgi-sys/defaultwebpage.cgi, HTTrack</em></blockquote><p><em>2) What is the full URL of the background image which is on the phishing landing page? (3 points)</em></p><p><em>Looking on the below page’s source code, we can see some links related to img, but if we open them we will see that none of them will open us the background page. All of them are related to the Office 365 form (see the third image)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*J1JKtbtRBLoG2c0w1EKXFg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*BckiY1UtLbzec3FG_HM23Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kp5yxkjZ2dTbzJaHaZdnxQ.png" /></figure><p><em>It is very interesting that this is an image since we did not expect of this. Maybe this is trying to avoid detection of this website being flagged as potential malicious.</em></p><p><em>Now, we can try to look at the style.css which is present in the above source code and voila, we found out the background URL.</em></p><p><em>Copy that string from single quote and insert in the URL, replacing style.css with that string</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*feFlo2EG4IblAxpbQBpMIQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*BZ-R90YmpN4FshRoQhRwTw.png" /></figure><blockquote><strong><em>Q2 Answer:</em></strong><em> </em><a href="http://securedocument.net/secure/L0GIN/protected/login/portal/axCBhIt.png"><em>http://Securedocument.net/secure/L0GIN/protected/login/portal/axCBhIt.png</em></a></blockquote><p><em>3) What is the name of the php page which will process the stolen credentials? (3 points)</em></p><p><em>The source code reveals a jeff.php file associated with the input form. This likely handles the stolen credentials. To verify this, we can inspect the form, switch to the Network tab, input some data, and click ‘Download’. This should trigger a network request to the jeff.php file</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCy84hy8w8Gf5MjJrDn6wQ.png" /></figure><p><em>The following output reveals something interesting: “office.com,” which is actually a legitimate Microsoft website. It appears that jeff.png is making a request to this domain</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*8EI67gJ0CBkHqgcIazFW1Q.png" /></figure><p><em>We can also inspect the code source of jeff.php to understand better how that script works</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*UO4xbfFTc3OYC2_iKAWT9Q.png" /></figure><blockquote><strong>Q3 Answer</strong><em>: jeff.php</em></blockquote><p><em>4) What is the SHA256 of the phishing kit in ZIP format? (Provide the last 6 characters) (3 points)</em></p><p><em>Checking the structure of the website and going back step by step, we found out the zip kit that we are looking for:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*UmJWijASwUA0vrzWcFf64g.png" /></figure><p><em>Download it and from terminal run the below command:</em></p><pre>sha256sum &lt;kit_file&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*6-m9kUX-yoOtYIjHT3j-nA.png" /></figure><blockquote>Q4 Answer<em>: fa5b48</em></blockquote><p><em>5) What email address is setup to receive the phishing credential logs?(3 points)</em></p><p><em>Inspecting jeff.php we can see the recipient variable that contain the address mail that we need</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*RfSyQbPOzQ-tebRuJDmIrQ.png" /></figure><blockquote>Q5 Answer<em>: </em><a href="/service/mailto:boris.smets@tfl-uk.co"><em>boris.smets@tfl-uk.co</em></a></blockquote><p><em>6) What is the function called to produce the PHP variable which appears in the index1.html URL?(3 points)</em></p><p><em>Adding the value to that URL in an epoch format</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*_M_W3jmfbG47rKnG2Nypxg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QQmTQOf97JJzJ2s173INqg.png" /></figure><p><em>We can copy that number and check it using the following URL</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*rDXvBY5sGLXvpGG2Y8JfWg.png" /></figure><blockquote>Q6 Answer<em>: Data().getTime()</em></blockquote><p><em>7) What is the domain of the website which should appear once credentials are entered? (3 points)</em></p><p><em>This information can be retrieved from Question 3 investigation — Network tab</em></p><blockquote>Q7 Answer<em>: </em><a href="http://office.com/"><em>office.com</em></a></blockquote><p><em>8) There is an error in this phishing kit. What variable name is wrong causing the phishing site to break? (Enter any of 4 potential answers) (3 points)</em></p><p><em>If we enter some random credentials in the form, it doesn’t redirect us to office.com. Instead, the page crashes and displays an error message on the screen</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*WWzYv5oN3NbiVDjqTxb3SQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*QgSaxuXejXNz_-sloRzb1g.png" /></figure><p><em>By analyzing the text and jeff.php, we can infer that ‘user1’ is a potential answer. The form uses different variable names than the script that processes the credentials. This mismatch likely prevents the script from handling the submitted information</em></p><blockquote>Q8 Answer<em>: user1</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d103383a1bf4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>