<?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 Omar Gaber on Medium]]></title>
        <description><![CDATA[Stories by Omar Gaber on Medium]]></description>
        <link>https://medium.com/@Classical0ne?source=rss-e778a776f77b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c8Dx2b29DOZABowg2Aw79w.jpeg</url>
            <title>Stories by Omar Gaber on Medium</title>
            <link>https://medium.com/@Classical0ne?source=rss-e778a776f77b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:31:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Classical0ne/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[ItsyBitsy]]></title>
            <link>https://medium.com/@Classical0ne/itsybitsy-4a840f42e55b?source=rss-e778a776f77b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a840f42e55b</guid>
            <category><![CDATA[itsy-bitsy]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[Omar Gaber]]></dc:creator>
            <pubDate>Sat, 26 Sep 2026 12:26:04 GMT</pubDate>
            <atom:updated>2026-09-26T12:26:04.226Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>This is a writeup for <strong>ItsyBitsy</strong> challenge on TryHackMe and the methods I followed to solve it.</p><p>It is a challenge that uses ELK to investigate a C2 connection.</p><p>Challenge link: <a href="https://tryhackme.com/room/itsybitsy">https://tryhackme.com/room/itsybitsy</a></p><h3>Writeup</h3><h3>Scenario:</h3><p>During normal SOC monitoring, Analyst <strong>John</strong> observed an alert on an IDS solution indicating a potential C2 communication from a user <strong>Browne</strong> from the HR department. A suspicious file was accessed containing a malicious pattern THM:{ ________ }. A week-long HTTP connection logs have been pulled to investigate. Due to limited resources, only the connection logs could be pulled out and are ingested into the connection_logs index in Kibana.</p><h3>Question 1 : How many events were returned for the month of March 2022?</h3><p>We start the machine and add the date in question one to start the analysis and answer the question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ftK3EN2h95KZCQIb4o9xjA.png" /></figure><p><strong>Answer: 1482</strong></p><p>Before diving into the rest of the questions I start analyzing every thing by myself and then I find something interesting.</p><p>Its a weird user agent : bitsadmin</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*H5ZrRvrVKFdbOWIkeiC5xw.png" /></figure><p>we take note of it because the victim is from the HR department he cant use <strong>bitsadmin.exe</strong></p><p><strong>Side Note:</strong> bitsadmin.exe is a command-line tool built into Microsoft Windows used to create, manage, and monitor file upload and download jobs via the <strong>Background Intelligent Transfer Service (BITS)</strong>.</p><p>which means he doesn’t have any reason to use it.</p><p>Now we use it as a filter and adding some columns to the table we get this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Ua6D1zow82k3udwtYCgkg.png" /></figure><p><strong>We will use this screen to answer the remaining questions.</strong></p><p><strong>Back to the questions:</strong></p><h3>Question 2 : What is the IP associated with the suspected user in the logs?</h3><p>Using <strong>Source_ip</strong> From the screen</p><p><strong>Answer: 192.166.65.54</strong></p><h3>Question 3 : The user’s machine used a legit windows binary to download a file from the C2 server. What is the name of the binary?</h3><p>We find it in the <strong>user_agent</strong></p><p><strong>Answer: bitsadmin</strong></p><h3>Question 4 : The infected machine connected with a famous filesharing site in this period, which also acts as a C2 server used by the malware authors to communicate. What is the name of the filesharing site?</h3><p>Under <strong>host</strong> we find it</p><p><strong>Answer: </strong><a href="http://pastebin.com/"><strong>pastebin.com</strong></a></p><h3>Question 5 : What is the full URL of the C2 to which the infected host is connected?</h3><p>We combine the <strong>uri</strong> with <strong>host</strong> to get it</p><p><strong>Answer: </strong><a href="http://pastebin.com/yTg0Ah6a"><strong>pastebin.com/yTg0Ah6a</strong></a></p><h3>Question 6 : A file was accessed on the filesharing site. What is the name of the file accessed?</h3><p>We now visit the website to find the name and the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbCQd5r7BvW1DsyxRSoRgA.png" /></figure><p><strong>Answer : secret.txt</strong></p><h3>last question : The file contains a secret code with the format THM{_____}.</h3><p><strong>Answer : THM{SECRET__CODE}</strong></p><h3>Conclusion</h3><p>This room was a little small, but it taught us to look into every detail of the log and not to skip any small detail we find because it could lead to the attack.</p><p>Thanks for reading and stay safe n secure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a840f42e55b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>