<?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 spartacusza on Medium]]></title>
        <description><![CDATA[Stories by spartacusza on Medium]]></description>
        <link>https://medium.com/@zourzinho1997?source=rss-15cabb609381------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CT_9R1zEPwJoC1B9</url>
            <title>Stories by spartacusza on Medium</title>
            <link>https://medium.com/@zourzinho1997?source=rss-15cabb609381------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:22:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zourzinho1997/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[LetsDefend Walkthrough: Investigating SOC166 — Javascript Code Detected in Requested URL (EventID…]]></title>
            <link>https://medium.com/@zourzinho1997/letsdefend-walkthrough-investigating-soc166-javascript-code-detected-in-requested-url-eventid-14efe6592ecf?source=rss-15cabb609381------2</link>
            <guid isPermaLink="false">https://medium.com/p/14efe6592ecf</guid>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[lets-defend]]></category>
            <category><![CDATA[cyebrsecurity]]></category>
            <dc:creator><![CDATA[spartacusza]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 00:04:30 GMT</pubDate>
            <atom:updated>2026-09-17T00:04:30.006Z</atom:updated>
            <content:encoded><![CDATA[<h3>LetsDefend Walkthrough: Investigating SOC166 — Javascript Code Detected in Requested URL (EventID: 116)</h3><p>Hi everyone! 👋</p><p>I recently got a message from the <a href="https://www.linkedin.com/company/letsdefend/">LetsDefend</a> mentioning that many beginners in blue teaming get confused by the SOC166 alert.</p><p>If you are new to SOC analysis, don’t worry! In this post, I will break down this investigation into simple, baby steps so anyone can follow along and understand the logic behind it.</p><h3>Step 1: Understanding the Alert</h3><h3>First let’s take a look at the alert report below</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*osnRDru4Rvnl4eGH" /></figure><p>SOC166 — Javascript Code Detected in Requested URL</p><p>👉 In simple words: Someone on the internet (Source IP:112.85.42.13) sent a link to our internal web server(WebServer1002). Inside that link(<a href="https://172.16.17.17/search/?q">https://172.16.17.17/search/?q</a>), they tried to hide JavaScript code(&lt;$script&gt;javascript:$alert(1)&lt;$/script&gt;).</p><h3>Step 2: What is the attacker trying to do?</h3><h3>This attack is called Cross-Site Scripting (XSS).</h3><blockquote><em>Whats XSS Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.An attacker can use XSS to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site. These scripts can even rewrite the content of the HTML page. -From Owasp.org</em></blockquote><p>Analyzing the trick: The attacker typed: q=&lt;$script&gt;javascript:$alert(1)&lt;$/script&gt; Notice the extra $ signs? Attackers add strange symbols like $ to confuse basic security filters so their code doesn’t get blocked immediately. They are trying to pop up a small box saying 1 on the screen just to test if the site is vulnerable.</p><h3>Step 3: Is this a real bad guy? (Threat Intel Check)</h3><h3>Before digging deeper, we ask: Is this IP address trusted, or is it a known hacker?</h3><ol><li>We take the attacker’s IP (112.85.42.13) and search it on AbuseIPDB (a website that reports bad IP addresses).</li><li>Result: This IP was reported over 45,000 times for malicious activity.</li><li>Conclusion: This is NOT a friendly internal test. It’s a real scanner/hacker looking for weak targets.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/0*ZA3SbAOhq1BmVquZ" /></figure><p>AbuseIPDB Results</p><h3>Step 4: Did the attack succeed? (Checking the Logs)</h3><p>Now we go to Log Management to see how our web server reacted when it received that bad link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*IhfODceAY0-REKuH" /></figure><p>Log Management</p><p>When someone asks a web server for a page, the server answers with a 3-digit code:</p><ul><li>200 OK = “Yes, here is the webpage!” (Attack might have worked).</li><li>403 Forbidden = “No, you are blocked!”</li><li>302 Found = “I am redirecting you somewhere else.”</li></ul><p>What we found in our logs:</p><ul><li>The request with the JavaScript code got an HTTP 302 response with 0 Bytes of data sent back.</li><li>What does this mean for beginners? It means the server redirected the user and sent back zero content. The code was never executed or shown to anyone. The attack failed!</li></ul><h3>Step 5: Double-checking the Server (Endpoint Security)</h3><p>To be 100% safe, we go to Endpoint Security and check our server (WebServer1002):</p><ul><li>Are there strange commands running? No.</li><li>Are there suspicious files downloaded? No.</li></ul><p>Everything is clean!</p><h3>Step 6: Answering the Playbook &amp; Closing the Case</h3><ul><li>Question 1: Is Traffic Malicious? 👉 Malicious</li><li>Question 2: What Is The Attack Type? 👉 XSS</li><li>Question 3: Check If It Is a Planned Test 👉 Not Planned</li><li>Question 4: What Is the Direction of Traffic? 👉 Internet → Company Network</li><li>Question 5: Was the Attack Successful? 👉 No</li><li>Question 6: Do You Need Tier 2 Escalation? 👉 No</li></ul><p>Final Verdict: True Positive (Unsuccessful Attack).</p><h3>💡 Takeaway for New SOC Analysts</h3><p>Just because an alert says “Allowed” or triggers a rule, it does not mean the hacker succeeded. Always check:</p><ol><li>What was the server’s HTTP Response Code? (200 vs 302/403)</li><li>Was any data returned?</li><li>Is the endpoint behaving normally?</li></ol><p>Hope this simple breakdown helps anyone who was feeling lost with SOC166! Big thanks to Olivia and the <a href="https://www.linkedin.com/company/letsdefend/">LetsDefend</a> team for creating great hands-on training. Keep learning! 🚀🛡️</p><p>#SOCAnalyst #BlueTeam #CyberSecurity #LetsDefend #IncidentResponse #InformationSecurity #XSS #CyberSecurityTraining #Walkthrough #SOC</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14efe6592ecf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>