<?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 Samwel Ondima on Medium]]></title>
        <description><![CDATA[Stories by Samwel Ondima on Medium]]></description>
        <link>https://medium.com/@samwelondima?source=rss-5e6c2858fa1f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oZoSSkq3Pc-8RkXt7_dngA.jpeg</url>
            <title>Stories by Samwel Ondima on Medium</title>
            <link>https://medium.com/@samwelondima?source=rss-5e6c2858fa1f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 08:55:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@samwelondima/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[Installing Splunk on Ubuntu]]></title>
            <link>https://medium.com/@samwelondima/installing-splunk-on-ubuntu-41e6dfeabf42?source=rss-5e6c2858fa1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/41e6dfeabf42</guid>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[splunk-enterprise]]></category>
            <category><![CDATA[soc-analyst-training]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Samwel Ondima]]></dc:creator>
            <pubDate>Sun, 04 Oct 2026 04:50:51 GMT</pubDate>
            <atom:updated>2026-10-04T04:50:51.530Z</atom:updated>
            <content:encoded><![CDATA[<p>Splunk is one of the SIEM tools used in a SOC to aggregate event logs. In this post I am going to walk through how I installed Splunk enterprise on my home lab computer as I continue with my SOC Analyst studies.</p><p>To install splunk first you need to download it from splunk’s download page where you have to create an account using your work/student email. With that you get a 60 days trial to experiment with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3p2tJFliWiRe66eZ5EgmKA.jpeg" /><figcaption>Download the splunk deb file</figcaption></figure><p>After downloading open the terminal and navigate to the Downloads folder where the downloaded splunk .deb file is locates</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1FZa6DEtd4-6HW_5Y3JOJQ.png" /></figure><p>Use the dpkg tool to run the splunk .deb file with the sudo privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O65aFN3sN0rXlvyKP7q85g.png" /></figure><p>Then check the status of our splunk installation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4QwPZAkWxOQXviYJv27maQ.png" /></figure><p>Now that we have confirmed that our installation was successful, let’s proceed to run splunk for the first time so that we can configure the admin account.</p><p>To run splunk we navigate to /opt/splunk/bin, this is where splunk installs the splunk executable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q9rBcoHKb_RFjNzDsf7WTw.png" /></figure><p>Now execute the splunk executable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwTP_cJxooFWWcnVdz_XOA.png" /></figure><p>This gives you an error because splunk needs sudo privileges to write files but splunk does not run with sudo privileges. To resolve this, run splunk with elevated privileges. the <strong>— run-as-root</strong> option is a work around so that splunk can run with elevated privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_JV-YESkEU2XMaA0UqsrXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*qvM2Mi6_rbnpa1B4aBGSDg.png" /></figure><p>Then accept the license agreement and enter the admin username and password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QeLWFELhtmu-j0hMOVUofg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_EE4IsWCEaaqhC57tgPRbw.png" /></figure><p>Finally open your browser and navigate to <a href="http://127.0.0.1/8000">http://127.0.0.1/8000</a> to access the splunk web interface. Log in using your admin credentials.</p><p>To configure splunk to start during booting execute this command on the terminal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*ibTCdHKF_UfS4YBZ6Wu5gw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41e6dfeabf42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Windows Registry]]></title>
            <link>https://medium.com/@samwelondima/the-windows-registry-9591eafd4fd2?source=rss-5e6c2858fa1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9591eafd4fd2</guid>
            <dc:creator><![CDATA[Samwel Ondima]]></dc:creator>
            <pubDate>Sun, 27 Sep 2026 18:08:44 GMT</pubDate>
            <atom:updated>2026-09-27T18:08:44.949Z</atom:updated>
            <content:encoded><![CDATA[<p>The Windows Registry is a central hierarchical database used in Windows systems to store information that is necessary to configure the system for one or more users, applications and hardware devices.The registry contains information that windows continuously references during operation such as profiles for each user, the apps installed on the computer and the types of documents that each can create, property sheet settings for folders and application icons, what hardware exists on the system and the ports that are being used.</p><p>A registry hive is a group of keys, sub-keys and values in the registry that has a set of supporting files that contain backups of its data. The supporting files for all hives except HKEY_CURRENT_USER are in the %SystemRoot%\System32\Config folder. The supporting files for HKEY_CURRENT_USER are in the %SystemRoot%\Profiles\Username folder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*G_XZuinDLYQTySgTz8T6qg.png" /><figcaption>Predefined registry keys</figcaption></figure><p>Resources</p><ol><li><a href="https://learn.microsoft.com/en-us/previous-versions//cc750583(v=technet.10)">https://learn.microsoft.com/en-us/previous-versions//cc750583(v=technet.10)</a></li><li><a href="https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/windows-registry-advanced-users">https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/windows-registry-advanced-users</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9591eafd4fd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Event Logs]]></title>
            <link>https://medium.com/@samwelondima/windows-event-logs-1e7d93164a72?source=rss-5e6c2858fa1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e7d93164a72</guid>
            <category><![CDATA[windows-event]]></category>
            <category><![CDATA[windows-event-logs]]></category>
            <category><![CDATA[sysmon]]></category>
            <dc:creator><![CDATA[Samwel Ondima]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 17:15:42 GMT</pubDate>
            <atom:updated>2026-09-21T17:15:42.980Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post I will cover everything I have learned about Windows event logs. I will start by covering event logs broadly then narrow down to the logs and event types that I believe are important for a SOC analyst.</p><h4><strong>What are Windows event logs?</strong></h4><p>In windows systems almost everything that happens is recorded in log files. These log files are stored in .evtx files and can be viewed using the windows event viewer. Windows categorises these log files into five distinct categories. These categories include:</p><ol><li><strong>System Logs:</strong> These logs contain events that are related to the operating system and its components.</li><li><strong>Application Logs:</strong> Software related events are usually stored in these log files.</li><li><strong>Security Logs:</strong> These logs contain all system safety related events</li><li><strong>Setup:</strong> This is where all the events that fire during software installation are recorded.</li><li><strong>Forwarded Events:</strong> These logs hold all the events that have been forwarded from other computers within the same network.</li></ol><p>Every Windows event recorded on either of the logs mentioned above can be:</p><ol><li><strong>Information:</strong> These types of events are inconsequential. The main purpose is to pass information that an application or service is running as it should be.</li><li><strong>Warning:</strong> These types of events hint at a possible future issue. A good example is a low disk space event.</li><li><strong>Error:</strong> These events indicate that a significant issue has occurred and you should look into it.</li><li><strong>Security Audit:</strong> This is a record of all successful audited access.</li><li><strong>Failure Audit:</strong> This indicates the failure of audited security access.</li></ol><h4><strong>Windows Security Logs (Security auditing logs)</strong></h4><p>A SOC analyst will spend most of the time in the windows Security Logs when responding to an alert. These Logs provide data on activities that help a SOC analyst identify unusual activity that could be an Indicator of Compromise. Windows security auditing features help to:</p><ol><li>Monitor user activity</li><li>Investigate incidents</li><li>Perform forensic analysis</li></ol><p>There are nine types of security audit events categories;</p><ol><li><strong>Audit account logon: </strong>Tells you when the domain controllers or local computers authenticate a user’s access</li><li><strong>Audit account management:</strong> Tracks all account management activities such as account or group creation or deletion and password changes</li><li><strong>Audit directory service access: </strong>Tracks whether a user accessed the active directory object with its own system access control list</li><li><strong>Audit logon events: </strong>Tracks users logging on to or off from a device.</li><li><strong>Audit object class:</strong> Tells you when a user accesses objects that have their own SACL specified.</li><li><strong>Audit policy changes:</strong> Tracks changes to different policies</li><li><strong>Audit privilege use: </strong>Tracks every time a privilege is used</li><li><strong>Audit process tracking:</strong> Gives you detailed tracking information for different events.</li><li><strong>Audit system events:</strong> Tells you when a user restarts or shuts down a computer.</li></ol><p>Every event gets an event ID to identify the type of event. Below are the interesting sysmon and system event IDs a SOC analyst should be interested in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*cT4Ca6TNJIJckhptmD6ILQ.png" /><figcaption>System event IDs</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*rFGnRA1T-Wprq1FBPAzBYg.png" /><figcaption>Sysmon Event IDs</figcaption></figure><p>Sources:</p><ol><li><a href="https://medium.com/@rathorshubh01/the-elements-of-a-windows-event-log-6b8a7f979482">https://medium.com/@rathorshubh01/the-elements-of-a-windows-event-log-6b8a7f979482</a></li><li><a href="https://www.hackthebox.com/blog/decoding-windows-event-logs-a-definitive-guide-for-incident-responders">https://www.hackthebox.com/blog/decoding-windows-event-logs-a-definitive-guide-for-incident-responders</a></li><li><a href="https://graylog.org/post/windows-security-event-log-best-practices/">https://graylog.org/post/windows-security-event-log-best-practices/</a></li><li><a href="https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/security-auditing-overview">https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/security-auditing-overview</a></li><li><a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx">https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e7d93164a72" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>