<?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 Keshav gupta on Medium]]></title>
        <description><![CDATA[Stories by Keshav gupta on Medium]]></description>
        <link>https://medium.com/@keshavvvgupta?source=rss-320fcdc58670------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GCGP4m0lOZ1QxnBqXrrMlw.png</url>
            <title>Stories by Keshav gupta on Medium</title>
            <link>https://medium.com/@keshavvvgupta?source=rss-320fcdc58670------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:41:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@keshavvvgupta/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[SentinelOps: Building a Centralized SOC Monitoring, Threat Intelligence & Automation Platform]]></title>
            <link>https://medium.com/@keshavvvgupta/sentinelops-building-a-centralized-soc-monitoring-threat-intelligence-automation-platform-481dba638f06?source=rss-320fcdc58670------2</link>
            <guid isPermaLink="false">https://medium.com/p/481dba638f06</guid>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Keshav gupta]]></dc:creator>
            <pubDate>Sat, 14 Nov 2026 08:14:43 GMT</pubDate>
            <atom:updated>2026-11-14T08:14:43.289Z</atom:updated>
            <content:encoded><![CDATA[<h3>A hands-on cybersecurity engineering journey combining Splunk SIEM, VirusTotal IOC enrichment, CERT-In intelligence, endpoint security monitoring, and user management.</h3><p><strong>By Keshav Gupta | Cybersecurity | SOC Engineering | Security Automation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B8xUAqcjjx4f9Ww9sDeoKw.png" /></figure><h3>1. Introduction</h3><p>Modern cybersecurity operations involve monitoring multiple systems, investigating security alerts, tracking vulnerabilities, and responding to potential threats.</p><p>Security Operations Centers (SOCs) rely on different technologies such as SIEM platforms, endpoint monitoring solutions, threat intelligence feeds, and incident management systems.</p><p>However, managing information across multiple security tools can make investigation and monitoring more complicated.</p><p>While working on my cybersecurity learning journey, I wanted to understand how these different security technologies could communicate with each other through a centralized platform.</p><p>That idea led to the development of <strong>SentinelOps</strong>.</p><p>SentinelOps is a personal SOC monitoring and security automation project designed to integrate different security capabilities into one centralized dashboard.</p><p>The project focuses on:</p><ul><li>SIEM alert monitoring.</li><li>Threat intelligence and IOC enrichment.</li><li>CERT-In advisory synchronization and notifications.</li><li>Windows endpoint security monitoring.</li><li>Vulnerability intelligence.</li><li>Incident management.</li><li>User authentication and role-based access control.</li></ul><p>In this article, I will explain the architecture, major modules, implementation approach, technologies, development challenges, and future improvements of SentinelOps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*z9P3BeDiFNqBEpuiIBpcVw.png" /></figure><h3>2. What is SentinelOps?</h3><p>SentinelOps is a modular SOC monitoring platform developed using Node.js, Express.js, PostgreSQL, JavaScript, and security automation technologies.</p><p>The primary objective is to provide security analysts with centralized visibility into security events, endpoint configurations, threat intelligence, and security advisories.</p><p>Rather than replacing existing security products, SentinelOps works as an additional monitoring and integration layer.</p><p>It connects different security components and presents relevant information through a centralized interface.</p><h3>3. Technology Stack</h3><p>The project uses the following technologies:</p><p>TechnologyPurposeNode.jsBackend runtimeExpress.jsREST API developmentPostgreSQLDatabase managementHTML, CSS, JavaScriptFrontend developmentSplunk EnterpriseSIEM integrationVirusTotal API v3IOC enrichmentPowerShellWindows endpoint collectionDocker ComposeApplication and database deploymentCERT-InSecurity advisory intelligenceNVDCVE intelligence synchronizationNodemailerEmail notification workflows</p><p>Each technology contributes to a different part of the security monitoring architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*l6jh5fWBSZc_-uJcnd2sog.png" /></figure><h3>4. SentinelOps Architecture</h3><p>The platform follows a modular architecture in which different security components communicate with the backend through APIs.</p><p>The general workflow is:</p><p><strong>Security Data Sources → Collection &amp; Integration → Backend Processing → PostgreSQL → Centralized Dashboard</strong></p><p>The major components include:</p><ol><li>Splunk integration for SIEM events and fired alerts.</li></ol><p>VirusTotal integration for IOC investigation.</p><ol><li>CERT-In synchronization for security advisories.</li><li>TrustLab for endpoint security assessments.</li><li>NVD synchronization for vulnerability intelligence.</li><li>User management and authentication.</li><li>Email notification and incident workflows.</li></ol><p>The modular design makes it easier to maintain individual integrations and introduce additional security capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rDkA-a1YwK1r8m5E" /><figcaption>Splunk Integration</figcaption></figure><h3>5. Splunk Integration — SIEM Alert Monitoring</h3><p>One of the core components of SentinelOps is its integration with Splunk Enterprise.</p><p>Splunk is used to collect and analyze machine-generated data and generate alerts based on configured detection rules.</p><p>I integrated Splunk with the SentinelOps backend to support centralized visibility into fired alerts and Windows Security event telemetry.</p><h3>Key capabilities</h3><ul><li>Splunk connectivity monitoring.</li><li>Fired-alert import.</li><li>Windows Security event synchronization.</li><li>Centralized incident visibility.</li><li>Duplicate alert prevention.</li><li>Background alert synchronization.</li></ul><p>The backend includes the following integration endpoints:</p><p>POST /api/splunk/import-fired-alerts</p><p>GET /api/splunk/events?limit=10</p><p>The project also implements background polling for fired alerts, with a default interval of approximately 15 seconds.</p><p>Windows Security event synchronization uses a separate polling workflow.</p><p>An important implementation detail is that only alerts explicitly triggered by configured Splunk saved searches are imported as incidents. Normal endpoint activity is not automatically treated as a security incident.</p><h3>Development challenge</h3><p>One of the major challenges was synchronizing alerts between Splunk and the custom dashboard.</p><p>Even when alerts were visible inside Splunk, additional troubleshooting was necessary to ensure that the backend could retrieve, process, and display them correctly.</p><p>This helped me understand the importance of API integration, event synchronization, and duplicate handling in SIEM workflows.</p><h3>6. VirusTotal Integration — Bulk IOC Investigation</h3><p>Threat intelligence is an important part of security operations.</p><p>SOC analysts regularly investigate suspicious indicators such as IP addresses, domains, and file hashes.</p><p>To support this workflow, I implemented a VirusTotal API v3 integration inside SentinelOps.</p><p>The module provides bulk IOC enrichment through Excel workbooks.</p><h3>Supported indicators</h3><ul><li>IPv4 and IPv6 addresses.</li><li>Domains.</li><li>MD5 hashes.</li><li>SHA-1 hashes.</li><li>SHA-256 hashes.</li></ul><p>URL-like input is normalized to its domain for lookup rather than performing a separate full-URL analysis.</p><h3>How it works</h3><ol><li>The analyst configures a VirusTotal API key.</li><li>The API connection can be tested from the dashboard.</li><li>The analyst uploads an Excel workbook.</li><li>SentinelOps extracts and validates the indicators.</li><li>The backend sends requests to VirusTotal.</li><li>Results are collected and converted into an enriched Excel report.</li></ol><p>The backend is configured to accept up to 500 indicators per workbook, subject to the configured file-size limit and API quota.</p><p>To respect public API rate limits, lookups are paced at approximately 15-second intervals.</p><h3>Information included in the results</h3><ul><li>IOC value and indicator type.</li><li>Malicious detection score.</li><li>Malicious and total engine counts.</li><li>Verdict.</li><li>Country information.</li><li>Organization or ASN information.</li><li>Community reputation.</li><li>Last analysis timestamp.</li><li>VirusTotal report reference.</li></ul><p>The generated report can be downloaded as an Excel workbook.</p><p>This module helped me understand how external threat intelligence APIs can be integrated into a custom SOC investigation workflow.</p><h3>7. CERT-In Integration — Automated Security Advisory Monitoring</h3><p>One of the important features of SentinelOps is its CERT-In advisory synchronization capability.</p><p>CERT-In publishes security advisories and vulnerability notes that organizations can use to identify relevant security risks.</p><p>I developed a synchronization component that retrieves advisory information from the official CERT-In website.</p><h3>Key capabilities</h3><ul><li>Automatic CERT-In advisory synchronization.</li><li>Security Advisory identification.</li><li>Vulnerability Note identification.</li><li>Advisory title and description extraction.</li><li>Severity information.</li><li>Affected product information.</li><li>Database synchronization.</li><li>Team-based notification queue generation.</li></ul><p>The synchronization component processes both:</p><ul><li>CIAD — Security Advisories.</li><li>CIVN — Vulnerability Notes.</li></ul><p>The backend automatically checks for new advisories after startup and periodically repeats synchronization.</p><p>New advisories are stored in PostgreSQL, while existing records are updated without unnecessarily creating duplicate notification entries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2gT8mOMrw2-AyaA3zjcJg.png" /></figure><h3>CERT-In Email Notification Workflow</h3><p>I also developed an email notification workflow to distribute security advisory information to relevant teams.</p><p>The notification system supports configurable recipient groups, including:</p><ul><li>SOC</li><li>Network</li><li>Server</li><li>IT</li><li>All Company</li></ul><p>The project also contains team-based notification queue logic for SOC, Network, Server, Cloud, AppDevOps, and IT Operations.</p><p>The workflow supports:</p><ol><li>Detecting newly synchronized advisories.</li><li>Creating notification queue entries.</li><li>Configuring recipient groups.</li><li>Generating email previews.</li><li>Editing email subjects and message content.</li><li>Selecting the exact advisory PDF.</li><li>Confirming and dispatching notifications.</li><li>Maintaining email dispatch history.</li></ol><p>SMTP configuration is managed from the administrative dashboard and stored using AES-256-GCM encryption.</p><p>A separate CERT-In email worker also supports dry-run, test, and send modes for processing queued notifications.</p><p>This component demonstrates how security advisory monitoring can be connected with organizational communication workflows.</p><h3>8. TrustLab — Windows Endpoint Security Monitoring</h3><p>TrustLab is an endpoint security monitoring component developed as part of SentinelOps.</p><p>Its purpose is to assess selected Windows security configurations and identify changes from an established security baseline.</p><p>The collector uses PowerShell scripts to gather endpoint information and submit scan results to the SentinelOps backend.</p><h3>Security checks</h3><p>TrustLab includes monitoring for:</p><ul><li>Windows Firewall profiles.</li><li>Microsoft Defender real-time protection.</li><li>Remote Desktop configuration.</li><li>Windows Event Log service.</li><li>Microsoft Defender Antivirus service.</li><li>Windows Defender Firewall service.</li><li>Windows Update service.</li><li>DNS and DHCP services.</li><li>Remote Registry service.</li><li>Additional Windows service configurations.</li></ul><p>The service inventory covers 12 selected Windows services, including their current state and startup configuration.</p><h3>Security Baseline Monitoring</h3><p>TrustLab supports saving a security baseline for a monitored endpoint.</p><p>When a subsequent scan is received, the backend compares the current configuration with the previously stored baseline.</p><p>The assessment can identify:</p><ul><li>PASS — Configuration meets the expected condition.</li><li>FAIL — Configuration does not meet the expected condition.</li><li>REVIEW — Additional investigation is required.</li><li>UNKNOWN — The configuration could not be assessed.</li><li>DRIFT — An observed configuration has changed from the saved baseline.</li></ul><h3>Evidence Integrity</h3><p>Another implementation detail is the use of SHA-256 hashes for scan evidence.</p><p>The backend stores scan results and their corresponding evidence hashes in PostgreSQL.</p><p>It also maintains persistent drift alerts and uses fingerprints to avoid creating duplicate alerts for the same unchanged drift condition.</p><p>An important design decision was to keep the endpoint collector read-only. It reports configurations without automatically changing Windows security settings.</p><h3>9. NVD Integration — Vulnerability Intelligence</h3><p>Vulnerability intelligence is another important aspect of security monitoring.</p><p>SentinelOps includes a standalone synchronization utility for the National Vulnerability Database (NVD).</p><p>The integration uses the NVD CVE API v2.0.</p><h3>Key capabilities</h3><ul><li>Fetching recently modified CVE records.</li><li>Processing vulnerability descriptions.</li><li>Extracting CVSS severity information.</li><li>Collecting affected product information.</li><li>Extracting CPE configuration data.</li><li>Storing CVE records in PostgreSQL.</li><li>Updating existing vulnerability records.</li></ul><p>The synchronization script is configured to process the previous seven days of CVE updates, using paginated API requests.</p><p>This provides a foundation for bringing vulnerability intelligence into the SentinelOps environment.</p><p>The current NVD synchronization is implemented as a standalone script rather than a scheduled background service in the main backend.</p><h3>10. User Management and Role-Based Access Control</h3><p>Security monitoring platforms require controlled access to sensitive information.</p><p>For this reason, I implemented a user authentication and management system in SentinelOps.</p><p>The platform supports three roles:</p><p><strong>ADMIN</strong></p><ul><li>Create new users.</li><li>View user accounts.</li><li>Change user roles.</li><li>Activate or deactivate accounts.</li><li>Configure administrative integrations.</li></ul><p><strong>SOC_ANALYST</strong></p><ul><li>Access authorized security monitoring modules.</li><li>Investigate incidents.</li><li>Work with security advisories.</li><li>Perform permitted security operations.</li></ul><p><strong>READ_ONLY</strong></p><ul><li>Access permitted monitoring information without administrative privileges.</li></ul><h3>Authentication features</h3><ul><li>Email-based login.</li><li>Password hashing using Node.js scrypt.</li><li>Signed authentication tokens.</li><li>Role-based authorization.</li><li>Account activation and deactivation.</li><li>Password change functionality.</li><li>Session expiration.</li></ul><p>The backend enforces permissions rather than relying only on frontend visibility.</p><p>This helps demonstrate the importance of access control in security monitoring applications.</p><h3>11. Incident Management and Email Notifications</h3><p>SentinelOps also includes incident-related workflows.</p><p>The purpose is to provide centralized visibility into security incidents and support notification processes.</p><p>The platform includes:</p><ul><li>Incident monitoring.</li><li>Severity classification logic.</li><li>Incident assignment-related user visibility.</li><li>Incident notification workflows.</li><li>Email notification functionality.</li><li>Incident reporting capabilities.</li></ul><p>Combining these workflows with SIEM alert integration provides a foundation for managing security events beyond their initial detection.</p><h3>12. Application Deployment and Infrastructure</h3><p>For application infrastructure, I used Docker Compose to organize the backend and PostgreSQL database services.</p><p>The application is designed to run locally in a development environment.</p><p>The backend exposes its API and frontend interface through the configured application port.</p><p>This approach helped me understand containerized application deployment and the relationship between application services and persistent database storage.</p><p><em>Invoke-RestMethod http://localhost:port/api/health</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7XbCJpw3c3bJuU8VsfjQTQ.png" /></figure><h3>13. Challenges During Development</h3><p>Building SentinelOps involved several practical development and troubleshooting challenges.</p><p><strong>Splunk Integration</strong></p><p>Getting fired alerts from Splunk into the custom backend and ensuring correct synchronization required multiple rounds of debugging.</p><p><strong>VirusTotal API Rate Limits</strong></p><p>Bulk IOC investigation required request pacing and handling API quota errors without continuing unnecessary requests.</p><p><strong>CERT-In Data Synchronization</strong></p><p>Extracting structured information from official advisory pages and preventing duplicate database entries required careful processing.</p><p><strong>Email Automation</strong></p><p>Developing recipient groups, SMTP configuration, preview workflows, PDF attachment validation, and dispatch history introduced additional backend complexity.</p><p><strong>Endpoint Monitoring</strong></p><p>Collecting Windows configuration information using PowerShell and maintaining baseline consistency required understanding Windows services and security settings.</p><p><strong>Authentication and Permissions</strong></p><p>Implementing different user roles required authorization checks across the backend APIs.</p><p>These challenges gave me practical experience in integrating multiple technologies into a single security monitoring application.</p><h3>14. What I Learned</h3><p>Developing SentinelOps helped me combine cybersecurity concepts with backend and frontend engineering.</p><p>Some of my major learning outcomes include:</p><ul><li>Practical Splunk SIEM integration.</li><li>Security alert synchronization.</li><li>Threat intelligence API integration.</li><li>Bulk IOC investigation.</li><li>CERT-In advisory monitoring.</li><li>Security notification workflows.</li><li>Windows endpoint monitoring.</li><li>PowerShell automation.</li><li>Security baseline and drift detection.</li><li>PostgreSQL database integration.</li><li>REST API development.</li><li>Authentication and RBAC.</li><li>Docker-based application deployment.</li><li>Troubleshooting real-world integration problems.</li></ul><p>Most importantly, I learned that developing a security platform requires understanding how different systems communicate, how data is processed, and how security information can be presented in a useful way.</p><h3>15. Future Development Roadmap</h3><p>SentinelOps is an ongoing personal development project.</p><p>Some of the improvements I want to explore include:</p><ul><li>MITRE ATT&amp;CK framework mapping.</li><li>Advanced alert correlation.</li><li>More automated incident response workflows.</li><li>Improved IOC enrichment and reporting.</li><li>Additional threat intelligence integrations.</li><li>Enhanced vulnerability prioritization.</li><li>Advanced security analytics.</li><li>Improved audit logging.</li><li>Expanded endpoint monitoring.</li><li>More comprehensive incident lifecycle management.</li></ul><p>The long-term objective is to continue evolving SentinelOps into a more comprehensive SOC monitoring and automation environment.</p><h4>Conclusion</h4><p>SentinelOps started with a simple objective: understand how different cybersecurity technologies can work together in one centralized monitoring platform.</p><p>During development, I worked on integrating Splunk, VirusTotal, CERT-In, NVD, Windows endpoint monitoring, email notification workflows, and user management.</p><p>The project gave me an opportunity to move beyond theoretical cybersecurity concepts and gain practical experience in security engineering and software development.</p><p>For me, SentinelOps represents an important step in my journey toward becoming a Cybersecurity and SOC Automation Engineer.</p><p><strong>Build. Integrate. Monitor. Investigate. Improve.</strong></p><p>This is just the beginning of SentinelOps.</p><h3>About the Author</h3><p><strong>Keshav Gupta</strong> is a cybersecurity professional and SOC Analyst interested in Security Operations, SIEM technologies, threat intelligence, endpoint security, cloud security, and security automation.</p><p>He enjoys building hands-on cybersecurity projects to understand real-world security challenges and develop practical engineering skills.</p><p><strong>Connect with me:</strong></p><p>LinkedIn: <a href="https://www.linkedin.com/in/keshav-g-736739308/">https://www.linkedin.com/in/keshav-g-736739308/</a></p><p>GitHub Profile: <a href="https://github.com/officialkeshav">https://github.com/officialkeshav</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=481dba638f06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Home SOC Lab: Building a Windows 11 SIEM Environment with Splunk, Kali Linux]]></title>
            <link>https://medium.com/@keshavvvgupta/home-soc-lab-building-a-windows-11-siem-environment-with-splunk-kali-linux-86ba61c31e10?source=rss-320fcdc58670------2</link>
            <guid isPermaLink="false">https://medium.com/p/86ba61c31e10</guid>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[window11]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Keshav gupta]]></dc:creator>
            <pubDate>Sat, 03 Oct 2026 12:58:40 GMT</pubDate>
            <atom:updated>2026-10-03T13:08:33.505Z</atom:updated>
            <content:encoded><![CDATA[<h4>A hands-on Home SOC project covering Splunk Enterprise deployment on Kali, Windows 11 log forwarding, Kali Linux security analysis, TCP 9997 troubleshooting, and centralized Windows event monitoring.</h4><h3>Introduction</h3><p>Building a Security Operations Center (SOC) environment at home is a great way to gain practical experience with SIEM platforms, log collection, monitoring, and security investigation.</p><p>In this project, I built a small Home SOC Lab using Splunk Enterprise as the SIEM platform and Windows 11 as the primary log source.</p><p><strong>The objective was simple:</strong></p><p>Collect Windows Event Logs → Forward them to Splunk → Verify the connection → Search and analyze the logs.</p><p>The lab also gave me an opportunity to troubleshoot a real-world forwarding issue involving TCP connectivity, Splunk receiving ports, and an inactive forward-server configuration.</p><h3>Lab Components</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b2XLhVvNB_Um9aix5-D_rw.png" /></figure><h3>Ports Used</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9acD2QzzDsX2og-89e4Bwg.png" /></figure><h3>Installing Splunk Enterprise</h3><p>The first component of the lab is Splunk Enterprise, which acts as the central SIEM platform.</p><p>The Splunk server is responsible for receiving, storing, searching, and analyzing logs generated by the Windows endpoint.</p><p>For the reference installation process:</p><h4>System Preparation</h4><ul><li>sudo apt install curl wget -y</li><li>sudo apt update &amp;&amp; sudo apt upgrade -y</li></ul><blockquote><strong>Download Splunk Enterprise</strong><br>1.Create a free account on Splunk.<br>2.Download Splunk Enterprise for Linux ( .deb or .tgz )<br>3.Or copy the direct download link:</blockquote><blockquote>wget -O splunk-10.6.0.5–86587d4e3b27-linux-amd64.deb “<a href="https://download.splunk.com/products/splunk/releases/10.6.0.5/linux/splunk-10.6.0.5-86587d4e3b27-linux-amd64.deb">https://download.splunk.com/products/splunk/releases/10.6.0.5/linux/splunk-10.6.0.5-86587d4e3b27-linux-amd64.deb</a>&quot;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VX9CL2QoLMbQ6X2QYoadRQ.png" /></figure><p><strong>Install Splunk</strong></p><p>If .deb file</p><blockquote>sudo dpkg -i splunk-10.0.2-e2d18b4767e9-linux-amd64.deb</blockquote><p><strong>Start Splunk &amp; Accept License</strong></p><blockquote>sudo /opt/splunk/bin/splunk start — accept-license — run-as-root</blockquote><ul><li>Accept license</li><li>Create admin username &amp; password</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QM6NwOUKSfzKht6rOkH_ZQ.png" /></figure><p><strong>Enable Auto Start (Important for Lab Stability)</strong></p><blockquote>sudo /opt/splunk/bin/splunk enable boot-start</blockquote><p><strong>Accessing Splunk Web</strong></p><p>Open browser:</p><ul><li>Local:<br><a href="http://127.0.0.1/">http://127.0.0.1</a>:8000</li><li>Remote:</li></ul><p>http://&lt;Kali_ip&gt;:8000</p><h4><strong>Login with the admin credentials you created.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jf3XMlzh3K9ATCPBUuqp7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lE2pOpqkLbVATozrHWcSZA.png" /></figure><h3>Enable Log Receiving on Splunk</h3><h4><strong>Configure Receiving Port</strong></h4><ol><li>Go to Settings → Forwarding and Receiving</li><li>Under Receive Data → Add New</li><li>Set port: 9997</li><li>Save</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ESTAqrpistL2UvySp5t08w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rOZbgm6sB2DSKpl2ZX4xbw.png" /></figure><h3>Create an Index</h3><ol><li>Go to Settings — Indexes</li><li>Create index: windows11</li><li>Save</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oSLH8Aj5ZRgRzPvVN4p7bg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t4xcQsHNf78vOwoQPr0YHQ.png" /></figure><h3>Splunk Universal Forwarder Installation (Windows 11)</h3><p><strong>Download Splunk Universal Forwarder for Windows (.msi)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gE0Y4HA0ZqiYQXYjlfZ6FA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r0YlfNdUHB5CJ_mjILg06A.png" /></figure><h4>Install Universal Forwarder</h4><p>1.Run .msi installer<br>2.Accept license<br>3.Enter Splunk admin credentials<br>4.Configure Splunk Server:</p><ul><li>Server IP: Kali IP</li><li>Management Port: 8089</li><li>Receiving Port: 9997</li></ul><h3>Select Logs</h3><p>Choose:<br>Windows Event Logs (System, Security, Application)</p><h3>Verify Forwarder Connection<br>On Splunk Server:</h3><p>Go to Settings — Forwarder Management<br><strong>You should see:</strong></p><p>Forwarder connected</p><p>Hostname of Windows system</p><p>This confirms successful deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ll8RbzKRJ9JGHEV0c4osrw.png" /></figure><h3>Verify Log Ingestion</h3><p>Go to Apps — Search &amp; Reporting<br>Run: index=main</p><p>Or:<br>index=windows11</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2AAHbbD37wmF3o6cHpMkVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJF6SfANTuWq6-N_xWSMXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Rzap5dnUxsnOLQ0Qr4Hyg.png" /></figure><h3>Deploying Splunk Universal Forwarder on Windows 11</h3><p>The Splunk Universal Forwarder was installed on the Windows 11 endpoint to collect and forward Windows Event Logs to Splunk Enterprise.</p><p>For this lab, I collected three primary Windows Event Log sources:</p><ul><li>Application</li><li>System</li><li>Security</li></ul><h3>Troubleshooting the Forwarding Connection</h3><p>One of the most useful parts of this lab was troubleshooting the forwarding connection.</p><h4>Initial Error</h4><p>The Universal Forwarder initially returned:</p><p><strong>tcp_conn_open_afux ossocket_connect failed with Winsock error #10061</strong></p><p>At this stage, the Universal Forwarder was configured with the Splunk receiving server, but the forwarding connection was not initially being established successfully.</p><h3>Step 1: Test TCP Connectivity</h3><h4>From Windows PowerShell:</h4><p><strong>Test-NetConnection 10.248.245.187 -Port 9997</strong></p><h4><strong>The result was:</strong></h4><p>TcpTestSucceeded : True</p><p>This confirmed that the Windows endpoint could reach the Splunk receiving port over TCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hgaQ1glT3jJRlMOv_sOQng.png" /></figure><h3>Step 2: Verify Splunk Receiving Port on Kali</h3><h4>On Kali Linux:</h4><p>sudo ss -lntp | grep 9997</p><p>The result confirmed that splunkd was listening on TCP 9997:</p><p>LISTEN 0 128 0.0.0.0:9997</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IyCDnUMv3bxxOXg1UcrogA.png" /></figure><p>This helped isolate the issue and confirm that the receiving service was available on the Splunk server.</p><h3>Forwarder Status</h3><p>I then verified the Universal Forwarder’s forwarding configuration:</p><p><strong>&amp; &quot;C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe&quot; list forward-server</strong></p><h4>The final configuration showed:</h4><p>Active forwards:<br> 10.248.245.187:9997</p><p>Configured but inactive forwards:<br> None</p><p>An obsolete forward-server entry was also removed during troubleshooting.</p><p>After restarting the Universal Forwarder, the current Splunk server appeared under <strong>Active forwards</strong>.</p><h3>Configuring Windows Event Log Collection</h3><h4>The Windows Universal Forwarder was configured using:</h4><p>C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf</p><h4>The configuration was:</h4><p>[WinEventLog://Application]<br>disabled = 0<br>index = main</p><p>[WinEventLog://System]<br>disabled = 0<br>index = main</p><p>[WinEventLog://Security]<br>disabled = 0<br>index = main</p><h4>After configuring the inputs, the Universal Forwarder was restarted:</h4><p><strong>&amp; &quot;C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe&quot; restart</strong></p><h3>Verifying the Universal Forwarder Connection</h3><p>To verify that Splunk Enterprise was receiving the Universal Forwarder’s connection, I used the following SPL query:</p><p><strong>index=_internal sourcetype=splunkd group=tcpin_connections</strong></p><p><strong>The resulting events contained fields such as:</strong></p><p>sourceHost=10.248.245.166<br>destPort=9997<br>fdType=uf<br>version=10.4.4 (The versions shown in the installation example may differ from the versions used during the actual lab testing.)</p><p>The fdType=uf field indicated that the connection was coming from a Splunk Universal Forwarder.</p><p>This provided a useful verification point between network connectivity and actual Splunk forwarding.</p><h3>Final Log Verification</h3><p>Finally, I searched the main index:</p><p><strong>index=main</strong></p><p>Once the Universal Forwarder and Windows Event Log inputs were configured, Windows events became searchable in Splunk.</p><h4>The complete data flow was:</h4><p>Windows Event Logs<br> ↓<br>Splunk Universal Forwarder<br> ↓<br>TCP 9997<br> ↓<br>Splunk Enterprise<br> ↓<br>index=main<br> ↓<br>SOC Monitoring &amp; Investigation</p><h3>What I Learned</h3><p>This lab helped me understand several practical SOC concepts:</p><ul><li>SIEM deployment and architecture</li><li>Windows Event Log collection</li><li>Splunk Universal Forwarder</li><li>TCP-based log forwarding</li><li>Splunk receiving ports</li><li>Forwarder troubleshooting</li><li>SPL-based log searching</li><li>Centralized security monitoring</li><li>Basic SOC telemetry validation</li></ul><p>The most valuable part of the lab was troubleshooting the forwarding issue rather than simply following an installation guide. It helped me understand how network connectivity, receiving ports, forwarder configuration, and log ingestion are connected.</p><h3>What’s Next?</h3><p>This Home SOC Lab is only the beginning.</p><p>My next steps are to build practical SOC use cases around the collected Windows telemetry, including:</p><ul><li>Failed login detection</li><li>Brute-force activity monitoring</li><li>Suspicious PowerShell activity</li><li>Account activity monitoring</li><li>Windows security event analysis</li><li>Detection rules</li><li>SOC dashboards</li><li>Incident investigation workflows</li></ul><p>The goal is to gradually transform this basic log collection environment into a more complete home SOC investigation lab.</p><h3>Conclusion</h3><p>Building this Home SOC gave me hands-on experience with Splunk Enterprise, Splunk Universal Forwarder, and Windows Event Logs.</p><p>More importantly, troubleshooting the forwarding path helped me understand the complete journey of security telemetry:</p><p>Windows Event Logs<br> ↓<br>Universal Forwarder<br> ↓<br>TCP 9997<br> ↓<br>Splunk Enterprise<br> ↓<br>SPL Search<br> ↓<br>Security Monitoring</p><p>This project provides a foundation for developing more advanced SOC detection and investigation scenarios in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86ba61c31e10" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>