<?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 Manish [pikachu] on Medium]]></title>
        <description><![CDATA[Stories by Manish [pikachu] on Medium]]></description>
        <link>https://medium.com/@secnish?source=rss-5f31b9c77546------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GmXz1SFLyRBqZ-kcVIAFbQ.jpeg</url>
            <title>Stories by Manish [pikachu] on Medium</title>
            <link>https://medium.com/@secnish?source=rss-5f31b9c77546------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 18:20:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@secnish/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[Hunting with Zeek and Splunk — 2]]></title>
            <link>https://secnish.medium.com/hunting-with-zeek-and-splunk-2-b8445713ce04?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8445713ce04</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[security-engineering]]></category>
            <category><![CDATA[blue-teaming]]></category>
            <category><![CDATA[network-security]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Fri, 30 Jan 2026 18:31:30 GMT</pubDate>
            <atom:updated>2026-01-30T18:31:30.756Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hunting with Zeek and Splunk — 2🛜</h3><h3>Never “Mug Up” a Beaconing Query</h3><p>f you look at a production-grade beaconing query and feel a sense of dread, you aren’t alone. It’s long, it’s full of math, and it looks like a specialized calculator. But here is a secret: <strong>You don’t need to memorize the query. You need to understand the rhythm. It sucks, really!</strong></p><p>Malware doesn’t just ‘send data’, it breathes. It has a pulse. Today, we’re moving away from simple string matching and into the world of <strong>Statistical Threat Hunting</strong> using Zeek logs.</p><p>Before looking at the code, let’s look at the behavior. When a machine is infected with C2 (Command &amp; Control) malware like Cobalt Strike, it “beacons” home to ask the attacker for instructions.</p><ul><li><strong>The Problem:</strong> It looks like normal HTTP traffic.</li><li><strong>The Vulnerability:</strong> It is repetitive. Humans are random but the bots are consistent.</li></ul><p>Check this production grade query, I know it’s very long 😢</p><p>Now let’s explore how we can identify beaconing, using Splunk and Zeek logs.</p><pre>index=&quot;cobaltstrike_beacon&quot; sourcetype=&quot;bro:http:json&quot; <br>| sort 0 _time<br>| streamstats current=f last(_time) as prevtime by src, dest, dest_port<br>| eval timedelta = _time - prevtime<br>| eventstats avg(timedelta) as avg, count as total by src, dest, dest_port<br>| eval upper=avg*1.1<br>| eval lower=avg*0.9<br>| where timedelta &gt; lower AND timedelta &lt; upper<br>| stats count, values(avg) as TimeInterval by src, dest, dest_port, total<br>| eval prcnt = (count/total)*100<br>| where prcnt &gt; 90 AND total &gt; 10</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*733SsM1qa_xYRZko.png" /><figcaption>source — <a href="https://academy.hackthebox.com/module/233/section/2555">https://academy.hackthebox.com/module/233/section/2555</a></figcaption></figure><p><strong>Search Breakdown</strong>:</p><ul><li>index=&quot;cobaltstrike_beacon&quot; sourcetype=&quot;bro:http:json&quot;: Selects the data from the cobaltstrike_beaconindex and filters events of type bro:http:json, which represent Zeek HTTP logs.</li><li>| sort 0 _time: Sorts the events in ascending order based on their timestamp (_time).</li><li>| streamstats current=f last(_time) as prevtime by src, dest, dest_port: For each event, calculates the previous event&#39;s timestamp (prevtime) grouped by source IP (src), destination IP (dest), and destination port (dest_port).</li><li>| eval timedelta = _time - prevtime: Computes the time difference (timedelta) between the current and previous events&#39; timestamps.</li><li>| eventstats avg(timedelta) as avg, count as total by src, dest, dest_port: Calculates the average time difference (avg) and the total number of events (total) for each combination of src, dest, and dest_port.</li><li>| eval upper=avg*1.1: Sets an upper limit for the time difference by adding a 10% margin to the average.</li><li>| eval lower=avg*0.9: Sets a lower limit for the time difference by subtracting a 10% margin from the average.</li><li>| where timedelta &gt; lower AND timedelta &lt; upper: Filters the events where the time difference falls within the defined upper and lower limits.</li><li>| stats count, values(avg) as TimeInterval by src, dest, dest_port, total: Counts the number of events and extracts the average time interval for each combination of src, dest, dest_port, and total.</li><li>| eval prcnt = (count/total)*100: Calculates the percentage (prcnt) of events within the defined time interval limits.</li><li>| where prcnt &gt; 90 AND total &gt; 10: Filters the results to only include those where more than 90%of the events fall within the defined time interval limits, and there are more than 10 total events.</li></ul><p>Now let’s brief out the soul behind this query:</p><h3>Step 1: The Time Machine (streamstats)</h3><pre>| sort 0 _time<br>| streamstats current=f last(_time) as prevtime by src, dest, dest_port<br>| eval timedelta = _time - prevtime</pre><p><strong>Y</strong>ou can’t find a pattern by looking at one log. You have to compare the <em>current</em> log to the <em>previous</em> one. streamstats acts like a time machine, grabbing the timestamp of the last connection so we can calculate the &quot;Delta&quot; (the gap in seconds).</p><p>Check out this ‘f’ thing there….I will explain. Look at how it works in your query: | streamstats current=f last(_time) as prevtime by src, dest</p><p>For instance, let’s say 👇🏻</p><ul><li><strong>Event 1 (12:00:00):</strong> Since there is no previous event, prevtime is empty.</li><li><strong>Event 2 (12:01:00):</strong> Splunk looks back (because of current=f) and sees Event 1. It sets prevtime to 12:00:00.</li><li><strong>The Result:</strong> Now you can do the math: 12:01:00 - 12:00:00 = 60 seconds.</li></ul><p>If you forgot the f, Splunk would compare Event 2 to Event 2, and your timedelta would be 0 every single time. Your detection would be broken!</p><h3>Step 2: Compensating for “Jitter” (eval upper/lower)</h3><pre>| eval upper=avg*1.1<br>| eval lower=avg*0.9</pre><p>Attackers are smart. They add “Jitter” (random delays) so the beacon isn’t exactly every 60.00 seconds. If we looked for a perfect number, we’d find nothing. By creating a <strong>10% window</strong>, we are telling Splunk: <em>“I’ll accept a little bit of ‘sloppiness’ as long as the rhythm is mostly the same.”</em></p><h3>Step 3: The Certainty Filter (where prcnt &gt; 90)</h3><pre>| eval prcnt = (count/total)*100<br>| where prcnt &gt; 90 AND total &gt; 10</pre><p>This is the final filter. If 90% of the connections fall into that 10% window, it’s not a human checking their email, it’s a heartbeat 💓</p><h3>🔬 nsight</h3><p>When I first saw this query in the HackTheBox modules, I thought, <em>‘I can never write this from memory.’</em> But then I stopped trying to memorize the commands and started focusing on the <strong>tactical goal</strong>. You can make the queries by looking onto the documentations as well, but logic behind the attacks you should always keep in mind though.</p><p>The goal isn’t to write a long query, the goal is to <strong>mathematically prove consistency</strong>.</p><p>Once you realize that streamstats is just a way to measure the gap between two pulses, the query stops being &#39;scary&#39; and starts being a tool you can control.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8445713ce04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hunting RDP Brute Force with Zeek and Splunk — 1 ]]></title>
            <link>https://secnish.medium.com/hunting-rdp-brute-force-with-zeek-and-splunk-1-c6a12ea72ada?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6a12ea72ada</guid>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[blue-teaming]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[siem]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Thu, 29 Jan 2026 13:40:31 GMT</pubDate>
            <atom:updated>2026-01-29T17:22:12.878Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hunting with Zeek and Splunk — 1 🛜</h3><p>After diving deep into the complexities of Windows Event Logs, it’s time to shift our perspective. While host logs tell us what a machine <em>thinks</em> happened, network logs show us what <em>actually</em> crossed the wire.</p><p>Today, we’re looking at <strong>RDP Brute Force</strong>. RDP (Remote Desktop Protocol) is one of the most targeted services in any network. Attackers love it because it provides a GUI-based foothold. But brute-forcing it over the network creates a distinct ‘rhythm’ in the logs that is incredibly easy to catch if you know where to look.”</p><h3>The Logic: Volume and Velocity</h3><p>In the network world, a brute force attack isn’t just a “failed logon” — it’s a <strong>statistical anomaly</strong>.</p><ul><li><strong>Normal Behavior:</strong> A user connects once or twice, authenticates, and stays connected.</li><li><strong>Brute Force Behavior:</strong> A single source IP (id.orig_h) makes dozens or hundreds of connection attempts to a target (id.resp_h) in a very short window.</li></ul><h3>The “Clean” Zeek Query</h3><p>Here is why this query is so much more “refreshing” than the Windows ones:</p><pre>index=&quot;main&quot; sourcetype=&quot;bro:rdp:json&quot;<br>| bin _time span=5m<br>| stats count values(cookie) as targeted_usernames by _time, id.orig_h, id.resp_h<br>| where count &gt; 30</pre><h4>Why this is my favorite:</h4><ul><li><strong>bin _time span=5m</strong>: We are &quot;bucketizing&quot; time. We want to see how many attempts happened in a tight 5-minute window.</li><li><strong>id.orig_h &amp; </strong><strong>id.resp_h</strong>: No regex needed. Zeek gives us the Source and Destination IPs in dedicated fields.</li><li><strong>values(cookie)</strong>: In Zeek RDP logs, the cookie field often contains the <strong>username</strong> the attacker is trying to use. By using values(), we can see the list of accounts they are targeting.</li><li><strong>where count &gt; 30</strong>: This is our threshold. 30 attempts in 5 minutes is almost certainly a tool, not a human forgetting their password.</li></ul><h3>Researcher’s Insight 🎶</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PcweGd3ri20ni8w2S8Frg.png" /><figcaption>source — <a href="https://academy.hackthebox.com/module/233/section/2554">https://academy.hackthebox.com/module/233/section/2554</a></figcaption></figure><p>One of the coolest parts of Zeek’s RDP log is the cookie field. During the initial RDP handshake, the client sends a &#39;routing token&#39; which often defaults to the username. By tracking this, we don&#39;t just see <em>that</em> someone is attacking; we see <strong>who</strong> they are trying to be. If you see 50 different usernames from one IP, you&#39;re actually looking at a <strong>Credential Stuffing</strong> attack.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6a12ea72ada" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deconstructing Detection Logic in Windows Environments-Part 4]]></title>
            <link>https://secnish.medium.com/deconstructing-detection-logic-in-windows-environments-part-4-7ccb036d6123?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ccb036d6123</guid>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[blue-teaming]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Fri, 23 Jan 2026 18:55:16 GMT</pubDate>
            <atom:updated>2026-01-23T18:55:16.028Z</atom:updated>
            <content:encoded><![CDATA[<p>Correlating LSASS Access and Type 9 Logons to Detect Pass-the-Hash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iz9bRb5jtDx3oxXxlVwbvA.png" /></figure><p>In the previous parts of ‘The SOC Analyst’s Ledger,’ we focused on how attackers get tickets to the party. But what if they don’t want a ticket? What if they just want to steal your identity directly from your computer’s memory?</p><p><strong>Welcome to Pass-the-Hash (PtH). This is a classic lateral movement technique where an attacker reaches into the </strong><strong>lsass.exeprocess, pulls out an NTLM hash, and uses it to impersonate a user without ever knowing their password. To catch this, we can&#39;t just look for one event, we have to connect the dots between a &#39;Touch&#39; and a &#39;Logon&#39;.</strong></p><p>Pass-the-Hash is a technique utilized by attackers to authenticate to a networked system using the NTLM hash of a user&#39;s password instead of the plaintext password. The attack capitalizes on the way Windows stores password hashes in memory, enabling adversaries with administrative access to capture the hash and reuse it for lateral movement within the network.</p><h4>Attack Steps:</h4><ul><li>The attacker employs tools such as Mimikatz to extract the NTLM hash of a user currently logged onto the compromised system. Note that local administrator privileges are required on the system to extract the user&#39;s hash.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/0*Rfu3GWtiqpsC4mhD.png" /></figure><ul><li>Armed with the NTLM hash, the attacker can authenticate as the targeted user on other systems or network resources without needing to know the actual password.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/0*5r0tGABcOXL7U5vn.png" /></figure><ul><li>Utilizing the authenticated session, the attacker can move laterally within the network, gaining unauthorized access to other systems and resources.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/0*kW-3vZx1OjrCY6Yy.png" /></figure><h3>The Anatomy of the Correlation</h3><p>To catch a Pass-the-Hash attack, we are looking for two specific “fingerprints” that happen almost simultaneously:</p><ol><li><strong>The Reach (Sysmon Event 10):</strong> A process (like Mimikatz) accesses the memory of lsass.exe.</li><li><strong>The Logon (Windows Event 4624):</strong> A specific, suspicious logon type (<strong>Type 9</strong>) is triggered immediately after.</li></ol><h3>The “Quirky” Correlation Query</h3><p>Instead of manual hunting, we use the transaction command to build a bridge between these events.</p><pre>index=main (source=&quot;XmlWinEventLog:Microsoft-Windows-Sysmon/Operational&quot; EventCode=10 TargetImage=&quot;C:\\Windows\\system32\\lsass.exe&quot;) <br>OR (source=&quot;WinEventLog:Security&quot; EventCode=4624 Logon_Type=9 Logon_Process=seclogo)<br>| transaction host maxspan=1m startswith=(EventCode=10) endswith=(EventCode=4624)<br>| table _time, Computer, SourceImage, Network_Account_Name, Logon_Type</pre><p><strong>Why this logic is elite:</strong></p><ul><li><strong>maxspan=1m</strong>: Attackers move fast. By limiting the window to 60 seconds, we eliminate the &quot;noise&quot; of normal system behavior.</li><li><strong>Logon_Type=9</strong>: This is the &quot;NewCredentials&quot; type. It’s a huge red flag because it’s the default behavior for tools that &quot;pass&quot; hashes over the network.</li></ul><h3>The Researcher’s Insight: Filtering the Noise</h3><p>As a researcher, I realized that Windows Defender (MsMpEng.exe) touches lsass.exe all the time. If you don&#39;t filter that out, your SIEM will scream at you 24/7.</p><p>The secret to high-fidelity detection isn’t just knowing what is <strong>bad</strong>; it’s knowing what is <strong>normal</strong> and excluding it. By adding SourceImage!=&quot;*MsMpEng.exe&quot; to our query, we turn a noisy alert into a precise investigation.</p><p>It’s that easy!</p><p>Pass-the-Hash is a technique that has existed for decades, yet it still catches organizations off guard. Why? Because most defenders are looking for ‘tools.’</p><p>As we’ve seen in this series, the tool doesn’t matter. Whether it’s Mimikatz, Impacket, or a custom script, the <strong>behavior </strong>remains the same: an unauthorized process accesses memory, followed by a suspicious logon. When you start thinking in <strong>Transactions</strong>, the attacker has nowhere left to hide</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ccb036d6123" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deconstructing Detection Logic in Windows Environments-Part 3]]></title>
            <link>https://secnish.medium.com/deconstructing-detection-logic-in-windows-environments-part-3-3121bfe33705?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/3121bfe33705</guid>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Thu, 22 Jan 2026 18:00:27 GMT</pubDate>
            <atom:updated>2026-01-22T18:00:27.479Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>When I first looked at Kerberos, the hex codes and Event IDs felt like a mess. But then I realized that mostly it’s all about the ‘Encryption Type.’ Attackers force the system to use RC4 (0x17) because modern AES is too hard to crack. Once you look for 0x17, the noise disappears.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iz9bRb5jtDx3oxXxlVwbvA.png" /></figure><p>Instead of memorizing everything, just remember this: <strong>“If a user asks for a ticket and the encryption is 0x17, it’s probably a roast.”</strong></p><ul><li><strong>TGT</strong> (4768) = AS-REP Roasting.</li><li><strong>TGS</strong> (4769) = Kerberoasting.</li></ul><h3>Unmasking AS-REP and Kerberoasting [via Encryption Downgrades]</h3><h3>Phase 1: The Recon (The SPN Hunt)</h3><p>Before an attacker can Kerberoast, they need a list of targets. They use LDAP to ask: <em>“Who here is a service account?”</em></p><p><strong>The “Production-Grade” Recon Query:</strong></p><pre>index=main source=&quot;WinEventLog:SilkService-Log&quot; &quot;*(servicePrincipalName=*)*&quot;<br>| spath input=Message <br>| rename XmlEventData.* as * | table _time, ComputerName, user, ProcessName, SearchFilter</pre><p><strong>The Insight:</strong> If you see a non-admin user account (like CORP\stella) running a process that suddenly queries every SPN in the domain, you aren&#39;t just looking at a &quot;lab answer&quot; (if you are solving htb) you’ve found a <strong>compromised identity</strong>.</p><h3>Phase 2: The Attack (Encryption Downgrade)</h3><p>The reason these attacks are called “Roasting” is that the attacker takes a piece of the Kerberos ticket home to “cook” (crack) it offline. They specifically request <strong>RC4 encryption (0x17)</strong> because modern AES is virtually uncrackable without a supercomputer.</p><p><strong>The “Universal Roast Hunter” Query:</strong></p><pre>index=main (EventCode=4768 OR EventCode=4769) Ticket_Encryption_Type=&quot;0x17&quot;<br>| stats count by _time, EventCode, user, service_name, Ticket_Encryption_Type, src_ip<br>| where service_name!=&quot;*$&quot;</pre><p><strong>The Logic:</strong></p><ul><li><strong>0x17</strong>: This is the &quot;Encryption Downgrade.&quot; It’s the attacker&#39;s fingerprint.</li><li><strong>service_name!=&quot;*$&quot;</strong>: We filter out machine accounts. We only want to see attackers targeting <strong>User-based service accounts</strong>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3121bfe33705" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deconstructing Detection Logic in Windows Environments-Part 2]]></title>
            <link>https://secnish.medium.com/deconstructing-detection-logic-in-windows-environments-part-2-764a2de70667?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/764a2de70667</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Thu, 22 Jan 2026 04:03:02 GMT</pubDate>
            <atom:updated>2026-01-22T18:17:01.968Z</atom:updated>
            <content:encoded><![CDATA[<p>In my last post, we looked at how attackers map out Active Directory using LDAP filters. But a map is useless if you don’t have a key to the front door.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iz9bRb5jtDx3oxXxlVwbvA.png" /></figure><h3>Detecting Password Spraying</h3><p>The most common way an attacker gains that key isn’t through some sophisticated zero-day exploit; it’s through a <strong>Password Spray</strong>.</p><p>While a ‘Brute Force’ attack is like a thief trying 1,000 keys on one door, a ‘Password Spray’ is a thief trying the same common key on 1,000 different houses. It’s quiet, it’s effective, and if you are only searching for ‘failed logins,’ it is almost impossible to find.</p><h3>The Windows 4625 Problem</h3><p>In a Windows environment, every time someone mistypes their password, it generates an <strong>Event ID 4625</strong>. In a large organization, your SIEM is flooded with thousands of these every hour.</p><p>A junior analyst might search for EventCode=4625, but they will be met with a wall of noise. To find the attacker, we have to look for <strong>statistical anomalies</strong>. We need to find one IP address that is failing to log in across a wide variety of accounts in a very short window of time.</p><p>An example of password spraying using the <a href="https://github.com/Greenwolf/Spray">Spray</a> tool can be seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qFOKkKk85734SLgP.png" /></figure><p>Other event logs that may aid in password spraying detection include:</p><ul><li>4768 and ErrorCode 0x6 - Kerberos Invalid Users</li><li>4768 and ErrorCode 0x12 - Kerberos Disabled Users</li><li>4776 and ErrorCode 0xC000006A - NTLM Invalid Users</li><li>4776 and ErrorCode 0xC0000064 - NTLM Wrong Password</li><li>4648 - Authenticate Using Explicit Credentials</li><li>4771 - Kerberos Pre-Authentication Failed</li></ul><p>Let’s take an instance from our module’s password spraying section <a href="https://academy.hackthebox.com/module/233/section/2524">https://academy.hackthebox.com/module/233/section/2524</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6lR00o_bsp-al3ixkMdew.png" /></figure><h4>The “Quick Lab” Search</h4><p><strong>The Verdict:</strong> This works for a lab, but it’s a “performance killer” in production. Full-text searches (using *) across the entire index force the SIEM to work ten times harder than it needs to.</p><h4>The “Production-Grade” Logic</h4><p>To catch a spray like a professional, we use <strong>time-binning</strong> and <strong>distinct counting</strong>. This query tells a story of <em>intent</em> and <em>volume</em>.</p><pre>index=main source=&quot;WinEventLog:Security&quot; EventCode=4625<br>| bin span=15m _time<br>| stats values(user) as Targeted_Users, dc(user) as unique_user_count count by src, Source_Network_Address, dest<br>| where unique_user_count &gt; 5</pre><p><strong>Why this matters for your Portfolio:</strong></p><ul><li><strong>bin span=15m</strong>: We aren&#39;t looking for one-off mistakes; we are looking for a <em>cluster</em> of activity in a specific window.</li><li><strong>dc(user)</strong>: This is the &quot;Distinct Count.&quot; If one IP hits 10 different usernames, that isn&#39;t a typo—that’s a script.</li><li><strong>where unique_user_count &gt; 5</strong>: This is your &quot;Signal-to-Noise&quot; filter. It ignores the average user and highlights the threat actor.</li></ul><p>But as we are to look for user on SQLSERVER.corp.local, we will better modify the query as</p><pre>index=main source=&quot;WinEventLog:Security&quot; EventCode=4625<br>| bin span=15m _time<br>| src=&quot;SQLSERVER.corp.local&quot;<br>| stats values(user) as Targeted_Users, dc(user) as unique_user_count count by Source_Network_Address, dest<br>| where unique_user_count &gt; 5</pre><p>and here it results in this 👇🏻</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K514_xSDRmU9hMaiOBWscQ.png" /></figure><h3>Detecting Responder-like Attacks — LLMNR/NBT-NS/mDNS Poisoning</h3><p>LLMNR (Link-Local Multicast Name Resolution) and NBT-NS (NetBIOS Name Service) poisoning, also referred to as NBNS spoofing, are network-level attacks that exploit inefficiencies in these name resolution protocols. Both LLMNR and NBT-NSare used to resolve hostnames to IP addresses on local networks when the fully qualified domain name (FQDN) resolution fails. However, their lack of built-in security mechanisms renders them susceptible to spoofing and poisoning attacks.</p><p>Typically, attackers employ the <a href="https://github.com/lgandx/Responder">Responder</a> tool to execute LLMNR, NBT-NS, or mDNS poisoning.</p><h4>Attack Steps:</h4><ul><li>A victim device sends a name resolution query for a mistyped hostname (e.g., fileshrae).</li><li>DNS fails to resolve the mistyped hostname.</li><li>The victim device sends a name resolution query for the mistyped hostname using LLMNR/NBT-NS.</li><li>The attacker’s host responds to the LLMNR (UDP 5355)/NBT-NS (UDP 137) traffic, pretending to know the identity of the requested host. This effectively poisons the service, directing the victim to communicate with the adversary-controlled system.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/0*mVTbHIE1w74WKF4p.png" /></figure><p>The result of a successful attack is the acquisition of the victim’s NetNTLM hash, which can be either cracked or relayed in an attempt to gain access to systems where these credentials are valid.</p><h3>Detecting Responder-like Attacks With Splunk</h3><p><a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=90022"><strong><em>Sysmon Event ID 22</em></strong></a><strong><em> can also be utilized to track DNS queries associated with non-existent/mistyped file shares.</em></strong></p><pre>index=main earliest=1690290078 latest=1690291207 EventCode=22 <br>| table _time, Computer, user, Image, QueryName, QueryResults</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PCfQVIQY2mjxuP2C.png" /></figure><p><strong><em>Additionally, remember that </em></strong><a href="https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4648"><strong><em>Event 4648</em></strong></a><strong><em> can be used to detect explicit logons to rogue file shares which attackers might use to gather legitimate user credentials.</em></strong></p><p><strong>Timeframe</strong>: earliest=1690290814 latest=1690291207</p><p>Detecting Responder-like Attacks</p><pre>index=main earliest=1690290814 latest=1690291207 EventCode IN (4648) <br>| table _time, EventCode, source, name, user, Target_Server_Name, Message<br>| sort 0 _time</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FC8PvHjjOYlSFAAf.png" /></figure><p>Let’s take an instance to engineer some detection queries though</p><p>Take a look at here — <a href="https://academy.hackthebox.com/module/233/section/2525">https://academy.hackthebox.com/module/233/section/2525</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iVihv2HuL-qqpK2Lfxze9g.png" /></figure><h3>The Logic: Why Event 22?</h3><p>In a <strong>Responder</strong> attack (LLMNR/NBT-NS poisoning), the attacker is waiting for a user to mistype a file share name (e.g., typing \\myshar3 instead of \\myshare). When Windows can&#39;t find the real share, it broadcasts a request. Responder &quot;poisons&quot; that request by saying, <em>&quot;I am myshar3! Send your credentials to me at 10.10.0.221.&quot;</em></p><pre>index=main EventCode=22<br>| search &quot;*10.10.0.221*&quot;<br>| table _time, Computer, user, Image, QueryName, QueryResults</pre><p>Take a look at how xml based events for this looks like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6RwWqh_3C5tVvEDInkkiFA.png" /></figure><p><strong>Is it good?</strong> It’s a solid “Investigation” query. It helps you see the QueryName (the share name) and the QueryResults (the attacker&#39;s IP).</p><h3>The “Engineer” Upgrade</h3><p>To make this ready a real SOC, we need to handle the fact that Sysmon logs DNS results in a weird format (look at your raw log: ::ffff:10.10.0.221;). We also want to filter out legitimate DNS traffic so we only see the &quot;poisoned&quot; results.</p><p><strong>The Production-Grade Query:</strong></p><pre>index=main EventID=22<br>| where mvcount(split(QueryResults, &quot;;&quot;)) &gt; 1<br>| search QueryResults=&quot;*10.10.0.221*&quot;<br>| stats count by QueryName, QueryResults, Computer, Image<br>| rename QueryName as &quot;Spoofed_Share_Name&quot;, QueryResults as &quot;Attacker_IP&quot;</pre><h3>The Breakdown of the Logic</h3><p>Think of it like a three-step process to “count the items in a list.”</p><h4>1. split(QueryResults, &quot;;&quot;)</h4><p>Splunk sees QueryResults as one long string of text. The split command tells Splunk: <em>&quot;Look at this string, and everywhere you see a semicolon, chop it into a separate piece.&quot;</em></p><ul><li><strong>Input:</strong> &quot;::1;::ffff:10.10.0.221;&quot;</li><li><strong>Output:</strong> A list (what Splunk calls a <strong>Multivalue Field</strong>) containing:</li></ul><ol><li>::1</li><li>::ffff:10.10.0.221</li></ol><h4>2. mvcount(...)</h4><p>mv stands for <strong>Multivalue</strong>. This function simply counts how many items are in the list we just created with the split.</p><ul><li><strong>Result:</strong> 2 (since there are two IPs in that string).</li></ul><h4>3. &gt; 1</h4><p>We are telling Splunk: <em>“Only show me events where there is more than one IP address returned.”</em></p><h3>Why do we do this for Responder?</h3><p>In a normal, healthy network, when you look for a server, the DNS usually returns <strong>one</strong> specific IP address.</p><p>However, <strong>Responder</strong> (the tool attackers use for poisoning) is aggressive. It often responds via both IPv6 (::ffff:10.10.0.221) and IPv4, or it tries to inject itself alongside a &quot;Localhost&quot; address (::1).</p><p><strong>The Investigation Mindset:</strong> By using mvcount(...) &gt; 1, you are filtering out 90% of your normal, boring DNS traffic. You are telling the SIEM: <em>&quot;Ignore the standard stuff. Show me the &#39;chatty&#39; DNS responses where multiple IPs are fighting to resolve a name.&quot;</em> This is a classic &quot;Detection Engineering&quot; trick—using the format of the log itself to find the anomaly.</p><h3>“Sysmon logs DNS results as a single string, but attackers often leave multiple ‘fingerprints’ in that field. By splitting the string and counting the values, we can programmatically isolate poisoned responses from standard network traffic.”</h3><p>and there we get some responses like this 👇🏻</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3XF2f3DHdA-mMR8sjt8sPQ.png" /></figure><p>Through our investigation, we didn’t just find a “spoofed share.” We learned how to:</p><ul><li><strong>Parse complex XML telemetry</strong> within Sysmon Event 22.</li><li><strong>Use </strong><strong>mvcount and </strong><strong>split logic</strong> to isolate anomalous, multi-IP DNS responses.</li><li><strong>Identify the “Bait”</strong> (the QueryName) and the “Hook” (the Attacker’s IP) 🚀</li></ul><p>As defenders, our job is to move beyond reacting to alerts and start engineering the logic that makes these attacks visible in the first place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=764a2de70667" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deconstructing Detection Logic in Windows Environments-Part 1]]></title>
            <link>https://secnish.medium.com/deconstructing-detection-logic-in-windows-environments-part-1-d3a7db3bdd1d?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3a7db3bdd1d</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[siem]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 17:30:27 GMT</pubDate>
            <atom:updated>2026-01-21T17:30:27.463Z</atom:updated>
            <content:encoded><![CDATA[<p>Most cybersecurity students are being trained to be world-class searchers, but mediocre investigators.</p><p>We spend our lab hours staring at a SIEM interface, typing index=main followed by a &#39;magic string&#39; we found in a walkthrough, hoping to see a single line of telemetry that gives us the answer. We find the process name, we grab the flag, and we move on. We feel like we’ve won.</p><p>But in a production Security Operations Center (SOC), that isn’t winning, it’s sifting.</p><p>In the real world, the ‘needle’ doesn’t matter if you can’t describe the ‘haystack.’</p><blockquote><em>If your query doesn’t tell a story, if it doesn’t show you the scale of the attack, the intent of the adversary, and the scope of the compromise you aren’t building a detection; you’re just playing a game of ‘Where’s Waldo?’ with log files.</em></blockquote><p>It’s time to move beyond simple string matching and start thinking like a Detection Engineer.</p><p>In this series, I’m going to document my journey through <strong>HackTheBox’s</strong> <a href="https://academy.hackthebox.com/module/details/233">Detecting Windows Attacks with Splunk</a>. But I won’t be giving you the answers. Instead, we are going to take the raw telemetry from these labs and use them as a reference to build <strong>Production-Grade Detection Logic</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RIf7ZJj-xL2bT5ehaz1Wkw.png" /></figure><p>We will learn how to:</p><ul><li><strong>Normalize messy data</strong> into structured investigation tables.</li><li><strong>Filter the noise</strong> of a busy Windows environment.</li><li><strong>Apply statistical thresholds</strong> to identify automated attacker behavior.</li></ul><p>In the next section, we will start with Active Directory enumeration transforming a basic LDAP search into a behavioral detection that catches tools like SharpHound and Rubeus in the act.</p><h3>The Scenario: Active Directory Enumeration</h3><p>When an attacker gains a foothold in a Windows environment, their first move is rarely to “smash and grab.” Instead, they perform <strong>LDAP Reconnaissance</strong>. They want to map out every user, group, and computer in the domain to find their next pivot point.</p><p>To do this, tools like <strong>SharpHound</strong>, <strong>BloodHound</strong>, or <strong>Rubeus</strong> send specific queries to the Domain Controller. Specifically, they look for objects where samAccountType=805306368—the technical attribute for a <strong>User Object</strong>.</p><p>Take this question in this section — <a href="https://academy.hackthebox.com/module/233/section/2523">https://academy.hackthebox.com/module/233/section/2523</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-VLIn_eJoRrc1lgWQ6FX7g.png" /></figure><h4>1. The “Newbie” Approach (The Flag-Hunter)</h4><p>A learner focused on finding a quick answer for a lab or a CTF will usually write a query that looks for a specific “keyword” they suspect is involved.</p><p><strong>The Query:</strong></p><pre>index=main &quot;805306368&quot;</pre><p><strong>The Problem:</strong> This might give you the answer, but it leaves you with a “haystack” of raw logs. You have to manually click through each event to find the process name. It doesn’t tell you how many systems are affected or if this is a widespread scan. <strong>It is a search, not a detection.</strong></p><h4>2. The “Intermediate” Pivot</h4><p>When I first approached this HTB scenario, I tried to refine the search to look at a specific log source (SilkService-Log) and extract the data:</p><p><strong>The Query:</strong></p><pre>index=main source=&quot;WinEventLog:SilkService-Log&quot; &quot;*(samAccountType=805306368)*&quot;<br>| spath input=Message <br>| stats count by ProcessName</pre><p><strong>The Improvement:</strong> This uses spath to crack open the JSON data and stats to give us a clean list. It’s faster and more organized, but it still lacks the <strong>context</strong> needed for a real incident response report.</p><h4>3. The Production-Grade Logic (The Detection Engineer)</h4><p>This is the grade of query required for professional placements. It doesn’t just find the name; it builds a <strong>behavioral profile</strong> of the attack.</p><p><strong>The Query:</strong></p><pre>index=main source=&quot;WinEventLog:SilkService-Log&quot;<br>| spath input=Message <br>| rename XmlEventData.* as * | table _time, ComputerName, ProcessName, ProcessId, DistinguishedName, SearchFilter<br>| sort 0 _time<br>| search SearchFilter=&quot;*(samAccountType=805306368)*&quot;<br>| stats min(_time) as StartTime, max(_time) as EndTime, count, values(SearchFilter) as SearchFilter by ComputerName, ProcessName, ProcessId<br>| where count &gt; 10<br>| convert ctime(StartTime), ctime(EndTime)</pre><h3>Why this is “Production-Ready”:</h3><p>Think of it this way: The first few lines <strong>clean the data</strong>, and the last few lines <strong>tell a story</strong>.</p><p>Here is the step-by-step breakdown of that “Pro” logic:</p><p><strong>Phase 1: The Data Cleanup</strong></p><ul><li><strong>spath input=Message</strong>: As we discussed, this cracks open the JSON blob stored in the &quot;Message&quot; field.</li><li><strong>rename XmlEventData.* as *</strong>: This is a &quot;quality of life&quot; step. Instead of typing XmlEventData.ProcessName, you can now just type ProcessName. It flattens the data structure to make the rest of the query cleaner.</li></ul><p><strong>Phase 2: Building the Investigation Table</strong></p><ul><li><strong>table _time, ComputerName, ProcessName, ProcessId, DistinguishedName, SearchFilter</strong>: This acts like an Excel filter. It throws away the thousands of useless technical details in the log and only keeps the 6 columns an investigator actually cares about.</li><li><strong>sort 0 _time</strong>: The 0 is important—it tells Splunk to sort <em>every single result</em> chronologically without hitting a limit. This helps you see the attack unfold in the exact order it happened.</li></ul><p><strong>Phase 3: The “Behavioral” Analysis</strong></p><p>This is where the query shifts from “searching” to “detecting”:</p><ul><li><strong>search SearchFilter=&quot;*(samAccountType=805306368)*&quot;</strong>: Now that we have a clean table, we look for that specific LDAP &quot;User Object&quot; filter.</li><li><strong>stats min(_time) as _time, max(_time) as maxTime, count, values(SearchFilter) as SearchFilter by ComputerName, ProcessName, ProcessId</strong>:</li><li>This collapses hundreds of individual logs into <strong>one row</strong> per process.</li><li>It records the first time (min) and last time (max) the activity was seen.</li><li>It counts how many times it happened.</li></ul><p><strong>Phase 4: Setting the Trap</strong></p><ul><li><strong>where count &gt; 10</strong>: This is the &quot;noise reduction&quot; layer. If a process only makes 1 or 2 LDAP queries, it might be a normal system check. If it makes more than 10, it&#39;s likely an automated tool scanning your network.</li><li><strong>convert ctime(maxTime)</strong>: Splunk stores time as a long string of numbers (Unix time). This command converts it back into a human-readable format (e.g., 07/25/2023 04:12:53) so you can include it in a report.</li></ul><p>And, it lists out results like this 👇🏻</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XpBnf2jXyeA8aFIfntd84g.png" /></figure><p>We got each and every process names though.</p><p>The difference between a “Flag Hunter” and a “Detection Engineer” isn’t just the complexity of the query; it’s the <strong>intent</strong>.</p><p>In this walkthrough, we saw how a single LDAP attribute samAccountType=805306368 can be a needle in a haystack if you’re just searching, or a smoking gun if you’re engineering.</p><p>By moving from simple string matching to statistical aggregation and thresholding, we transformed a raw log into an actionable security story.</p><p><strong>Tools change, but behaviors don’t.</strong> An attacker might rename SharpHound.exe to totally_normal_app.exe, but they cannot hide the fact that they are making 500 LDAP queries to your Domain Controller in three seconds.</p><p>Mastering this “Production Grade” logic is how you stop being a student of cybersecurity and start being a defender of networks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3a7db3bdd1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Silent Storm Targeting U.S. Critical Infrastructure: The Volt Typhoon]]></title>
            <link>https://secnish.medium.com/the-silent-storm-targeting-u-s-critical-infrastructure-the-volt-typhoon-fe2414df1aa0?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe2414df1aa0</guid>
            <category><![CDATA[cybercrime]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cyber-threat]]></category>
            <category><![CDATA[cyber-threat-intelligence]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Fri, 03 Oct 2025 18:06:12 GMT</pubDate>
            <atom:updated>2025-10-03T18:06:12.451Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sv4pSeiy0kmxoHZZ.png" /><figcaption><a href="https://aldridge.com/volt-typhoon-advisory/">China’s State-Sponsored Cyberattack Group</a></figcaption></figure><p>In recent years, the cyber threat landscape has been profoundly reshaped by the emergence of Volt Typhoon, a state-sponsored Chinese threat actor with a laser focus on U.S. critical infrastructure. Operating with remarkable stealth since at least 2021, Volt Typhoon has infiltrated networks governing everything from energy grids to water supply and telecommunications, potentially positioning itself to deliver devastating disruptions.</p><p>What sets this group apart is its patient, covert approach: leveraging “living-off-the-land” techniques, exploiting both public and zero-day vulnerabilities, and skillfully evading detection by blending its activities with legitimate system processes. As global governments and infrastructure owners mobilize a sweeping defense, understanding Volt Typhoon’s methods and objectives has become an urgent priority in safeguarding the world’s essential services.</p><h3>What Volt Typhoon Did</h3><ul><li><em>The group infiltrated lifeline sectors, including energy, water, communications, transportation, and government, impacting the networks controlling power grids, water supplies, and IT backbone systems.</em></li><li><em>Volt Typhoon used sophisticated techniques like living-off-the-land (LOTL), which leverages legitimate admin tools (PowerShell, WMIC, certutil, etc.) to blend in and avoid detection.</em></li><li><em>They exploited both known and zero-day vulnerabilities (e.g., Versa Director CVE-2024–39717), spear-phished targets, and stole credentials for persistent internal access.</em></li><li><em>Once inside, they moved laterally, performed extensive reconnaissance, staged credential theft (ntds.dit extraction, Chrome “Local State” file for AES keys), and set up multi-hop proxies via compromised SOHO routers.</em></li><li><em>Their access extended for months and, in some cases, years — often focusing on operational technology (OT) systems (e.g., water treatment plants, electrical substations).</em></li></ul><ul><li><a href="https://attack.mitre.org/software/S1154/">VersaMem</a></li><li><a href="https://blog.lumen.com/uncovering-the-versa-director-zero-day-exploitation/">Taking the Crossroads: The Versa Director Zero-Day Exploitation</a></li></ul><h3>Destruction and Impact</h3><ul><li><em>While no mass destructive attacks were publicly reported, Volt Typhoon embedded itself deeply for potential sabotage, capable of causing outages in critical services: water systems, power grids, communications, and transport.</em></li><li><em>The group maintained covert access, giving them the ability to quickly disrupt infrastructure during geopolitical escalation or conflict — a scenario that could create cascading failures across multiple vital sectors.</em></li><li><em>Federal agencies revealed Volt Typhoon maintained undetected access to parts of the U.S. electric grid for nearly 300 days in 2023.</em></li></ul><h3>Global and National Response</h3><blockquote>The U.S. government (CISA, FBI, NSA, and inter-agency partners) launched extensive advisories, incident alerts, and the Federal Civilian Executive Branch (FCEB) Operational Cybersecurity Alignment (FOCAL) Plan to protect critical infrastructure.</blockquote><h4>Coordinated actions included:</h4><ul><li><em>Rapid vulnerability patching in all critical sectors, especially for edge devices and OT systems.</em></li><li><em>Asset visibility and management — mapping all IT/OT assets to detect anomalous access.</em></li><li><em>Mandatory event log archiving and monitoring for stealthy log clearing/file deletion activities.</em></li><li><em>Strengthened collaboration with telecom, energy, and water firms to fortify infrastructure (AT&amp;T, Verizon, etc.) and employ specialized threat hunting teams.</em></li><li><em>International partners (e.g., Australia, New Zealand, Canada, UK) enhanced cross-border defenses, recognizing potential spillover and sectoral vulnerabilities.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*WA9qW3GSN8gbPIsERc-Rjw.png" /><figcaption><a href="https://www.tenable.com/blog/volt-typhoon-u-s-critical-infrastructure-targeted-by-state-sponsored-actors">U.S. Critical Infrastructure Targeted by State-Sponsored Actors</a></figcaption></figure><h3>Threat Intel Highlights</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*czSS54_Ku4mtwd3a.png" /><figcaption><a href="https://www.microsoft.com/en-us/security/blog/2023/05/24/volt-typhoon-targets-us-critical-infrastructure-with-living-off-the-land-techniques/">Microsoft Threat Intelligence</a></figcaption></figure><h4>Group Overview</h4><ul><li>Aliases: BRONZE SILHOUETTE, Vanguard Panda, DEV-0391, UNC3236, Voltzite, Insidious Taurus.</li><li>First Observed: 2021.</li><li>Primary Targeting: U.S. critical infrastructure, including power, water, and communications sectors, with a focus on Guam.</li><li>Objective: Establish persistent, stealthy access for espionage and potential disruption via operational technology (OT) assets.</li></ul><p><a href="https://attack.mitre.org/groups/G1017/">Volt Typhoon</a></p><h4>Attack Lifecycle Mapping (MITRE ATT&amp;CK)</h4><ol><li><strong>Initial Access</strong></li></ol><ul><li><em>Exploiting vulnerabilities in internet-facing devices and applications (e.g., Fortinet, Ivanti, NETGEAR, Citrix, Cisco, Versa Director Zero-Day — CVE-2024–39717).</em></li><li><em>Use of compromised valid accounts.</em></li></ul><p><strong>2. Execution &amp; Persistence</strong></p><ul><li><em>Web shells (AuditReport.jspx, iisstart.aspx, VersaMem)</em></li><li><em>PowerShell, Windows/Unix command shells, and Bash scripts.</em></li><li><em>Living-off-the-land binaries (LOLBins) and hands-on keyboard activity.</em></li></ul><p><strong>3. Credential Access</strong></p><ul><li><em>OS Credential Dumping (LSASS Memory — T1003.001, NTDS — T1003.003).</em></li><li><em>Mimikatz and Impacket toolkits.</em></li><li><em>Decryption by accessing the Chrome “Local State” registry hive.</em></li><li><em>Targeting ntds.dit (Active Directory Database).</em></li></ul><p><strong>4. Lateral Movement</strong></p><ul><li><em>Use of compromised SOHO routers as proxies and C2 infrastructure (KV Botnet).</em></li><li><em>Remote Desktop Protocol (RDP), VPN, and Impacket utilities.</em></li></ul><p><strong>5. Defense Evasion</strong></p><ul><li><em>Log cleaning (event log clearing, file deletion, indicator removal)</em></li><li><em>Stealth, masquerading legitimate filenames/filetypes (e.g., .gif for ntds.dit)</em></li><li><em>Use of non-standard ports and packed/obfuscated binaries.</em></li></ul><p><strong>6. Collection &amp; Exfiltration</strong></p><ul><li><em>Capturing credentials and log keystrokes to rult3uil.log file.</em></li><li><em>Archiving collected data (7-Zip, multi-volume, password-protected).</em></li></ul><p><strong>7. Notable Campaigns</strong></p><ul><li><em>KV Botnet Activity (C0035): Leveraged SOHO routers for intermediate command chains; focus on Guam.</em></li><li><em>Versa Director Zero-Day Exploitation (C0039): Deployed custom malware “VersaMem” via a zero-day (CVE-2024–39717) affecting Versa Director, observed between June–August 2024.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*Szv6RSWQM1DrBmu3YWM1IQ.png" /><figcaption><a href="https://attack.mitre.org/groups/G1017/#:~:text=used%20compromised%20devices%20and%20customized%20versions">Key Tools &amp; Malware</a></figcaption></figure><h4>Indicators &amp; TTPs</h4><ul><li><em>SOHO device compromise</em></li><li><em>Multi-hop proxies/VPSs for command-and-control (C2)</em></li><li><em>Stealthy initial access via zero-days and credential abuse</em></li><li><em>Persistent log clearing and artifact removal</em></li></ul><h4>Relevant CVEs</h4><ul><li><em>Versa Director Zero-Day: CVE-2024–39717.</em></li></ul><h3>Defense Recommendations</h3><ul><li><em>Patch all edge and server vulnerabilities immediately, especially those used for initial access.</em></li><li><em>Monitor for unusual use of administrative tools such as certutil, WMIC, PowerShell, and detect web shell deployment.</em></li><li><em>Deploy network segmentation and least privilege across all accounts and devices.</em></li><li><em>Audit SOHO/edge devices for unauthorized firmware or connections.</em></li></ul><h3>References and Further Reading</h3><ul><li><em>MITRE ATT&amp;CK Group Profile: Volt Typhoon<br></em><a href="https://attack.mitre.org/groups/G1017/">https://attack.mitre.org/groups/G1017/</a></li><li><em>Microsoft Security Blog: Volt Typhoon Targets US Critical Infrastructure<br></em><a href="https://www.microsoft.com/en-us/security/blog/2023/05/24/volt-typhoon-targets-us-critical-infrastructure-with-living-off-the-land-techniques/">https://www.microsoft.com/en-us/security/blog/2023/05/24/volt-typhoon-targets-us-critical-infrastructure-with-living-off-the-land-techniques/</a></li><li><em>Palo Alto Networks Unit 42 Threat Brief on Volt Typhoon<br></em><a href="https://unit42.paloaltonetworks.com/volt-typhoon-threat-brief/">https://unit42.paloaltonetworks.com/volt-typhoon-threat-brief/</a></li><li><em>CISA Alert on Chinese State-Sponsored Actors Targeting US Infrastructure<br></em><a href="https://www.cisa.gov/sites/default/files/2024-03/aa24-038a_csa_prc_state_sponsored_actors_compromise_us_critical_infrastructure_3.pdf">https://www.cisa.gov/sites/default/files/2024-03/aa24-038a_csa_prc_state_sponsored_actors_compromise_us_critical_infrastructure_3.pdf</a></li><li><em>Reuters Coverage on US Response to Chinese-linked Cyberattacks<br></em><a href="https://www.reuters.com/technology/cybersecurity/us-has-responded-chinese-linked-cyber-attacks-telecoms-firms-sullivan-says-2025-01-10/">https://www.reuters.com/technology/cybersecurity/us-has-responded-chinese-linked-cyber-attacks-telecoms-firms-sullivan-says-2025-01-10/</a></li><li><em>Texas Instruments on Supply Chain Vulnerabilities Involving Volt Typhoon<br></em><a href="https://www.txone.com/blog/volt-typhoon-and-supply-chain-vulnerabilities/">https://www.txone.com/blog/volt-typhoon-and-supply-chain-vulnerabilities/</a></li><li><em>Barracuda Networks Blog on Volt Typhoon’s Future War Capabilities<br></em><a href="https://blog.barracuda.com/2024/03/14/volt-typhoon-future-war">https://blog.barracuda.com/2024/03/14/volt-typhoon-future-war</a></li><li><em>Industrial Cybersecurity News on Investigations into Volt Typhoon<br></em><a href="https://industrialcyber.co/cisa/us-continues-investigation-into-chinese-cyber-espionage-campaign-as-volt-typhoon-resurfaces/">https://industrialcyber.co/cisa/us-continues-investigation-into-chinese-cyber-espionage-campaign-as-volt-typhoon-resurfaces/</a></li><li><em>Georgetown University: Securing US Infrastructure Amid Volt Typhoon Threat<br></em><a href="https://scs.georgetown.edu/news-and-events/article/9453/securing-us-infrastructure-amid-volt-typhoon-threat">https://scs.georgetown.edu/news-and-events/article/9453/securing-us-infrastructure-amid-volt-typhoon-threat</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe2414df1aa0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Insights into a Sophisticated Chinese APT Targeting Critical Infrastructure]]></title>
            <link>https://secnish.medium.com/insights-into-a-sophisticated-chinese-apt-targeting-critical-infrastructure-547e8e72da31?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/547e8e72da31</guid>
            <category><![CDATA[cyber-threat]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cyber-threat-intelligence]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Wed, 01 Oct 2025 19:17:26 GMT</pubDate>
            <atom:updated>2025-10-01T19:17:26.093Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*VOSzxadkm_nOqGxQ.jpg" /><figcaption><a href="https://www.nextgov.com/cybersecurity/2025/02/salt-typhoon-hackers-exploited-stolen-credentials-and-7-year-old-software-flaw-cisco-systems/403146/">Salt Typhoon hackers exploited stolen credentials and a 7-year-old software flaw in Cisco systems</a></figcaption></figure><p>In today’s interconnected world, cyber threats from sophisticated state-sponsored attackers continue to grow in complexity and impact. One such threat actor, known by names like GhostEmperor, Salt Typhoon, and Earth Estries, has been relentlessly targeting critical sectors such as telecommunications and government networks worldwide.</p><p>This blog unpacks who they are, how they operate, what’s at risk, and most importantly — how organizations can protect themselves.</p><h3>Who is Behind It?</h3><p>GhostEmperor, also identified as “Salt Typhoon” or “Earth Estries”, is believed to be a Chinese state-sponsored advanced persistent threat (APT) group active since 2023. Their primary mission is cyber espionage — gaining long-term stealthy access to sensitive communication networks and government systems to gather intelligence and exert geopolitical influence. Unlike opportunistic cybercriminals, APT groups like GhostEmperor have deep resources, patience, and technical expertise.</p><ul><li><a href="https://attack.mitre.org/groups/G1045/">Salt Typhoon</a></li><li><a href="https://www.trendmicro.com/en_us/research/24/k/earth-estries.html">Game of Emperor: Unveiling Long Term Earth Estries Cyber Intrusions</a></li></ul><h3>How They Attack</h3><p>This threat actor is highly skilled in exploiting known vulnerabilities to infiltrate systems. A typical entry point is via vulnerable external-facing servers, including exploits in Microsoft Exchange and VPN appliances. Once inside, the attackers deploy sophisticated malware such as the Demodex rootkit, which operates at the kernel level (deep within Windows) to hide the malware’s presence from detection tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pPCdHDHkW_8Hcy48.png" /><figcaption><a href="https://securelist.com/ghostemperor-from-proxylogon-to-kernel-mode/104407/"><em>Example of a GhostEmperor infection chain started by a side-loaded DLL</em></a></figcaption></figure><p><em>Their toolset includes custom backdoors like Crowdoor and GhostSpider, which grant persistent remote control. GhostSpider uses secure, encrypted communications with its command-and-control servers, often disguised as legitimate network traffic. The malware hides by modifying system components and erasing activity logs, complicating detection efforts.</em></p><p>On a technical level, the malware uses advanced methods such as Input/Output Control (IOCTL) calls to manipulate system behavior covertly, for example, hiding malicious services from the task manager and security processes. They even employ encryption (AES) to conceal their scripts, showing a multi-layered approach to staying undetected.</p><h3>Technical Analysis</h3><p>GhostEmperor and its related aliases Salt Typhoon and Earth Estries rely on an advanced and sophisticated malware arsenal designed for stealth and persistence.</p><h4>Malware Variants:</h4><ul><li>Demodex Rootkit: <em>A Windows kernel-mode rootkit that hides malware artifacts such as files, registry keys, and network traffic. It uses novel techniques to load unsigned drivers by abusing features from a signed driver from Cheat Engine software.</em></li><li>Crowdoor Backdoor: <em>Custom malware written in C++ targeting Windows environments, including Cisco network devices, used for persistent access and network sniffing.</em></li><li>GhostSpider: <em>A multi-modular backdoor communicating over encrypted TLS channels with C2 servers, using fake media file headers to hide traffic.</em></li><li>SNAPPYBEE &amp; MASOL RAT: <em>Additional modular backdoors used for broader espionage tasks and targeting Linux platforms respectively.</em></li></ul><h4>Infection Chain:</h4><ul><li><em>Initial entry through exploitation of vulnerabilities such as Microsoft Exchange ProxyLogon (CVE-2021–26855 and related CVEs), Ivanti Connect Secure VPN (CVE-2023–46805), and Sophos Firewall (CVE-2022–3236).</em></li><li><em>Deployment often begins with a PowerShell dropper encrypted using AES. This stages components like service DLLs and rootkits.</em></li><li><em>Use of living-off-the-land binaries (WMIC, PsExec) for lateral movement and execution.</em></li><li><em>Persistence is established by modifying Windows registry keys (e.g., </em><em>HKCU\Software\Microsoft\Windows\CurrentVersion\Run) and loading drivers.</em></li><li><em>Malware uses </em><a href="https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/introduction-to-i-o-control-codes"><em>IOCTL </em></a><em>codes (notably </em><em>0x220300) to hide services from process lists and evade detection.</em></li></ul><h4>Command and Control (C2) Infrastructure:</h4><ul><li><em>C2 domains are often randomly generated, hosted mainly on </em><em>.com domains with occasional </em><em>.dev domains (for example, </em><em>telcom.grishamarkovgf8936.workers.dev).</em></li><li><em>Communication is disguised as legitimate network traffic with encrypted payloads encapsulated in fake image or audio file formats, all facilitated by a custom protocol layer.</em></li></ul><h3>What’s at Risk?</h3><p>The sectors targeted, especially telecommunications providers are critical to the global digital economy and national security. Compromise can lead to interception of private communications, intellectual property theft, and disruption of essential services. Victims include government agencies and technology firms not only in China’s immediate region but across continents including the US, Southeast Asia, and the Middle East, highlighting the wide-ranging geopolitical impact.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EsMgQW_jJ1bVpRjR.png" /><figcaption><a href="https://www.trendmicro.com/en_us/research/24/k/earth-estries.html">https://www.trendmicro.com/en_us/research/24/k/earth-estries.html</a></figcaption></figure><p>Data leaks or persistent access to telecommunications infrastructure potentially threaten millions of users and the integrity of national security operations.</p><h3>Impact and Victims</h3><h4>Affected Sectors:</h4><ul><li><em>Telecommunications providers (including companies such as Verizon, AT&amp;T, Lumen Technologies, and multiple Southeast Asian telcos).</em></li><li><em>Government agencies across Southeast Asia, the Middle East, Africa (Egypt, Ethiopia, Afghanistan), and the US.</em></li><li><em>Technology companies, consulting firms, chemical industries, transportation, and NGOs connected to governmental contracts.</em></li></ul><h4>Geographical Reach:</h4><ul><li><em>Primarily focused on Southeast Asia (Malaysia, Thailand, Vietnam, Indonesia, Philippines).</em></li><li><em>Additional incidents reported in the United States, South Africa, Brazil, Taiwan, and across the Middle East.</em></li><li><em>The targeting of vendor networks and contractors suggests a layered approach to access primary espionage targets.</em></li></ul><h4>Consequences:</h4><ul><li><em>Persistent access enables large-scale espionage.</em></li><li><em>Threat to privacy and security of communications.</em></li><li><em>Potential disruption of critical infrastructures.</em></li><li><em>Theft of sensitive documents, government data, and law enforcement communications.</em></li></ul><h3>Indicators of Compromise (IOCs)</h3><p>The threat actor associated with GhostEmperor, Salt Typhoon, and Earth Estries uses a variety of files and artifacts that can indicate compromise if detected on networks or systems.</p><p>Malicious files related to their operations include <strong>PowerShell droppers</strong> identified by hashes such as 012862165EC105A44FEA14FACE53492F, and service DLLs like RAudioUniConfig.dll with a SHA256 hash of 6A44FDD66AB841C33949620666CA847A.</p><p>Additional important binaries include <strong>payload DLLs</strong> with hashes like 0BBFBA106FBB9E310330DC87C32CB6D1 and kernel drivers such as one identified by the hash 7394229455151a9cd036383027a1536b.</p><p><strong>Post-exploitation</strong> tools like kekeo.exe (SHA256: BE38D173E4E9118BDC2E83FD5F90BE3B) are also part of their toolkit.</p><p>Their <strong>command and control (C2)</strong> infrastructure comprises several domain names primarily using .com top-level domains, including but not limited to newlylab.com, reclubpress.com, webdignusdata.com, and freedecrease.com. Notably, they also operate a .dev domain, namely telcom.grishamarkovgf8936.workers.dev, which is used to mask their C2 communications under secure TLS.</p><p>Attackers have been observed communicating from various <strong>IP addresses</strong>, such as 27.102.113.240, 154.223.135.214, and 107.148.165.158, which are linked to their infrastructure and malicious activity.</p><p>At the system level, particular <strong>Windows registry keys</strong> are targeted or altered to facilitate persistence and concealment. These keys include HKCU\Software\Microsoft\Windows\CurrentVersion\Run along with several keys under HKLM\Software\Microsoft\ such as hiaudio, midihelp, data, and update.</p><p>In addition to file and registry artifacts, the malware uses specific <strong>Input/Output Control (IOCTL) codes</strong> to manipulate system processes stealthily. One such key IOCTL code is 0x220300, which is employed to hide the malware&#39;s service from process listings, adding a layer of concealment during forensic analysis.</p><h3>How to Protect</h3><p>Organizations can strengthen their defenses against these advanced threats by adopting a multi-layered approach:</p><ul><li><strong>Patch Without Delay: </strong><em>Regularly apply patches for known vulnerabilities exploited by GhostEmperor, such as Microsoft Exchange ProxyLogon and critical VPN flaws.</em></li><li><strong>Enable Multi-Factor Authentication (MFA):</strong> <em>Protect user credentials with phishing-resistant MFA to hinder attacker lateral movement.</em></li><li><strong>Monitor Registry and System Changes:</strong> <em>Watch for suspicious modifications, such as unusual registry keys linked to persistence techniques.</em></li><li><strong>Network Segmentation:</strong> <em>Isolate critical infrastructure segments to limit the attacker’s ability to move laterally.</em></li><li><strong>Log Management and Analysis:</strong> <em>Enable and centralize logging to detect suspicious IOCTL activities and malware communication patterns.</em></li><li><strong>Threat Intelligence Sharing:</strong> <em>Participate in information sharing to stay updated on emerging tactics and indicators of compromise (IOCs).</em></li></ul><h3>Looking Ahead</h3><p>As geopolitical tensions intensify, we can expect threat actors like GhostEmperor to evolve their methods further. Rootkits, once considered outdated, have seen a resurgence but now in more creative, stealthy forms. The fight against such adversaries requires not only technology but a culture of vigilance, collaboration, and continuous learning.</p><p>For those interested in deepening their skills, hands-on practice like the <a href="https://app.hackthebox.com/sherlocks/SalineBreeze-1">HackTheBox SalineBreeze</a> challenge offers valuable real-world insights into threat hunting and analysis, bridging theory and practice.</p><h3>Key Takeaways</h3><ul><li>GhostEmperor is a persistent Chinese APT targeting telecom and government infrastructure globally.</li><li>They use sophisticated malware like Demodex rootkit and backdoors with stealth and encryption.</li><li>Exploited vulnerabilities include Microsoft Exchange ProxyLogon and VPN appliances.</li><li>Defensive steps include timely patching, MFA, network segmentation, and proactive monitoring.</li><li>Ongoing threat intelligence and continuous education are vital for sustainable cybersecurity.</li></ul><h3>References</h3><ol><li><strong>Salt Typhoon: A Persistent Threat to Global Telecommunications Infrastructure</strong><br> <a href="https://www.picussecurity.com/resource/blog/salt-typhoon-telecommunications-threat">https://www.picussecurity.com/resource/blog/salt-typhoon-telecommunications-threat</a></li><li><strong>Unveiling Long Term Earth Estries Cyber Intrusions</strong><br> <a href="https://www.trendmicro.com/en_us/research/24/k/earth-estries.html">https://www.trendmicro.com/en_us/research/24/k/earth-estries.html</a></li><li><strong>GhostEmperor: From ProxyLogon to kernel mode</strong><br> <a href="https://securelist.com/ghostemperor-from-proxylogon-to-kernel-mode/104407/">https://securelist.com/ghostemperor-from-proxylogon-to-kernel-mode/104407/</a></li><li><strong>MITRE ATT&amp;CK Framework</strong><br><em> For relevant technique IDs T1112, T1070.004, T1027<br></em> <a href="https://attack.mitre.org/">https://attack.mitre.org/</a></li><li><strong>HackTheBox SalineBreeze-1 Threat Intelligence Challenge</strong><br><a href="https://app.hackthebox.com/sherlocks/SalineBreeze-1">https://app.hackthebox.com/sherlocks/SalineBreeze-1</a></li><li><em>Additional cybersecurity news portals and vendor advisories spanning 2023–2025 from sources such as</em></li><li><em>DarkReading, BleepingComputer, The Register, Trend Micro Research, and others.</em></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=547e8e72da31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Incident Response Checklist]]></title>
            <link>https://secnish.medium.com/windows-incident-response-checklist-696a09797cb5?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/696a09797cb5</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[hacking-tools]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Tue, 01 Apr 2025 02:41:17 GMT</pubDate>
            <atom:updated>2025-04-01T02:41:17.523Z</atom:updated>
            <content:encoded><![CDATA[<p><em>When investigating a security incident on a Windows system, following a structured approach to identify potential threats and anomalies is crucial. This checklist I have created provides key areas to examine and tools to use during incident response.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P2MLOPFlJFXVmn6p" /></figure><h3>Tools That Can Be Used 🔨</h3><ul><li><strong>Process Hacker</strong> — For analyzing running processes</li><li><strong>Autoruns</strong> — To check auto-start programs and scheduled tasks</li><li><strong>FullEventLogView</strong> — For deep event log analysis</li><li><strong>LastActivityView</strong> — To review recent user activity</li><li><strong>BrowsingHistoryView</strong> — To check browsing history for suspicious activity</li></ul><h3>Memory Analysis Procedures 🧠</h3><ul><li><strong>Process Tree</strong> — Identify suspicious or unknown processes</li><li><strong>Web Connections</strong> — Check active network connections</li><li><strong>Signature Status</strong> — Verify the legitimacy of running processes and binaries</li></ul><h3>User Account Analysis 😼</h3><ul><li><strong>Commands:</strong></li></ul><p><em>net user – Lists user accounts on the system</em></p><p><em>lusrmgr.msc – Local Users and Groups management</em></p><ul><li><strong>Event Logs:</strong></li></ul><p><strong><em>Event ID 4720</em></strong><em> — A user account was created</em></p><p><strong><em>Event ID 4732</em></strong><em> — A member was added to a security-enabled local group</em></p><h3>Scheduled Tasks Analysis 📃</h3><ul><li><strong>Tools:</strong></li></ul><p><em>Autoruns</em></p><p><em>Event Viewer</em></p><ul><li><strong>Event Logs:</strong></li></ul><p><strong><em>Event ID 4698</em></strong><em> — A scheduled task was created</em></p><p><strong><em>Event ID 4702</em></strong><em> — A scheduled task was updated</em></p><ul><li><strong>Log Location:</strong></li></ul><p><em>Applications and Services Logs → Microsoft → Windows → TaskScheduler Operational.evtx</em></p><h3>Services Analysis 🍕</h3><ul><li>Check for unknown or suspicious services that an attacker may have installed</li></ul><p>Ok, here’s how we can check for unknown or suspicious services installed by an attacker using the following methods:</p><ol><li><strong>Using Task Manager</strong>:</li></ol><ul><li>Open <strong>Task Manager</strong> (Ctrl + Shift + Esc).</li><li>Navigate to the <strong>Services</strong> tab and look for unfamiliar or unverified services.</li></ul><p><strong>2. Using the Services Console</strong>:</p><ul><li>Open <strong>Run</strong> (Win + R), type services.msc, and press <strong>Enter</strong>.</li><li>Look for services with unusual names or ones set to start automatically.</li></ul><p><strong>3. Using Command Prompt</strong>:</p><ul><li>Run sc queryex type= service state= all to list all services.</li><li>Use sc qc [ServiceName] to check the service&#39;s binary path.</li></ul><p><strong>4. Using PowerShell</strong>:</p><ul><li>Run Get-Service | Where-Object { $_.StartType -eq &quot;Auto&quot; } to list all auto-start services.</li><li>Use Get-WmiObject Win32_Service | Select Name, PathName to check the executable path of services.</li></ul><p><strong>5. Using Autoruns (Sysinternals)</strong>:</p><ul><li>Download and run <strong>Autoruns, </strong>and then<strong> c</strong>heck the <strong>Services</strong> tab for unverified or unsigned services.</li></ul><p><strong>6. Check Windows Event Logs</strong>:</p><ul><li>Open <strong>Event Viewer</strong> (eventvwr.msc).</li><li>Navigate to Windows Logs → System, filter by <strong>Event ID 7045</strong> (A service was installed).</li></ul><h3>Registry Run Keys / Startup Folder Analysis 🌌</h3><ul><li><strong>Event ID 4657</strong> — A registry value was modified</li><li><strong>Registry Keys to Investigate:</strong></li></ul><p><em>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run</em></p><p><em>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce</em></p><p><em>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run</em></p><p><em>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce</em></p><p><em>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserShellFolders</em></p><p><em>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellFolders</em></p><p><em>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellFolders</em></p><p><em>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\UserShellFolders</em></p><p><em>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce</em></p><p><em>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices</em></p><p><em>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices</em></p><p><em>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run</em></p><h3>File Analysis 📁</h3><ul><li><strong>Perform an Antivirus Scan</strong> — Use Windows Defender or third-party tools (e.g - MalwareBytes, K7, QuickHeal)</li><li><strong>Manual Search</strong> — Look for suspicious files in common attack locations (Downloads, Temp, System32, etc.)</li></ul><h3>Conclusion 🐳</h3><p>Incident response on Windows requires a methodical approach to identify and mitigate threats effectively. If anything is missing from this checklist, feel free to add more based on your experience and evolving threats. Cybersecurity is an ongoing learning process, though it should be like this way only.</p><h3>Acknowledgments 😊</h3><p>A special thanks to <strong>Google</strong> and <strong>LetsDefend.io</strong> for their invaluable resources in shaping this list. Also, a shoutout to <strong>Microsoft Copilot</strong> for assisting in generating the visual representation of this checklist. Some insights here are also drawn from personal experiences, serving as critical checkpoints in incident response.</p><p>Thankyou 💙</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=696a09797cb5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Experience with the CWL Multi-Cloud Red Teaming Analyst (MCRTA) Certification]]></title>
            <link>https://secnish.medium.com/my-experience-with-the-cwl-multi-cloud-red-team-analyst-mcrta-certification-d628c33db535?source=rss-5f31b9c77546------2</link>
            <guid isPermaLink="false">https://medium.com/p/d628c33db535</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Manish [pikachu]]]></dc:creator>
            <pubDate>Thu, 20 Mar 2025 11:51:44 GMT</pubDate>
            <atom:updated>2025-03-20T11:52:56.867Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*r33Ak3OElMSBe5rk.png" /></figure><p><em>Cloud security is a hot topic these days, and if you’re into Red Teaming, then understanding </em><strong><em>AWS, Azure, and GCP</em></strong><em> is a must.</em></p><p>I recently took the <strong>Multi-Cloud Red Team Analyst (MCRTA) course</strong> by CyberWarFare Labs, and I want to share my experience — what I learned, what I liked, and whether you should take this course or not. 😈</p><h3>What is the MCRTA?</h3><p>MCRTA is a <strong>fully hands-on certification course</strong> designed to teach <strong>Cloud Red Teaming</strong> in AWS, Microsoft Azure, and Google Cloud Platform (GCP). It covers:</p><p>✔️ <strong>How to perform Red Team operations in cloud environments</strong><br> ✔️ <strong>How to configure credentials and enumerate services using CLI</strong><br> ✔️ <strong>How to exploit cloud misconfigurations</strong><br> ✔️ <strong>How to capture flags and complete challenges</strong></p><p>👉🏻You get <strong>lifetime access</strong> to the course materials, which include <strong>PDFs, videos, and a lab environment</strong> to practice your skills. The lab is open <strong>24/7</strong>, so you can complete the challenges at your own pace.</p><p><em>One of the great things about this course is the pre-configured </em><a href="https://redcloudos.com/"><strong><em>RedCloud OS</em></strong></a><em>, which comes with all necessary tools for AWS, Azure, and GCP cloud security assessments.</em></p><h3>RedCloud OS 😡</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vGLcyQscpLQLlRtZ.png" /></figure><p>RedCloud OS, the latest innovation by CW Labs Pvt. Ltd., is a Debian-derived operating system designed for Red Teams to evaluate the security of top Cloud Service Providers (CSPs).</p><p>It offers a specialised toolset for Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP), enabling security teams to enhance productivity and achieve remarkable results. RedCloud offers cybersecurity specialists an interesting and user-friendly environment with a configurable user interface.</p><p>One of the primary advantages of RedCloud OS lies in its <a href="https://cyberwarfare.live/product/multi-cloud-red-team-analyst-mcrta/">Multi Cloud Red Teaming</a> Toolkit, which includes a diverse array of both publicly available and proprietary tools. With the help of this toolset, security teams can carry out thorough adversary simulations and identify vulnerabilities, assess defences, and improve their overall preparedness for cloud security.</p><p>You can visit<a href="https://github.com/RedTeamOperations/RedCloud-OS"> here</a></p><h3>What I Learned from the MCRTA Course</h3><h4>1️⃣ Setting Up the Environment</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P0b1iGY0n6RVfnGKesW-Vw.png" /></figure><p><em>One of the best things about this course is that it provides a </em><strong><em>pre-configured RedCloud OS</em></strong><em> with all the necessary tools for AWS, Azure, and GCP Red Teaming. This saves a lot of time since you don’t have to install everything manually.</em></p><h4>2️⃣ Deep Dive into AWS, Azure, and GCP</h4><p><em>Each cloud provider has a different architecture and security model. The course does a great job explaining the key concepts:</em></p><ul><li><strong>AWS IAM &amp; Role Enumeration</strong></li><li><strong>Azure Entra ID (formerly Azure AD) &amp; Service Principals</strong></li><li><strong>GCP IAM, Service Accounts &amp; Compute Instance Enumeration</strong></li></ul><p>Since I come from a <strong>Blue Teaming</strong> background, this was an <strong>eye-opening experience</strong> for me. It gave me a better understanding of <strong>how attackers target cloud infrastructures</strong>.</p><h4>3️⃣ Cloud Red Teaming Methodology</h4><p><em>The course teaches how to:<br></em> 🔍 <strong>Enumerate cloud environments using OSINT</strong><br> 🔑 <strong>Gain initial access through exposed credentials</strong><br> ⚡ <strong>Exploit IAM misconfigurations</strong><br> 🔄 <strong>Move laterally and escalate privileges in cloud setups</strong></p><p><em>It also provides </em><strong><em>real-world attack scenarios</em></strong><em>, which makes learning practical and fun.</em></p><h4>4️⃣ OSINT is Powerful, Truly</h4><p><em>The </em><strong><em>OSINT part of the course is amazing</em></strong><em>! I struggled at first, but once I understood how to find </em><strong><em>leaked credentials</em></strong><em> on GitHub and other platforms, everything became much easier. This is a must-have skill for any Red Teamer.</em></p><h4>5️⃣ AWS Was Easy, Azure Was Tough, GCP Was Tricky</h4><ul><li><strong>AWS</strong> → Enumeration and privilege escalation were straightforward.</li><li><strong>Azure</strong> → Complex IAM structure and service principal attacks made it challenging.</li><li><strong>GCP</strong> → Getting initial access was easy, but privilege escalation required <strong>deep IAM understanding</strong>.</li></ul><h3>How Azure Architecture Differs from AWS &amp; GCP</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nObLQo8ZM8rgJmFd.png" /></figure><p>Each cloud provider has <strong>a different security model</strong>:</p><ul><li><strong>AWS:</strong> Uses IAM roles and policies extensively.</li><li><strong>Azure:</strong> Uses <strong>Entra ID (Azure AD)</strong> with <strong>Service Principals &amp; Managed Identities</strong>.</li><li><strong>GCP:</strong> Uses <strong>IAM roles with a project-based access model</strong>.</li></ul><p>Azure’s <strong>identity &amp; access management is more complex</strong>, while <strong>AWS feels more traditional</strong>, and <strong>GCP has a unique structure with its project-based permissions</strong>. Each comes with its <strong>own attack surface and enumeration techniques</strong>.</p><h3>What I Liked About the Course</h3><p>✅ <strong>The hints were super helpful</strong> — When I got stuck, the hints helped me move forward.<br> ✅ <strong>The scenarios were well-designed</strong> — The challenges felt realistic and engaging.<br> ✅ <strong>It covered all three cloud providers</strong> — Most courses focus only on AWS, but this covered <strong>AWS, Azure, and GCP</strong>.</p><h3>What I Didn’t Like About the Course</h3><p>❌ <strong>The lab environment had issues</strong> — Sometimes, I couldn’t log in due to server-side problems.<br> ❌ <strong>No initial credentials were provided</strong> — You had to find them through OSINT, which was fun but also frustrating at times.<br> ❌ <strong>Room for Improvement in Management</strong> — While the content was solid, some sections felt a bit unstructured, and the support system (mainly via Discord) wasn’t always the most responsive, which made troubleshooting tricky at times.</p><h3>Should You Take This Course?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wxc461Tz0KnayagF7vaXxw.png" /></figure><p>If you are <strong>a beginner in Cloud Red Teaming</strong>, <strong>YES</strong>, this course is a good starting point. You will learn <strong>real-world cloud attacks</strong> and <strong>how Red Teamers exploit misconfigurations in AWS, Azure, and GCP</strong>.</p><p>However, if you <strong>already have experience in Cloud Security</strong>, you might find the course <strong>too basic</strong>. In that case, you should look for more advanced cloud security certifications.</p><h3>What About the Multi-Cloud Blue Teaming Analyst (MCBTA) Course?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*pc-X_Y_31_kPs9hOCwhybA.png" /></figure><p><em>While I pursued the </em><strong><em>Multi-Cloud Red Team Analyst (MCRTA)</em></strong><em> certification, I also came across another beginner-friendly course by CyberWarFare Labs — </em><strong><em>Multi-Cloud Blue Team Analyst (MCBTA)</em></strong><em>. Since many professionals want to explore the </em><strong><em>defensive side of cloud security</em></strong><em>, I decided to take a look at it.</em></p><h4>What is MCBTA?</h4><p>MCBTA is a <strong>hands-on blue team course</strong> that focuses on <strong>AWS, Azure, and GCP security monitoring, logging, and threat investigation</strong>. It helps security analysts, SOC professionals, and cloud defenders <strong>understand real-world cloud security threats</strong> and <strong>deploy SIEM solutions</strong> across multiple cloud environments.</p><h4>Key Learnings from MCBTA:</h4><p>✅ <strong>Multi-Cloud Security Challenges</strong> — Understanding cloud adoption and its risks.<br> ✅ <strong>Threat Investigation &amp; Detection</strong> — Learning to investigate security incidents in AWS, Azure, and GCP.<br> ✅ <strong>Centralized Logging &amp; SIEM Implementation</strong> — Setting up logging and monitoring tools for better security visibility.<br> ✅ <strong>Real-World Case Studies</strong> — Analyzing cloud security threats using practical examples.</p><h4>Should You Take MCBTA?</h4><p>If you’re a <strong>blue teamer, SOC analyst, or cybersecurity enthusiast</strong> looking to break into <strong>cloud security operations</strong>, this course is <strong>worth considering</strong>. However, similar to MCRTA, the <strong>learning platform can feel clunky</strong>, and <strong>support is mainly via Discord</strong>, so <strong>self-troubleshooting is a must</strong>.</p><h3>Final Verdict</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iCI8scr6du862AzJ" /></figure><p>🎯 <strong>For beginners in Cloud Red Teaming → MCRTA is worth it!</strong><br> 🔄 <strong>For experienced professionals → Look for more advanced courses.</strong></p><p>I learned <strong>a lot</strong> from this course, especially about <strong>Azure Red Teaming</strong>, which is not covered in many other certifications. <strong>But the lab management could be better</strong>.</p><p>Would I recommend it? <strong>Yes, but only if you’re new to Cloud Red Teaming.</strong></p><p>🚀 <strong>On to the next challenge!</strong> 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d628c33db535" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>