<?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 Jason Hoskins Jr. on Medium]]></title>
        <description><![CDATA[Stories by Jason Hoskins Jr. on Medium]]></description>
        <link>https://medium.com/@jchoskins94?source=rss-54fcf07906d5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Thn2AdbqTp_FiRpWLNJrow.png</url>
            <title>Stories by Jason Hoskins Jr. on Medium</title>
            <link>https://medium.com/@jchoskins94?source=rss-54fcf07906d5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:15:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jchoskins94/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[Fixing “No Space Left on Device” in a VirtualBox Ubuntu VM (for Splunk Labs)]]></title>
            <link>https://medium.com/@jchoskins94/fixing-no-space-left-on-device-in-a-virtualbox-ubuntu-vm-for-splunk-labs-0be914714d41?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/0be914714d41</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[configuration-management]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 06:08:45 GMT</pubDate>
            <atom:updated>2026-01-20T06:20:49.180Z</atom:updated>
            <content:encoded><![CDATA[<p>Running Splunk in a home lab is fun, until your VM throws a “no space left on device” error and indexing grinds to a halt. The good news: you do not need to rebuild anything. You can safely expand your VirtualBox disk and grow your Ubuntu partition in place, then get right back to threat hunting.</p><p>This is the exact process I use in my own Splunk lab, written so you can both learn and show hiring managers you can troubleshoot real problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*-jhnLYbxdozTxjC7kyDHZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lhUhqgaiIUjLYuOL5qHClA.png" /></figure><p><strong>What we are going to do:</strong></p><p>At a high level, there are two layers to fix:</p><ol><li>VirtualBox layer: Increase the size of the virtual disk (.vdi) using Virtual Media Manager.</li><li>Ubuntu layer: Extend the partition and filesystem so the OS (and Splunk) can actually use the new space.</li></ol><p>You will see this pattern in a lot of infrastructure work: fix it at the hypervisor level, then fix it inside the guest.</p><p><strong>Prerequisites and Safety:</strong></p><p>Before touching disks, do these two things first:</p><ul><li><strong>Backup or snapshot the VM:</strong> If something goes wrong, you want a rollback point.</li><li><strong>Shut down the VM cleanly:</strong> Don’t use “Save state”. Fully power it off from inside Ubuntu, then close VirtualBox.</li><li>Once that’s done, you are ready.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*AJcMv3Z_Dk54-WEteB0a8A.png" /></figure><p><strong>Step 1: Increase the virtual disk size in VirtualBox</strong></p><p>This step tells VirtualBox, “Give this VM more disk capacity”.</p><ol><li>Open VirtualBox (on your host machine).</li><li>Go to File → Virtual Media Manager. This is where VirtualBox manages all virtual disks.</li><li>In the list, find the disk attached to your Ubuntu VM (it will usually be a .vdi file).</li><li>Select it, then look for the Size slider at the bottom.</li><li>Drag the slider to your new desired size. For example, from 40 GB to 100 GB.</li><li>Click Apply to confirm the resize.</li></ol><p>At this point, the virtual disk is larger, but Ubuntu still thinks it’s the old size. Next, we fix that from inside the VM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wEdtl0ukkfcdwpn1_7ReMA.png" /></figure><p><strong>Step 2: Inspect your disk layout in Ubuntu</strong></p><p>Now boot your Ubuntu VM. Then open a terminal and run this command: ‘lsblk’</p><p>You will see something like one of these listed below:</p><p>Non-LVM example (most simple labs):</p><p>sda<br>├─sda1 512M<br>└─sda2 39G</p><p>LVM example:</p><p>sda<br>└─sda2<br> └─ubuntu-vg-ubuntu-lv</p><ul><li><strong>If you see </strong>ubuntu-vg<strong> / </strong>ubuntu-lv, you’re using LVM.</li><li><strong>If you just see </strong>sda1<strong>, </strong>sda2<strong> and no </strong>vg<strong>/</strong>lv<strong> names</strong>, you’re likely non‑LVM.</li></ul><p>I’ll walk through <strong>non‑LVM first</strong> (most Splunk lab installs), then LVM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Sl0DfYomcGtzeocyOeHgFw.png" /></figure><p><strong>Step 3: Extend the partition and filesystem (non‑LVM)</strong></p><p>In non‑LVM setups, your root filesystem is usually on something like /dev/sda2.</p><p><strong>3.1 Install </strong><strong>growpart (if needed)</strong></p><p>growpart makes it easy to grow a partition to fill the new disk space.</p><p>Commands: sudo apt update<br>sudo apt install cloud-guest-utils</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*YjxmYJlgUT1XP-bfkV9bgg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*Ki616dEdDjmB3B8PhtlX9w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*WMNXWe_HZmc_Nc0GWplJdA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*AlWXGuzBct9e6joPSKwm2Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*8yR_UxV0HQM84p1GhZGC4Q.png" /></figure><p><strong>3.2 Grow the partition:</strong></p><p>Assuming your main partition is /dev/sda2:</p><p>Command: sudo growpart /dev/sda 2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*k058VFzBZaw0IgJxkBt4Eg.png" /></figure><ul><li>/dev/sda is the disk.</li><li>2 is the partition number (sda2).</li></ul><p>This tells Ubuntu: “Extend partition 2 to use all the free space on this disk”.</p><p><strong>3.3 Resize the filesystem:</strong></p><p>Now expand the filesystem to fill the larger partition:</p><p>Command: sudo resize2fs /dev/sda2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*P_Pcv5bzOQ2TzOY-_kPVdw.png" /></figure><p>When this completes, your root filesystem should now see the full disk size.</p><p><strong>3.4 Verify the new space:</strong></p><p>Command: df -h</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*4PBgkCz79SlkIVO4cTc8AQ.png" /></figure><p>Look for your root mount point (/). You should now see the increased size (e.g., ~100G instead of ~40G).</p><p><strong>Step 4: Extend the partition and filesystem (LVM-based Ubuntu)</strong></p><p>If your lsblk output showed ubuntu-vg and ubuntu-lv, you’re using LVM. The idea is the same, but there’s one extra layer: physical volume → logical volume → filesystem.</p><p><strong>4.1 Grow the partition (if needed):</strong></p><p>If /dev/sda2 is your LVM physical volume:</p><p>Command: sudo growpart /dev/sda 2</p><p><strong>4.2 Resize the physical volume:</strong></p><p>Command: sudo pvresize /dev/sda2</p><p>This tells LVM: “There’s more space available on this physical volume now”.</p><p><strong>4.3 Extend the logical volume:</strong></p><p>Find your logical volume name (often /dev/ubuntu-vg/ubuntu-lv). Then:</p><p>Command: sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv</p><p>+100%FREE means: use all remaining free space in the volume group.</p><p><strong>4.4 Resize the filesystem:</strong></p><p>Finally, grow the filesystem to fill the logical volume:</p><p>Command: sudo resize2fs /dev/ubuntu-vg/ubuntu-lv</p><p><strong>4.5 Verify:</strong></p><p>Command: df -h</p><p>Again, confirm that your root filesystem now reflects the new total size.</p><p><strong>Step 5: Confirm Splunk is happy again</strong></p><p>If Splunk had stopped indexing or thrown disk‑space warnings, restart it:</p><p>Command: sudo /opt/splunk/bin/splunk restart</p><p>Then log into the Splunk Web UI and confirm:</p><ul><li>No more disk space warnings.</li><li>Indexing has resumed.</li><li>Searches run normally.</li></ul><p>This is exactly the kind of operational fix that matters in real SOC and engineering environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G5HV0tmlXVNrfsNhABLDgg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*XjLSrioew_qvZvLt5ezQrQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*1mD0WBD3a93ADi-DQ2L_bw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bcllo7GHJQJhP8plh-6aXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DInQKWQAhdEoWzyvCt35Sw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-vEJXtgbVxWWhGpQjOl8DA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0be914714d41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloudflare HTTP Log Analysis using Splunk]]></title>
            <link>https://medium.com/@jchoskins94/cloudflare-http-log-analysis-using-splunk-9932ead032f3?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9932ead032f3</guid>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[http-status-code]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 02:20:51 GMT</pubDate>
            <atom:updated>2026-01-20T02:20:51.516Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Project Object:</strong></p><p>In this project, I’ll be working hands‑on with Cloudflare HTTP logs to strengthen my ability to analyze real web‑traffic patterns using field‑aware SPL. My goal is to move beyond basic log review and apply detection‑focused techniques that mirror what analysts and detection engineers do in production environments. As I progress through the lab, I will be:</p><ul><li><strong>Ingesting and analyzing Cloudflare HTTP logs</strong> to understand how Cloudflare structures request metadata, security signals, and WAF‑related fields, and how these can be leveraged for threat detection.</li><li><strong>Identifying high‑risk behaviors</strong> such as brute‑force attempts, SQL injection (SQLi), cross‑site scripting (XSS), local file inclusion (LFI), and broader reconnaissance activity by examining request patterns, URIs, methods, and security flags.</li><li><strong>Interpreting Cloudflare WAF and cache indicators</strong> to understand how Cloudflare responds to malicious traffic, how requests are classified, and how caching behavior can reveal attacker intent or evasion techniques.</li><li><strong>Practicing advanced JSON parsing with </strong>spath, enabling me to extract deeply nested fields from raw event payloads and transform Cloudflare’s structured logs into actionable insights.</li></ul><p>This project will help me build practical skills in cloud‑based log analysis, modern web‑attack detection, and SPL‑driven investigation key capabilities for threat hunting, detection engineering, and security operations.</p><p><strong>Preparation:</strong></p><p>Ingesting Cloudflare HTTP logs into Splunk</p><p>As part of the preparation phase, I’m first making sure the Cloudflare HTTP logs are properly onboarded into Splunk so I can run field‑aware SPL and spath later on.</p><p><strong>Step 1: Open the Add Data workflow</strong></p><p>I start in <strong>Splunk Web</strong> and navigate to:</p><p><strong>Settings → Add Data → Upload</strong></p><p>This opens the file upload workflow, which is ideal for bringing in a local JSONL dataset like the Cloudflare HTTP request logs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h1UXxYrrnkpkJzkH5HcNkA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T4H0vXD0IniSfnZhKhanUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*JzsXAriL2yl2MWsWG6Vlqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0u1plseIR6HgWfeRA0zzuQ.png" /></figure><p><strong>Step 2: Select the Cloudflare HTTP log file</strong></p><p>Next, I choose the file:</p><p>cloudflare_http_requests_with_raw.jsonl</p><p>This file contains one JSON object per line (JSONL format), which works well with Splunk’s _json sourcetype and later spath parsing for embedded fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*Yo_mw1HiTdQgkTrAPWT3xw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*s_pT_zZam2eXsPYFY1P4pQ.png" /></figure><p><strong>Step 3: Set the sourcetype</strong></p><p>For the sourcetype, I select:</p><p>_json</p><p>Using _json tells Splunk to automatically parse each line as JSON, which is important for working with Cloudflare’s structured HTTP logs and for later extracting nested fields with spath during searches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*BykJQY7v0H-170IEZZKtiA.png" /></figure><p><strong>Step 4: Choose or create the index</strong></p><p>I then assign the data to a dedicated index:</p><p><strong>Index: </strong>cloudflare_lab</p><p>Using a separate index keeps the Cloudflare dataset isolated from other logs, making searches cleaner and helping me focus on this specific project’s analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NSAOslf5Vj_Ig5jSF3NJaA.png" /></figure><p><strong>Step 5: Complete the upload and validate the data</strong></p><p>After confirming the settings, I finish the upload. Once indexing completes, I validate that the data landed correctly by running a quick search: index=cloudflare_lab<br>| head 5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Saqx3N21f8y5w0hyVgQhVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aazp0IFSp0D5Pmeq41aP0g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fX8_ACrNkWS0sP71yetS9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dXtB4wG68dK4JMhjn3_PLw.png" /></figure><p>This lets me confirm that events are present, the _json sourcetype is applied, and the raw JSON structure is intact setting me up to use field‑aware SPL and spath in the next phase of the project.</p><p><strong>Task 1: Detecting Brute‑Force Login Attempts</strong></p><p>Brute‑force activity is one of the most common forms of web‑based attacks. Adversaries repeatedly attempt to authenticate against login endpoints — often using automated tools — until they find valid credentials. These attempts typically generate a high volume of 401 Unauthorized or 403 Forbidden responses, which makes HTTP logs an excellent source for detection.</p><p>In this task, I’m analyzing Cloudflare HTTP logs to identify repeated failed login attempts against common authentication endpoints. This helps me surface potential brute‑force behavior and understand which clients, tools, or scripts may be responsible.</p><p><strong>SPL Query: </strong>index=cloudflare_lab (URI=”/login.php” OR URI=”/wp-login.php” OR URI=”/admin/login”) (Status=401 OR Status=403)<br>| stats count AS attempts by ClientIP, URI, UserAgent<br>| sort -attempts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wu5qe9TnqRSKvsXXJVL45g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K3nvBQ7BM8qfAZBOOFqL-w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z4fplP9k6WCYxZjhDOC4bA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zzr7q7jx_2ncAZmSemCMXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pjpMtTeQAApvwDXKmrHPjA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fBvPMauyyT7H6aYoK3GRTQ.png" /></figure><p><strong>How This Query Works:</strong></p><p>1. Focus on high‑risk authentication endpoints</p><p>I begin by filtering for login‑related URIs commonly targeted during brute‑force attacks:</p><ul><li><strong>/login.php</strong> — Generic login handler.</li><li><strong>/wp-login.php</strong> — WordPress login page, a frequent target.</li><li><strong>/admin/login</strong> — Administrative authentication portal.</li></ul><p>These endpoints are attractive to attackers because compromising them provides direct access to the application.</p><p><strong>2. Filter for failed authentication responses</strong></p><p>Status=401 OR Status=403</p><p>I narrow the dataset to HTTP responses that indicate failed authentication:</p><ul><li><strong>401 Unauthorized</strong> — Invalid credentials.</li><li><strong>403 Forbidden</strong> — Access blocked, often after repeated failures.</li></ul><p>A high volume of these responses from the same client is a strong brute‑force indicator.</p><p><strong>3. Aggregate attempts by key identifiers</strong></p><p>| stats count AS attempts by ClientIP, URI, UserAgent</p><p>This step groups the failed login attempts by:</p><ul><li><strong>ClientIP</strong> — The source of the requests.</li><li><strong>URI</strong> — The specific login endpoint targeted.</li><li><strong>UserAgent</strong> — The tool or browser used.</li></ul><p>This combination helps me distinguish between:</p><ul><li>Human users mistyping passwords.</li><li>Automated scripts.</li><li>Credential‑stuffing tools.</li><li>Distributed brute‑force attempts.</li></ul><p><strong>4. Sort by highest attempt volume</strong></p><p>| sort -attempts</p><p>Sorting in descending order highlights the most aggressive sources first, making it easy to identify suspicious clients or automated tools.</p><p><strong>How These Fields Support Brute‑Force Detection</strong></p><p><strong>URI pinpoints login endpoints</strong></p><p>The <strong>URI</strong> field tells me exactly which authentication page the client attempted to access. By focusing on high‑risk login paths — such as /login.php, /wp-login.php, and /admin/login—I can isolate traffic that directly targets authentication workflows. These endpoints are frequently abused during brute‑force attacks because compromising them grants immediate access to the application. Tracking requests to these URIs helps me distinguish normal browsing from deliberate credential‑guessing activity.</p><p><strong>Status 401/403 surfaces failed logins to flag brute‑force sources</strong></p><p>HTTP <strong>401 Unauthorized</strong> and <strong>403 Forbidden</strong> responses are strong indicators of failed authentication attempts. When these status codes appear repeatedly from the same <strong>ClientIP</strong>, especially against known login URIs, it often signals automated brute‑force behavior. By filtering on these codes, I can quickly surface:</p><ul><li>Clients repeatedly submitting invalid credentials.</li><li>Tools or scripts attempting credential stuffing.</li><li>Blocked access attempts after multiple failures.</li><li>Early signs of reconnaissance or account‑testing activity.</li></ul><p>These status codes act as a reliable signal for detecting authentication abuse and help me prioritize which sources require deeper investigation.</p><p><strong>Task 2: Detecting SQL Injection (SQLi) Attempts</strong></p><p>SQL injection remains one of the most impactful and widely exploited web‑application vulnerabilities. Attackers attempt to manipulate backend database queries by injecting malicious SQL syntax into parameters, URIs, or form fields. These payloads often follow recognizable patterns, making them detectable within HTTP logs — especially when working with Cloudflare’s structured event data.</p><p>In this task, I’m analyzing Cloudflare HTTP logs to identify requests containing classic SQLi signatures. Detecting these patterns early helps surface reconnaissance, exploitation attempts, and automated scanning tools targeting the application.</p><p><strong>SPL Query: </strong>index=cloudflare_lab (URI=”*’ OR ‘1’=’1*” OR URI=”*UNION SELECT*”)<br>| stats count AS hits by ClientIP, URI, UserAgent, WAFAction<br>| sort -hits</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sh0VYqgg0iSYGqeUtS1uqQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTlrgRVNgNBKBgFEgu6q2w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uaZdIMVXXy--gK7r-wtbbQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*avGBnWr52FHGjuD3zhCt1g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drrOryGLNMepscwUh3o6Vg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0OhjTPY3qBqB5YxqsXXW2w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G_eVP4A4RwnZAaENOBBPKg.png" /></figure><p><strong>How This Query Works:</strong></p><p><strong>1. Filter for SQLi‑related payloads in the URI</strong></p><p>I’m searching for two of the most common SQL injection patterns:</p><ul><li>&#39; OR &#39;1&#39;=&#39;1 A classic Boolean‑based SQLi payload used to bypass authentication or force true conditions.</li><li>UNION SELECT A common technique used to extract data by merging attacker‑controlled queries with legitimate ones.</li></ul><p>By filtering for these patterns in the <strong>URI</strong>, I can quickly surface requests that contain obvious SQL injection attempts.</p><p><strong>2. Aggregate SQLi attempts by key identifiers</strong></p><p>| stats count AS hits by ClientIP, URI, UserAgent, WAFAction</p><p>This step groups SQLi‑related events by:</p><ul><li><strong>ClientIP</strong> — Identifies the source of the attack.</li><li><strong>URI</strong> — Shows which endpoint was targeted.</li><li><strong>UserAgent</strong> — Helps distinguish browsers from automated tools.</li><li><strong>WAFAction</strong> — Indicates how Cloudflare responded (e.g., allowed, blocked, challenged).</li></ul><p>Including <strong>WAFAction</strong> is especially valuable because it shows whether Cloudflare detected and mitigated the attack or if the request passed through unchallenged.</p><p><strong>3. Sort by highest SQLi activity</strong></p><p>| sort -hits</p><p>Sorting in descending order highlights the most active SQLi sources first. This helps me quickly identify:</p><ul><li>Aggressive scanners.</li><li>Automated SQLi tools.</li><li>Repeated probing from the same IP.</li><li>Potential targeted attacks.</li></ul><p>The <strong>URI</strong> field reveals instances where attackers attempt to inject malicious payloads directly into request paths or parameters, a common technique used to exploit web application vulnerabilities.</p><p>The <strong>WAFAction</strong> field provides visibility into how Cloudflare’s Web Application Firewall responds to these requests, indicating whether the traffic was <strong>logged</strong>, <strong>challenged</strong>, or <strong>blocked</strong> based on predefined security rules and threat intelligence.</p><p>By correlating injected payloads within URIs with corresponding WAF actions, this analysis demonstrates how modern WAFs detect, evaluate, and mitigate potentially malicious web requests before they reach the application.</p><p><strong>Task 3: Detecting Cross‑Site Scripting (XSS) Attempts</strong></p><p>Cross‑Site Scripting (XSS) is a client‑side injection attack where adversaries attempt to execute malicious JavaScript inside a victim’s browser. These payloads often appear directly in the request URI — either in raw form (e.g., &lt;script&gt;) or URL‑encoded (e.g., %3Cscript%3E). Because Cloudflare logs capture full request URIs, they provide excellent visibility into early‑stage XSS probing and exploitation attempts.</p><p>In this task, I’m analyzing Cloudflare HTTP logs to identify requests containing JavaScript injection patterns. Detecting these payloads helps surface reconnaissance activity, automated scanners, and attempts to exploit vulnerable input fields.</p><p><strong>SPL Query: </strong>index=cloudflare_lab (URI=”*&lt;script&gt;*” OR URI=”*%3Cscript%3E*”)<br>| stats count AS hits by ClientIP, URI, UserAgent, Status<br>| sort -hits</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7k802ThlGIODTatayRL7zA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wQtCJtTLu4MCoJDlA56lkQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hBB570zteUhizCogFSq1WA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5QfjcZ3T0OiRP-No4nrL4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DgV-1s1IXdpnAG3jCEXp5Q.png" /></figure><p><strong>How This Query Works:</strong></p><p><strong>1. Filter for XSS‑related JavaScript payloads in the URI</strong></p><p>I’m searching for two common XSS indicators:</p><ul><li>&lt;script&gt; — Raw JavaScript injection</li><li>%3Cscript%3E — URL‑encoded version of &lt;script&gt;</li></ul><p>Attackers often embed these payloads into query parameters or form submissions to test whether the application reflects user input back to the browser. By filtering on these patterns, I can quickly surface potential XSS attempts.</p><p><strong>2. Aggregate XSS attempts by key identifiers</strong></p><p>| stats count AS hits by ClientIP, URI, UserAgent, Status</p><p>This step groups the events by:</p><ul><li><strong>ClientIP</strong> — Identifies the source of the XSS attempt.</li><li><strong>URI</strong> — Shows the exact payload and endpoint targeted.</li><li><strong>UserAgent</strong> — Helps distinguish browsers from automated scanners.</li><li><strong>Status</strong> — Indicates whether the request succeeded or triggered an error.</li></ul><p>Including <strong>Status</strong> is especially useful because it helps me understand how the origin server or Cloudflare edge responded to the malicious request.</p><p><strong>3. Sort by highest XSS activity</strong></p><p>| sort -hits</p><p>Sorting in descending order highlights the most active sources first, helping me quickly identify:</p><ul><li>Automated XSS scanners.</li><li>Repeated probing from the same IP.</li><li>Payload variations targeting multiple endpoints.</li></ul><p>As I review the results, I focus on:</p><ul><li><strong>Which URIs contain the JavaScript payload</strong> This shows where attackers are attempting to inject script tags.</li><li><strong>Whether the Status code indicates success or failure</strong></li><li>A <strong>200 OK</strong> may indicate the payload was reflected or processed</li><li>A <strong>403 Forbidden</strong> may indicate Cloudflare blocked the request</li><li>A <strong>500‑level error</strong> may signal backend issues triggered by the payload</li><li><strong>User‑Agent patterns</strong> Tools like XSStrike, custom scripts, or browser automation frameworks often appear during XSS testing.</li><li><strong>Repeated attempts from the same ClientIP</strong> This may indicate targeted probing or automated scanning.</li></ul><p>This task helps me identify early‑stage XSS activity and understand how the application and Cloudflare respond to malicious JavaScript injection attempts.</p><p><strong>Task 4: Detecting Local File Inclusion (LFI) &amp; Directory Traversal Attempts</strong></p><p>Local File Inclusion (LFI) and directory traversal attacks occur when an adversary attempts to access files on the server that should never be exposed — such as configuration files, system credentials, or application source code. These attacks often rely on predictable patterns, including references to sensitive file paths or traversal sequences like ../.</p><p>Cloudflare HTTP logs provide excellent visibility into these attempts because the malicious payloads frequently appear directly in the request URI. In this task, I’m analyzing the dataset to identify requests that match known LFI and traversal signatures.</p><p><strong>SPL Query: </strong>index=cloudflare_lab (URI=”*/etc/passwd*” OR URI=”*../*” OR URI=”*..%2F*”)<br>| stats count AS attempts by ClientIP, URI, Status<br>| sort -attempts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1OWpoRoG7uR0bAVhJ1wY5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bwyIDrep1bXureDNTrFOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dJQEGiVZKPya_EHJOwuWZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*batR1SoiF7HJv3W5zrP-Ig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iz4tAHEv0_mMKz7tqdK0Ow.png" /></figure><p><strong>How This Query Works:</strong></p><p><strong>1. Pattern‑match URIs for LFI and traversal indicators</strong></p><p>The query filters for three common attack patterns:</p><ul><li>/etc/passwd A high‑value Linux system file frequently targeted during LFI attempts.</li><li>../ Raw directory traversal used to escape the web root.</li><li>..%2F URL‑encoded traversal (%2F = /), often used to bypass naive filtering.</li></ul><p>By matching these patterns in the <strong>URI</strong>, I can surface requests that strongly resemble LFI or traversal attacks, whether they are manual probes or automated scans.</p><p><strong>2. Aggregate attempts by key identifiers</strong></p><p>| stats count AS attempts by ClientIP, URI, Status</p><p>This step groups the results by:</p><ul><li><strong>ClientIP</strong> — Identifies the source of the attack.</li><li><strong>URI</strong> — Shows the exact traversal or file‑access payload.</li><li><strong>Status</strong> — Indicates how the server responded.</li></ul><p>Including <strong>Status</strong> is especially important for LFI analysis because it helps me understand whether the attempt was:</p><ul><li><strong>Denied</strong> (e.g., 403 Forbidden).</li><li><strong>Blocked by Cloudflare.</strong></li><li><strong>Successful</strong> (e.g., 200 OK), which may indicate exposure.</li></ul><p><strong>3. Sort by highest attempt volume</strong></p><p>| sort -attempts</p><p>Sorting in descending order highlights the most aggressive or persistent sources first, making it easier to identify:</p><ul><li>Automated scanners.</li><li>Repeated probing from the same IP.</li><li>Attackers testing multiple traversal variations.</li></ul><p>As I review the results, I focus on:</p><ul><li><strong>Which URIs contain sensitive file paths or traversal sequences</strong> This shows exactly what attackers attempted to access.</li><li><strong>Whether the Status code indicates exposure or denial</strong></li><li><strong>200 OK</strong> may indicate the server returned content.</li><li><strong>403 Forbidden</strong> suggests Cloudflare or the origin blocked the request.</li><li><strong>404 Not Found</strong> may indicate probing for non‑existent files.</li><li><strong>Repeated attempts from the same ClientIP</strong> This often signals automated LFI scanning or targeted reconnaissance.</li><li><strong>Payload variations</strong> Attackers frequently try multiple encodings or traversal depths to bypass filters.</li></ul><p>This task helps me identify early‑stage LFI and directory traversal activity and evaluate how effectively the application and Cloudflare mitigated these attempts.</p><p><strong>Task 5: Detecting Reconnaissance &amp; Admin Path Scanning</strong></p><p>Before launching an attack, adversaries often perform reconnaissance to map out the application’s structure and identify high‑value administrative interfaces. These scans frequently target predictable admin paths, developer utilities, or configuration endpoints. Even if these paths don’t exist, the <em>attempts themselves</em> are strong indicators of probing behavior.</p><p>In this task, I’m analyzing Cloudflare HTTP logs to identify requests targeting common administrative or internal utility paths. Detecting these patterns helps surface early‑stage recon activity, automated scanners, and attempts to discover misconfigurations or exposed management interfaces.</p><p><strong>SPL Query: </strong>index=cloudflare_lab (URI=”/admin” OR URI=”/phpmyadmin” OR URI=”/wp-admin” OR URI=”/.git/HEAD” OR URI=”/server-status”)<br>| stats count AS hits by ClientIP, URI, Status<br>| sort -hits</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w3Z7Anw3hemtrqAdqD9nVA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HmD02hZa61xJ_j-dd_hXJA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LRUpfJh8z8w6GjnyjMxvDQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zb0aWEictvHORPcpox28CQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sIuceSn2k9A33P52-NxIpw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f_IxQmUZx6PsCLhSyAtHOg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-vEJXtgbVxWWhGpQjOl8DA.png" /></figure><p><strong>How This Query Works:</strong></p><p><strong>1. Filter for high‑value admin and utility paths</strong></p><p>The query focuses on URIs commonly targeted during reconnaissance:</p><ul><li><strong>/admin</strong> — Generic admin panel.</li><li><strong>/phpmyadmin</strong> — MySQL administration interface, frequently exploited.</li><li><strong>/wp-admin</strong> — WordPress admin dashboard.</li><li><strong>/.git/HEAD</strong> — Exposed Git repository metadata.</li><li><strong>/server-status</strong> — Apache server status page, often misconfigured.</li></ul><p>These paths are attractive to attackers because they may expose sensitive configuration data or provide direct access to administrative functions.</p><p><strong>2. Aggregate recon attempts by key identifiers</strong></p><p>| stats count AS hits by ClientIP, URI, Status</p><p>This step groups the events by:</p><ul><li><strong>ClientIP</strong> — Identifies the source of the scanning activity.</li><li><strong>URI</strong> — Shows which admin path was targeted.</li><li><strong>Status</strong> — Indicates how the server responded.</li></ul><p>The <strong>Status</strong> field is especially important because it reveals whether the request:</p><ul><li><strong>Returned 404 Not Found</strong> → Path doesn’t exist (good).</li><li><strong>Returned 403 Forbidden</strong> → Access blocked (expected).</li><li><strong>Returned 200 OK</strong> → Potentially exposed admin interface (high‑risk).</li></ul><p><strong>3. Sort by highest recon activity</strong></p><p>| sort -hits</p><p>Sorting in descending order highlights the most active reconnaissance sources first, helping me quickly identify:</p><ul><li>Automated scanners.</li><li>Bots probing multiple admin paths.</li><li>Targeted recon from a single IP.</li><li>Repeated attempts against the same interface.</li></ul><p>As I review the results, I focus on:</p><ul><li><strong>Which admin paths were targeted</strong> Some paths (like /phpmyadmin or /.git/HEAD) are especially dangerous if exposed.</li><li><strong>Whether any requests returned a 200 OK</strong> This may indicate an accessible admin interface or misconfiguration.</li><li><strong>Repeated scanning from the same ClientIP</strong> A strong sign of automated reconnaissance.</li><li><strong>Patterns across multiple tasks</strong> for example, if the same IP appears in SQLi, XSS, and recon tasks, it may indicate a coordinated attack.</li></ul><p>This task helps me identify early‑stage reconnaissance behavior and evaluate whether any administrative interfaces are exposed or misconfigured.</p><p><strong>Conclusion:</strong></p><p>This project strengthened my ability to analyze Cloudflare HTTP logs using field‑aware SPL and spath, detect common web‑attack patterns, and interpret WAF and edge responses. I gained hands‑on experience identifying brute‑force attempts, SQLi, XSS, LFI, and reconnaissance activity, while learning how these behaviors surface in real log data. Overall, this work sharpened my detection engineering skills and improved my ability to turn raw HTTP events into actionable security insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9932ead032f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTTP Log Analysis using Splunk]]></title>
            <link>https://medium.com/@jchoskins94/http-log-analysis-using-splunk-8523176b3285?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8523176b3285</guid>
            <category><![CDATA[http-status-code]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[threat-detection]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 20:42:55 GMT</pubDate>
            <atom:updated>2026-01-16T20:43:22.355Z</atom:updated>
            <content:encoded><![CDATA[<p>Project Objective:</p><p>In this lab, I am working hands-on with HTTP log data to strengthen my ability to analyze web traffic using Splunk. As I progress through the exercises, I am:</p><ul><li><strong>Ingesting and examining HTTP logs</strong> to understand how web requests are captured, structured, and interpreted within Splunk.</li><li><strong>Identifying client‑side and server‑side errors</strong>, giving me deeper insight into how different HTTP status codes reflect user behavior and application issues.</li><li><strong>Investigating suspicious or abnormal web activity</strong>, including unusual request patterns, probing behavior, and potential indicators of compromise.</li><li><strong>Analyzing large file transfers and high‑risk URI access attempts</strong> to recognize activity that may signal data exfiltration, misuse, or unauthorized access.</li></ul><p>This lab is helping me build practical skills in web‑log analysis, threat hunting, and real‑world incident investigation.</p><p><strong>Lab Setup:</strong></p><p><em>Splunk:</em> Already installed and accessible.</p><p><em>Data Source:</em> JSON-formatted Zeek DNS logs.</p><p><em>Log File:</em> Download the file below and place it in a directory accessible to Splunk for ingestion.</p><p><strong>Walkthrough on How to Download a Raw File from GitHub:</strong></p><p>If you’ve ever clicked a GitHub <strong>raw</strong> link and watched the file open as plain text in your browser instead of downloading, you’re not alone. Browsers treat raw files as readable text by default, which can be confusing when you’re trying to pull logs, JSON, or datasets for your security lab work.</p><p>Here’s a quick, reliable walkthrough to download any raw GitHub file without the headache.</p><p><strong>Step 1:</strong> Open the Raw File Link</p><p>When you click a GitHub raw link (for example, a .json or .log file), your browser will display the contents directly in the window.</p><p>This is normal — GitHub’s raw view strips formatting and serves the file as plain text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WyxGkRt57QTdt8PNQTH0MQ.png" /></figure><p><strong>Step 2: </strong>Use “Save As” to Download the File</p><p>Once the raw data is visible:</p><ul><li><strong>Right‑click</strong> anywhere on the page</li><li>Select <strong>Save As…</strong></li><li>Choose a filename and make sure the extension matches the file type (e.g., .json, .log, .csv)</li></ul><p>This forces the browser to save the file instead of displaying it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*CB92m6uya5-Tl5Rp.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gDrzy-WrEMvvDwZd9eCeTw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*V05rmt5-n5J4BhZ16uyT2Q.png" /></figure><p><strong>Step 3: </strong>(Alternative) Use the Keyboard Shortcut</p><p>If right‑click is blocked or you prefer shortcuts:</p><ul><li><strong>Windows:</strong> Press <strong>Ctrl + S</strong></li><li><strong>Mac:</strong> Press <strong>Cmd + S</strong></li></ul><p>Save the file with the correct extension so your tools (Splunk, Python, etc.) recognize it properly.</p><p><strong>Step 4:</strong> (Optional) Download from the GitHub UI Instead</p><p>If you want to avoid raw links entirely:</p><ol><li>Open the file in the GitHub repository</li><li>Click the <strong>“Raw”</strong> button</li><li>Then use <strong>Save As</strong> again <em>or</em> Click the <strong>“Download raw file”</strong> icon if available</li></ol><p>This method is especially helpful when browsing a repo directly.</p><p><strong>Final Thoughts:</strong></p><p>This small trick saves a lot of frustration, especially when you’re working with log files or datasets for SOC labs, detection engineering, or Splunk ingestion. As long as you save the file with the correct extension, your tools will parse it cleanly.</p><p><strong>Preparation:</strong></p><p><strong>Ingesting HTTP Logs into Splunk</strong></p><p>To begin analyzing web‑traffic data, I first need to ingest the HTTP log file into Splunk. This ensures the events are properly parsed, indexed, and ready for search. I followed the steps below to prepare the dataset for analysis:</p><ol><li><strong>I navigated to Splunk Web and opened <em>Settings → Add Data</em></strong> to access Splunk’s data‑onboarding workflow. This is where I can upload files, configure sourcetypes, and assign indexes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*JzsXAriL2yl2MWsWG6Vlqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0u1plseIR6HgWfeRA0zzuQ.png" /></figure><p><strong>2. I selected the <em>Upload</em> option and chose the </strong>http_logs.json<strong> file</strong> from my local system. This loads the raw HTTP events into Splunk so they can be parsed and indexed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i-pMFVoV5ts9IN5elM8Z-w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*WJwi895X_xOl8DTnJlIk5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NE2lgFLLzug2WBy_ujmQ5A.png" /></figure><p><strong>3. I set the sourcetype to </strong>json<strong>, or alternatively created a custom sourcetype such as </strong>zeek:http to better reflect the structure of Zeek‑formatted HTTP logs. Defining the correct sourcetype ensures Splunk extracts fields accurately during ingestion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*IaGUMKCsYqD1A0-Egreuvg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bN_lZ32-HQt1vwkhzgHutA.png" /></figure><p><strong>4. I selected an index — either the default </strong>main<strong> index or a dedicated index like </strong>http_lab to keep this dataset organized and separate from other log sources. Using a dedicated index makes searching and managing the data much easier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0s73yiKTIlxlzaM76SRAqA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*A_YJ_3ltCdRBZEIYSKO2gQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DC4e4n0W_CQgi2QV2pREAQ.png" /></figure><p><strong>5. I completed the upload and verified that the events were indexed successfully</strong> by running a quick search to confirm that Splunk recognized the new data and extracted the expected fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*InOyDnRZMI3wH2RfL8hYTQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aazp0IFSp0D5Pmeq41aP0g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZWN908qdg5aXLlDBDqevlQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qKycrXZb19X_c5lVRFntig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kRkIVkPq71M2BHbp2H6umQ.png" /></figure><p>This setup step ensures that all subsequent HTTP log analysis — status codes, URI patterns, anomalies, and large file transfers — can be performed cleanly and efficiently.</p><p>Task 1: Find the top 10 endpoints generating web traffic</p><p>One of the first steps in analyzing HTTP activity is understanding which endpoints (client IP addresses) are generating the most web traffic. High‑volume endpoints can reveal normal behavior — such as active user machines or internal services — but they can also highlight systems that may be misconfigured, compromised, or performing automated tasks.</p><p>By identifying the top talkers in the dataset, I can begin establishing a baseline for normal web‑traffic patterns and quickly spot anomalies that may require deeper investigation.</p><p><strong>SPL Query:</strong></p><p>index=http_lab sourcetype=”json”<br>| stats count by id.orig_h<br>| sort -count<br>| head 10</p><p><strong>How this Query works:</strong></p><p><strong>1. Search the HTTP dataset</strong></p><p>index=http_lab sourcetype=&quot;json&quot;</p><p>I start by narrowing the search to the HTTP lab index and specifying the JSON sourcetype. This ensures I’m only analyzing the HTTP events I ingested earlier, keeping the results clean and focused.</p><p><strong>2. Count web requests per client IP</strong></p><p>| stats count by id.orig_h</p><p>The id.orig_h field represents the <strong>originating host</strong>, meaning the client IP address that initiated each HTTP request. Using stats count by id.orig_h, Splunk groups all events by client IP and counts how many requests each one generated.</p><p>This gives me a clear picture of which endpoints are the most active.</p><p><strong>3. Sort by activity level</strong></p><p>| sort -count</p><p>Sorting in descending order places the highest‑volume endpoints at the top, making it easy to identify the most active systems in the dataset.</p><p><strong>4. Limit the results to the top 10</strong></p><p>| head 10</p><p>This final step trims the output to the top 10 endpoints, allowing me to focus on the most significant contributors to web traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wVNrZIKp3fxWMgv32RcyA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uKIhrYyoKmG_pYeMy9nk7A.png" /></figure><p><strong>Visualization:</strong></p><p>To make the results from Task 1 easier to interpret, I created a bar chart in Splunk that visually highlights the most active client IPs. This helps me quickly spot which endpoints dominate web‑traffic generation and whether any systems stand out as unusually noisy.</p><p><strong>How I Built the Visualization in Splunk</strong></p><ol><li>I ran the query from Task 1 to generate the top 10 endpoints.</li><li>In the Splunk Search interface, I selected the <strong>Visualization</strong> tab.</li><li>I chose <strong>Bar Chart</strong> as the visualization type.</li><li>I set:</li></ol><ul><li><strong>X‑Axis:</strong> id.orig_h (client IP addresses)</li><li><strong>Y‑Axis:</strong> count (number of HTTP requests)</li></ul><ol><li>I applied sorting and formatting to make the chart easier to read, ensuring the highest‑volume endpoints appear on the left.</li></ol><p><strong>Why This Visualization Matters</strong></p><ul><li>It provides an immediate snapshot of traffic distribution across endpoints.</li><li>It helps identify outliers that may require deeper investigation.</li><li>It supports baseline creation for normal vs. abnormal web‑traffic behavior.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x2jpS9lPrTOMGXCJwDNDeg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9mUAnZkdCq3ne7NiDg_UdA.png" /></figure><p><strong>Task 2: Count the number of server errors (5xx) observed</strong></p><p>Server‑side errors (HTTP 5xx responses) are important indicators of application instability, backend failures, or misconfigurations. In some cases, repeated 5xx errors can also signal malicious probing or stress conditions on a web server.</p><p>In this task, I focused on identifying how many server errors occurred within the dataset to better understand the health and reliability of the web service being monitored.</p><p><strong>SPL Query: </strong>index=http_lab sourcetype=”json” status_code&gt;=500 status_code&lt;600<br>| stats count as server_errors</p><p><strong>How this query works:</strong></p><p><strong>1. Filter for server‑side error responses</strong></p><p>status_code&gt;=500 status_code&lt;600</p><p>I filtered the dataset to include only events where the HTTP status code falls within the 5xx range. These codes represent server‑side failures such as:</p><ul><li><strong>500</strong> — Internal Server Error</li><li><strong>502</strong> — Bad Gateway</li><li><strong>503</strong> — Service Unavailable</li><li><strong>504</strong> — Gateway Timeout</li></ul><p>This ensures I’m analyzing only the events that reflect backend issues.</p><p><strong>2. Count the total number of server errors</strong></p><p>| stats count as server_errors</p><p>The stats command aggregates all matching events and returns a single value representing the total number of server errors observed in the dataset. This gives me a clear metric for assessing server reliability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*Nyaq8qZCh59y2hyCafFvgw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m4mR7LfHa7KvQLc6d64Oow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*KptkYTu3ecNI9UjD6sVMhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6NzDoGrcpGNZEaO9oW9WA.png" /></figure><p><strong>Task 3: Identify User-Agents associated with possible scripted attacks</strong></p><p>User‑Agent strings provide valuable insight into the tools, scripts, or applications generating HTTP requests. While most legitimate traffic comes from standard browsers or system processes, scripted attacks and automated tools often reveal themselves through distinctive User‑Agent values.</p><p>In this task, I’m focusing on identifying HTTP requests generated by known automation frameworks and offensive security tools. Detecting these patterns helps uncover reconnaissance activity, vulnerability scanning, or early‑stage exploitation attempts.</p><p><strong>SPL Query:</strong> index=http_lab sourcetype=”json” user_agent IN (“sqlmap/1.5.1”, “curl/7.68.0”, “python-requests/2.25.1”, “botnet-checker/1.0”)<br>| stats count by user_agent</p><p><strong>How this query works:</strong></p><p><strong>1. Filter for suspicious or automated User‑Agents</strong></p><p>The query filters events where the user_agent field matches one of several known scripted or tool‑based identifiers:</p><ul><li><strong>sqlmap/1.5.1</strong> — SQL injection automation tool</li><li><strong>curl/7.68.0</strong> — Command‑line HTTP client often used in scripts</li><li><strong>python‑requests/2.25.1</strong> — Python automation library commonly used for bots or scraping</li><li><strong>botnet‑checker/1.0</strong> — Clearly malicious or unauthorized automation indicator</li></ul><p>By narrowing the dataset to these User‑Agents, I can focus specifically on traffic that may represent scanning, probing, or scripted attacks.</p><p><strong>2. Count occurrences of each User‑Agent</strong></p><p>| stats count by user_agent</p><p>This step aggregates the number of HTTP requests associated with each suspicious User‑Agent. It helps me understand:</p><ul><li>Which tools are most active</li><li>How frequently automated traffic appears</li><li>Whether a single tool dominates the scripted activity</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VPRR3fwFmj5ROwbtdq_iYQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-6eXElv_lrW0ao5IPH79Sw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AMnOBrEanmQXwldAywA_Cw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vsBhwKL4NZi4L2zXLxpPbA.png" /></figure><p><strong>Task 4: Find large file transfers (greater than 500 KB)</strong></p><p>Large outbound file transfers can be completely legitimate — such as downloading software updates or retrieving media files — but they can also signal risky or unauthorized behavior. In threat‑hunting and web‑traffic analysis, unusually large responses may indicate:</p><ul><li>Data exfiltration attempts</li><li>Unauthorized downloads</li><li>Access to sensitive or high‑value resources</li><li>Malware payload retrieval</li></ul><p>In this task, I’m focusing on identifying HTTP responses where the server returned more than <strong>500 KB</strong> of data. This helps me pinpoint potentially suspicious activity and understand which endpoints are involved in high‑volume transfers.</p><p>SPL Query: index=http_lab sourcetype=”json” resp_body_len&gt;500000<br>| table ts id.orig_h id.resp_h uri resp_body_len<br>| sort -resp_body_len</p><p>How this query works:</p><p><strong>1. Filter for large HTTP responses</strong></p><p>resp_body_len&gt;500000</p><p>I filtered the dataset to include only events where the response body length exceeds <strong>500,000 bytes</strong> (approximately 500 KB). This isolates the largest file transfers in the dataset and removes normal, low‑volume traffic.</p><p><strong>2. Display key fields for investigation</strong></p><p>| table ts id.orig_h id.resp_h uri resp_body_len</p><p>I selected the fields that matter most when analyzing large transfers:</p><ul><li><strong>ts</strong> — Timestamp of the request</li><li><strong>id.orig_h</strong> — Client IP that initiated the request</li><li><strong>id.resp_h</strong> — Server IP that responded</li><li><strong>uri</strong> — Resource being accessed</li><li><strong>resp_body_len</strong> — Size of the response body in bytes</li></ul><p>This table format makes it easy to understand <em>who</em> downloaded <em>what</em>, <em>when</em>, and <em>how large</em> the transfer was.</p><p><strong>3. Sort by largest transfers first</strong></p><p>| sort -resp_body_len</p><p>Sorting in descending order places the largest file transfers at the top, allowing me to quickly identify the most significant events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AUHOV1GKOlVwvwTJON85GQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tpp0nzWT6lT4A1gpklBfYQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FGhB7POfNJnkeiefFjSncw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XTO1oDX2W9Lari1_rfGmZw.png" /></figure><p><strong>Task 5: Detect suspicious URIs accessed (e.g., /admin, /shell.php, /etc/passwd)</strong></p><p>Certain URI paths are strong indicators of malicious probing, exploitation attempts, or unauthorized access. Attackers often target predictable or high‑value locations such as administrative panels, web shells, or sensitive system files. By monitoring for these patterns, I can quickly identify early signs of compromise or reconnaissance activity.</p><p>In this task, I’m focusing on detecting HTTP requests to known high‑risk URIs, including:</p><ul><li><strong>/admin</strong> — Common administrative login or management interface</li><li><strong>/shell.php</strong> — Typical web shell filename used in exploitation</li><li><strong>/etc/passwd</strong> — Sensitive Linux system file often targeted during directory traversal attacks</li></ul><p>Identifying access attempts to these paths helps me understand whether any clients are probing the server for weaknesses.</p><p>SPL Query: index=http_lab sourcetype=”json” uri IN (“/admin”,”/shell.php”,”/etc/passwd”)<br>| stats count by uri, “id.orig_h”</p><p><strong>How this query works:</strong></p><p><strong>1. Filter for high‑risk URIs</strong></p><p>uri IN (&quot;/admin&quot;,&quot;/shell.php&quot;,&quot;/etc/passwd&quot;)</p><p>I filtered the dataset to include only events where the uri field matches one of the suspicious paths. These URIs are commonly associated with:</p><ul><li>Unauthorized admin access attempts</li><li>Web shell deployment or execution</li><li>Directory traversal or file‑access attacks</li></ul><p>This ensures I’m focusing specifically on potentially malicious activity.</p><p><strong>2. Count occurrences by URI and client IP</strong></p><p>| stats count by uri, id.orig_h</p><p>This step groups the results by both:</p><ul><li><strong>uri</strong> — the suspicious path accessed</li><li><strong>id.orig_h</strong> — the client IP that attempted the access</li></ul><p>By pairing these fields, I can see not only which URIs were targeted but also <strong>which endpoints initiated the requests</strong>.</p><p>This is critical for identifying:</p><ul><li>The source of the probing</li><li>Whether multiple clients targeted the same path</li><li>Whether a single client attempted multiple suspicious URIs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jt3qQ3oX6yZ-mAGA9m-teA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ikd9wWi_wvVDtsi5cp9nOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uqPbvfpClraAhQF0PVszbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E8_CbEacLMWJy7anORo-Mg.png" /></figure><p><strong>Conclusion:</strong></p><p>By completing this project, I strengthened my ability to ingest, parse, and analyze HTTP log data within Splunk, gaining hands‑on experience with the types of web‑traffic patterns that matter in real detection and response work. Throughout the analysis, I identified key anomalies including server‑side errors, suspicious HTTP methods, high‑risk URIs and abnormal User‑Agent activity and used these findings to better understand potential indicators of compromise. I also configured targeted alerts to surface large file transfers and other unusual behaviors, building the foundation for proactive monitoring and threat detection.</p><p>This project not only deepened my technical skills in Splunk and log analysis but also reinforced my ability to think like a defender: recognizing patterns, validating assumptions, and translating raw data into actionable security insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8523176b3285" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DNS Log Analysis using Splunk]]></title>
            <link>https://medium.com/@jchoskins94/dns-log-analysis-using-splunk-cd5a18f47aca?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd5a18f47aca</guid>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[splunk]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Wed, 14 Jan 2026 21:41:19 GMT</pubDate>
            <atom:updated>2026-01-14T21:41:19.553Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Project Objective:</strong></p><p>In this lab, I focused on ingesting and analyzing DNS logs using Splunk to better understand DNS activity from a security monitoring perspective.</p><p>I extracted actionable insights from the data, including DNS query types, source hosts and commonly accessed destinations. To support investigative workflows, I built and refined SPL (Search Processing Language) queries that allowed me to identify patterns, validate normal behavior and surface potentially suspicious activity.</p><p><strong>Dataset Note: </strong>T<em>he sample JSON Zeek-style DNS logs include fields such as </em><em>ts, </em><em>id.orig_h, </em><em>id.resp_h, </em><em>qtype, </em><em>query, </em><em>answers, </em><em>rcode, and </em><em>rtt. :contentReference[oaicite:0]{index=0}.</em></p><p><strong>Lab Setup:</strong></p><p><em>Splunk:</em> Already installed and accessible.</p><p><em>Data Source:</em> JSON-formatted Zeek DNS logs.</p><p><em>Log File:</em> Download the file below and place it in a directory accessible to Splunk for ingestion.</p><p><strong>Walkthrough on How to Download a Raw File from GitHub:</strong></p><p>If you’ve ever clicked a GitHub <strong>raw</strong> link and watched the file open as plain text in your browser instead of downloading, you’re not alone. Browsers treat raw files as readable text by default, which can be confusing when you’re trying to pull logs, JSON, or datasets for your security lab work.</p><p>Here’s a quick, reliable walkthrough to download any raw GitHub file without the headache.</p><p><strong>Step 1:</strong> Open the Raw File Link</p><p>When you click a GitHub raw link (for example, a .json or .log file), your browser will display the contents directly in the window.</p><p>This is normal — GitHub’s raw view strips formatting and serves the file as plain text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AJtybV78Pm9aBkLdOf9WLw.png" /></figure><p><strong>Step 2: </strong>Use “Save As” to Download the File</p><p>Once the raw data is visible:</p><ul><li><strong>Right‑click</strong> anywhere on the page</li><li>Select <strong>Save As…</strong></li><li>Choose a filename and make sure the extension matches the file type (e.g., .json, .log, .csv)</li></ul><p>This forces the browser to save the file instead of displaying it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*7e_YTSaUGBSyEMaXttek_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w2BJ3AMJoBCOgbUpSyjRZg.png" /></figure><p><strong>Step 3: </strong>(Alternative) Use the Keyboard Shortcut</p><p>If right‑click is blocked or you prefer shortcuts:</p><ul><li><strong>Windows:</strong> Press <strong>Ctrl + S</strong></li><li><strong>Mac:</strong> Press <strong>Cmd + S</strong></li></ul><p>Save the file with the correct extension so your tools (Splunk, Python, etc.) recognize it properly.</p><p><strong>Step 4:</strong> (Optional) Download from the GitHub UI Instead</p><p>If you want to avoid raw links entirely:</p><ol><li>Open the file in the GitHub repository</li><li>Click the <strong>“Raw”</strong> button</li><li>Then use <strong>Save As</strong> again <em>or</em> Click the <strong>“Download raw file”</strong> icon if available</li></ol><p>This method is especially helpful when browsing a repo directly.</p><p><strong>Final Thoughts:</strong></p><p>This small trick saves a lot of frustration, especially when you’re working with log files or datasets for SOC labs, detection engineering, or Splunk ingestion. As long as you save the file with the correct extension, your tools will parse it cleanly.</p><p>Preparation:</p><p><strong>Step 1: Access the Data Ingestion Interface</strong><br> Log in to <strong>Splunk Web</strong> and navigate to <strong>Settings → Add Data</strong>. This section is used to onboard new data sources and configure how Splunk processes incoming logs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*JzsXAriL2yl2MWsWG6Vlqg.png" /></figure><p><strong>Step 2: Upload the DNS Log File</strong><br> Select <strong>Upload</strong> as the data input method and choose the DNS log file (e.g., dns_logs.json or an exported Zeek dns.log in JSON format). This approach is suitable for lab environments and allows for controlled ingestion of static datasets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*Qse1SFcYOoZOSS1i0d5ZtA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*zGU-rjxcZ3khl72uHf12cQ.png" /></figure><p><strong>Step 3: Configure the Source Type</strong><br> Set the <strong>Source Type</strong> to json to ensure Splunk correctly parses the structured log fields.<br> Optionally, create a custom sourcetype such as zeek:dns to improve data normalization, make searches more intuitive, and align with common SOC and SIEM naming conventions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nfO2UzEXBOIibzKGJCL6Sw.png" /></figure><p><strong>Step 4: Select or Create an Index</strong><br> Choose an existing index such as main, or create a dedicated index (e.g., dns_lab) to logically separate DNS telemetry from other data sources. Using a dedicated index improves search performance and supports better data organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6gCKoSJ9sPd0y2w5S_jVxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KDUUs3g93WCebbkInFrBMQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rjBLr5qobHDDdvBkrqJdsw.png" /></figure><p><strong>Step 5: Complete the Ingestion Process</strong><br> Finalize the upload and allow Splunk to index the data. Once ingestion is complete, validate that the logs are searchable and properly indexed by running a simple verification query:</p><p>index=dns_lab<br>| head 5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6vabUDvoC5FaNsaLwoxaJQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gTMx_c_nAeu_n5qufvmlrw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BJRuPxSFPcp-7eS0KEKUyQ.png" /></figure><p><strong>Task 1: Identify the most frequently queried domain names</strong></p><p>Understanding which domain names appear most often in your DNS logs is a foundational step in DNS based threat hunting. High frequency queries can reveal:</p><ul><li>Normal baseline behavior (e.g., common update servers, CDNs, internal services)</li><li>Misconfigurations causing excessive DNS noise</li><li>Potential indicators of compromise, such as repeated beaconing to a suspicious domain</li></ul><p>To extract these insights in Splunk, you can use a simple but powerful statistical aggregation.</p><p>SPL Query: index=dns_lab sourcetype=”json”<br>| stats count by query<br>| sort -count</p><p><strong>How this query works:</strong></p><h3>1. Search the DNS dataset</h3><p>index=dns_lab sourcetype=&quot;json&quot;</p><p>This line tells Splunk to search only within your DNS lab index and to focus on events ingested with the JSON sourcetype. This ensures you’re analyzing the correct dataset and avoids noise from other logs.</p><h3>2. Aggregate events by domain name</h3><p>| stats count by query</p><p>The stats command groups all DNS events by the <strong>query</strong> field, which represents the domain name requested by the client. Splunk then counts how many times each domain appears in the logs.</p><p>This step transforms raw DNS events into a frequency table, making patterns immediately visible.</p><h3>3. Sort results by frequency</h3><p>| sort -count</p><p>Sorting in descending order places the most frequently queried domains at the top of the results. This is especially useful for:</p><ul><li>Identifying top talkers.</li><li>Spotting repetitive or automated traffic.</li><li>Highlighting domains that may require deeper investigation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BsyS0pvmrvFfBq8oW0P6Ww.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vf_76y2i7iIYzq_3Y6XDvQ.png" /></figure><p><strong>Task 2: Find the most active user IPs generating DNS traffic</strong></p><p>Identifying which client IP addresses generate the most DNS queries is a key step in understanding network behavior and spotting anomalies. High‑volume DNS activity can indicate:</p><ul><li>Normal system behavior (e.g., domain controllers, update services)</li><li>Misconfigured applications generating excessive DNS noise</li><li>Potential malicious activity such as beaconing, malware callbacks, or automated scanning</li></ul><p>By analyzing the originating host field in your DNS logs, you can quickly determine which systems are the most active.</p><p>SPL Query: index=dns_lab sourcetype=”json”<br>| stats count by id.orig_h<br>| sort -count</p><p><strong>How this query works:</strong></p><h3>1. Search the DNS dataset</h3><p>index=dns_lab sourcetype=&quot;json&quot;</p><p>This line ensures Splunk only searches the DNS lab index and focuses on events ingested with the JSON sourcetype. This keeps your results clean and relevant to the dataset you’re analyzing.</p><h3>2. Count DNS queries per client IP</h3><p>| stats count by id.orig_h</p><p>The id.orig_h field represents the <strong>originating host</strong> — the client system that initiated the DNS query. Using stats count by id.orig_h, Splunk groups all events by client IP and counts how many DNS queries each one generated.</p><p>This transforms raw logs into a clear activity summary for every device on the network.</p><h3>3. Sort results by activity level</h3><p>| sort -count</p><p>Sorting in descending order places the most active IPs at the top. This makes it easy to identify:</p><ul><li>Systems generating expected high DNS volume (e.g., servers)</li><li>Endpoints with unusual or excessive DNS activity</li><li>Potential compromised hosts exhibiting beaconing behavior</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kWzI2S7d3mfl929PDFCe5Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MN4ujlexYivX5y6dE97_Tg.png" /></figure><h4>Task 3: Breakdown of DNS query types (A, AAAA, CNAME, PTR)</h4><p>Analyzing the distribution of DNS query types is an essential part of understanding how systems on your network interact with external and internal resources. Each DNS record type serves a different purpose, and unusual patterns in these queries can reveal misconfigurations, outdated systems, or even early signs of malicious activity.</p><p>In your dataset, the key DNS record types you’ll encounter include:</p><ul><li><strong>A</strong> → IPv4 address lookup</li><li><strong>AAAA</strong> → IPv6 address lookup</li><li><strong>CNAME</strong> → Alias or canonical name mapping</li><li><strong>PTR</strong> → Reverse DNS lookup (IP → domain)</li></ul><p>Breaking down how frequently each type appears helps establish a baseline for normal DNS behavior and highlights anomalies worth investigating.</p><p>SPL Query: index=dns_lab sourcetype=”json”<br>| stats count by qtype</p><p><strong>How this query works:</strong></p><h3>1. Search the DNS dataset</h3><p>index=dns_lab sourcetype=&quot;json&quot;</p><p>This ensures Splunk only analyzes the DNS lab index and focuses on events ingested as JSON. Keeping the search scoped prevents unrelated logs from skewing your results.</p><h3>2. Count events by DNS record type</h3><p>| stats count by qtype</p><p>The qtype field represents the DNS record type associated with each query. Using stats count by qtype, Splunk groups all events by record type and counts how many times each appears in the dataset.</p><p>This gives you a clear breakdown of:</p><ul><li>How often clients request IPv4 vs IPv6 lookups.</li><li>Whether CNAME lookups are common in your environment.</li><li>How frequently reverse lookups (PTR) occur.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Opiu9qG5P2CGO0qQFdyc6g.png" /></figure><p><strong>Conclusion:</strong></p><p>By completing this project, I strengthened my ability to ingest and parse DNS logs in Splunk and developed a clear understanding of how to analyze DNS activity at scale. I identified the most frequently queried domains, pinpointed the top client IPs generating DNS traffic, and gained hands‑on experience working with key DNS record types such as A, AAAA, CNAME, and PTR. Throughout the analysis, I uncovered anomalies including failed lookups, suspicious queries, and unusual latency patterns. I also built Splunk queries and visualizations to monitor DNS behavior and configured alerts to highlight activity that may require deeper investigation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd5a18f47aca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SSH Log Analysis using Splunk]]></title>
            <link>https://medium.com/@jchoskins94/ssh-log-analysis-using-splunk-5bc78743a03a?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bc78743a03a</guid>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[log-analysis]]></category>
            <category><![CDATA[secure-shell]]></category>
            <category><![CDATA[ssh]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Mon, 12 Jan 2026 19:35:06 GMT</pubDate>
            <atom:updated>2026-01-12T19:35:06.429Z</atom:updated>
            <content:encoded><![CDATA[<p>Project Objective:</p><p>This project analyzes SSH authentication logs to identify successful logins, failed attempts, repeated failures that may indicate brute-force activity and unauthenticated connections that could signal scanning. Splunk is used to ingest the logs, run SPL queries, visualize patterns and build alerts for early threat detection.</p><p>What I learned:</p><p>I strengthened my skills in log ingestion, SPL querying, dashboard creation and alerting. More importantly, I gained practical experience interpreting SSH activity and turning raw log data into meaningful security insight.</p><p>Preparation:</p><ol><li>Log in to your Splunk Enterprise or Splunk Free instance using your administrative credentials to access the data ingestion and analysis interface.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h1UXxYrrnkpkJzkH5HcNkA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ErGvpR_AG5JbRTKg0qTfng.png" /></figure><p>2. Navigate to Apps then click Search &amp; Reporting, which serves as Splunk’s primary workspace for searching visualizing and managing ingested data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E-tInd81hoM1cJCWCv9wGw.png" /></figure><p>3. Select Add Data and chose the Upload option to begin importing a local log file into Splunk for indexing and field extraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*JzsXAriL2yl2MWsWG6Vlqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0u1plseIR6HgWfeRA0zzuQ.png" /></figure><p>4. Browse for and select the provided ssh_log.json file, then proceed with the upload to prepare it for parsing and indexing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*QgypNjdUN3-DpOoQuqxqLg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*kL25Ig4MmJ1feSWgR6_26Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jRKWjbZFRCsYSznvcHzY9w.png" /></figure><p>5. Set the sourcetype to _json, enabling Splunk’s built-in JSON parser to automatically extract fields and structure the SSH log events for efficient searching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6WSP2S8yUeVhVy64mIq4Lg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*h7pwT_TlAF-30YYvFrrXCA.png" /></figure><p>6. Assign the data to dedicated index, such as ssh_logs, to keep SSH related activity organized and easily retrievable during analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E17d1IaKzzCg9IWwGwnzMg.png" /></figure><p>7. Review the configuration summary and select start searching to complete the ingestion process and begin exploring the newly indexed SSH log data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jGbueG8mdLGw8tov8Nqs8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aazp0IFSp0D5Pmeq41aP0g.png" /></figure><p>Task 1: Ingest and Parse Logs</p><ol><li>Upload the ssh_log.json file into Splunk:</li></ol><p>Begin by uploading the SSH log dataset into your Splunk environment, as shown in the preparation section. This step loads the raw JSON events into Splunk so they can be properly parsed, indexed, and used for analysis throughout the remaining tasks.</p><p>2. Verify that Splunk has correctly extracted all required SSH related fields:</p><p>Run a simple search against your SSH index and expand several events to confirm that the following fields appear consistently across the dataset.</p><ul><li>event_type — Categorizes the SSH activity (e.g., <em>Successful SSH Login</em>, <em>Failed SSH Login</em>, <em>Multiple Failed Authentication Attempts</em>, <em>Connection Without Authentication</em>).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*V32KALOufOafTk8UKMnY7Q.png" /></figure><ul><li>auth_success — Indicates whether authentication succeeded (true), failed (false), or was not applicable (null).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*1U1TyFlRkjMFvhYPFgowug.png" /></figure><ul><li>auth_attempts — Shows the number of authentication attempts associated with the event, useful for identifying brute‑force patterns.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*EH_2yv3YUi531gZCotdEmw.png" /></figure><ul><li>id.orig_h — The <strong>source IP address</strong> initiating the SSH connection.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*9oe0VPqhPGwPOuTJ0HZGCQ.png" /></figure><ul><li>id.resp_h — The <strong>destination host or IP</strong> receiving the SSH connection.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*yDMur9NxcyWypTRlF9DEFw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/196/1*8Xa2rzk9BfJ7LQ5yEQog_w.png" /></figure><p>3. <strong>Run a validation search to view all key fields together</strong> Execute a structured search to display the essential fields in a single table for quick verification:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*thaUjv-eunl0iGH42ALKiQ.png" /></figure><p>Review the output to confirm that each field is present, correctly populated and ready for deeper analysis in subsequent tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_QTURAXv3JXAkGNYpwugXQ.png" /></figure><p>Task 2: Analyze Failed Login Attempts</p><ol><li><strong>Search for all failed SSH login events</strong> Start by filtering the dataset to focus only on failed SSH authentication activity. In the <strong>Search &amp; Reporting</strong> app, run the following search:</li></ol><p>SPL Query: index=ssh_logs event_type=”Failed SSH Login”<br>| stats count by id.orig_h</p><p>2. <strong>Identify the top 10 source IPs generating failed logins</strong> to prioritize the most suspicious sources, refine your search to surface only the IPs with the highest volume of failed attempts. Extend the previous query as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5u8VMutZxZOf5vysVHqtg.png" /></figure><p>3. <strong>Create a bar chart for failed login attempts per source IP</strong></p><p>With the search results in place, convert the data into a visual representation for easier pattern recognition:</p><ul><li><strong>Run</strong> the search from Step 2.</li><li>In the <strong>Visualization</strong> tab, select <strong>Bar Chart</strong> as the visualization type.</li><li>Ensure id.orig_h is used as the <strong>X‑axis</strong> (source IP) and count as the <strong>Y‑axis</strong> (number of failed attempts).</li><li>Optionally, add a clear <strong>title</strong> (e.g., “Top 10 Source IPs by Failed SSH Logins”) and <strong>axis labels</strong> to make the chart more interpretable for other analysts or stakeholders.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6yFMd3UigZbvv7dqjjK4RQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MN8mHp_eVkKRk0-0ACev7Q.png" /></figure><p>These bar chart provides a quick, visual summary of which IPs are generating the most failed SSH login attempts, supporting rapid triage and further investigation.</p><p>Task 3: Detect Multiple Failed Authentication Attempts (Brute Force)</p><ol><li><strong>Search the logs for events indicating multiple failed authentication attempts</strong> Begin by isolating SSH activity where the system has already classified the behavior as multiple failures. In the <strong>Search &amp; Reporting</strong> app, run:</li></ol><p>index=ssh_logs event_type=”Multiple Failed Authentication Attempts”<br>| stats count by id.orig_h, id.resp_h</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JBrhvWyIBpOx4kNv1OREaQ.png" /></figure><p>This search filters for events with event_type=&quot;Multiple Failed Authentication Attempts&quot; and then uses stats to calculate how many such events are associated with each <strong>source IP</strong> (id.orig_h) and <strong>destination host</strong> (id.resp_h). This helps you understand which source–destination pairs are repeatedly involved in suspicious authentication activity.</p><p>2. <strong>Identify source IPs with repeated failures over a defined threshold</strong> To focus on the most concerning activity, apply a threshold to highlight IPs with a high number of failed attempts. You can extend the previous search to detect sources exceeding a threshold, such as 5 attempts:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*JBrhvWyIBpOx4kNv1OREaQ.png" /></figure><p>This query returns only those source–destination pairs where the number of “Multiple Failed Authentication Attempts” events suggest <strong>persistent, potentially automated attack behavior</strong>, such as brute‑force or password spraying.</p><p>3. <strong>Build a time‑bounded search to support alerting logic</strong> For an operational alert, you typically need to detect excessive failed attempts within a specific time window. Adjust the SPL to aggregate failed logins by source IP over a 10‑minute period:</p><p>index=ssh_logs event_type=”Failed SSH Login”<br>| bin _time span=10m<br>| stats count as failed_attempts by _time, id.orig_h<br>| where failed_attempts &gt; 5</p><p>This search groups events into 10‑minute buckets, counts failed login attempts per source IP within each window, and then returns only those IPs that exceed 5 failures in that period.</p><p>4. <strong>Configure a Splunk alert based on excessive failed logins</strong> Once you have validated the search logic, convert it into a scheduled alert:</p><ul><li><strong>Run</strong> the time‑window search from Step 3 and verify the results.</li><li>Click <strong>Save As → Alert</strong> in the search toolbar.</li><li><strong>Name</strong> the alert (for example, “Excessive Failed SSH Logins — Possible Brute Force”).</li><li>Set the <strong>Alert Type</strong> to <strong>Scheduled</strong> and choose an appropriate schedule (e.g., every 5 or 10 minutes) to align with your detection window.</li><li>Under <strong>Trigger Conditions</strong>, select <strong>Trigger alert when number of results is greater than 0</strong>. This ensures the alert fires whenever at least one source IP exceeds 5 failed attempts in a 10‑minute window.</li><li>Configure <strong>alert actions</strong>, such as sending an email, creating an incident ticket, or writing to a notable index, depending on your environment and workflows.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/1*6i3qaBdHz57QDmb9LqdCmA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*iuE_ai0E_R78OcJkXmKTfQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*SIMk5aXrSZ9vq-JWbFkE4g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*4sZlYAt-6c1eiPU1g5bjXw.png" /></figure><p>5. <strong>Trigger the alert when any IP attempts more than 5 logins within 10 minutes</strong> with the above configuration, Splunk will evaluate the search on the defined schedule. Any time a source IP records <strong>more than 5 failed SSH login attempts in a 10‑minute interval</strong>, the alert will trigger. This enables near‑real‑time detection of potential brute‑force activity and provides SOC analysts with actionable intelligence for rapid investigation and response.</p><p>Task 4: Track Successful Logins</p><ol><li><strong>Search for all successful SSH login events</strong> Start by isolating events where SSH authentication was successful. In the <strong>Search &amp; Reporting</strong> app, run the following query:</li></ol><p>SPL Query: index=ssh_logs event_type=”Successful SSH Login”<br>| stats count by id.orig_h, id.resp_h</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uOs7qgtGsJUTRx1zi6YFQQ.png" /></figure><p>This search filters on event_type=&quot;Successful SSH Login&quot; and then uses stats to calculate the number of successful logins for each <strong>source IP</strong> (id.orig_h) and <strong>destination host</strong> (id.resp_h). This helps you understand which external sources are successfully accessing which systems.</p><p>2. <strong>Enrich successful logins with prior failed attempts for context</strong> To identify potential account compromise, you want to know whether a successful login was preceded by multiple failed attempts from the same source IP and to the same destination. You can correlate failed and successful attempts using a combined search such as:</p><p>SPL Query: index=ssh_logs (event_type=”Failed SSH Login” OR event_type=”Successful SSH Login”)<br>| eval outcome=if(event_type=”Successful SSH Login”,”success”,”fail”)<br>| stats count(eval(outcome=”fail”)) as failed_attempts,<br> count(eval(outcome=”success”)) as successful_logins<br> by id.orig_h, id.resp_h<br>| where successful_logins &gt; 0 AND failed_attempts &gt; 0</p><p>This query counts failed and successful attempts per <strong>source–destination pair</strong> and then returns only those cases where <strong>both</strong> exist, highlighting scenarios where repeated failures were eventually followed by a successful login, a useful indicator of possible brute‑force success or account compromise.</p><p>3. <strong>Optionally prioritize highly suspicious patterns</strong> To make the results more actionable, you can add thresholds that focus on high‑risk behavior (for example, many failures followed by at least one success):</p><p>SPL Query: index=ssh_logs (event_type=”Failed SSH Login” OR event_type=”Successful SSH Login”)<br>| eval outcome=if(event_type=”Successful SSH Login”,”success”,”fail”)<br>| stats count(eval(outcome=”fail”)) as failed_attempts,<br> count(eval(outcome=”success”)) as successful_logins<br> by id.orig_h, id.resp_h<br>| where successful_logins &gt; 0 AND failed_attempts &gt;= 5<br>| sort — failed_attempts</p><p>4. <strong>Build a search for top source IPs with successful logins</strong> To support dashboarding, create a search focused specifically on successful SSH logins by source IP:</p><p>index=ssh_logs event_type=”Successful SSH Login”<br>| stats count as successful_logins by id.orig_h<br>| sort — successful_logins<br>| head 10</p><p>This query returns the <strong>top 10 source IPs</strong> ranked by the number of successful SSH logins, giving you a concise view of which IPs are most active in successfully accessing your systems.</p><p>5. <strong>Create a dashboard panel for top successful login source IPs</strong> Once the search is returning the desired results, convert it into a reusable dashboard visualization:</p><ul><li><strong>Run</strong> the search from Step 1 and 4 and verify the results.</li><li>Click <strong>Save As → Dashboard Panel</strong>.</li><li><strong>Choose</strong> an existing dashboard (e.g., “SSH Security Overview”) or create a new one.</li><li><strong>Name</strong> the panel clearly, such as “Top Source IPs with Successful SSH Logins”.</li><li>Select <strong>Bar Chart</strong> (or another suitable visualization) as the panel type.</li><li>Configure the visualization so that id.orig_h appears on the <strong>X‑axis</strong> (source IP) and successful_logins on the <strong>Y‑axis</strong> (count of successful logins).</li><li>Optionally add descriptive axis labels and a short panel description explaining that this chart highlights IPs with the highest volume of successful SSH logins, useful for spotting unusual or high‑risk access patterns.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eRJvpRgJy-37ezPdIxL5mA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*-6tra4i0Kompr5bWkMV5rA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6rxI2MaWV4bRlm_FiwZz4w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xpqmTBYA9y-qoFQEteIqQw.png" /></figure><p>Task 5: Spot Suspicious Connections Without Authentication</p><ol><li>Search for SSH connections that occurred without any authentication attempt:</li></ol><p>Begin by identifying events where an SSH connection was established but no authentication process followed. These events can indicate reconnaissance activity, automated scanning tools, or unauthorized probing of your SSH service. Run the following search in <strong>Search &amp; Reporting</strong>:</p><p>SPL Query: index=ssh_logs event_type=”Connection Without Authentication”<br>| stats count by id.orig_h</p><p>This query filters for events labeled Connection Without Authentication and then uses stats to count how many times each <strong>source IP</strong> (id.orig_h) initiated such connections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-bDyyvKYklwwGO_xjByeJA.png" /></figure><p><strong>2. Interpret the results to identify suspicious behavior</strong> Reviewing the output allows you to quickly see which IP addresses are repeatedly initiating SSH sessions without attempting to authenticate. This pattern is often associated with:</p><ul><li>Port scanning</li><li>SSH service enumeration</li><li>Automated bots probing for open SSH endpoints</li><li>Early stages of intrusion attempts</li></ul><p><strong>3. Prioritize high‑frequency sources for further investigation</strong> Source IPs with unusually high counts of unauthenticated connections should be examined more closely. These may warrant additional correlation with firewall logs, threat intelligence feeds, or geolocation data to determine whether the activity is benign or malicious.</p><p>4. <strong>Create a time‑based visualization of unauthenticated SSH connections</strong> To understand when suspicious unauthenticated SSH activity occurs, generate a time chart that shows how often each source IP initiates a connection without attempting authentication. Run the following search in <strong>Search &amp; Reporting</strong>:</p><p>SPL Query: index=ssh_logs event_type=”Connection Without Authentication”<br>| timechart count by id.orig_h</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E1rQApP-MDpBCDhpm-RnUg.png" /></figure><p>This command aggregates events into time buckets and plots the count of unauthenticated connections per source IP over time. The result is a clear, chronological view of scanning or probing behavior.</p><p>5. <strong>Interpret the time chart to identify suspicious patterns</strong> Once the visualization loads, examine the chart for indicators of malicious reconnaissance, such as:</p><ul><li><strong>Repeated spikes</strong> from the same source IP</li><li><strong>Consistent activity at regular intervals</strong> (common with automated scanners)</li><li><strong>Sudden bursts</strong> of unauthenticated connections targeting your SSH service</li><li><strong>Multiple IPs probing simultaneously</strong>, which may indicate distributed scanning</li></ul><p>6. <strong>Recognize potential port‑scanning or SSH probing behavior</strong> Unauthenticated SSH connections are rarely legitimate. When a source IP repeatedly initiates connections without attempting to authenticate, it often signals:</p><ul><li>Port scanning tools mapping open SSH ports</li><li>Bots probing for SSH banners or version information</li><li>Attackers testing connectivity before launching brute‑force attempts</li><li>Early‑stage reconnaissance preceding targeted attacks</li></ul><p>The time chart helps you visually correlate these patterns, making it easier to distinguish isolated noise from systematic probing.</p><p><strong>Conclusion:</strong></p><p>By completing this project, I have developed the ability to monitor and investigate SSH activity through Splunk dashboards, identify brute-force attempts and other suspicious authentication behaviors. I also configured alerts to detect high-risk events in real time by confidently parse, search, visualize and operationalize SSH log data within Splunk.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bc78743a03a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Splunk SIEM on Ubuntu (Step by Step)]]></title>
            <link>https://medium.com/@jchoskins94/installing-splunk-siem-on-ubuntu-step-by-step-0e04ab3fe9ba?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e04ab3fe9ba</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[siem]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Sat, 10 Jan 2026 10:15:56 GMT</pubDate>
            <atom:updated>2026-01-10T12:33:51.660Z</atom:updated>
            <content:encoded><![CDATA[<p>Here are the requirements that I used to run this lab:</p><ul><li>System: Ubuntu 24.04.3 (Server or Desktop)</li><li>Tools Required:</li><li>Splunk Enterprise (Free version for local setup)</li><li>Terminal (Command Line Access)</li></ul><p><strong>Please Note</strong>: Use a virtual machine like Oracle VirtualBox or VMware</p><ol><li>Navigate to the <a href="https://ubuntu.com/download">https://ubuntu.com/download</a> section to obtain the Ubuntu installer for your desktop. Once there, select Download Ubuntu Desktop to begin the download.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0TVFTdR8uIlCcIjajLRmNw.png" /></figure><p>2. Select the appropriate version and click Download. You may also review the tabs below for a step-by-step walkthrough of the process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*do1JUmnP1g4fTjGMcS1WUA.png" /></figure><p>3. After the download is complete, proceed to configure Ubuntu according to your preferences. Once your configuration is finished, restart your computer to ensure all settings are applied correctly. Note: Keep your password readily available. Certain tasks performed in the Terminal, especially those using the ‘sudo’ command will require you to enter your password to authorize administrative actions.</p><p>What is sudo?</p><p>sudo (short for superuser do) is a Linux command that allows a trusted user to run specific tasks with the same elevated privileges as the root account, the system’s all-powerful administrator. It’s used for actions like installing software, modifying system files or managing services that require more authority than a normal user has.</p><p>4. Once the Ubuntu welcome screen appears within the virtual machine, enter your assigned username and password to initiate your session and begin using the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_NwnYnG3lZNuer-RuDw8aw.png" /></figure><p>5. Next you will open your Terminal and install Splunk Enterprise while using this command (wget -O splunk-10.0.2-e2d18b4767e9-linux-amd64.deb “<a href="https://download.splunk.com/products/splunk/releases/10.0.2/linux/splunk-10.0.2-e2d18b4767e9-linux-amd64.deb">https://download.splunk.com/products/splunk/releases/10.0.2/linux/splunk/releases/10.0.2/linux/splunk-10.0.2-e2d18b4767e9-linux-amd64.deb</a>”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*VQwdAQH9OJuG6HplSkDH9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h3e9f8XWH7GzcAccOPACDg.png" /></figure><p>6. After the installation package has finished downloading, proceed to install Splunk by running this command: ( sudo dpkg -i splunk-10.0.2-e2d18b4767e9-linux-amd64.deb)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kG8IB1XU91UKek36J4nsQg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4w6xxT9B_-dAo_njjVkAOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yq6S-jEpbuQ1EaSWjP4kLg.png" /></figure><p>7. Navigate to the directory where Splunk was installed by changing into its installation path using your system’s command-line interface with this command: cd /opt/splunk/bin. Then run the command to accept the license agreement and enable Splunk at boot: sudo ./splunk enable boot-start — accept-license. Next, I would create my username and password credentials for the administrative account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*a-yT6fDxHV5OTKMQZaC0QA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*cC5qWgiCCQFwZC4jTl2ctQ.png" /></figure><p>8. Initiate the Splunk service by executing the appropriate startup command for your operating system, allowing the platform to launch its core services and prepare the web interface for use. Command: sudo ./splunk start. Quick Note: When the setup process request it, create a secure administrative username and password to establish your primary Splunk management account and ensure controlled access to the platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GOXbuXZCzDpgzYurhTy_Vw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3C2xH04oGLWAsjkV3JnzA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3ILGBNfFaTGZYponO7DdA.png" /></figure><p>9. Launch your preferred web browser and navigate to the specific URL to access the Splunk Web interface and begin the configuration process. For example: ‘http://&lt;your-ubuntu-ip&gt;:8000’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*hnbkI5irk41i7vuLyS43mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h1UXxYrrnkpkJzkH5HcNkA.png" /></figure><p>10. Sign in using the administrative username and password you configured during the initial setup to access the Splunk Web interface and begin managing the environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T4H0vXD0IniSfnZhKhanUg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e04ab3fe9ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Samsung Zero-Click Flaw Exploited to Deliver LANDFALL Android Spyware via WhatsApp Images]]></title>
            <link>https://medium.com/@jchoskins94/samsung-zero-click-flaw-exploited-to-deliver-landfall-android-spyware-via-whatsapp-images-6fcb9e5b9873?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fcb9e5b9873</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[samsung]]></category>
            <category><![CDATA[zero-day]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Tue, 11 Nov 2025 14:21:18 GMT</pubDate>
            <atom:updated>2025-11-11T14:21:18.215Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vSxB2TOhvjX2fBNdKzt5QQ.png" /></figure><h4>Executive Summary</h4><p>A critical vulnerability in Samsung’s <strong>libimagecodec[.]quram[.]so</strong> image-processing library (tracked as CVE-2025–21042, CVSS 8.8) was exploited in targeted attacks to deliver a commercial-grade Android spyware family known as LANDFALL. Public reporting indicates the exploit was delivered via WhatsApp as specially crafted DNG image files that included embedded archives used to drop and execute a malicious shared object on vulnerable Galaxy devices.</p><p>While some analysis suggests the exploit chain could be delivered with minimal or no user interaction (a “zero-click” vector), available reporting is cautious: there’s evidence of image artifacts and automated extraction, but definitive proof of true zero-click exploitation remains limited in public samples. Regardless, the campaign is notable for its targeted nature, advanced persistence techniques, and ability to harvest audio, location, files, contacts, SMS, and call logs from compromised phones.</p><p><strong>Key Risks</strong></p><ul><li>Critical code-execution flaw in Samsung image library enabling remote compromise of flagship Galaxy devices (S22/S23/S24 series, Z Fold4, Flip4).</li><li>Exploit payloads were delivered inside DNG image files via WhatsApp, potentially enabling wide distribution to contacts.</li><li>LANDFALL is a modular spyware framework capable of deep surveillance and lateral data collection.</li><li>Targets observed in the Middle East; infrastructure and artefacts suggest an advanced operator.</li></ul><p><strong>Immediate Actions</strong></p><ul><li>Verify Samsung devices in your environment are updated to the patched firmware released in April 2025 (and subsequent advisories).</li><li>In high-risk environments, restrict or audit messaging app usage and remove untrusted media files.</li><li>Monitor mobile endpoints for unusual process activity, unexpected native library loads, or anomalous network beaconing to unknown C2 hosts.</li></ul><h4>Technical Overview</h4><h4>Vulnerability &amp; Exploit</h4><ul><li><strong>CVE-2025–21042 (libimagecodec[.]quram[.]so)</strong> — an out-of-bounds write vulnerability that can be triggered by specially crafted image content, allowing remote attackers to execute code in the context of the image-processing component. Reported CVSS: <strong>8.8</strong>.</li><li>Public analysis (Palo Alto Networks Unit 42 and industry writeups) shows attackers embedding a ZIP archive into a DNG file; the exploit extracts a shared object ([<strong>.]so</strong>) from the archive, drops it to the filesystem, and uses it to manipulate SELinux policies and execute the LANDFALL payload.</li><li>Delivery vector: WhatsApp-delivered DNG images (observed artifact filenames and EXIF timestamps traceable back to July 2024 → Feb 2025).</li></ul><h4>Payload: LANDFALL Spyware</h4><ul><li><strong>Loader behavior:</strong> Embedded shared object installs a loader that communicates with C2 infrastructure over HTTPS and beacons for next-stage modules.</li><li><strong>Capabilities:</strong> Microphone recording, location tracking, photo/file harvesting, contacts and SMS capture, call logs, and likely modular extension for additional functionality.</li><li><strong>Persistence:</strong> Malware modifies SELinux policies and uses native code to gain elevated capabilities and survival across reboots.</li></ul><h4>Zero-Click Considerations</h4><ul><li>Some indicators point to a zero-click style delivery (malicious images processed automatically when received or previewed), but public reporting emphasizes caution: not all samples conclusively demonstrate fully zero-interaction exploitation in all contexts. Defenders should assume the highest risk (zero-click/one-click possibilities) until proven otherwise.</li></ul><h4>Observed TTPs (Tactics, Techniques &amp; Procedures)</h4><ul><li><strong>Initial Delivery:</strong> WhatsApp DNG images with appended ZIP archives containing native [.]so payloads.</li><li><strong>Exploit:</strong> Out-of-bounds write in image codec library → load/execute shared object.</li><li><strong>Persistence:</strong> SELinux manipulation and native loader installation.</li><li><strong>C2 / Exfiltration:</strong> HTTPS beaconing to attacker-controlled servers; modular payload retrieval.</li><li><strong>Targeting:</strong> Focused on Samsung flagship devices in Middle East geographies (observed via VirusTotal submissions and telemetry).</li></ul><p><strong>MITRE ATT&amp;CK Mapping for Samsung Zero-Click Flaw</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*q25bZJTdZoDaTPJFPPOK5A.png" /></figure><h4>Indicators of Compromise (IOCs)</h4><p><em>(Based on public reporting and corroborated OSINT; treat as investigative leads and validate in your environment.)</em></p><p><strong>File / Media Indicators</strong></p><ul><li>DNG image files with appended ZIP archives; VirusTotal samples with names like <strong>WhatsApp Image 2025–02–10 at 4.54.17 PM.jpeg and IMG-20240723-WA0000.jpg</strong> (artifact naming patterns observed in Unit 42 research).</li><li>Extracted archive contents containing native shared object files (*[.]so) intended to be loaded on Android.</li><li>Known vulnerability identifiers: <strong>CVE-2025–21042</strong> (confirmed exploited), <strong>CVE-2025–21043</strong> (same library, separately disclosed).</li></ul><p><strong>Behavioral Indicators</strong></p><ul><li>Unexplained native library ([.]so) loads in app processes that normally only process images (gallery, messaging previews).</li><li>Sudden SELinux policy changes or attempts to set permissive flags.</li><li>Outbound HTTPS beacons from mobile device to suspicious C2 domains shortly after receiving media.</li><li>Unusual battery drain, microphone access without user action, unexplained file exfiltration.</li></ul><p><strong>Note:</strong> IOCs in public reporting are limited to sample artefacts and telemetry patterns. Use these indicators as starting points for hunting; prioritize behavioral and network telemetry correlation.</p><h4>Detection Recommendations</h4><p><strong>Mobile EDR / MTD</strong></p><ul><li>Monitor for abnormal [.]so loads or unexpected native code execution in messaging or gallery app processes.</li><li>Flag SELinux policy modifications and calls to <strong>setenforce</strong> or other SELinux control mechanisms.</li><li>Alert on apps that suddenly request microphone, location, or file access without user interaction.</li></ul><p><strong>Network / Proxy</strong></p><ul><li>Monitor outbound HTTPS traffic from mobile devices to uncommon or new domains following receipt of media files. Correlate with inbound message timestamps.</li><li>Use DNS and proxy logs to detect new domains / connections associated with reported C2 infrastructure.</li></ul><p><strong>Host / Forensics</strong></p><ul><li>If a suspicious image is received, capture a memory image of the device (if possible), and collect the original media file for analysis (do not open on production devices).</li><li>Extract embedded archives from DNG files in a safe sandbox to inspect for .so payloads.</li></ul><p><strong>Hunting Queries (conceptual)</strong></p><ul><li>Find mobile devices with execve/dlopen calls stemming from messaging app processes.</li><li>Detects sudden file creations in app storage directories following inbound message receipts.</li></ul><h3>Mitigations &amp; Best Practices</h3><p><strong>Patch &amp; Update</strong></p><ul><li>Ensure all Samsung devices are on the <strong>latest vendor firmware</strong> and security updates. Samsung patched the reported flaw in April 2025, confirm devices have that update or later.</li></ul><p><strong>App &amp; OS Hardening</strong></p><ul><li>Disable auto-preview of media in messaging apps where possible (enterprise policy or MDM).</li><li>Apply strict app permissions: require explicit user approval for microphone, location, and storage access.</li><li>Use Mobile Threat Defense (MTD) solutions or EDR for mobile that can detect anomalous native code execution.</li></ul><p><strong>Operational</strong></p><ul><li>In sensitive environments (government, high-risk regions), restrict or control use of consumer messaging apps on corporate devices.</li><li>Encourage users to avoid opening or previewing images from unknown senders and to report suspicious messages immediately.</li></ul><p><strong>Incident Response</strong></p><ul><li>If compromise is suspected: isolate the device, preserve original media files, perform forensic capture (memory, storage), rotate credentials, and investigate potential data access/exfiltration.</li></ul><h4>Timeline</h4><ul><li><strong>July 2024 — Feb 2025:</strong> Earliest LANDFALL artifacts observed in VirusTotal submissions</li><li><strong>April 2025:</strong> Samsung released patches for CVE-2025–21042 addressing the vulnerability.</li><li><strong>Nov 2025:</strong> Public reporting and forensic analysis highlight the WhatsApp DNG delivery vector and LANDFALL capabilities.</li></ul><p><strong>References &amp; Source Material</strong></p><ul><li>Palo Alto Networks Unit 42 analysis</li><li>The Hacker News coverage: <em>Samsung Mobile Flaw Exploited as Zero-Day to Deploy LANDFALL Android Spyware</em>.</li><li>CyberSecurityNews coverage: <em>Samsung 0-day exploited via WhatsApp</em>.</li><li>Samsung Mobile Security advisories and vendor patches (April 2025).</li><li>Additional corroboration from open threat intelligence feeds and public sample repositories.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fcb9e5b9873" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cisco ASA & Firewall Threat Defense (FTD) 0-Day Remote Code Execution Vulnerabilities]]></title>
            <link>https://medium.com/@jchoskins94/cisco-asa-firewall-threat-defense-ftd-0-day-remote-code-execution-vulnerabilities-1c1279c98b1a?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c1279c98b1a</guid>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[cisco]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[0day]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 21:10:49 GMT</pubDate>
            <atom:updated>2025-11-09T21:10:49.756Z</atom:updated>
            <content:encoded><![CDATA[<p>Critical zero-day flaws in Cisco ASA and FTD firewalls are being actively exploited, giving attackers a potential foothold in enterprise perimeters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*mqvZQifNx8WHPwkIIAjeyQ.png" /></figure><h4>Executive Summary</h4><p>Cisco has confirmed multiple zero-day vulnerabilities affecting its Adaptive Security Appliance (ASA) and Firewall Threat Defense (FTD) software. These vulnerabilities allow remote attackers to execute arbitrary code and bypass authentication, potentially taking full control of impacted firewall devices.</p><p>Active exploitation is currently observed in the wild, primarily targeting publicly exposed management interfaces. This campaign emphasizes a broader trend where adversaries increasingly target network edge devices for initial access and persistence.</p><h4>Affected CVEs and Impact</h4><ul><li><strong>CVE-2025–20333 — Remote Code Execution (RCE)<br></strong>Allows unauthenticated remote attackers to execute arbitrary code on ASA and FTD devices via crafted HTTPS requests.<br><strong>CVSS Score:</strong> 9.9 (Critical)</li><li><strong>CVE-2025–20362 — Authentication Bypass<br></strong>Enables attackers to gain unauthorized access to administrative panels or restricted URLs without valid credentials.<br><strong>CVSS Score:</strong> 6.5 (Medium) “initial” to 3.1 (Low) “current”</li><li><strong>CVE-2025–20363 — Additional RCE Flaw <br></strong>Impacts ASA, FTD, and other Cisco platforms (IOS, IOS XE, IOS XR).<br><strong>CVSS Score:</strong> 9.0 (Critical)</li></ul><h4>Technical Overview</h4><p>The vulnerabilities stem from improper input validation in HTTPS and SSL VPN components, which can lead to heap overflow or memory corruption conditions.<br>Attackers can exploit these flaws remotely to crash firewall processes or execute arbitrary code with elevated privileges.</p><p>Cisco reports that attackers are using crafted HTTPS packets to manipulate memory and gain access to management interfaces, with some incidents involving configuration tampering and VPN session hijacking.</p><h4>Observed Activity</h4><ul><li>Targeting of internet-exposed ASA and FTD interfaces.</li><li>Exploitation via malformed HTTPS requests.</li><li>Observed indicators include:</li><li>Unusual SSL session renegotiations.</li><li>Repeated service restarts.</li><li>Unexpected configuration changes or privilege escalations.</li></ul><h4>Indicators of Compromise (IOCs)</h4><p><em>(Based on independent research and analysis validated across multiple open-source threat intelligence feeds and public reporting.)</em></p><p><strong>Network Indicators</strong></p><ul><li>Repeated access attempts <strong>to /+CSCOE+/logon.html or /remote/login.asp.</strong></li><li>Abnormal HTTPS traffic patterns on ports <strong>443</strong> or <strong>8443.</strong></li><li>Sudden connection resets or frequent VPN service restarts observed in ASA/FTD logs.</li></ul><p><strong>Behavioral Indicators</strong></p><ul><li><strong>Unauthorized VPN logins</strong> originating from foreign or unrecognized IP ranges.</li><li><strong>Unexpected SSL certificate changes or updates</strong> initiated outside maintenance windows.</li><li><strong>Frequent crash reports</strong>, <strong>core dumps</strong>, or <strong>process failures</strong> tied to SSL VPN or web management services.</li></ul><h4>Detection &amp; Mitigation Recommendations</h4><ol><li><strong>Restrict External Access</strong></li></ol><ul><li>Limit access to management and VPN interfaces to trusted internal IP ranges only.</li><li>Use Access Control Lists (ACLs) to block unauthorized access attempts.</li></ul><p><strong>2. Apply Interim Mitigations</strong></p><ul><li>Disable WebVPN if not actively required.</li><li>Implement Snort/FTD rules to detect heap overflow exploit attempts.</li><li>Monitor SSL VPN services for unexpected memory usage or session anomalies.</li></ul><p><strong>3. Monitor and Harden Systems</strong></p><ul><li>Review authentication logs for unusual access times or IP locations.</li><li>Enable detailed logging for all management interface activity.</li></ul><p><strong>4. Patch Immediately</strong></p><ul><li>Cisco has released or is releasing fixed software builds, prioritizing updates once available.</li><li>Subscribe to Cisco’s Security Advisory Portal for the latest patches and guidance.</li></ul><p><strong>MITRE ATT&amp;CK Mapping for Cisco 0 day</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*qpvkGmAktCg0qVzpPiZKeQ.png" /></figure><p>Analyst Commentary</p><p>These vulnerabilities underscore the criticality of securing perimeter devices. Cisco ASA and FTD systems are often deeply integrated into enterprise network defenses, making them high-value targets.</p><p>Organizations should immediately restrict exposure, deploy interim mitigations, and enable network-level monitoring to detect early exploitation attempts. Once a patch is released, rapid deployment is essential to prevent lateral movement from compromised edge devices.</p><h3>References &amp; Source Material</h3><ul><li><strong>CyberSecurityNews:</strong> <em>Cisco ASA and FTD 0-Day RCE Vulnerability Actively Exploited</em></li><li><strong>CyberSecurityNews (October 2025):</strong> <em>Initial Reports of Cisco ASA and FTD Vulnerability</em></li><li><strong>The Hacker News:</strong> <em>Cisco Warns of New Firewall Attack Targeting ASA and FTD Devices</em></li><li><strong>Cisco Security Advisory Portal (November 2025)</strong></li><li><strong>NIST National Vulnerability Database (NVD):</strong></li><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2025-20333">CVE-2025–20333</a></li><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2025-20362">CVE-2025–20362</a></li><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2025-20363">CVE-2025–20363</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c1279c98b1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PromptFlux — AI-Driven Malware That Rewrites Itself Every Hour]]></title>
            <link>https://medium.com/@jchoskins94/promptflux-ai-driven-malware-that-rewrites-itself-every-hour-2ed176484df8?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ed176484df8</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[google-gemini]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 16:09:02 GMT</pubDate>
            <atom:updated>2025-11-09T16:10:58.274Z</atom:updated>
            <content:encoded><![CDATA[<h3>PromptFlux — AI-Driven Malware That Rewrites Itself Every Hour</h3><p>A self-modifying malware campaign exploiting Google Gemini APIs to evade detection and evolve in real time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*zk9SpA8onlpxQRUw-wiEAg.png" /></figure><p><strong>Executive Summary</strong></p><p>Google’s Threat Analysis Group (TAG) recently uncovered a new malware campaign dubbed PromptFlux, an advanced operation leveraging AI-powered code generation to continuously rewrite its malicious scripts. This self-modifying capability enables attackers to evade static detection and signature-based defenses.</p><p>Unlike traditional malware that depends on fixed payloads or obfuscation, PromptFlux uses Google Gemini’s generative API to dynamically regenerate its own VBScript-based code approximately every hour. This allows the malware to alter indicators and functionality on the fly, a major evolution in adaptive, AI-assisted threat design.</p><h4>Key Risks</h4><ul><li><strong>AI-Assisted Evasion:</strong> Uses Gemini’s API to generate polymorphic variants, bypassing static and heuristic detection methods.</li><li><strong>Fileless Operations:</strong> Executes primarily in-memory, reducing forensic artifacts.</li><li><strong>Abuse of Legitimate Infrastructure:</strong> Communication occurs over Google’s official AI endpoints, blending into normal network traffic.</li><li><strong>Operational Adaptability:</strong> Self-rewrites hourly, meaning indicators have an extremely short shelf life.</li></ul><p><strong>Technical Overview</strong></p><h4>Infection Chain</h4><ol><li><strong>Initial Vector:</strong> Malicious VBScript (distributed via phishing attachments or trojan installers).</li><li><strong>AI-Powered Rewrites:</strong> The malware queries Google’s Gemini API using an encoded prompt that instructs the model to rewrite its payload logic every few hours.</li><li><strong>Execution:</strong> The rewritten script executes locally, performing credential theft, data exfiltration, or command retrieval from remote C2 servers disguised as AI service endpoints.</li><li><strong>Persistence:</strong> Scheduled Tasks or WMI event subscriptions re-run the script periodically, ensuring the malware continues to evolve autonomously.</li></ol><h4>Key Technical Details</h4><ul><li><strong>Language/Framework:</strong> VBScript and PowerShell with embedded JSON payloads.</li><li><strong>API Abuse:</strong> Uses legitimate Gemini endpoints like<br>hxxps://generativelanguage[.]googleapis[.]com/v1beta/models/*:generateContent.</li><li><strong>Evasion:</strong> Each generated variant uses new function names, comments, and encoding techniques to disguise itself.</li><li><strong>C2 Concealment:</strong> Outbound traffic mimics benign API requests, complicating network-based detection.</li></ul><p><strong>MITRE ATT&amp;CK Mapping for PromptFlux</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*pa5mOF__0KHCzE5KbcRn1g.png" /></figure><p><strong>Indicators of Compromise (IOCs)</strong></p><p><em>These indicators are derived from publicly reported incidents and my own research across threat-feeds. They should be treated as investigative leads and validated within your environment before action.</em></p><h4>File / Script Indicators</h4><ul><li>VBScript files or scripts that exhibit unusually high code-mutation rates or significant entropy changes on each execution cycle.</li><li>Hosts issuing repeated HTTPS requests to generative AI endpoints (for example: hxxps://generativelanguage[.]googleapis[.]com/v1beta/models/*:generateContent) from systems not normally scheduled for AI interactions.</li><li>Malicious loader DLLs or script components named approximating OpenAIAgent.*, Netapi64.dll, or similar naming conventions — reported in external research as associated with this campaign.</li></ul><h4>Behavioral Indicators</h4><ul><li>Devices, especially servers or endpoints that do <strong>not</strong> have licensed or sanctioned AI/ML workloads, generating traffic to AI services (particularly the Google Gemini/Assistants API) — especially if the access is frequent or automated.</li><li>Script files being rewritten, replaced, or checksum-changed without legitimate user or system updates, especially in %TEMP% or user profile directories.</li><li>Parent-child process chains such as wscript.exe / cscript.exe → powershell.exe being observed when executing external network calls to generative-AI endpoints.</li></ul><p><strong>Note for defenders:</strong></p><p><em>Use these indicators as a starting point. Context matters, you should compare these behaviors against your organization’s baseline. High-risk indicators in one environment might be benign in another. Always validate and correlate with other telemetry before concluding compromise.</em></p><h4>Detection &amp; Response Recommendations</h4><ol><li><strong>Monitor AI Endpoint Traffic:<br></strong>Identify and baseline legitimate API usage. Alert on unexpected or high-volume traffic to Gemini endpoints from non-development systems.</li><li><strong>Script Integrity Monitoring:<br></strong>Use file integrity monitoring tools (for example, Sysmon or OSQuery) to flag repeated VBScript modifications within short time windows.</li><li><strong>PowerShell &amp; VBScript Controls:<br></strong>Enforce AppLocker or WDAC policies to restrict unauthorized script execution.</li><li><strong>Proxy &amp; EDR Enhancements:<br></strong>Enrich your proxy inspection rules to tag outbound traffic to generativelanguage[.]googleapis[.]com and analyze payload structure.</li><li><strong>User Awareness:<br></strong>Educate users on AI-related phishing lures or malicious “AI tool” downloads.</li></ol><p><strong>Mitigation Strategies</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*ZdbwJUflQUV8_c42df6Pzg.png" /></figure><h4>References &amp; Source Material</h4><ul><li><strong>Google Threat Analysis Group (TAG):</strong> PromptFlux Malware Analysis</li><li><strong>Mandiant Threat Intelligence:</strong> Technical Brief on AI-Assisted Threat Behavior</li><li><strong>The Hacker News:</strong> <em>“Google Uncovers PromptFlux Malware That Rewrites Itself Using Gemini AI”</em></li><li><strong>Additional Research:</strong> Aggregated findings from open-source intelligence (OSINT) feeds, public indicators, and threat community reporting.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ed176484df8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SesameOp — Backdoor Abusing OpenAI Assistants API for Covert C2 Operations]]></title>
            <link>https://medium.com/@jchoskins94/sesameop-backdoor-abusing-openai-assistants-api-for-covert-c2-operations-20e7994ff3a9?source=rss-54fcf07906d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/20e7994ff3a9</guid>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[c2]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[backdoor]]></category>
            <dc:creator><![CDATA[Jason Hoskins Jr.]]></dc:creator>
            <pubDate>Thu, 06 Nov 2025 00:14:24 GMT</pubDate>
            <atom:updated>2025-11-06T00:14:24.198Z</atom:updated>
            <content:encoded><![CDATA[<h3>SesameOp — Backdoor Abusing OpenAI Assistants API for Covert C2 Operations</h3><p>A closer look at how attackers are misusing everyday AI tools like OpenAI’s API to sneak malware through trusted communication channels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vz4YPKpUu8gz1Pn8PIflJg.png" /></figure><ol><li><strong>Executive Summary</strong></li></ol><p>A newly identified backdoor known as SesameOp has been observed using the OpenAI Assistants API as a covert communication channel to receive attacker commands and send system data back out. This marks a concerning evolution in threat actor tactics, abusing trusted AI APIs to hide in plain sight.</p><p>Discovered by Microsoft’s Digital Security &amp; Incident Response team, SesameOp demonstrates how adversaries are continuously adapting to blend malicious activity within legitimate cloud services. By leveraging the OpenAI API as a Command and Control (C2) channel, attackers can bypass traditional detections and remain under the radar for extended periods.</p><h4>Key Risks</h4><ul><li>Abuse of trusted AI APIs to conceal command-and-control traffic.</li><li>Long-term persistence through DLL injection and .NET loader mechanisms.</li><li>Potential for remote code execution, lateral movement, and sensitive data collection.</li></ul><h4>Immediate Actions</h4><ul><li>Monitor for unusual API traffic to api[.]openai[.]com from systems that don’t normally use it.</li><li>Check for unknown DLL files named Netapi64.dll or OpenAIAgent.* in %TEMP% or system directories.</li><li>If indicators of SesameOp are found, isolate affected hosts immediately and rotate any potentially exposed credentials.</li></ul><p><strong>2. Technical Overview</strong></p><p>SesameOp is a backdoor designed to communicate through legitimate OpenAI Assistants API traffic. Once a system is compromised, the malware establishes persistence using a malicious DLL loader that injects itself into a host executable. From there, it makes outbound API calls disguised as normal AI activity, fetching attacker commands and executing them silently in the background.</p><p>This clever use of a legitimate API allows the attacker to:</p><ul><li>Hide C2 communication inside normal HTTPS traffic.</li><li>Execute commands such as PowerShell or CMD payloads locally.</li><li>Exfiltrate results back through the same trusted API channel.</li></ul><p>The initial infection likely comes from compromised servers or applications where the attackers deploy a loader component. Once active, it communicates with OpenAI endpoints to receive tasking from the operator.</p><h4>3. Behavioral Indicators</h4><ul><li>Suspicious DLL files named Netapi64.dll or OpenAIAgent.Netapi64 placed in %TEMP%.</li><li>Unexpected API requests to OpenAI Assistants from non-developer or non-AI systems.</li><li>Service processes (for example, w3wp.exe, svchost.exe) spawning PowerShell or CMD.</li><li>Consistent outbound POST requests with encoded data or repeating patterns to the same AI API endpoint.</li></ul><h4>4. Indicators of Compromise (IOCs)</h4><p>The following indicators were compiled from publicly available threat intelligence and research sources. They serve as starting points for defenders to hunt, validate, and adapt to their specific environments rather than definitive proof of compromise.</p><ul><li><strong>File Names:<br></strong> Netapi64.dll, OpenAIAgent.Netapi64<br> <strong><em>These DLLs have been reported in association with SesameOp activity and may indicate the presence of a malicious loader or injected module.</em></strong></li><li><strong>Behavioral IOC:<br></strong> Unusual or repetitive outbound communication with api[.]openai[.]com originating from systems or services that do not typically interact with OpenAI or similar APIs.<br> <strong><em>This behavior may suggest covert command-and-control (C2) communication hiding within legitimate HTTPS traffic.</em></strong></li><li><strong>Example Process Chain:<br></strong> w3wp.exe → injected Netapi64.dll → cmd.exe → powershell.exe<br> <strong><em>This chain shows how legitimate Windows processes can be hijacked to execute malicious commands while blending in with normal system activity.</em></strong></li><li><strong>Educational Note:</strong></li></ul><p><strong><em>Indicators of Compromise (IOCs) are not one-size-fits-all. They should be treated as investigative leads, not conclusive evidence. Always cross-check these findings against your environment’s baseline activity to minimize false positives and enhance detection fidelity.</em></strong></p><p><strong>5. MITRE ATT&amp;CK Mapping for SesameOp</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*IlrsX60cJb14dJDAm4NQ9Q.png" /></figure><h4>6. Detection Recommendations</h4><p><strong>Network Monitoring</strong></p><ul><li>Baseline normal OpenAI API activity. Any new or repetitive outbound traffic to api[.]openai[.]com from non-AI endpoints should trigger alerts.</li><li>Inspect API request payloads for encoded or automated patterns.</li><li>Review API key usage and check for anomalies in key activity or IP origin.</li></ul><p><strong>Host-Based Detection</strong></p><ul><li>Alert on unsigned or unknown DLLs loaded into service processes like w3wp.exe or svchost.exe.</li><li>Hunt for command execution patterns where cmd.exe or powershell.exe is launched by service processes.</li><li>Search temporary folders for DLLs or executables that mimic legitimate AI or Microsoft components.</li></ul><h4>7. Mitigations</h4><ul><li><strong>Restrict Cloud API Usage:</strong> Limit which systems can reach external APIs and enforce egress filtering.</li><li><strong>API Key Management:</strong> Rotate keys regularly and monitor for misuse or abnormal usage patterns.</li><li><strong>Endpoint Hardening:</strong> Implement AppLocker or Windows Defender Application Control (WDAC) policies to prevent untrusted DLL loads.</li><li><strong>Network Controls:</strong> Enable SSL inspection for outbound traffic to detect hidden payloads in HTTPS requests.</li><li><strong>Incident Response:</strong> If SesameOp is suspected, isolate hosts immediately, review persistence mechanisms, and reset all credentials tied to the system.</li></ul><h4>8. Timeline</h4><ul><li><strong>Mid-2025:</strong> Initial discovery of activity linked to SesameOp.</li><li><strong>November 2025:</strong> Public disclosure from Microsoft and community analysis from multiple cybersecurity outlets.</li></ul><h4>9. References &amp; Source Material</h4><ul><li>Microsoft DART — <em>SesameOp: OpenAI Assistants API Abused for C2</em>.</li><li>The Hacker News — <em>Microsoft Detects “SesameOp” Backdoor Leveraging AI API for Covert Operations.</em></li><li>CyberSecurityNews — <em>SesameOp Exploits OpenAI API to Evade Detection.</em></li><li>BleepingComputer — <em>Microsoft: SesameOp Malware Abuses OpenAI Assistants API in Attacks.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20e7994ff3a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>