<?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 Keorapetse Malgas on Medium]]></title>
        <description><![CDATA[Stories by Keorapetse Malgas on Medium]]></description>
        <link>https://medium.com/@KC100?source=rss-5ac367054bd5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BzodjrLRCDJtxGk-p2uEIA.jpeg</url>
            <title>Stories by Keorapetse Malgas on Medium</title>
            <link>https://medium.com/@KC100?source=rss-5ac367054bd5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 09:55:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@KC100/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[HOME SOC + SIEM -Monitoring Live Attacks on a Honeypot]]></title>
            <link>https://medium.com/@KC100/home-soc-siem-monitoring-live-attacks-on-a-honeypot-6a3d67e21e05?source=rss-5ac367054bd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a3d67e21e05</guid>
            <category><![CDATA[microsoft-azure]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc]]></category>
            <dc:creator><![CDATA[Keorapetse Malgas]]></dc:creator>
            <pubDate>Fri, 21 Mar 2025 11:10:14 GMT</pubDate>
            <atom:updated>2025-03-21T11:10:14.515Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I’m going to showcase how I built this home SOC+SIEM to monitor live attacks on a honeypot, all deployed on Microsoft Azure. This is not necessarily a full depth step-by-step tutorial but higlighted steps ,my observations, things I’ve learned, and what I think I can potentially improve on. All resources links will be provided at the end of this article.😉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jWdV2OiAsYm5RzAVZMyMeA.png" /></figure><ol><li>To kick start things I created a free Azure account that has $200 of credit that can be use on Azure for 30 days .</li><li>Created a resource group where the virtual network and virtual machine will be stored.</li><li>A virtual network is a representation of your network in the cloud, allowing you to define your own private IP address space and segment the network into subnets. So I created the virtual network the honey pot VM will fall under the range of the default IP addresses created .</li><li>Then I created Virtual machine</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vWnT75wyFdVQCzdafzO7tg.png" /><figcaption>Now we have the virtual machine created,Public IP address, network security group(cloud firewall),network interface(virtual ethernet port) and a disk.</figcaption></figure><p>5. Opened the Network security group to allow anyone in the public to send traffic to the vm .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m0NuwrOfVoW7LX-GTw-AjA.png" /><figcaption>This is not best security practices ,only do this on a honey pot</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*LTHR6mB5e3HOa6LGitpmMQ.png" /><figcaption>Now remote desktop into the virtual machine to disable the windows firewall.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*qR_HasRC1BbIARQeKJJhyQ.png" /><figcaption>Ping the virtual machine to see if its available on the internet .</figcaption></figure><p>6. Configured a log repository to forward the virtual machine logs into it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G09MWZlbpiCntTAL9SBVeA.png" /></figure><p>7. Created the sentinel instance ,then linked the log analytics workspace to the SIEM to access the logs in the SIEM .</p><p>At this point, the Logs analytics workspace was not yet connected to the virtual machine so the next step is to connect the log analytics workspace and VM by configuring the Azure monitoring agent connector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PA5ov6MiV27NMZCJpfE3jw.png" /></figure><p>Installed the agent and configured it, created a data collection rule -used by the VM to forward logs into the logs workspace which then forwards them to the SIEM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8pmx1xu3SEYYIz5BBssyhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G09MWZlbpiCntTAL9SBVeA.png" /></figure><p>So far there are only logs I’ve made</p><p>8. To continue I uploaded a geo ip CSV file to the sentinel watchlist that has a range of different IP addresses to show where the attack is coming from .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ior8NmC2zVK3iHosHAiUXw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xPXNULyQK60Z1KRbBLdqHw.png" /></figure><p>This created another table inside log analytics .</p><p>9. Created a new workbook with Json file to make the attack map .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HbIUXas3gpbIcTd-Qy72ig.png" /><figcaption>After creating the map this is what it looked like .</figcaption></figure><p>ALL DONE CREATING NOW LET’S SEE THE RESULTS AFTER 15 HOURS .</p><p>After 15 hours, I analyzed login failure attempts based on repeated IP addresses. Using queries in Sentinel, I was able to visualize attack patterns, failed logins, and geographic distribution of potential attackers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8PsfZGd2d2gSzIFjR6ofiQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K5FGLVLXSzDD8hCqXGAwng.png" /></figure><p>This query counts up the number of different login failures where the IP addresses(latitude, longitude)are the same .</p><h3>Improvements &amp; Future Adjustments</h3><ul><li>I would Implement automated playbooks in Sentinel to trigger alerts and actions when suspicious activity is detected.</li><li>Integrate more CTI (Cyber Threat Intelligence) sources to enrich attack data. Then secure the VM to simulate a realistic attack .</li><li>Deploy different types of honeypots (web, database, IoT) to analyze diverse attack vectors.</li><li>Create more advanced dashboards for real-time threat monitoring.</li></ul><p>This project significantly enhanced my understanding of threat intelligence, SIEM monitoring, and real-world cyberattack behaviors. Moving forward, I plan to refine the setup further and integrate more automation and intelligence feeds to make it even more useful.</p><p>Main source for this project : <a href="https://youtu.be/g5JL2RIbThM?si=mIDNSciGTPVY7WUS">https://youtu.be/g5JL2RIbThM?si=mIDNSciGTPVY7WUS</a> .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a3d67e21e05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[100 DAYS OF JAVASCRIPT]]></title>
            <link>https://medium.com/@KC100/100-days-of-javascript-09392b1797fc?source=rss-5ac367054bd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/09392b1797fc</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[100daysofcode]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Keorapetse Malgas]]></dc:creator>
            <pubDate>Sun, 02 Feb 2025 15:16:45 GMT</pubDate>
            <atom:updated>2025-02-03T08:02:17.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*NjrAfcRvtN2xWaE1AN4MyA.gif" /></figure><h3>Mastering JavaScript for Bug Bounty Hunting: A 100-Day Learning Plan</h3><p>JavaScript is at the core of modern web applications — and where there’s JavaScript, there are vulnerabilities waiting to be discovered. I recently started learning Bug bounty and I hit a wall🧱.Since I don’t have any background in web applications ,I completely fail to under exactly what applications are intended to do and I realized if I understood the language of the web I’d have an edge in finding and exploiting security flaws like <strong>Cross-Site Scripting (XSS), Prototype Pollution, CSRF, and API vulnerabilities</strong>.</p><p>This <strong>100-day structured learning plan</strong> is designed to help me build a <strong>solid JavaScript foundation</strong> while directly applying your knowledge to <strong>security-focused challenges</strong>. I’ll learn from <strong>W3Schools, TryHackMe walkthroughs, and a free course from the Skools community</strong>, ensuring a mix of theoretical understanding and hands-on practice. By the end of this journey, I’ll be <strong>well-equipped to tackle real-world bug bounty programs</strong> and confidently test web applications for security flaws.</p><p>Here’s the first 2 weeks of the plan to start <strong>hacking JavaScript the right way!</strong> 🚀</p><p><strong>Week 1–2:</strong></p><p>1–3 JavaScript Basics (Syntax, Variables, Data Types)Understanding DOM and potential attack vectors.</p><p>4–6 Functions, Scope, and Closures-Function scoping issues leading to data leakage.</p><p>7–9 Arrays, Objects, and Loops-Insecure object properties exploitation.</p><p>10–12 Error Handling &amp; Debugging-Identifying JavaScript errors that reveal vulnerabilities.</p><p>13–14 First TryHackMe Walkthrough-Hands-on practice with JavaScript-based vulnerabilities.</p><p>To follow my learning journey follow me on linkedIn <a href="http://www.linkedin.com/in/keorapetse-malgas">www.linkedin.com/in/keorapetse-malgas</a> since I will be posting my progress 3 times a week . Week 3–4 will be posted alongside my takeaways from week 1 and 2 .😍hope to see you on LinkedIn.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09392b1797fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Walking an Application-Tryhackme walkthrough .]]></title>
            <link>https://medium.com/@KC100/walking-an-application-tryhackme-walkthrough-baec685ed497?source=rss-5ac367054bd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/baec685ed497</guid>
            <category><![CDATA[first-post]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[walking-an-application]]></category>
            <dc:creator><![CDATA[Keorapetse Malgas]]></dc:creator>
            <pubDate>Sat, 19 Oct 2024 03:23:27 GMT</pubDate>
            <atom:updated>2024-10-19T03:23:27.881Z</atom:updated>
            <content:encoded><![CDATA[<h3>Walking an Application-Tryhackme walkthrough .</h3><p>Recently started the TryHackMe Junior Penetration Tester Path?(which is fantastic, congrats )but you’re facing minorrrr challenges getting past the walking an application path? well dw this walkthrough is for you.</p><p>Walking an application is the first room to introduce you to web hacking on the path so pay attention! The room shows how to manually review a web application for security issues using only your browser developer tools ,hacking with just your browser no tools or scripts ! sounds fantastic huh :))</p><p>Let’s gooooo🚀🚀💪</p><p><strong>Task 1 : Introduction to the room</strong></p><p>Just to get you started and get the formalities done ,follow the instructions and you’ll see the following page .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ch5gH4hkuuSkbDL4jj118g.png" /><figcaption>got it? awesomee✅</figcaption></figure><p><strong>Task 2 : Exploring the website</strong></p><p>This part is fun ,you basically read and explore the website presented as you go .Just explore the website and get comfortable with it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*BpYByXF_W6_0caA0byNyuQ.gif" /><figcaption>Buckled up? Let’s get into it ✅</figcaption></figure><p><strong>Task 3 : Viewing the Source page</strong></p><p>“The sauce is in the source page”😅</p><p>Assuming that you’ve read through the information and understood the content ,let’s go ahead and answer the first question.</p><p>On the home page right click and go to view page source ⤵️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*LxThg96h0xlaWzDeJhldlg.jpeg" /></figure><p>You get this html code and we understood from reading through the information that comments in html have the ! to tell that they are comments . Comments are not supposed to be public facing the first comment tells us there’s a new page in progress at /new-home -beta…interesting let’s follow that .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*vIvJlSJm1rzlIO8ms2gPHA.png" /><figcaption>Bingo got our fist flag ✅</figcaption></figure><p>The source code has a lot of sauce ,let’s look down the page and explore .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*WkL7EETsFAj1bdSY65NdjQ.jpeg" /></figure><p>We’ve read links are provided by the href tag and there’s one particular link named secret page?huhh who’s not curious to view the secret page? lets see</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*goiwRynxMZYHFln5pW8jRQ.jpeg" /><figcaption>fantasticcc let’s keep going 👏👏</figcaption></figure><p>As you scroll through the source page we can see many links that start with the directory assets , it looks important lets see if we can access it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*Viu7Tv9_oMQnvyA2hBPc5Q.jpeg" /><figcaption>I’ll let you find this one on your own 😉</figcaption></figure><p>for the last question let’s go back to the source code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*WkL7EETsFAj1bdSY65NdjQ.jpeg" /></figure><p>comments! gotta look out for those ,so the last comment tells us about a framework huh and provides us with a link ,let’s see</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*wQdj_Yy-R2UdxyW6wIfOfw.jpeg" /></figure><p>Interesting so our page is on V1.2 and the current version is 1.3 .View the change log and read the information presented ,from there its pretty obvious what we have to do .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*iq2hMRd2kEZt40DAgUuehQ.jpeg" /></figure><p>did you navigate to /tmp.zip? if yes a zip file automatically downloads and there you go ,your flag is presented .</p><p><strong>Task 4- Inspector</strong></p><p>Read the information provided ,we loooveee reading don’t we?😘</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_c7O5wqToDHZj_RFSADvaA.jpeg" /></figure><p>on the news page, let’s inspect the page for premium customers and see if we can find anything .</p><p>Look around to find the customer blocker code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*eU0pd293EeLw5T9VeNTuaA.jpeg" /></figure><p>we got the css style of the page and originally the display was on block ,we change that to none and bingooo we’re premium customers ….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*73ht5KvSqZMYCtLLBH9AiA.jpeg" /><figcaption>we can read the third article and got our flag✅👏</figcaption></figure><p><strong>Task 5- Debugger</strong></p><p>First let’s go to the contact page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*8dceMqYtEolt1GbVM5FTFQ.jpeg" /></figure><p>If you noticed when you navigated to this page there was red box that flashes? dw we all saw it ,if you didn’t refresh the page and pay attention .</p><p>We have to find out what the box said so let’s inspect and look for something that will reinstate us that the flash we saw is actually there</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*s0TaQG-aqYPvtztk9yp8dQ.jpeg" /></figure><p>great flash found ,first you might see a long line of java script that’s difficult to read ..click on the pretty print button{} to get a nice view. When you go down to the 108th line we can see a line that says flash[remove] ,what we’re going to do is place breakpoint .A breakpoint is putting a break on a line of code so that the page stops and does not read that line ,click on the line and refresh the page .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*oRfsTofXyv1t8Jh5Ogq_zQ.jpeg" /></figure><p>Cool right ,so the flash was paused so we can be able to read the red box .</p><p><strong>Task 6-Network</strong></p><p>Phew last task 🫡so here we navigate to the contact form and fill it out ,don’t forget to go on the network section on the inspection tools .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PT-aWGzQNcF40YitbAm1Ng.jpeg" /></figure><p>Click on the contact-msg that appeared and find your flaggggg🚀🚀</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*Qe36GJIVzQ1prphRFJyRdw.jpeg" /></figure><p>Awesome jobbb👏👏done with walking an application ,I hope you were able to solve everything and enjoyed this walkthrough .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*m64BWhtnHhTILASPomLlpQ.gif" /><figcaption>see ya</figcaption></figure><p>Don’t forget to follow this page for more awesome cybersecurity content 😘</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=baec685ed497" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>