<?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 kabelo Motaung on Medium]]></title>
        <description><![CDATA[Stories by kabelo Motaung on Medium]]></description>
        <link>https://medium.com/@motaungkabelo012?source=rss-4344bf94a856------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ir81xkEw3-Vqq1Kq</url>
            <title>Stories by kabelo Motaung on Medium</title>
            <link>https://medium.com/@motaungkabelo012?source=rss-4344bf94a856------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:29:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@motaungkabelo012/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[Introduction to Digital Forensics]]></title>
            <link>https://medium.com/@motaungkabelo012/introduction-to-digital-forensics-028b730bac62?source=rss-4344bf94a856------2</link>
            <guid isPermaLink="false">https://medium.com/p/028b730bac62</guid>
            <category><![CDATA[htb-academy]]></category>
            <category><![CDATA[htb-writeup]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[htb-walkthrough]]></category>
            <category><![CDATA[htb]]></category>
            <dc:creator><![CDATA[kabelo Motaung]]></dc:creator>
            <pubDate>Tue, 03 Nov 2026 10:34:05 GMT</pubDate>
            <atom:updated>2026-11-03T10:34:05.673Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4e6wLzC-5PZ6kBmUtP9XdA.png" /></figure><p><strong>Section 1: </strong>Introduction to Digital Forensics</p><p><strong>Learned: </strong>Digital forensics, often referred to as computer forensics or cyber forensics, is a specialized branch of cybersecurity that involves the collection, preservation, analysis, and presentation of digital evidence to investigate cyber incidents, criminal activities, and security breaches. It applies forensic techniques to digital artifacts, including computers, servers, mobile devices, networks, and storage media, to uncover the truth behind cyber-related events. Digital forensics aims to reconstruct timelines, identify malicious activities, assess the impact of incidents, and provide evidence for legal or regulatory proceedings. Digital forensics is an integral part of the incident response process, contributing crucial insights and support at various stages.</p><p>The basic steps for performing a forensic investigation are as follows:</p><ol><li>Create a Forensic Image</li><li>Document the System&#39;s State</li><li>Identify and Preserve Evidence</li><li>Analyze the Evidence</li><li>Timeline Analysis</li><li>Identify Indicators of Compromise (IOCs)</li><li>Report and Documentation</li></ol><p>Digital forensics isn&#39;t just a reactive measure; it&#39;s a proactive tool that amplifies the capabilities of our SOC analysts, ensuring that our organization remains resilient in the face of ever-evolving cyber threats.</p><p><strong>Section 2: </strong>Windows Forensics Overview</p><p><strong>Learned: </strong>NTFS (New Technology File System) is a proprietary file system developed by Microsoft as a part of its Windows NT operating system family. Windows Event Logs are an intrinsic part of the Windows Operating System, storing logs from different components of the system including the system itself, applications running on it, ETW providers, services, and others.</p><p><strong>Section 3:</strong> Evidence Acquisition Techniques &amp; Tools</p><p><strong>Learned:</strong> <a href="https://www.exterro.com/digital-forensics-software/ftk-imager"><strong>FTK Imager</strong></a>: Developed by AccessData (now acquired by Exterro), FTK Imager is one of the most widely used disk imaging tools in the cybersecurity field. It allows us to create perfect copies (or images) of computer disks for analysis, preserving the integrity of the evidence. It also lets us view and analyze the contents of data storage devices without altering the data.<strong> </strong><a href="https://github.com/Velocidex/c-aff4"><strong>AFF4 Imager</strong></a>: A free, open-source tool crafted for creating and duplicating forensic disk images. It’s user-friendly and compatible with numerous file systems. A benefit of the AFF4 Imager is its capability to extract files based on their creation time, segment volumes, and reduce the time taken for imaging through compression.</p><p><strong>Question: </strong>Visit the URL “https://127.0.0.1:8889/app/index.html#/search/all&quot; and log in using the credentials: admin/password. After logging in, click on the circular symbol adjacent to “Client ID”. Subsequently, select the displayed “Client ID” and click on “Collected”. Initiate a new collection and gather artifacts labeled as “Windows.KapeFiles.Targets” using the _SANS_Triage configuration. Lastly, examine the collected artifacts and enter the name of the scheduled task that begins with ‘A’ and concludes with ‘g’ as your answer.</p><p><strong>Answer: </strong>This was a good one. Long but informative. First RDP using the given credentials. Enter Velociraptor with the given handles. Then nevigate to creating a new hunt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3h1we-EDa1uxh4BhgVhEtw.png" /></figure><p>Select start immediately then go to Select Artifacts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EuwzzdKI9-siXrG6xwE4CA.png" /></figure><p>Select the artifact called Windows.KapeFiles.Targets in the list</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pomZEjbCDHGfsRsTwfXOIw.png" /></figure><p>Configure the parameter _SANS_Triage by selecting it in the list. After that, continue to Launch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_wYQNCaZ7q6Pw_nNPatqdQ.png" /></figure><p>Continue to download the file by selecting a full download. After it has fully loaded, open the file and extract it. From there just go from E-CORP file &gt; uploads &gt; auto &gt; C%3A &gt;Windows &gt; System32 &gt; Tasks to where you will find your file that starts with an A and ends with a g: <strong>AutorunsToWinEventLog</strong></p><p>or you can just use the powershell command:</p><p>Get-ScheduledTask | Where-Object {$_.TaskName -like “A*g”}</p><p>to find your answer.</p><p><strong>Section 4: Memory Forensics</strong></p><p><strong>Question 1: </strong>Examine the file “/home/htb-student/MemoryDumps/Win7–2515534d.vmem” with Volatility. Enter the parent process name for @WanaDecryptor (Pid 1060) as your answer. Answer format: _.exe</p><p><strong>Answer: </strong>tasksche.exe</p><p>ssh to the given IP and use the provided password. We then find the profile of the image we have. We do that by using the following command:</p><p>vol.py -f /home/htb-student/MemoryDumps/Win7–2515534d.vmem --profile=Win7SP1x64 pstree</p><p>The second command we run is: vol.py -f /home/htb-student/MemoryDumps/Win7–2515534d.vmem --profile=Win7SP1x64 pstree</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2zXQeGS8iI1ASlDUz4Rl4g.png" /></figure><p>The second column is PID, the third is <strong>PPID</strong> (parent PID). @WanaDecryptor (PID 1060) has a PPID of <strong>1792</strong>, and PID 1792 belongs to tasksche.exe</p><p><strong>Question 2: </strong>Examine the file “/home/htb-student/MemoryDumps/Win7–2515534d.vmem” with Volatility. tasksche.exe (Pid 1792) has multiple file handles open. Enter the name of the suspicious-looking file that ends with .WNCRYT as your answer. Answer format: _.WNCRYT</p><p><strong>Answer: </strong>hibsys.WNCRYT</p><p>The question asks us about files that tasksche.exe currently has open. We use handle plugins for this question. The command we use:</p><p>vol.py -f /home/htb-student/MemoryDumps/Win7–2515534d.vmem — profile=Win7SP1x64 handles -p 1792</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hT3Uix2_crMQd4kKP7QS1w.png" /></figure><p>This is the suspicious file ending with _.WNCRYT</p><p><strong>Question 3: </strong>Examine the file “/home/htb-student/MemoryDumps/Win7–2515534d.vmem” with Volatility. Enter the Pid of the process that loaded zlib1.dll as your answer.</p><p><strong>Answer: 3012</strong></p><p>We use this command: vol.py -f Win7–2515534d.vmem — profile=Win7SP1x64 dlllist | grep -B 50 “zlib1.dll”</p><p>With emphasis on grep -B 50 “zlib1.dll” since each process’s DLL block starts with a header where we find 3012 as our answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u9lOihRpUoHJyogYHyhqKg.png" /></figure><p><strong>Section 5: Disk Forensics</strong></p><p><strong>Learned: Tools for Incident response teams include: </strong>File Structure Insight: Being able to navigate and see the disk&#39;s file hierarchy is crucial. Top-tier forensic tools should display this structure, allowing quick access to specific files, especially in known locations on a suspect system. Hex Viewer: For those moments when you need to get up close and personal with your data, viewing files in hexadecimal is essential. This capability is especially handy when dealing with threats like tailored malware or unique exploits. Web Artifacts Analysis: With so much user data tied to web activities, a forensic tool must efficiently sift through and present this data. It&#39;s a game-changer when you&#39;re piecing together events leading up to a user landing on a malicious website.</p><p><strong>Section 6: Rapid Triage Examination &amp; Analysis Tools</strong></p><p><strong>Question 1: </strong>During our examination of the USN Journal within Timeline Explorer, we observed “uninstall.exe”. The attacker subsequently renamed this file. Use Zone.Identifier information to determine its new name and enter it as your answer.</p><p><strong>Answer: </strong>microsoft.windowskits.feedback.exe</p><p>Use this command as it was used in the module:</p><p>.\MFTECmd.exe -f “C:\Users\johndoe\Desktop\forensic_data\kape_output\D\$Extend\$J” — csv C:\Users\johndoe\Desktop\forensic_data\mft_analysis\ — csvf MFT-J.csv</p><p>We are specificlty targeting $j, thats the USN Journal. We can now view the csv file we created using the command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/0*rq8tLYifT_44XNoa.png" /></figure><p>we then search for uninstall.exe. Since they have been renamed, we use the following command:</p><p>.\MFTECmd.exe -f ‘C:\Users\johndoe\Desktop\forensic_data\kape_output\D\$MFT’ — csv C:\Users\johndoe\Desktop\forensic_data\mft_analysis\ — csvf MFT.csv</p><p>We then search for uninstall.exe to get our answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*JnJEeUaulDN6tPrs3r79WQ.jpeg" /></figure><p><strong>Question 2: </strong>Review the file at “C:\Users\johndoe\Desktop\forensic_data\kape_output\D\Windows\System32\winevt\logs\Microsoft-Windows-Sysmon%4Operational.evtx” using Timeline Explorer. It documents the creation of two scheduled tasks. Enter the name of the scheduled task that begins with “M” and concludes with “r” as your answer.</p><p><strong>Answer: </strong>The output of this will giveus unreadable text, we use this command to convert<strong> </strong>evtx into a readable csv file to be made visible using Timeline Explorer.</p><p>.\EvtxECmd.exe -f “C:\Users\johndoe\Desktop\forensic_data\kape_output\D\Windows\System32\winevt\logs\Microsoft-Windows-Sysmon%4Operational.evtx” — csv “C:\Users\johndoe\Desktop\forensic_data\event_logs\csv_timeline” — csvf kape_event_log.csv</p><p>search for “Task” and get…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*xAA3SZYyaW3kiH1xuxX_TA.jpeg" /></figure><p><strong>Question 3: </strong>Examine the contents of the file located at “C:\Users\johndoe\Desktop\forensic_data\APMX64\discord.apmx64” using API Monitor. “discord.exe” performed process injection against another process as well. Identify its name and enter it as your answer.</p><p><strong>Answer: </strong>Follow the module instructions to find<strong> </strong>process injection cmdkey.exe as your answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*lwthwK7OZxfbcNEGrtUsYg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=028b730bac62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fawn (HTB Lab)]]></title>
            <link>https://medium.com/@motaungkabelo012/fawn-htb-lab-c55dc5741c2f?source=rss-4344bf94a856------2</link>
            <guid isPermaLink="false">https://medium.com/p/c55dc5741c2f</guid>
            <category><![CDATA[htb-writeup]]></category>
            <category><![CDATA[htb-walkthrough]]></category>
            <category><![CDATA[faun]]></category>
            <category><![CDATA[htb-lab]]></category>
            <dc:creator><![CDATA[kabelo Motaung]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 18:18:41 GMT</pubDate>
            <atom:updated>2026-10-20T18:18:41.952Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SjG_Ctp5PIaxfMUNMAUbTA.png" /></figure><p><em>Most of these questions can be answered with a simple google search.</em></p><p><strong>Question 1: </strong>What does the 3-letter acronym FTP stand for?</p><p><strong>Answer:</strong> File Transfer Protocol</p><p><strong>Question 2: </strong>Which port does the FTP service listen on usually?</p><p><strong>Answer:</strong> 21</p><p><strong>Question 3: </strong>FTP sends data in the clear, without any encryption. What acronym is used for a later protocol designed to provide similar functionality to FTP but securely, as an extension of the SSH protocol?</p><p><strong>Answer: </strong>SFTP</p><p><strong>Question 4: </strong>What is the command we can use to send an ICMP echo request to test our connection to the target?</p><p><strong>Answer: </strong>ping</p><p><strong>Question 5: </strong>From your scans, what version is FTP running on the target?</p><p><strong>Answer: </strong>Use nmap -sV &lt;Ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*46Xo_8r--MMOZcfB55s2hA.png" /></figure><p><strong>Question 6: </strong>From your scans, what OS type is running on the target?</p><p><strong>Answer: </strong>Use the same nmap command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*vWLMGSN0sM9am0B75S26XQ.png" /></figure><p><strong>Question 7:</strong> What is the command we need to run in order to display the ‘ftp’ client help menu?</p><p><strong>Answer: </strong>ftp -?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vm8JFkqS954IxcMcmA1szQ.png" /></figure><p><strong>Question 8: </strong>What is username that is used over FTP when you want to log in without having an account?</p><p><strong>Answer:</strong> anonymous</p><p><strong>Question 9: </strong>What is the response code we get for the FTP message ‘Login successful’?</p><p><strong>Answer: </strong>230 (<strong><em>connect ftp &lt;ip&gt;, once it’s connected, 230 will appear as the response code</em></strong>)</p><p><strong>Question 10: </strong>There are a couple of commands we can use to list the files and directories available on the FTP server. One is dir. What is the other that is a common way to list files on a Linux system.</p><p><strong>Answer:</strong> ls ( <strong><em>By using </em>ftp&gt; ls<em>, you can clearly see the flag we’ll use later</em></strong>)</p><p><strong>Question 11: </strong>What is the command used to download the file we found on the FTP server?</p><p><strong>Answer: get ( ftp&gt; get flag.txt <em>to get your flag</em>)</strong></p><p><strong>Question 12: </strong>Submit the flag located on the FTP server.</p><p><strong>Answer: </strong>You get the flag by using ftp &lt;ip&gt;. When you get a successful login, you can then search for the flag.</p><p><strong>035db21c881520061c53e0536e44f815</strong></p><p>Thank you for reading! Good lab!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c55dc5741c2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meow (HTB Labs)]]></title>
            <link>https://medium.com/@motaungkabelo012/meow-htb-labs-1b29d75289e7?source=rss-4344bf94a856------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b29d75289e7</guid>
            <category><![CDATA[htb]]></category>
            <category><![CDATA[htb-lab]]></category>
            <category><![CDATA[htb-writeup]]></category>
            <category><![CDATA[htb-walkthrough]]></category>
            <dc:creator><![CDATA[kabelo Motaung]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 17:14:59 GMT</pubDate>
            <atom:updated>2026-10-20T17:14:59.695Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FS6Ua3mIFbJ3ytd7buVtfA.png" /></figure><p>Task 1: In cybersecurity, isolated environments — like Pwnbox or the vulnerable target machines — are often VMs. What does VM stand for?</p><p>Answer: Virtial Machine</p><p>Task 2: What tool do we use to interact with the operating system in order to issue commands via the command line, such as the one to start our VPN connection? It’s also known as a console or shell.</p><p>Answer: terminal</p><p>Task 3: What service do we use to form our VPN connection into HTB labs?</p><p>Answer: openvpn</p><p>Task 4: What tool do we use to test our connection to the target with an ICMP echo request?</p><p>Answer: ping</p><p>Task 5: What is the name of the most common tool for finding open ports on a target?</p><p>Answer: nmap</p><p>Task 6: What service do we identify on port 23/tcp during our scans?</p><p>Answer: telnet (port 23/tcp is generally associated with telnet)</p><p>Task 7: What username is able to log into the target over telnet with a blank password?</p><p>Answer: root (originally thought “sudo”)</p><p>Task 8: Submit Single Flag: Submit the flag located in root’s home directory.</p><p>Answer: You first nevigate to your root directory using cd /root and list what is inside then you fild your flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fRBppGTIoT591FnfW2D7fA.png" /></figure><p>Interesting how 600+ people found this lab “very hard”. Thank you for reading!!! Not bad for my first HTB lab.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b29d75289e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Security Monitoring & SIEM Fundamentals]]></title>
            <link>https://medium.com/@motaungkabelo012/security-monitoring-siem-fundamentals-5a1a8a8a410c?source=rss-4344bf94a856------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a1a8a8a410c</guid>
            <category><![CDATA[siem-fundamentals]]></category>
            <category><![CDATA[htb-writeup]]></category>
            <category><![CDATA[htb-walkthrough]]></category>
            <category><![CDATA[htb-academy]]></category>
            <category><![CDATA[security-monitoring]]></category>
            <dc:creator><![CDATA[kabelo Motaung]]></dc:creator>
            <pubDate>Wed, 14 Oct 2026 14:40:59 GMT</pubDate>
            <atom:updated>2026-10-14T14:40:59.770Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BQR6qp_Ictz8IN1jIw1CoQ.png" /></figure><p><strong>Section 1: </strong>SIEM Definition &amp; Fundamentals</p><p><strong>Learned: </strong>Security Information and Event Management (SIEM) encompasses the utilization of software offerings and solutions that merge the management of security data with the supervision of security events. These instruments facilitate real-time evaluations of alerts related to security, which are produced by network hardware and applications.</p><p>SIEM systems function by gathering data from a variety of sources, including PCs, network devices, servers, and more. This data is then standardized and consolidated to facilitate ease of analysis.</p><p><strong>Section 2: </strong>Introduction To The Elastic Stack</p><p><strong>Question 1: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Discover”. Then, click on the calendar icon, specify “last 15 years”, and click on “Apply”. Finally, choose the “windows*” index pattern. Now, execute the KQL query that is mentioned in the “Comparison Operators” part of this section and enter the username of the disabled account as your answer. Just the username; no need to account for the domain.</p><p><strong>Answer: </strong>The username is anni</p><p><strong>Question 2: </strong>Now, execute the KQL query that is mentioned in the “Wildcards and Regular Expressions” part of this section and enter the number of returned results (hits) as your answer.</p><p><strong>Answer:</strong> 8</p><p><strong>Section 3: </strong>SOC Definition &amp; Fundamentals</p><p><strong>Question 1:</strong> True or false? SOC 2.0 follows a proactive defense approach.</p><p><strong>Answer:</strong> This is true</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nf2UI-9-iIWAAf5iKm25Gg.png" /></figure><p><strong>Section 4: </strong>MITRE ATT&amp;CK &amp; Security Operations</p><p><strong>Learned: </strong>The <a href="https://attack.mitre.org/">MITRE ATT&amp;CK</a> (Adversarial Tactics, Techniques, and Common Knowledge) framework serves as an extensive, regularly updated resource outlining the tactics, techniques, and procedures (TTPs) employed by cyber threat actors. This structured methodology assists cybersecurity experts in comprehending, identifying, and reacting to threats more proactively and knowledgeably.</p><p>The ATT&amp;CK framework comprises matrices tailored to various computing contexts, such as enterprise, mobile, or cloud systems. Each matrix links the tactics (the goals attackers aim to achieve) and techniques (the methods used to accomplish their objectives) to distinct TTPs. This linkage allows security teams to methodically examine and predict attacker activities.</p><p><strong>Section 5: </strong>SIEM Use Case Development</p><p><strong>Learned: </strong>Utilizing SIEM use cases is a fundamental aspect of crafting a robust cybersecurity strategy, as they enable the effective identification and detection of potential security incidents. Use cases are designed to illustrate specific situations where a product or service can be applied, and they can range from general scenarios, such as failed login attempts, to more complex ones like detecting a ransomware outbreak.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4PcPo-QS5qoHV2Ol.png" /></figure><p><strong>Section 6: </strong>SIEM Visualization Example 1: Failed Logon Attempts (All Users)</p><p><strong>Question 1:</strong> Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Browse the refined visualization we created or the “Failed logon attempts [All users]” visualization, if it is available, and enter the number of logins for the sql-svc1 account as your answer.</p><p><strong>Answer: </strong>Look for sql-svc1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*lMbcQn7mK3PD7wvf12uQsQ.png" /></figure><p><strong>Section 7:</strong> SIEM Visualization Example 2: Failed Logon Attempts (Disabled Users)</p><p><strong>Question 1:</strong> Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Either create a new visualization or edit the “Failed logon attempts [Disabled user]” visualization, if it is available, so that it includes failed logon attempt data related to disabled users including the logon type. What is the logon type in the returned document?</p><p><strong>Answer: </strong>Look for the name of the disabled user, “anni”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*wwLpY22xfvRvG3hj19GEFA.png" /></figure><p><strong>Question 2: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Either create a new visualization or edit the “Failed logon attempts [Admin users only]” visualization, if it is available, so that it includes failed logon attempt data where the username field contains the keyword “admin” anywhere within it. What should you specify after user.name: in the KQL query?</p><p><strong>Answer:</strong> add the * on the word admin, *admin*</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*LjhKmBaDkJ-h62PfmyaKIA.png" /></figure><p><strong>Section 8:</strong> SIEM Visualization Example 3: Successful RDP Logon Related To Service Accounts</p><p><strong>Question 1:</strong> Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Browse the visualization we created or the “RDP logon for service account” visualization, if it is available, and enter the IP of the machine that initiated the successful RDP logon using service account credentials as your answer.</p><p><strong>Answer:</strong> To find the IP address, create the related IP keyword under rows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VHN-8dAIogzL1BZ-UZXnpQ.png" /></figure><p><strong>Section 9:</strong> SIEM Visualization Example 4: Users Added Or Removed From A Local Group (Within A Specific Timeframe)</p><p><strong>Question 1: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Extend the visualization we created or the “User added or removed from a local group” visualization, if it is available, and enter the common date on which all returned events took place as your answer. Answer format: 20XX-0X-0X</p><p><strong>Answer: </strong>All took place on March 5th</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*0otV5p507mz-uUqeIlKoaw.png" /></figure><p><strong>Section 10:</strong> The Triaging Process</p><p><strong>Learned: </strong>Alert triaging, performed by a Security Operations Center (SOC) analyst, is the process of evaluating and prioritizing security alerts generated by various monitoring and detection systems to determine their level of threat and potential impact on an organization&#39;s systems and data. It involves systematically reviewing and categorizing alerts to effectively allocate resources and respond to security incidents.</p><p>Escalation is an important aspect of alert triaging in a SOC environment. The escalation process typically involves notifying supervisors, incident response teams, or designated individuals within the organization who have the authority to make decisions and coordinate the response effort. The SOC analyst provides detailed information about the alert, including its severity, potential impact, and any relevant findings from the initial investigation. This allows the decision-makers to assess the situation and determine the appropriate course of action, such as involving specialized teams, initiating broader incident response procedures, or engaging external resources if necessary.</p><p><strong>Section 11:</strong> Skills Assessment</p><p><strong>Question 1:</strong> Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Review the “Failed logon attempts [All users]” visualization of the “SOC-Alerts” dashboard. Choose one of the following as your answer: “Nothing suspicious”, “Consult with IT Operations”, “Escalate to a Tier 2/3 analyst”</p><p><strong>Answer:</strong> 4 login attempts fom Network and 3 logins that were Interactive requires “Consult with IT Operations”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*bNp-EcVYT6LZmLalEvbaFA.png" /></figure><p><strong>Question 2:</strong> Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Review the “Failed logon attempts [Disabled user]” visualization of the “SOC-Alerts” dashboard. Choose one of the following as your answer: “Nothing suspicious”, “Consult with IT Operations”, “Escalate to a Tier 2/3 analyst”</p><p><strong>Answer: </strong>Anni is a desabled user account trying to log back-in. This is worth escalating to a Tier 2/3 analyst</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*IzhA7cU3aRnm2JzY5zMyUQ.png" /></figure><p><strong>Question 3: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Review the “Failed logon attempts [Admin users only]” visualization of the “SOC-Alerts” dashboard. Choose one of the following as your answer: “Nothing suspicious”, “Consult with IT Operations”, “Escalate to a Tier 2/3 analyst”</p><p><strong>Answer: </strong>Nothing suspicious with this SOC-Alert dashboard. These logins took place on PAW and DC1 and DC2. Unlike in Question 1 where an activity took place in sql-svc1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*7XGdo9g805HyKO67kDMo2Q.png" /></figure><p><strong>Question 4: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Review the “RDP logon for service account” visualization of the “SOC-Alerts” dashboard. Choose one of the following as your answer: “Nothing suspicious”, “Consult with IT Operations”, “Escalate to a Tier 2/3 analyst”</p><p><strong>Answer: </strong>This is a definate Escalate to a Tier 2/3 analyst scenario. This is a svc-sql1 used for RDP logons</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*P_E1Nb4DGvZNGad8pxxWLQ.png" /></figure><p><strong>Question 5: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Review the “User added or removed from a local group” visualization of the “SOC-Alerts” dashboard. Choose one of the following as your answer: “Nothing suspicious”, “Consult with IT Operations”, “Escalate to a Tier 2/3 analyst”</p><p><strong>Answer: </strong>An anonymous logon is worth looking at</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AGANsZTvLG9xAChDd6HUgQ.png" /></figure><p><strong>Question 6: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Review the “Admin logon not from PAW” visualization of the “SOC-Alerts” dashboard. Choose one of the following as your answer: “Nothing suspicious”, “Consult with IT Operations”, “Escalate to a Tier 2/3 analyst”</p><p><strong>Answer: Admin in this case is not using PAW to login, which is worth consulting with IT Operations</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*C9dXPkWC6meoWoLMcCXStg.png" /></figure><p><strong>Question 7: </strong>Navigate to <a href="http://[Target">http://[Target</a> IP]:5601, click on the side navigation toggle, and click on “Dashboard”. Review the “SSH Logins” visualization of the “SOC-Alerts” dashboard. Choose one of the following as your answer: “Nothing suspicious”, “Consult with IT Operations”, “Escalate to a Tier 2/3 analyst”</p><p><strong>Answer: </strong>Failed 6 times against a root account is a serious case to Escalate to Tier 2/3 analyst.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*uYmoNswj125chjvAcWZCuw.png" /></figure><p>Thank you for reading!!! I enjoyed this module, its very insightful!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a1a8a8a410c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Deobfuscation]]></title>
            <link>https://medium.com/@motaungkabelo012/javascript-deobfuscation-c1a7f7c2c27c?source=rss-4344bf94a856------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1a7f7c2c27c</guid>
            <category><![CDATA[htb]]></category>
            <category><![CDATA[htb-writeup]]></category>
            <category><![CDATA[htb-walkthrough]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[javascript-deobfuscation]]></category>
            <dc:creator><![CDATA[kabelo Motaung]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 07:58:57 GMT</pubDate>
            <atom:updated>2026-10-13T07:58:57.505Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RCLZo7ItV2e7eRxdZ_tw8w.png" /></figure><p><strong>Section 2: Source Code</strong></p><p><strong>Question 1: </strong>Repeat what you learned in this section, and you should find a secret flag, what is it?</p><p><strong>Answer: </strong>Visit the website, search the source code and view the CSS code to find the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yRvzE_m_YPHLELYv9g66wg.png" /></figure><p><strong>Section 3: Code Obsfuscation</strong></p><p><strong>Learned about:</strong></p><p>JavaScript is usually used within browsers at the client-side, and the code is sent to the user and executed in cleartext. This is why obfuscation is very often used with JavaScript.</p><p>A common reason is to hide the original code and its functions to prevent it from being reused or copied without the developer’s permission. Another reason is to provide a security layer when dealing with authentication or encryption to prevent attacks on vulnerabilities that may be found within the code.</p><p><strong>Section 4: Basic Obfuscation</strong></p><p><strong>Learned about:</strong></p><p>A common way of reducing the readability of a snippet of JavaScript code while keeping it fully functional is JavaScript minification. Many tools can help us minify JavaScript code, like <a href="https://javascript-minifier.com/">javascript-minifier</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GXpTj99KlYG-tCVe.jpg" /></figure><p>we use <a href="http://beautifytools.com/javascript-obfuscator.php">BeautifyTools</a> to obfuscate our code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ppBWNn-3hJZo7QwF.jpg" /></figure><p>A packer obfuscation tool usually attempts to convert all words and symbols of the code into a list or a dictionary and then refer to them using the (p,a,c,k,e,d) function to re-build the original code during execution. The (p,a,c,k,e,d) can be different from one packer to another. However, it usually contains a certain order in which the words and symbols of the original code were packed to know how to order them during execution.</p><p><strong>Section 5: Advanced Obfuscation</strong></p><p><strong>Learned:</strong></p><p>We can obfuscate our code from this: (using <a href="https://obfuscator.io/">https://obfuscator.io</a>.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IlVGNrJWrOYKq9QL.jpg" /></figure><p>To a more obscure code like this:</p><p>var _0x1ec6=[‘Bg9N’,’sfrciePHDMfty3jPChqGrgvVyMz1C2nHDgLVBIbnB2r1Bgu=’];(function(_0x13249d,_0x1ec6e5){var _0x14f83b=function(_0x3f720f){while( — _0x3f720f){_0x13249d[‘push’](_0x13249d[‘shift’]());}};_0x14f83b(++_0x1ec6e5);}(_0x1ec6,0xb4));var _0x14f8=function(_0x13249d,_0x1ec6e5){_0x13249d=_0x13249d-0x0;var _0x14f83b=_0x1ec6[_0x13249d];if(_0x14f8[‘eOTqeL’]===undefined){var _0x3f720f=function(_0x32fbfd){var _0x523045=’abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=’,_0x4f8a49=String(_0x32fbfd)[‘replace’](/=+$/,’’);var _0x1171d4=’’;for(var _0x44920a=0x0,_0x2a30c5,_0x443b2f,_0xcdf142=0x0;_0x443b2f=_0x4f8a49[‘charAt’](_0xcdf142++);~_0x443b2f&amp;&amp;(_0x2a30c5=_0x44920a%0x4?_0x2a30c5*0x40+_0x443b2f:_0x443b2f,_0x44920a++%0x4)?_0x1171d4+=String[‘fromCharCode’](0xff&amp;_0x2a30c5&gt;&gt;(-0x2*_0x44920a&amp;0x6)):0x0){_0x443b2f=_0x523045[‘indexOf’](_0x443b2f);}return _0x1171d4;};_0x14f8[‘oZlYBE’]=function(_0x8f2071){var _0x49af5e=_0x3f720f(_0x8f2071);var _0x52e65f=[];for(var _0x1ed1cf=0x0,_0x79942e=_0x49af5e[‘length’];_0x1ed1cf&lt;_0x79942e;_0x1ed1cf++){_0x52e65f+=’%’+(‘00’+_0x49af5e[‘charCodeAt’](_0x1ed1cf)[‘toString’](0x10))[‘slice’](-0x2);}return decodeURIComponent(_0x52e65f);},_0x14f8[‘qHtbNC’]={},_0x14f8[‘eOTqeL’]=!![];}var _0x20247c=_0x14f8[‘qHtbNC’][_0x13249d];return _0x20247c===undefined?(_0x14f83b=_0x14f8[‘oZlYBE’](_0x14f83b),_0x14f8[‘qHtbNC’][_0x13249d]=_0x14f83b):_0x14f83b=_0x20247c,_0x14f83b;};console[_0x14f8(‘0x0’)](_0x14f8(‘0x1’));</p><p>which looks a lot more complex and far more obfuscated than the first example.</p><p><strong>Section 6: Deofuscation</strong></p><p><strong>Question 1:</strong> Using what you learned in this section, try to deobfuscate ‘secret.js’ in order to get the content of the flag. What is the flag?</p><p>Answer: Just like in the first excercise, use the given IP and Port and open the website, under source code, in the CSS section, locate “secret.js”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*ey92poxhaeh6nA10N7uZVQ.png" /></figure><p>enter and copy the script, use de4js to deobfuscate the scrip and find the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*9c10eF2lnguRfoCTOvwdCA.png" /></figure><p><strong>Section 8: HTTP Requests</strong></p><p><strong>Question 1:</strong> Try applying what you learned in this section by sending a ‘POST’ request to ‘/serial.php’. What is the response you get?</p><p><strong>Answer: </strong>Use -s for less clutter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sTIF8D_LXcgZvPKq9QfZFg.png" /></figure><p><strong>Section 9: Decoding</strong></p><p><strong>Question 1: </strong>Using what you learned in this section, determine the type of encoding used in the string you got at previous exercise, and decode it. To get the flag, you can send a ‘POST’ request to ‘serial.php’, and set the data as “serial=YOUR_DECODED_OUTPUT”.</p><p><strong>Answer: </strong>We use the encoded string to decode it using base64</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qZfoAGRG7PslAjN73qLp9A.png" /></figure><p>With the string decoded, we use it to send a POST request to ‘serial.php’ like so, thus getiing our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aWYoc-7OB8b2mFZaxeg3wQ.png" /></figure><p><strong>Section 10: Skills Assessment</strong></p><p><strong>Question 1: </strong>Try to study the HTML code of the webpage, and identify used JavaScript code within it. What is the name of the JavaScript file being used?</p><p><strong>Answer: </strong>Visit the webpage, open source code and scroll to JS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*jMKAjA1olHUrpUSixJBXjg.png" /></figure><p><strong>Question 2: </strong>Once you find the JavaScript code, try to run it to see if it does any interesting functions. Did you get something in return?</p><p><strong>Answer:</strong> Run the code on de4js. Two flags show up when you run the script, decode both and you get the flags of Q2 and Q3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Y4Tfjxl5mbWZxbOBJZDOQ.png" /></figure><p>Use cyberchef to decode the flag.</p><p><strong>Question 3: </strong>As you may have noticed, the JavaScript code is obfuscated. Try applying the skills you learned in this module to deobfuscate the code, and retrieve the ‘flag’ variable.</p><p><strong>Answer:</strong> Use cyberchef to decode the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qjppjMBLH42hdHiM2f97bg.png" /></figure><p><strong>Question 4: </strong>Try to Analyze the deobfuscated JavaScript code, and understand its main functionality. Once you do, try to replicate what it’s doing to get a secret key. What is the key?</p><p><strong>Answer:</strong> Just like in the previous excerize, the secret key here comes from ‘keys.php’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2HtCGC6AsAM3nb3hjB6Kcg.png" /></figure><p><strong>Question 5</strong>: Once you have the secret key, try to decide it’s encoding method, and decode it. Then send a ‘POST’ request to the same previous page with the decoded key as “key=DECODED_KEY”. What is the flag you got?</p><p><strong>Answer:</strong> Use the secret key to decode it using HEX “echo 4150495f70336e5f37333537316e365f31355f66756e | xxd -p -r”. Use your decode message to decode using key=decodec messgae “key”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SI8EDhjdq6mE4EUjN7UT-A.png" /></figure><p>THIS WAS SO MUCH FUN!!! THANKS FOR READING!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1a7f7c2c27c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Requests]]></title>
            <link>https://medium.com/@motaungkabelo012/web-requests-c80476b870df?source=rss-4344bf94a856------2</link>
            <guid isPermaLink="false">https://medium.com/p/c80476b870df</guid>
            <category><![CDATA[htb-writeup]]></category>
            <category><![CDATA[webrequest]]></category>
            <category><![CDATA[htb-walkthrough]]></category>
            <category><![CDATA[htb]]></category>
            <category><![CDATA[htb-academy]]></category>
            <dc:creator><![CDATA[kabelo Motaung]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 13:58:46 GMT</pubDate>
            <atom:updated>2026-10-12T13:58:46.138Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MY9aahe8fZujrjCAV94Rbw.png" /></figure><p><strong>Section 1: HyperText Transfer Protocol (HTTP)</strong></p><p><strong>Question 1: </strong>To get the flag, start the above exercise, then use cURL to download the file returned by ‘/download.php’ in the server shown above.</p><p><strong>Answer: </strong>Launch the VM and complete the exercise. With the downloaded file, use cURL to find the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PtHRGMz6FrvLcAXQkTrsWg.png" /></figure><p><strong>Section 2: Hypertext Transfer Protocol Secure (HTTPS)</strong></p><p><strong>About:</strong> Learned to use HTTPS and how it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t0Xn6e-TiQfJx3Ne.png" /></figure><p><strong>Section 3: HTTP Requests and Responses</strong></p><p><strong>Question 1:</strong> What is the HTTP method used while intercepting the request? (case-sensitive)</p><p><strong>Answer: </strong>GET</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ppvZAnE_t9aZRdi0szrRow.png" /></figure><p><strong>Question 2: </strong>Send a GET request to the above server, and read the response headers to find the version of Apache running on the server, then submit it as the answer. (answer format: X.Y.ZZ)</p><p><strong>Answer: </strong>To view the full HTTP request and response, we can simply add the -v verbose flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N7-pU5MtAbx-Ka0uIH8NrQ.png" /></figure><p><strong>Section 4: HTTP Headers</strong></p><p><strong>Question 1: </strong>The server above loads the flag after the page is loaded. Use the Network tab in the browser devtools to see what requests are made by the page, and find the request to the flag.</p><p><strong>Answer: </strong>Look in<strong> </strong>the Network tab in devtools</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cD_89H2orYd8A5Nk6j5dIg.png" /></figure><p><strong>Section 5: HTTP Methods and Codes</strong></p><p><strong>Learned About:</strong></p><p><strong>MethodDescription</strong>GETRequests a specific resource. Additional data can be passed to the server via query strings in the URL (e.g. ?param=value).POSTSends data to the server. It can handle multiple types of input, such as text, PDFs, and other forms of binary data. This data is appended in the request body present after the headers. The POST method is commonly used when sending information (e.g. forms/logins) or uploading data to a website, such as images or documents.HEADRequests the headers that would be returned if a GET request was made to the server. It doesn&#39;t return the request body and is usually made to check the response length before downloading resources.PUTCreates new resources on the server. Allowing this method without proper controls can lead to uploading malicious resources.DELETEDeletes an existing resource on the webserver. If not properly secured, can lead to Denial of Service (DoS) by deleting critical files on the web server.OPTIONSReturns information about the server, such as the methods accepted by it.PATCHApplies partial modifications to the resource at the specified location.</p><p><strong>ClassDescription</strong>1xxProvides information and does not affect the processing of the request.2xxReturned when a request succeeds.3xxReturned when the server redirects the client.4xxSignifies improper requests from the client. For example, requesting a resource that doesn&#39;t exist or requesting a bad format.5xxReturned when there is some problem with the HTTP server itself.</p><p><strong>Section 6: GET</strong></p><p><strong>Question 1:</strong> The exercise above seems to be broken, as it returns incorrect results. Use the browser devtools to see what is the request it is sending when we search, and use cURL to search for ‘flag’ and obtain the flag.</p><p>Answer: Use curl to find the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pagVA6bbqQSmGzZmxTod7Q.png" /></figure><p><strong>Section 7: POST</strong></p><p><strong>Question: </strong>Obtain a session cookie through a valid login, and then use the cookie with cURL to search for the flag through a JSON POST request to ‘/search.php’</p><p><strong>Answer: </strong>Login to the website, nevigate to devtools and look under Network. Search a city then go to storrage then cookies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cvQNPushX31Vl-uNzxxMFQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aQIeNAmqDuj04XyjzaCOpw.png" /></figure><p>Use curl to get the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E1zy44pSFbXurOR6QsuUtQ.png" /></figure><p><strong>Section 8: CRUD API</strong></p><p><strong>Question 1:</strong> First, try to update any city’s name to be ‘flag’. Then, delete any city. Once done, search for a city named ‘flag’ to get the flag.</p><blockquote><strong>Answer: </strong>Use the update example to update any city of your choice to flag, then delete any random city then use the command:<strong> </strong>curl -s http://&lt;SERVER_IP&gt;:&lt;PORT&gt;/api.php/city/le | jq to find the flag.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdX5JRpqmfhB19WxnoFglQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c80476b870df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Incident Handling Process]]></title>
            <link>https://medium.com/@motaungkabelo012/incident-handling-process-725bb4849c60?source=rss-4344bf94a856------2</link>
            <guid isPermaLink="false">https://medium.com/p/725bb4849c60</guid>
            <category><![CDATA[htb-walkthrough]]></category>
            <category><![CDATA[htb]]></category>
            <category><![CDATA[incident-handling-process]]></category>
            <category><![CDATA[htb-academy]]></category>
            <category><![CDATA[htb-writeup]]></category>
            <dc:creator><![CDATA[kabelo Motaung]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 13:15:37 GMT</pubDate>
            <atom:updated>2026-10-12T13:59:17.082Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r3vWMP1tQn4-wTarC77GPA.png" /></figure><p><strong>Cyber Kill Chain</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zAyYj99nYrRqFlyO.png" /></figure><p><strong>Question 1:</strong> In which stage of the Cyber Kill Chain is malware developed?</p><p><strong>Answer:</strong> Weaponize</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8R5zKqA5y-iA-srrr8chdg.png" /></figure><p><strong>Question 2</strong>: Check the alert with reference 67c202 (LSASS Access) in TheHive, and provide the MITRE rule ID as the answer.</p><p><strong>Answer</strong>: Lanch the virtual machine and enter the credentials provided. Navigate to the alert section of the reference 67c202 and scroll down the preview details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QLvkVdBJ88Fs9lRNTDAB_A.png" /></figure><p><strong>Section 3:</strong> Incident Handling Process Overview</p><p>As defined by NIST, the incident handling process consists of the following four distinct stages:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EgvsPc4TOVVtZjpu.png" /></figure><p><strong>Question 1</strong>: True or False: Incident handling contains two main activities: investigating and reporting.</p><p><strong>Answer</strong>: False</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZwkRfqdUXVqEaoxhkyeipA.png" /></figure><p><strong>Section 4</strong>: Preparation Stage (Part 1)</p><p><strong>Question 1</strong>: What should we have prepared and always ready to ‘grab and go’?</p><p><strong>Answer</strong>: Jump Bag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lS0qVCb7Nr3n4IPeQtfY8w.png" /></figure><p><strong>Question 2</strong>: True or False: Using baselines, we can discover deviations from the golden image, which aids us in discovering suspicious or unwanted changes to the configuration.</p><p><strong>Answer</strong>: True</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q3mGNhRZBk0mzyc9BiLmzg.png" /></figure><p><strong>Section 5</strong>: Preparation Stage (Part 2)</p><p><strong>Question 1</strong>: What mechanism can we use to block phishing emails pretending to originate from our mail server?</p><p>Answer: DMARC</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bt0uB3MsGfTw-UKrTyNIhQ.png" /></figure><p><strong>Question 2</strong>: True or False: The “Summer2021!” password meets the complex password criteria but can be easily guessed or brute-forced.</p><p><strong>Answer</strong>: True</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_2sywDxqpv1aNeReWwnNA.png" /></figure><p><strong>Section 6</strong>: Detection &amp; Analysis Stage (Part 1)</p><p><strong>Question 1</strong>: True or False: Can a third-party vendor be a source of detecting a compromise?</p><p><strong>Answer</strong>: True</p><p><strong>Question 2:</strong> Assign the Mimikatz alert (shown in the section) to yourself in TheHive, and go through the description and summary. Provide the username of the person who executed the Mimikatz tool. The answer format is “domain\user_name.”</p><p><strong>Answer:</strong> Log in using the credentials provided, and heard to Alert preview for an alert related to Mimikatz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KUWvUN4UXB1DaxrrQ27g1A.png" /></figure><p><strong>Section 7</strong>: Detection &amp; Analysis Stage (Part 2)</p><p><strong>Question 1</strong>: During an investigation, we discovered a malicious file with an MD5 hash value of ‘b40f6b2c167239519fcfb2028ab2524a’. What do we usually call such a hash value in investigations? Answer format: Abbreviation</p><p><strong>Answer</strong>: IOC</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUJ79mAuKqWtJHttZQ4rcg.png" /></figure><p>Question 2: In TheHive, check the alert with rule=92153 related to the VaultCli.dll module. What is the MD5 hash value mentioned in the alert?</p><p>Answer: Log in and look by rule id 92153, the MD5 hash is under hashes in Alert preview</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3d2egi2UGG6b7PsIcXWmjg.png" /></figure><p>Question 3: True/False: As an analyst, you detected lateral movement attempts to systems owned by another department (e.g., finance). As it belongs to another department, you will not perform escalation internally.</p><p>Answer: False</p><p>Section 8: Containment, Eradication, and Recovery Stage</p><p>Question 1: True or False: Patching a system is considered a short-term containment.</p><p>Answer: False</p><p>Question 2: During recovery, IOCs are still observed intermittently. Should recovery proceed, or should the case be escalated back to the investigation phase? Answer format: Recovery/Investigation</p><p>Answer: Investigation</p><p>Section 9: Post-Incident Activity Stage</p><p>Question 1: True or False: We should train junior team members as part of these post-incident activities.</p><p>Answer: True</p><p>Section 10: <strong>Analysis of Insight Nexus Breach</strong></p><p>Question 1: Download the Wazuh exported logs file (i.e., wazuh_export.zip), and identify all events that indicate potential credential compromise. Check the event ID 4688 and verify the full path of the parent process name that executed a credential dumping tool. Answer format is C:\\Pr……..</p><p>Answer: Download the logs file and open it on VSCode. Look for credential dumping, only one result will apear. The parent process name is listed below under “newProcessName”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vASr_mrlMsUpPOy7xPKh_A.png" /></figure><p>Question 2: Identify events that show persistence mechanisms. Type the value of imagePath for a persistence mechanism that took place on the host DB01.</p><p>Answer: Search for imagePath</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gXNvIXE7hmJqpbUl4QG4CA.png" /></figure><p>Question 3: Identify exfiltration activity — file(s) uploaded or outbound traffic. What is the external IP address to which the file diagnostics_data.zip was uploaded?</p><p>Answer: Look for diagnostics_data.zip and youll be able to identify the destinationIP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9qk31sYlcvjFEQt140eNZg.png" /></figure><p>Question 4: Which user tried to connect to the file share \\fs01\projects?</p><p>Answer: Search for \\fs01\ and the user is under user</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uIEZiRN-GQHNa7z2jBNfdQ.png" /></figure><p>Section 11: Skills Assessment</p><p>Question 1: Open the alert “[InsightNexus] Admin Login via ManageEngine Web Console.” Find the foreign IP address starting with “203” in the comments. Check VirusTotal for the information related to this IP address, and add the details as a comment in this alert. In VirusTotal, what is the name of the file starting with “Mango” in the Files Referring section?</p><p>Answer: Login and identify the IP address under the comments. Copy the IP address and open VirusTotal. Insert the IP in the search bar and heard to files Referring. Look for a file name that starts with Mango…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IIywkFzhuZZSbr15-3UCRg.png" /></figure><p><strong>Question 2</strong>: In VirusTotal, go to the details of the IP address starting with “198.” What is the name of the city shown in the Whois Lookup?</p><p><strong>Answer:</strong> Identify the IP aadress that starts with 198 in The Hive, under comments. Use that IP in VirusTotal and look under Whois Lookup for the City name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqfe0IMwAxVPj1mgMhsj_Q.png" /></figure><p>Question 3: If malware downloads files from a C2 (Command and Control) server into the victim network, under what MITRE technique ID does this tool transfer technique fall? Type it as your answer. The format is T1***.</p><p>Answer: T1105</p><p><strong>Question 4</strong>: Open TheHive and check the rule ID 92153 related to the VaultCli.dll module. What is the MITRE technique ID for this activity? The format is T1***.</p><p><strong>Answer:</strong> Look under Alert preview for rule.mitre.id</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4hqGhJmvEvzs04KE5E2eUw.png" /></figure><p><strong>Question 5:</strong> Download the “logs-wazuh.zip” file from resources, and identify the suspicious PowerShell command in the logs. Type the suspicious IP address after decoding the command.</p><p><strong>Answer</strong>: Look for “Suspicious PowerShell” after opening the log file. Under the Description, identify the commandline. This is the command you use on Cyberchef to find the IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zcp8_WQf6gsw6Nr9U5ux2g.png" /></figure><p>Copy the command in CyberChef starting with “SUV…” the base64 string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-yH1repbkwLJUowUh4U1cg.png" /></figure><p><strong>Question 6:</strong> In the same file (i.e., logs-wazuh.zip), identify the user who executed the suspicious PowerShell command. The format is domain\user.</p><p><strong>Answer</strong>: Find the user below the Powershell command and use the format: domain\user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DafsCr8exQb0Ot_fLmt4Hw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=725bb4849c60" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>