<?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 Apollo on Medium]]></title>
        <description><![CDATA[Stories by Apollo on Medium]]></description>
        <link>https://medium.com/@angelfm1127?source=rss-53d50291ade2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*c6oxhZmfmbnONtNz</url>
            <title>Stories by Apollo on Medium</title>
            <link>https://medium.com/@angelfm1127?source=rss-53d50291ade2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:29:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@angelfm1127/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.io: SOC138 — Detected Suspicious XLS File (EventID: 77)]]></title>
            <link>https://medium.com/@angelfm1127/letsdefend-io-soc138-detected-suspicious-xls-file-eventid-77-a94bb212c0a2?source=rss-53d50291ade2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a94bb212c0a2</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[soc-analyst-training]]></category>
            <dc:creator><![CDATA[Apollo]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 23:48:11 GMT</pubDate>
            <atom:updated>2026-06-28T23:48:11.297Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, and welcome!</p><p>In this walkthrough, we’ll investigate a suspicious Excel file alert from Let’sDefend and approach it the same way a SOC analyst would in a real Security Operations Center. Rather than rushing to the answer, we’ll examine the available evidence, validate our findings, and build confidence in our conclusion through a structured investigation.</p><p>One of the most valuable traits a SOC analyst can develop is <strong><em>adaptability</em></strong>. Every alert is different, every environment is unique, and no two investigations follow the exact same path. The ability to adapt your workflow while remaining methodical is what separates simply closing alerts from truly understanding an incident.</p><p>Let’s begin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQsguvgTJnDHtZrFIIik_g.png" /><figcaption>You can find this in the Case Management tab and starting the Playbook.</figcaption></figure><h4>Defining the Threat Indicator</h4><p>The playbook first asks us to define the threat indicator. At this stage, we are not trying to force an answer — we are trying to match the alert behavior to the evidence available.</p><p>The available options are:</p><ul><li><strong>Unknown or unexpected outgoing internet traffic</strong></li><li><strong>Antivirus programs malfunctioning or becoming disabled for unknown reasons</strong></li><li><strong>Unknown or unexpected services and applications configured to launch automatically on system boot</strong></li><li><strong>Other</strong></li></ul><p>Before selecting one, we need to review the information provided by the alert and determine which behavior is actually supported by evidence. A good SOC analyst should avoid guessing based on the alert title alone. The goal is to identify what the suspicious <strong>XLS file actually did</strong>, then choose the indicator that best matches the observed activity.</p><p>With that in mind, let’s review the alert details, malware analysis results, endpoint logs, and network evidence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Io6CmmxyIWznNFcBMUiBiw.png" /><figcaption>You can find this by going to the Monitoring tab and selecting the alert.</figcaption></figure><h3>Reviewing the Alert Details</h3><p>Before answering the playbook questions, let’s go back to the original alert and review what we already know.</p><h4>Alert Details</h4><p><strong>Severity:</strong> Medium<br><strong>Date:</strong> Mar 13, 2021, 08:20 PM<br><strong>Rule Name:</strong> SOC138 — Detected Suspicious Xls File<br><strong>EventID:</strong> 77<br><strong>Type:</strong> Malware</p><p><strong>Source Address:</strong> 172.16.17.56<br><strong>Source Hostname:</strong> Sofia</p><p><strong>File Name:</strong> ORDER SHEET &amp; SPEC.xlsm<br><strong>File Hash:</strong> 7ccf88c0bbe3b29bf19d877c4596a8d4<br><strong>File Size:</strong> 2.66 MB</p><p><strong>Device Action:</strong> Allowed</p><p>At this point, we have enough information to begin forming a hypothesis, but not enough to make a final conclusion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TZIwQCRWBLWyYaen-POUqg.png" /><figcaption>You can find this by going to the Endpoint Security tab and entering the host name or source IP.</figcaption></figure><p>Now we’ll begin with the host in question and analyze the affected machine for any quick clues or indicators that can help narrow down the threat indicator.</p><p>Our goal at this stage is simple: understand what happened on the host before jumping to a conclusion. Our source host is:</p><pre>Hostname: Sofia<br>Source IP: 172.16.17.56<br>File: ORDER SHEET &amp; SPEC.xlsm<br>Hash: 7ccf88c0bbe3b29bf19d877c4596a8d4</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kMo5sSb4xPPjyZaj7Ulhog.png" /><figcaption>You can find this by going to the Endpoint Security tab , entering the host name and selecting the host in question.</figcaption></figure><h3>Process Evidence</h3><p>There were no active malicious processes, but process history revealed a suspicious trail related to the Excel file.</p><p>The process that stood out was <strong>POwersheLL.exe </strong>.</p><p>That matters because PowerShell is often abused by malware for execution, downloading payloads, and reaching external infrastructure. It is legitimate by default, but suspicious in this context.</p><p>Next, we inspect the PowerShell process to understand what it executed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RRCYze2uq7AbC2v-9kH6-w.png" /><figcaption>to reach this point scroll down in the process list and click the magnifying glass.</figcaption></figure><h3>PowerShell Encoded Command</h3><p>The process details show PowerShell executing an encoded command.</p><p>This command appears to be <strong>Base64-encoded UTF-16LE</strong>, which is commonly used with PowerShell encoded commands. That matters because encoding can hide the command’s real behavior from quick visual inspection.</p><p>Our SIEM does not include a built-in decoder, so this is where we adapt. Analysts will not always have every tool available inside the platform. In this case, I used <strong>CyberChef</strong> to decode the command, but any trusted decoding method would work.</p><p>At this stage, decoding the command may reveal whether PowerShell was:</p><ul><li>Downloading a payload</li><li>Reaching out to an external IP or domain</li><li>Attempting persistence</li><li>Executing another malware stage</li></ul><p>The goal is simple:</p><pre>Encoded PowerShell → Decoded command → Actual behavior</pre><p>Once decoded, we can use the output to better understand the malware behavior and choose the threat indicator based on evidence instead of guessing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZk8jgpp27JGE6DEHG2oPw.png" /><figcaption>CyberChef</figcaption></figure><h3>Decoded PowerShell Findings</h3><p>After cleaning up the decoded output, the behavior became much clearer:</p><pre>$directoryType = [System.IO.Directory]<br>$servicePointManagerType = [System.Net.ServicePointManager]<br>$securityProtocolType = [System.Net.SecurityProtocolType]</pre><pre>$targetDirectory = $env:USERPROFILE + &quot;\W9ludan\Avgqkj3\&quot;<br>$payloadPath = $env:USERPROFILE + &quot;\W9ludan\Avgqkj3\Stwk31v.exe&quot;</pre><pre>$servicePointManagerType::SecurityProtocol = $securityProtocolType::Tls12</pre><pre>$urls = @(<br>    &quot;http://tudorinvest.com/wp-admin/rGtnUb5f/&quot;,<br>    &quot;http://dp-womenbasket.com/wp-admin/Li/&quot;,<br>    &quot;http://stylefix.co/guillotine-cross/CTRNOQ/&quot;,<br>    &quot;http://ardos.com.br/simulador/bPNx/&quot;,<br>    &quot;http://drtheurelplasticsurgery.com/generalo/rhrhflv92/&quot;,<br>    &quot;http://bodyinnovation.co.za/wp-content/2ssHvi/&quot;,<br>    &quot;http://nomadco.es/wp-admin/MvwVHCG/&quot;<br>)</pre><pre>$minimumPayloadSize = 26346</pre><pre>$analysis = [PSCustomObject]@{<br>    Directory = $targetDirectory<br>    PayloadPath = $payloadPath<br>    Urls = $urls<br>    MinimumPayloadSize = $minimumPayloadSize<br>    Downloader = &quot;Net.WebClient.DownloadFile&quot;<br>    ExecutionMethod = &quot;Win32_Process.Create&quot;<br>}</pre><p>This output gives us a much stronger lead.</p><p>The PowerShell command appears to define a target directory inside the user profile, prepare a payload path named Stwk31v.exe, set TLS 1.2, and list multiple <strong><em>external URLs</em></strong>. It also references Net.WebClient.DownloadFile, which suggests downloader behavior.</p><p>At this point, the investigation has a clear path.</p><p>We did <strong>not observe </strong>an <strong>active process</strong> or <strong>child process</strong> during the investigation, <strong>but the process history</strong> <strong>shows PowerShell activity</strong> connected to the suspicious Excel file<strong><em>.</em></strong> Now that we can see the decoded command, the behavior points towards an <strong><em>attempted external communication and payload retrieval.</em></strong></p><h4>This strongly supports the threat indicator:</h4><pre>Unknown or unexpected outgoing internet traffic</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*btq7F7GQT0Y_9OoqBCsc7Q.png" /></figure><h3>Confirming the Threat Indicator</h3><p>To confirm the threat indicator, we moved to the <strong>Log Management</strong> tab and searched for the affected host</p><pre>Source IP: 172.16.17.56 <br>Hostname: Sofia</pre><p>Since the suspicious Excel file executed on this host and the decoded PowerShell showed multiple external URLs, we expected to see outbound network activity from this source IP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tW7UI1TZYGFc3AXIynRKxg.png" /></figure><p>The logs confirmed outbound traffic from the host to an external destination.</p><p>We could have gone straight to the logs and searched the source IP first, but that alone would not explain the behavior. Outbound traffic by itself can mean many things. It could be normal browsing, malware download activity, command-and-control traffic, persistence setup, or another stage of execution.</p><p>By decoding the PowerShell first, we gave the log evidence context.</p><p>Now the investigation is no longer based on a suspicious file name or a single network event. We have a clear chain:</p><pre>Suspicious XLSM file → PowerShell execution → Encoded command → External URLs → Outbound traffic confirmed</pre><p>That evidence strongly supports the threat indicator and gives us a clear direction for the rest of the investigation.</p><h3>Playbook Question 1 Answer</h3><p>Based on the decoded PowerShell command and the confirmed outbound network traffic from the affected host, the correct answer for the first playbook question is:</p><pre>Unknown or unexpected outgoing internet traffic</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i3BXd8612Dbe7ehNmERCbg.png" /><figcaption>To reach this point select “Unknown or unexpected outgoing internet traffic” in the playbook.</figcaption></figure><h3>Checking if the Malware Was Quarantined or Cleaned</h3><p>The next playbook step asks whether the malware was quarantined or cleaned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*koRVQvqE5VQex7nyLHDhgA.png" /></figure><p>To verify this, we return to the alert details and check the <strong>Device Action</strong> field. This field tells us how the security device handled the suspicious file activity.</p><p>In this case, the device action was:</p><pre>Device Action: Allowed</pre><p>Because the action was <strong>Allowed</strong>, there is no evidence that the malware was blocked, quarantined, or cleaned by the device at the time of the alert.</p><h3>Playbook Question 2 Answer</h3><p>So the answer for this playbook step is:</p><pre>No, the malware was not quarantined or cleaned.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tNPJuU8EurSiaqca6z3WFQ.png" /><figcaption>To reach this point select “Not quarantined” in the playbook</figcaption></figure><h3>Analyzing the Malware in Third-Party Tools</h3><p>The next playbook step asks us to analyze the malware using third-party tools and identify a possible C2 address.</p><p>To do this, we return to the alert details and copy the file hash:</p><pre>7ccf88c0bbe3b29bf19d877c4596a8d4</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lyvhItGhOS3o4SXghM7eYA.png" /></figure><p>Then we search the hash in a third-party malware analysis platform such as VirusTotal, AnyRun, URLHaus, URLScan, or Hybrid Analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F3s2t10E6cZxl3LCQoEdzQ.png" /><figcaption>Important detail: search the value as a <strong>file hash</strong>, not as a file upload or URL.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iNTMVeUEfUqOa573Nni6AA.png" /></figure><p>The file came back as malicious, with a detection ratio of:</p><pre>46/64</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8xHgjKJhzXUXtgxiXKpelQ.png" /><figcaption>Under Contacted IP addresses we can see the IP “<strong>177.53.143.89</strong>”</figcaption></figure><p>From there, we review the <strong>Relations</strong> tab and focus on contacted URLs, contacted domains, contacted IP addresses, dropped files, and bundled files.</p><p>A few important findings stood out:</p><pre>Malicious contacted URL:<br>https://multiwaretecnologia.com.br/js/Podaliri4.exe</pre><pre>Contacted IPs of interest:<br>177.11.52.83<br>177.53.143.89<br>185.157.161.61</pre><pre>Bundled malicious components:<br>xl/vbaProject.bin<br>xl/embeddings/oleObject2.bin<br>xl/embeddings/oleObject1.bin<br>Module2.bas</pre><p>At this point, we should not blindly call every contacted IP a C2 server. Some contacted infrastructure may be normal certificate checking, hosting infrastructure, redirectors, payload delivery, or unrelated sandbox noise.</p><p>The strongest C2 candidate is:</p><pre>177.53.143.89</pre><p>Why? Because this IP appears in the malware analysis results and was also observed in the internal logs as outbound traffic from the affected host.</p><p>That gives us correlation:</p><pre>Malware analysis shows contacted IP → Internal logs confirm host reached that IP</pre><p>So for this investigation, 177.53.143.89 is the best-supported C2 indicator.</p><p>This IP was present in the malware analysis results and also appeared in the internal logs as outbound communication from the affected host. That correlation makes it the strongest C2 indicator for this investigation.</p><h3>Playbook Question 3 Answer</h3><p>Based on the third-party malware analysis results and the confirmed outbound traffic from the affected host, the answer is:</p><pre>Malicious</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XRwP0dnI6HL-7zY03Kh0tg.png" /><figcaption>To reach this point select “Malicious” in the playbook.</figcaption></figure><h3>Checking if the C2 Address Was Accessed</h3><p>The next playbook step asks whether the C2 address was accessed.</p><p>At this point, we already have the key pieces of evidence:</p><pre>Affected Host: 172.16.17.56<br>Hostname: Sofia<br>C2 Candidate: 177.53.143.89</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T0zMqHGhoFSTU9R-QtVChg.png" /></figure><p>To verify the connection, we go back to <strong>Log Management</strong> and search using the affected host as the source.</p><p>In Pro Mode, the filter can be set as:</p><pre>source_address = 172.16.17.56</pre><p>Since this is the host that executed the suspicious file, any outbound connection from this source to the suspected C2 address becomes highly relevant.</p><p>The logs show that the host communicated with the malicious address, confirming that the C2 was accessed.</p><h3>Playbook Question 4 Answer</h3><p>Based on the Log Management results, the affected host communicated with the suspected C2 address.</p><p>The correct answer is:</p><pre>Accessed.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*t4ff1kjUlEAqFgK9IuO2hA.png" /><figcaption>To reach this point, select “Accessed” in the playbook.</figcaption></figure><h3>Containing the Affected Host</h3><p>At this point, the investigation supports a true positive.</p><p>We confirmed:</p><pre>Suspicious XLSM file executed<br>PowerShell activity observed<br>Decoded command showed external URLs and downloader behavior<br>Outbound traffic confirmed from the affected host<br>C2 address was accessed</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cWa3EIPTTKXXIktEYxhYwg.png" /></figure><p>The final playbook step is containment.</p><p>To contain the machine, go to the <strong>Endpoint Security</strong> tab, locate the affected host, and click <strong>Containment</strong> under the <strong>Action</strong> column. Then confirm the action by clicking <strong>Change</strong>.</p><p>This isolates the user’s machine and helps prevent any further communication with malicious infrastructure while remediation continues.</p><h3>Final Action</h3><p>The affected user machine should be contained.</p><pre>Action: Contain the machine</pre><h3>Investigation Summary</h3><p>This alert was confirmed as a <strong>true positive</strong>.</p><p>The investigation started with a suspicious macro-enabled Excel file, ORDER SHEET &amp; SPEC.xlsm, allowed on host Sofia at 172.16.17.56. Process history showed PowerShell activity tied to the file, and after decoding the encoded command, we found downloader behavior, external URLs, and a payload path.</p><p>Third-party malware analysis confirmed the file hash was malicious and revealed contacted infrastructure. Log Management then confirmed outbound traffic from the affected host to the suspected C2 address 177.53.143.89.</p><p>The key evidence chain was:</p><pre>Suspicious XLSM file<br>→ PowerShell execution<br>→ Encoded command decoded<br>→ Downloader behavior found<br>→ External traffic confirmed<br>→ C2 address accessed<br>→ Host contained</pre><p>The malware was not quarantined or cleaned because the device action showed Allowed. The endpoint was contained to prevent further communication with malicious infrastructure.</p><p>Final verdict: <strong>True Positive</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a94bb212c0a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>