<?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 Abdelrhman Mohamed Mansour on Medium]]></title>
        <description><![CDATA[Stories by Abdelrhman Mohamed Mansour on Medium]]></description>
        <link>https://medium.com/@bodi.mansour17?source=rss-d8908ff48ad6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*a8V2XvcGsfnLIrI2</url>
            <title>Stories by Abdelrhman Mohamed Mansour on Medium</title>
            <link>https://medium.com/@bodi.mansour17?source=rss-d8908ff48ad6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 30 May 2026 07:55:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bodi.mansour17/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[BlackEnergy Lab]]></title>
            <link>https://medium.com/@bodi.mansour17/blackenergy-lab-067dbb1dddc5?source=rss-d8908ff48ad6------2</link>
            <guid isPermaLink="false">https://medium.com/p/067dbb1dddc5</guid>
            <category><![CDATA[malware]]></category>
            <dc:creator><![CDATA[Abdelrhman Mohamed Mansour]]></dc:creator>
            <pubDate>Sun, 10 May 2026 22:20:35 GMT</pubDate>
            <atom:updated>2026-05-10T22:20:35.653Z</atom:updated>
            <content:encoded><![CDATA[<p>Lab Reference :<a href="https://cyberdefenders.org/blueteam-ctf-challenges/blackenergy/">https://cyberdefenders.org/blueteam-ctf-challenges/blackenergy/</a></p><h3>Introduction</h3><p>In this lab, I analyzed a compromised Windows memory image from the BlackEnergy challenge on the CyberDefenders platform.<br> The goal was to investigate suspicious processes, identify possible code injection activity, and detect hidden DLLs using Volatility.</p><p>The investigation focused on:</p><ul><li>Identifying the correct memory profile</li><li>Enumerating running processes</li><li>Detecting suspicious behavior</li><li>Investigating injected code and hidden modules</li><li>Extracting malicious artifacts from memory</li></ul><p>Reference writeup used as inspiration:</p><h3>Scenario</h3><p>A company detected suspicious activity on one of its systems after a cyber attack involving a BlackEnergy malware variant.<br> A memory dump was acquired from the infected host, and the task was to perform memory forensics analysis to determine what happened on the machine.</p><h3>Tools Used</h3><ul><li>Volatility Framework</li><li>strings</li><li>VirusTotal</li></ul><h3>Q1 — Which volatility profile fits the memory image?</h3><p>The first thing I needed to know was the operating system version and architecture of the memory image.<br> To do that, I used the imageinfo plugin because it provides suggested profiles and basic system information such as:</p><ul><li>OS version</li><li>Service Pack</li><li>Architecture</li><li>Time of acquisition</li></ul><p>Command used:</p><pre>vol.py -f CYBERDEF-567078-20230213-171333.raw imageinfo</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*bW56Uc-bciCUtC-6KjCF_A.jpeg" /></figure><p>After reviewing the output, Volatility suggested the following profile:</p><pre>WinXPSP2x86</pre><p>This profile matches:</p><ul><li>Windows XP</li><li>Service Pack 2</li><li>32-bit architecture</li></ul><h3>Answer</h3><pre>WinXPSP2x86</pre><h3>Q2 — How many processes were running when the image was acquired?</h3><p>To enumerate running processes, I used the pslist plugin.<br> This plugin displays active processes directly from memory, including:</p><ul><li>Process name</li><li>PID</li><li>Parent PID</li><li>Number of threads</li><li>Creation time</li></ul><p>Command used:</p><pre>vol.py -f CYBERDEF-567078-20230213-171333.raw --profile=WinXPSP2x86 pslist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/0*9-fEb2D5gb009xge.png" /></figure><p>I manually counted all running processes displayed in the output.</p><p>The total number of active processes was:</p><pre>19</pre><h3>Answer</h3><pre>19</pre><h3>Q3 — What is the process ID of cmd.exe?</h3><p>Instead of manually searching through the entire process list, I filtered the output using grep to quickly locate the cmd.exe process.</p><p>Command used:</p><pre>vol.py -f CYBERDEF-567078-20230213-171333.raw --profile=WinXPSP2x86 pslist | grep cmd.exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*OL2UE0LEdx8aT7uAY2-uEA.jpeg" /></figure><p>The output showed the PID associated with cmd.exe.</p><h3>Answer</h3><pre>1960</pre><h3>Q4 — What is the name of the most suspicious process?</h3><p>I returned again to the pslist output and started reviewing the running processes manually.</p><p>While checking the process names, one process immediately looked suspicious:</p><pre>rootkit.exe</pre><p>This process name clearly stands out because legitimate Windows systems normally do not run a process called rootkit.exe.</p><p>The name itself strongly suggests malicious behavior or malware activity.</p><h3>Answer</h3><pre>rootkit.exe</pre><h3>Q5 — Which process shows the highest likelihood of code injection?</h3><p>To investigate possible code injection, I used the malfind plugin.</p><p>The malfind plugin searches memory for:</p><ul><li>Hidden executable memory regions</li><li>Injected shellcode</li><li>Suspicious memory protections</li><li>Malware injections</li></ul><p>Command used:</p><pre>vol.py -f CYBERDEF-567078-20230213-171333.raw --profile=WinXPSP2x86 malfind</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/0*xIfLkQX-dSGBgomv.png" /></figure><p>To verify our answer. At first, I dumped this process</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*x5HdZ5CKBlgQLBnhHT4gEg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*TLVDN1dN78nR7oM4.png" /></figure><p>After extracting the dump, I checked the file hash and analyzed it using VirusTotal to verify malicious behavior.</p><p>The process most likely injected was:<br>Answer</p><pre>svchost.exe</pre><h3>Q6 — There is an odd file referenced in the recent process. Provide the full path of that file.</h3><p>To search for suspicious artifacts inside the dumped memory region, I used the strings utility.</p><p>The strings command extracts readable ASCII text from binary files and is very useful for:</p><ul><li>Finding file paths</li><li>Detecting URLs</li><li>Identifying malware artifacts</li><li>Recovering hidden references</li></ul><p>Command used:</p><pre>strings process.0x89aab590.0x980000.dmp</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*376gKpEWmfAi1tbK.png" /></figure><p>While reviewing the output, I found a suspicious driver path:</p><pre>C:\WINDOWS\system32\drivers\str.sys</pre><p>This driver looked abnormal and was likely related to the malicious activity.</p><p>Another possible approach for solving this question is using the handles plugin to enumerate open file handles.<br>Answer</p><pre>C:\WINDOWS\system32\drivers\str.sys</pre><h3>Q7 — What is the name of the injected DLL file loaded from the recent process?</h3><p>At first, I used the dlllist plugin to enumerate DLLs loaded inside the suspicious process.</p><p>Command used:</p><pre>vol.py -f CYBERDEF-567078-20230213-171333.raw --profile=WinXPSP2x86 dlllist -p 880</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*vuBWmBFW7rqHTKo6.png" /></figure><p>However, the results contained many DLLs, making it difficult to identify the malicious one.</p><p>To detect hidden or unlinked DLLs, I used another plugin called ldrmodules.</p><p>The ldrmodules plugin compares multiple DLL lists maintained by Windows:</p><ul><li>InLoad</li><li>InInit</li><li>InMem</li></ul><p>Malware often unlinks itself from these lists to hide from security tools.<br>One DLL appeared highly suspicious:</p><pre>msxml3r.dll</pre><p>The DLL did not appear correctly in the loader lists, which strongly suggests:</p><ul><li>DLL hiding</li><li>Stealth injection</li><li>Rootkit behavior</li></ul><h3>Answer</h3><pre>msxml3r.dll</pre><p>8. What is the base address of the injected dll?</p><p>The base address is displayed in the 3rd column of the output of the <strong><em>malfind</em></strong> plugin.</p><pre>python3 vol.py -f /home/remnux/Documents/BlackEnergy/CYBERDEF-567078-20230213-171333.raw windows.malfind</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*16_7rq5h2saKrgaO.png" /></figure><h3>Answer</h3><pre>0x980000</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=067dbb1dddc5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ramnit Malware Memory Analysis — CyberDefenders]]></title>
            <link>https://medium.com/@bodi.mansour17/ramnit-malware-memory-analysis-cyberdefenders-3c2e67ddf181?source=rss-d8908ff48ad6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c2e67ddf181</guid>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[memory-forensics]]></category>
            <category><![CDATA[volatility]]></category>
            <dc:creator><![CDATA[Abdelrhman Mohamed Mansour]]></dc:creator>
            <pubDate>Fri, 08 May 2026 17:27:25 GMT</pubDate>
            <atom:updated>2026-05-08T17:32:29.939Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Challenge Link: [CyberDefenders Ramnit Lab]</strong>(<a href="https://cyberdefenders.org/blueteam-ctf-challenges/ramnit/?utm_source=chatgpt.com">https://cyberdefenders.org/blueteam-ctf-challenges/ramnit/?utm_source=chatgpt.com</a>)</p><p>This lab focused on investigating a suspicious memory dump using Volatility 3.</p><p>The analysis started by reviewing running processes and gradually moved into command-line analysis, network connections, and file extraction to identify the malicious activity.</p><p>During the investigation, I traced a suspicious executable, analyzed its external communications, extracted the malware from memory, and collected multiple IOC’s related to the attack.</p><p>This lab was also a good example of how analysts combine process analysis, network artifacts, and threat intelligence together during real-world investigations.</p><h3>Q1 — What is the name of the process responsible for the suspicious activity?</h3><p>The first question wanted us to identify the suspicious process.</p><p>So instead of relying on one thing only, we used multiple approaches to make sure which process was actually malicious.</p><h3>First Method — Reviewing Running Processes</h3><p>We started by listing all running processes using:</p><pre>python3 vol.py -f memory.dmp windows.pslist</pre><p>Then we started reviewing the processes one by one looking for anything unusual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*an_D3DqhZmV5fGGG.png" /></figure><p>We found normal processes like:</p><ul><li>svchost.exe</li><li>explorer.exe</li><li>RuntimeBroker.exe</li></ul><p>But then we noticed:</p><pre>ChromeSetup.exe</pre><p>This looked suspicious because it is unusual for a Chrome installer to be running like this inside memory.</p><h3>Second Method — Reviewing the Command Line</h3><p>After that, we wanted to see where this process was executed from.</p><p>So we used:</p><pre>python3 vol.py -f memory.dmp windows.cmdline</pre><p>And we found:</p><pre>C:\Users\alex\Downloads\ChromeSetup.exe</pre><p>This increased our suspicion because the executable was running directly from the Downloads folder.</p><h3>Third Method — Reviewing Network Connections</h3><p>Next, we checked whether the process was making external network connections.</p><p>We used:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Ft9-89V0RsNtdYd0hLYZFQ.png" /></figure><pre>python3 vol.py -f memory.dmp windows.netscan</pre><p>While reviewing the connections, we noticed that:</p><pre>ChromeSetup.exe</pre><p>was communicating with external IP addresses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ft9-89V0RsNtdYd0hLYZFQ.png" /></figure><p>At this point, we were almost certain that this was the malicious process.</p><h3>Final Answer</h3><pre>ChromeSetup.exe</pre><h3>Q2 — What is the exact path of the executable for the malicious process?</h3><p>After identifying the suspicious process, we wanted to retrieve its full executable path.</p><p>We used:</p><pre>python3 vol.py -f memory.dmp windows.cmdline</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/0*6-Cahu2xMTYNQ0NN.png" /></figure><p>Then we reviewed the command lines until we found:</p><pre>C:\Users\alex\Downloads\ChromeSetup.exe</pre><p>This confirmed even more that the executable was downloaded recently and was not part of normal system activity.</p><h3>Final Answer</h3><pre>C:\Users\alex\Downloads\ChromeSetup.exe</pre><h3>Q3 — What IP address did the malware attempt to connect to?</h3><p>Next, we wanted to identify which external IP the malware was communicating with.</p><p>We used:</p><pre>python3 vol.py -f memory.dmp windows.netscan</pre><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Ft9-89V0RsNtdYd0hLYZFQ.png" /></figure><p>Then we reviewed the active network connections until we found that:</p><pre>ChromeSetup.exe</pre><p>was communicating with the following IP address:</p><pre>58.64.204.181</pre><p>At this point, the behavior became much more suspicious.</p><h3>Final Answer</h3><pre>58.64.204.181</pre><h3>Q4 — Which city is associated with the IP address the malware communicated with?</h3><p>After obtaining the IP address, we performed a lookup using:</p><ul><li>AbuseIPDB</li><li>VirusTotal</li></ul><p>to identify its geographical location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gZcIUmq8cNEWPFghSQ2gig.png" /></figure><p>The IP address was associated with:</p><pre>Hong Kong</pre><h3>Final Answer</h3><pre>Hong Kong</pre><h3>Q5 — What is the SHA1 hash of the malware executable?</h3><p>This was probably the most important part of the lab.</p><p>At first, we attempted to dump the running process itself.</p><p>However, the SHA1 hash we obtained was incorrect.</p><p>This is where an important concept appears:</p><pre>Process Dump ≠ File Dump</pre><p>We needed to extract the actual file from memory, not the process memory dump.</p><h3>First Step — Locate the File Object</h3><p>We used:</p><pre>python3 vol.py -f memory.dmp windows.filescan | grep &quot;ChromeSetup&quot;</pre><p>to locate the file object associated with the malware.</p><h3>Second Step — Dump the Actual File</h3><p>Then we used:</p><pre>python3 vol.py -f memory.dmp windows.dumpfiles --pid 4628</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qrnGagiJv9ckKZbmYVuO9Q.png" /></figure><p>to extract the real executable file from memory.</p><h3>Final Step — Calculate the SHA1 Hash</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3DtyvPjtq4YfOBRWeHHMfA.png" /></figure><p>Finally, we calculated the SHA1 hash using:</p><pre>sha1sum *Chrome*</pre><p>The resulting SHA1 hash was:</p><pre>280c9d36039f9432433893dee6126d72b9112ad2</pre><h3>Final Answer</h3><pre>280c9d36039f9432433893dee6126d72b9112ad2</pre><h3>Q6 — What is the compilation timestamp for the malware?</h3><p>After extracting the real executable, we analyzed the file metadata.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*19TVKStZS6z2doxdTpiEeg.png" /></figure><p>We found the compilation timestamp to be:</p><pre>2019-12-01 08:36</pre><h3>Final Answer</h3><pre>2019-12-01 08:36</pre><h3>Q7 — Identify the domains associated with this malware</h3><p>While reviewing the network connections and DNS requests, we noticed a repeated domain associated with the malware activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4WxnDTkQIUeaAFrJ57SQiQ.png" /></figure><p>The domain was:</p><pre>dnsnb8.net</pre><p>This was the domain the malware was communicating with.</p><h3>Final Answer</h3><pre>dnsnb8.net</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c2e67ddf181" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DanaBot Network Forensics InvestigationIntroduction]]></title>
            <link>https://medium.com/@bodi.mansour17/danabot-network-forensics-investigationintroduction-b1defcdbf64e?source=rss-d8908ff48ad6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1defcdbf64e</guid>
            <category><![CDATA[packet-analysis]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[network-forensics]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <dc:creator><![CDATA[Abdelrhman Mohamed Mansour]]></dc:creator>
            <pubDate>Sun, 19 Apr 2026 19:22:57 GMT</pubDate>
            <atom:updated>2026-04-19T19:24:35.819Z</atom:updated>
            <content:encoded><![CDATA[<p>Lab Reference:<a href="https://cyberdefenders.org/blueteam-ctf-challenges/danabot/">https://cyberdefenders.org/blueteam-ctf-challenges/danabot/</a></p><p>In this investigation, I analyzed network traffic from a compromised machine to uncover how the attack was carried out. Using tools like Wireshark and threat intelligence platforms, I traced the attacker’s activity from initial access to payload execution.</p><p>The analysis focused on identifying key indicators of compromise (IOCs), including malicious files, attacker-controlled IP addresses, and execution behavior. This lab simulates a real-world SOC scenario where timely detection and accurate analysis are critical to understanding and responding to a breach.</p><h3>Scenario</h3><p>The SOC team has detected suspicious activity in the network traffic, revealing that a machine has been compromised. Sensitive company information has been stolen. Your task is to use Network Capture (PCAP) files and Threat Intelligence to investigate the incident and determine how the breach occurred.</p><h3><strong>Q1: Which IP address was used by the attacker during the initial access?</strong></h3><p>The question indicates that a <strong>malicious file was used to gain initial access</strong>.<br> When analyzing the PCAP, there are two possible scenarios to consider:</p><ol><li><strong>Malicious File Uploaded (POST Request)</strong><br> The attacker may have exploited a vulnerability to upload the malicious file.<br> In this case, we would expect to see an <strong>HTTP POST request</strong> indicating the file upload.</li><li><strong>Malicious File Accessed (GET Request)</strong><br> Alternatively, the malicious file may have already been present on the server, and a victim accessed it.<br> In this scenario, an <strong>HTTP GET request</strong> would reveal the retrieval of the malicious file.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*K61S52-_iVW9XGvt.png" /></figure><blockquote>Answer:62.173.142.148</blockquote><h3><strong>Q2: What is the name of the malicious file used for initial access?</strong></h3><p>At first glance, the second request may seem more suspicious due to its unusual nature. However, from a logical analysis perspective, it is more appropriate to investigate the <strong>first request</strong>.</p><p>This aligns with <strong>Scenario 2</strong>, where:</p><ul><li>The malicious file is already present on the server</li><li>A user accesses the compromised page</li></ul><p>Therefore, we should ask:<br> <strong>Which request is more likely to have been triggered by normal user behavior?</strong></p><p>Based on this reasoning, the <strong>first request</strong> is the most relevant candidate.</p><h3>Analysis Step</h3><p>To validate this, I followed the <strong>HTTP Stream</strong> of the first request in Wireshark:</p><ul><li>This allows reconstruction of the full request/response</li><li>Helps identify any embedded or downloaded malicious files</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*3zkP6nYUZS16byGX.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*xWsa7iMNjoLWtuls.png" /></figure><blockquote>Answer: allegato_708.js</blockquote><h3><strong>Q3: What is the SHA-256 hash of the malicious file used for initial access?</strong></h3><p>Go to file and select the Export objects and select http and save all second open the terminal and excute the command to get sha256</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*fK7AC448MnQof8qU.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*f_60F1LAemDUg3Vu.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ZRbMyt44SNrsdWtF.png" /></figure><blockquote>Answer: 847b4ad90b1daba2d9117a8e05776f3f902dda593fb1252289538acf476c4268</blockquote><h3><strong>Q4: Which process was used to execute the malicious file?</strong></h3><p>I submitted the <strong>SHA256 hash</strong> to a threat intelligence platform (VirusTotal).</p><p>Then navigated to:</p><ul><li><strong>Behavior → Process and service actions</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*cb2HJ8mzGrDp0Af6.png" /></figure><blockquote><strong>Answer: wscript.exe</strong></blockquote><h3><strong>Q5: What is the file extension of the second malicious file utilized by the attacker?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*gW66AJUArvj6xQTn.png" /></figure><blockquote><strong>Answer: .dll</strong></blockquote><h4>Q6: What is the MD5 hash of the second malicious file?</h4><p>Repeat the steps on the Q3 and save the second file malicous and open the terminal and excute the command md5sum file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*6dp-s184EHOWgiOB.png" /></figure><blockquote><strong>Answer: e758e07113016aca55d9eda2b0ffeebe</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1defcdbf64e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Investigating the 3CX Supply Chain Attack: From MSI to APT Attribution]]></title>
            <link>https://medium.com/@bodi.mansour17/investigating-the-3cx-supply-chain-attack-from-msi-to-apt-attribution-4c7652cc1b83?source=rss-d8908ff48ad6------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c7652cc1b83</guid>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[supply-chain-attack]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <dc:creator><![CDATA[Abdelrhman Mohamed Mansour]]></dc:creator>
            <pubDate>Fri, 17 Apr 2026 21:20:46 GMT</pubDate>
            <atom:updated>2026-04-17T21:25:48.020Z</atom:updated>
            <content:encoded><![CDATA[<h3>Lab Reference</h3><p>This analysis is based on the following CyberDefenders lab:</p><p><a href="https://cyberdefenders.org/blueteam-ctf-challenges/3cx-supply-chain/">https://cyberdefenders.org/blueteam-ctf-challenges/3cx-supply-chain/</a></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>In this lab, I performed a hands-on analysis of the compromised MSI installer, extracted its contents, and investigated the malicious components hidden within. Throughout the process, I focused on identifying key indicators, understanding the techniques used by the attackers, and mapping their behavior to the MITRE ATT&amp;CK framework.</p><p>This write-up walks through the full investigation process, from extracting the installer and analyzing DLL side-loading behavior, to identifying anti-analysis techniques and attributing the attack to a known APT group.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>Before starting the analysis, I calculated the SHA256 hash of the MSI file to uniquely identify the sample and ensure its integrity.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RzgIJP0MPsl6urPae5v5QA.png" /></figure><p>The resulting hash is:</p><blockquote><strong>59e1edf4d82fae4978e97512b0331b7eb21dd4b838b850ba46794d9c7a2c0983</strong></blockquote><h3>Q1 Understanding the scope of the attack and identifying which versions exhibit malicious behavior is crucial for making informed decisions if these compromised versions are present in the organization. How many versions of 3CX running on Windows have been flagged as malware?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*zQwE0An4ZNJE8jckWIQF7g.png" /></figure><p>When I researched the 3CX supply chain attack, I found an official report from Unit42 (Palo Alto Networks):</p><p><a href="https://unit42.paloaltonetworks.com/3cxdesktopapp-supply-chain-attack/">https://unit42.paloaltonetworks.com/3cxdesktopapp-supply-chain-attack/</a></p><p>According to the report, the affected Windows versions are 18.12.407 and 18.12.416. Therefore, the total number of malicious versions is <strong>2</strong>.</p><blockquote><strong>Answer: 2</strong></blockquote><h3><strong><em>Q2 Determining the age of the malware can help assess the extent of the compromise and track the evolution of malware families and variants. What’s the UTC creation time of the </em></strong><strong><em>.msi malware?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*RHBv63vJThv9yPXAPIP_UA.png" /></figure><p>To determine the creation time of the MSI file, I checked its details on VirusTotal.</p><p>According to the VirusTotal analysis, the creation time of the malware is:</p><p><strong>2023–03–13 06:33:26 UTC</strong></p><p>This timestamp represents when the malicious MSI file was originally created.</p><blockquote><strong>ِAnswer : 2023–03–13 06:33</strong></blockquote><h3><strong><em>Q3 Executable files (</em></strong><strong><em>.exe) are frequently used as primary or secondary malware payloads, while dynamic link libraries (</em></strong><strong><em>.dll) often load malicious code or enhance malware functionality. Analyzing files deposited by the Microsoft Software Installer (</em></strong><strong><em>.msi) is crucial for identifying malicious files and investigating their full potential. Which malicious DLLs were dropped by the </em></strong><strong><em>.msi file?</em></strong></h3><p>To identify the malicious DLLs, I began by extracting the MSI file using 7-Zip. After extraction, I discovered that the installer contained an embedded archive named <strong>product.cab</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eWqKhE3FMjXk6OBeyS8JbQ.png" /></figure><p>I focused on the product.cab file because MSI installers typically store their actual application files inside embedded CAB archives. By extracting this archive, I was able to access the real contents of the application, including the DLL files where the malicious payload was located.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*_gHc8CumrzUkAoEbgQs-SA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OV7DYwhiODJlySv16t_9KQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nNOvVPUT19ItGhIOxRPXEA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BneH6ic2JurW072xC2RbcA.png" /></figure><p>After extracting the CAB file, I listed all the DLL files and checked them on VirusTotal. Most of the DLLs appeared to be legitimate system or graphics libraries with no malicious detections.</p><p>However, <strong>ffmpeg.dll</strong> and <strong>d3dcompiler_47.dll</strong> showed suspicious results and were flagged by security vendors. Based on these findings, I identified them as the malicious DLLs dropped by the MSI file.</p><blockquote><strong><em>Answer: ffmpeg.dll,d3dcompiler_47.dll</em></strong></blockquote><h3><strong><em>Q4 Recognizing the persistence techniques used in this incident is essential for current mitigation strategies and future defense improvements. What is the MITRE Technique ID employed by the </em></strong><strong><em>.msi files to load the malicious DLL?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qWvbQu6Dzd6asxPNQLhVXQ.png" /></figure><p>To determine the MITRE Technique ID used by the MSI file, I analyzed the file on VirusTotal and reviewed the “MITRE ATT&amp;CK Tactics and Techniques” section shown in the image.</p><p>From this section, I observed that the technique used is “DLL Side-Loading” under “Hijack Execution Flow”, with the corresponding MITRE ID:</p><p><strong>T1574.002 (DLL Side-Loading)</strong></p><blockquote><strong><em>Answer:T1574</em></strong></blockquote><h3><strong><em>Q5 Recognizing the malware type (</em></strong><strong><em>threat category) is essential to your investigation, as it can offer valuable insight into the possible malicious actions you&#39;ll be examining. What is the threat category of the two malicious DLLs?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W-W-wCCf_UdEelxndqYMTQ.png" /></figure><p>To determine the threat category, I analyzed the malicious DLLs using VirusTotal. The analysis showed multiple classifications, including trojan, PUA, and dropper.</p><p>Among these, the primary threat category is identified as a Trojan, which indicates that the files disguise themselves as legitimate components while executing malicious actions.</p><blockquote><strong><em>Answer:Trojan</em></strong></blockquote><h3><strong><em>Q6 As a threat intelligence analyst conducting dynamic analysis, it’s vital to understand how malware can evade detection in virtualized environments or analysis systems. This knowledge will help you effectively mitigate or address these evasive tactics. What is the MITRE ID for the virtualization/sandbox evasion techniques used by the two malicious DLLs?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*kEzUtxAKRYxvq0EL2xkuuw.png" /></figure><p>To identify the MITRE technique used for virtualization and sandbox evasion, I analyzed the malicious DLL file on VirusTotal.</p><p>In the “MITRE ATT&amp;CK Tactics and Techniques” section, I found that the file is associated with “Virtualization/Sandbox Evasion”.</p><p>The corresponding MITRE ID shown in VirusTotal is:<strong>T1497</strong></p><blockquote>Answer:<strong>T1497</strong></blockquote><h3><strong><em>Q7 When conducting malware analysis and reverse engineering, understanding anti-analysis techniques is vital to avoid wasting time. Which hypervisor is targeted by the anti-analysis techniques in the </em></strong><strong><em>ffmpeg.dll file?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*DOUnn-9jIyGhVEFv7FeELA.png" /></figure><p>To identify the targeted hypervisor, I analyzed the ffmpeg.dll file using the strings command and searched for virtualization-related indicators.</p><p>The output contained references such as “VMware Screen Codec / VMware Video”, which clearly indicates that the malware is checking for VMware environments.</p><p>Therefore, the targeted hypervisor is:<strong>VMware</strong></p><blockquote><strong>Answer: VMware</strong></blockquote><h3><strong><em>Q8 Identifying the cryptographic method used in malware is crucial for understanding the techniques employed to bypass defense mechanisms and execute its functions fully. What encryption algorithm is used by the </em></strong><strong><em>ffmpeg.dll file?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*lN4cPo6Lry7D9l23.png" /></figure><blockquote><strong>Answer: RC4</strong></blockquote><h3><strong><em>Q9 As an analyst, you’ve recognized some TTPs involved in the incident, but identifying the APT group responsible will help you search for their usual TTPs and uncover other potential malicious activities. Which group is responsible for this attack?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YTMsmpPVqdf77sas-3YAyg.png" /></figure><p>To identify the threat actor behind the attack, I researched the 3CX supply chain incident using threat intelligence sources such as Unit42 and other security reports.</p><p>These reports attribute the attack to the Lazarus Group, a well-known advanced persistent threat (APT) group.</p><p>Therefore, the group responsible for this attack is:</p><blockquote><strong><em>ِAnswer: Lazarus Group</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c7652cc1b83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From a Single Scan to Full System Compromise: Deep Technical Breakdown of a Real Attack]]></title>
            <link>https://medium.com/@bodi.mansour17/from-a-single-scan-to-full-system-compromise-deep-technical-breakdown-of-a-real-attack-acca519f9370?source=rss-d8908ff48ad6------2</link>
            <guid isPermaLink="false">https://medium.com/p/acca519f9370</guid>
            <category><![CDATA[mitre-attack]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc]]></category>
            <dc:creator><![CDATA[Abdelrhman Mohamed Mansour]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 18:34:21 GMT</pubDate>
            <atom:updated>2026-04-15T18:34:21.574Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://docs.google.com/forms/d/e/1FAIpQLSePuAgvHT_nnkzceBXSQzP1_CpwAt8cvJF8eJBVo40BJcNnPw/alreadyresponded">https://docs.google.com/forms/d/e/1FAIpQLSePuAgvHT_nnkzceBXSQzP1_CpwAt8cvJF8eJBVo40BJcNnPw/alreadyresponded</a></p><h3>Introduction</h3><p>Cyber attacks are not random events. They follow a structured path where each step enables the next. What may initially appear as harmless activity — such as a spike in network traffic — can quickly escalate into a full system compromise if not properly investigated.</p><p>In this scenario, the attacker progressed through multiple stages: reconnaissance, exploitation, execution, privilege escalation, persistence, defense evasion, data collection, exfiltration, and finally impact.</p><p>Understanding each of these stages in depth is essential for any SOC analyst, not only to detect attacks but also to understand attacker behavior and intent.</p><h3>1. T1595.002 — Active Scanning (Vulnerability Scanning)</h3><h3>Description</h3><p>The first observable sign of the attack was a sudden spike in inbound traffic from a single external IP address. When analysts inspected the HTTP headers, they discovered the following user-agent:</p><p>Mozilla/5.0 (compatible; Nmap Scripting Engine;)</p><p>This user-agent is a strong indicator of <strong>Nmap Scripting Engine (NSE)</strong> usage. Nmap is not just a port scanner — it can actively probe services, detect vulnerabilities, and even attempt exploitation using scripts.</p><p>From an attacker’s perspective, this phase is about answering critical questions:</p><ul><li>Which ports are open?</li><li>What services are running?</li><li>Are there known vulnerabilities associated with these services?</li></ul><p>Instead of blindly attacking, the attacker is <strong>mapping the environment intelligently</strong>.</p><h3>Detection</h3><p>Detecting this stage requires strong visibility at the network level:</p><ul><li>Identify unusual spikes in traffic from a single IP</li><li>Detect repeated connection attempts across multiple ports</li><li>Look for known scanning signatures (like Nmap user-agent)</li><li>Use SIEM correlation rules to identify scanning patterns over time</li></ul><p>A key challenge is that scanning may appear similar to legitimate traffic, especially if done slowly.</p><h3>Prevention</h3><ul><li>Block or rate-limit suspicious IP addresses</li><li>Use IDS/IPS systems to detect scanning behavior</li><li>Disable unnecessary services and close unused ports</li><li>Apply network segmentation to reduce exposure</li></ul><h3>Impact</h3><p>If not detected, the attacker gains a clear map of the environment, identifying exactly where to attack next.<br>This significantly increases the success rate of the next stage.</p><h3>2. Active Scanning (Main Technique)</h3><h3>Description</h3><p>While the previous section focused on a specific sub-technique (vulnerability scanning), the broader technique is <strong>Active Scanning</strong>.</p><p>This means the attacker is directly interacting with the target system instead of passively observing it. This interaction can include:</p><ul><li>Port scanning</li><li>Service probing</li><li>Banner grabbing</li></ul><p>The goal is to build a detailed understanding of the system.</p><h3>Detection</h3><ul><li>Sequential probing across ports or services</li><li>Repeated requests targeting different endpoints</li><li>Patterns indicating enumeration activity</li></ul><h3>Prevention</h3><ul><li>Use intrusion detection systems</li><li>Monitor abnormal connection patterns</li><li>Limit external exposure</li></ul><h3>Impact</h3><p>This phase defines the attacker’s strategy. A well-executed scan can reveal exactly where the system is weakest.</p><h3>3. T1190 — Exploit Public-Facing Application (SQL Injection)</h3><h3>Description</h3><p>After identifying a vulnerable service, the attacker exploited a <strong>SQL Injection vulnerability</strong> in a public-facing web application.</p><p>SQL injection occurs when user input is directly included in database queries without proper validation. This allows attackers to manipulate the query logic.</p><p>For example:</p><ul><li>&#39; OR 1=1 → forces authentication bypass</li><li>UNION SELECT → extracts data from the database</li></ul><p>Instead of interacting with the application normally, the attacker is <strong>communicating directly with the database through the application</strong>.</p><h3>Detection</h3><ul><li>Analyze web logs for SQL-related patterns</li><li>Identify abnormal input in request parameters</li><li>Monitor repeated failed queries or database errors</li><li>Use WAF alerts to detect injection attempts</li></ul><h3>Prevention</h3><ul><li>Use parameterized queries (prepared statements)</li><li>Validate and sanitize all inputs</li><li>Deploy a WAF</li><li>Perform regular security testing</li></ul><h3>Impact</h3><p>This is the <strong>entry point</strong> of the attack.<br>Once successful, the attacker can access data and potentially execute further commands.</p><h3>4. S0225 — sqlmap (Automated Exploitation Tool)</h3><h3>Description</h3><p>The attacker used <strong>sqlmap</strong>, an automated SQL injection tool.</p><p>Instead of manually testing payloads, sqlmap:</p><ul><li>Detects vulnerabilities</li><li>Exploits them automatically</li><li>Extracts database contents</li></ul><p>This transforms the attack from manual effort into an automated process.</p><h3>🛠 Detection</h3><ul><li>High-frequency HTTP requests</li><li>Repetitive payload structures</li><li>Consistent request timing patterns</li></ul><h3>Prevention</h3><ul><li>Rate limiting</li><li>WAF with signature detection</li><li>Monitor abnormal traffic</li></ul><h3>Impact</h3><p>Automation allows attackers to scale attacks and compromise systems much faster.</p><h3>5. T1059.003 — Windows Command Shell (cmd.exe)</h3><h3>Description</h3><p>After gaining access, the attacker executed a <strong>reverse shell</strong> using cmd.exe.</p><p>A reverse shell allows the compromised machine to connect back to the attacker, giving them remote command execution capabilities.</p><p>This is a major turning point:<br>The attacker moves from exploiting a vulnerability → to controlling the system.</p><h3>Detection</h3><ul><li>cmd.exe executed by a web server process</li><li>Event ID 4688 logs</li><li>Suspicious command-line arguments</li></ul><h3>Prevention</h3><ul><li>Restrict command execution</li><li>Monitor process behavior</li><li>Use application control</li></ul><h3>Impact</h3><p>The attacker now has direct control and can run any command on the system.</p><h3>6. Privilege Escalation — Token Impersonation (SeImpersonatePrivilege Abuse)</h3><h3>Description</h3><p>After gaining initial access, attackers are often limited by the privileges of the compromised account. In this scenario, the attacker escalates privileges by abusing <strong>SeImpersonatePrivilege</strong>, a powerful Windows privilege that allows a process to impersonate another user.</p><p>Using the API:<br>ImpersonateLoggedOnUser</p><p>the attacker can take advantage of an already authenticated high-privilege token (e.g., SYSTEM or Administrator) and “act” as that user.</p><p>This technique is commonly used in real-world attacks (e.g., Potato attacks like JuicyPotato), where attackers exploit misconfigurations in Windows services to obtain elevated tokens.</p><p>From an attacker’s perspective:</p><ul><li>Initial access = limited control</li><li>Privilege escalation = full control</li></ul><p>This step is critical because it removes all restrictions.</p><h3>Detection</h3><p>Detecting privilege escalation is challenging because it often uses legitimate system functions:</p><ul><li>Event ID 4672 → Special privileges assigned</li><li>Sudden privilege elevation (user becomes admin unexpectedly)</li><li>Suspicious API calls related to token manipulation</li><li>Processes accessing tokens they normally shouldn’t</li></ul><p>Behavior-based detection is key:<br>A low-privileged process suddenly performing high-privileged actions is highly suspicious.</p><h3>Prevention</h3><ul><li>Apply the <strong>principle of least privilege</strong></li><li>Remove unnecessary privileges like SeImpersonatePrivilege</li><li>Patch known privilege escalation vulnerabilities</li><li>Monitor sensitive API usage and token access</li></ul><h3>Impact</h3><p>Privilege escalation gives the attacker <strong>complete control over the system</strong>.</p><p>At this point, the attacker can:</p><ul><li>Disable security tools</li><li>Modify system configurations</li><li>Access all files</li><li>Persist inside the environment</li></ul><p>This is one of the most dangerous turning points in the attack.</p><h3>7. T1543.003 — Persistence via Windows Service Modification</h3><h3>Description</h3><p>After gaining elevated privileges, the attacker ensures long-term access by modifying a <strong>Windows Service</strong>.</p><p>In this technique, the attacker changes the service’s <strong>ImagePath</strong> so that it points to a malicious executable (e.g., reverse shell). This means:</p><p>Every time the system starts → the malicious payload runs automatically.</p><p>Windows services are trusted components that run in the background, often with high privileges. This makes them an ideal persistence mechanism.</p><p>From an attacker’s perspective:</p><ul><li>Access without persistence = temporary</li><li>Access with persistence = long-term control</li></ul><h3>Detection</h3><p>Persistence through services leaves multiple traces:</p><ul><li>Event ID 7045 → New service installation</li><li>Changes in existing service configuration</li><li>Suspicious service names or unusual executable paths</li><li>Services pointing to uncommon directories (e.g., temp folders)</li></ul><p>A key detection idea:<br>Legitimate services rarely change frequently — unexpected modification is a red flag.</p><h3>Prevention</h3><ul><li>Restrict permissions to create/modify services</li><li>Monitor service-related registry keys</li><li>Use EDR to detect persistence mechanisms</li><li>Audit system changes regularly</li></ul><h3>Impact</h3><p>Persistence ensures the attacker can <strong>return to the system anytime</strong>, even after:</p><ul><li>Reboot</li><li>User logout</li><li>Temporary cleanup</li></ul><p>This makes eradication much harder and increases dwell time.</p><h3>8. T1562.001 — Disable Security Tools (Defense Evasion)</h3><h3>Description</h3><p>Once the attacker gains high privileges and persistence, the next logical step is to remove visibility.</p><p>In this scenario, the attacker disables the <strong>EDR (Endpoint Detection and Response)</strong> system. This is a classic <strong>defense evasion technique</strong>.</p><p>Attackers understand that:<br>“If defenders can’t see me, they can’t stop me.”</p><p>Disabling EDR may involve:</p><ul><li>Stopping security services</li><li>Killing processes</li><li>Modifying configurations</li><li>Using admin privileges to bypass protections</li></ul><p>This step often happens right before major actions like data exfiltration.</p><h3>Detection</h3><p>Detecting defense evasion is critical but tricky:</p><ul><li>Sudden termination of security tools</li><li>Missing logs or telemetry gaps</li><li>Alerts indicating tampering</li><li>Unexpected service stoppage events</li></ul><p>One of the strongest indicators:<br>Security tools going offline unexpectedly.</p><h3>Prevention</h3><ul><li>Enable <strong>EDR tamper protection</strong></li><li>Restrict administrative access</li><li>Monitor health status of security tools</li><li>Configure alerts for service stoppage</li></ul><h3>Impact</h3><p>Disabling security tools creates a <strong>blind spot</strong>.</p><p>After this step:</p><ul><li>Attacker activity is no longer monitored</li><li>Detection becomes extremely difficult</li><li>The attacker can move freely inside the system</li></ul><p>This significantly increases the success rate of the remaining attack stages.</p><h3>9. TA0009 — Collection (Data Staging using ccf32)</h3><h3>Description</h3><p>At this stage, the attacker has already gained full control over the system and is preparing for one of the most critical objectives: <strong>data exfiltration</strong>.</p><p>The presence of a suspicious file named ccf32 indicates that the attacker transferred a custom or unknown binary to the compromised host. This file is likely used for <strong>data collection and staging</strong>.</p><p>Data staging means gathering sensitive information from different parts of the system and organizing it in one place before exfiltration. Instead of sending data directly (which may trigger alerts), attackers often:</p><ul><li>Collect files gradually</li><li>Compress or encrypt them</li><li>Store them temporarily in a staging location</li></ul><p>This behavior reduces noise and helps avoid detection.</p><p>From a SOC perspective, this stage is dangerous because:</p><ul><li>The attacker already has access</li><li>The focus shifts from access → data theft</li></ul><h3>Detection</h3><p>Detecting this stage requires visibility into file activity and system behavior:</p><ul><li>Monitor creation of unknown or uncommon files (like ccf32)</li><li>Detect file access patterns (many files accessed in a short time)</li><li>Identify abnormal file aggregation (e.g., many files copied to one directory)</li><li>Use EDR to track execution of suspicious binaries</li></ul><p>A key indicator is <strong>behavior change</strong> — the system suddenly starts reading or collecting large amounts of data.</p><h3>Prevention</h3><ul><li>Implement file integrity monitoring (FIM)</li><li>Restrict execution of unknown binaries (application control)</li><li>Use endpoint protection to detect suspicious file activity</li><li>Apply least privilege to limit access to sensitive data</li></ul><h3>Impact</h3><p>At this point, the attacker is preparing to steal data.<br>Even if no exfiltration has occurred yet, the organization is already at <strong>high risk of a data breach</strong>.</p><h3>10. M1021 — Restrict Web-Based Content (Preventing Exfiltration via GitHub)</h3><h3>Description</h3><p>After staging the data, the attacker proceeds with <strong>exfiltration</strong> by uploading the collected data to a public GitHub repository.</p><p>This is a very important detail.</p><p>Attackers often avoid using obvious malicious servers. Instead, they use <strong>trusted platforms</strong> such as:</p><ul><li>GitHub</li><li>Google Drive</li><li>Dropbox</li></ul><p>Why?<br>Because traffic to these platforms is usually allowed and considered legitimate.</p><p>This makes detection significantly harder, as the traffic blends with normal user activity.</p><h3>Detection</h3><p>Detecting exfiltration through trusted platforms requires deeper monitoring:</p><ul><li>Monitor outbound connections to external services (e.g., GitHub)</li><li>Detect unusual upload حجم أو timing</li><li>Identify abnormal user behavior (e.g., server uploading data externally)</li><li>Analyze API calls related to file uploads</li></ul><p>One key indicator:<br>A server that normally does not upload data suddenly starts sending large amounts of data externally.</p><h3>Prevention</h3><ul><li>Restrict access to non-approved external services</li><li>Implement Data Loss Prevention (DLP) solutions</li><li>Use proxy filtering and allowlisting</li><li>Monitor outbound traffic at network level</li></ul><h3>Impact</h3><p>This stage results in <strong>actual data loss</strong>.</p><p>Consequences include:</p><ul><li>Exposure of sensitive data</li><li>Legal and compliance issues</li><li>Financial damage</li><li>Loss of customer trust</li></ul><p>This is one of the most critical stages in the attack.</p><h3>11. T1491.002 — Website Defacement (Final Impact Stage)</h3><h3>Description</h3><p>In the final stage, the attacker modifies the organization’s public-facing website to display unauthorized content, often propaganda or attacker messages.</p><p>This is known as <strong>website defacement</strong>, and it represents the <strong>Impact phase</strong> of the attack.</p><p>At this point, the attacker is no longer trying to stay hidden.<br>Instead, they want to:</p><ul><li>Prove they compromised the system</li><li>Damage the organization’s reputation</li><li>Send a message (political, ideological, or personal)</li></ul><p>To achieve this, the attacker modifies web files such as:</p><ul><li>HTML</li><li>PHP</li><li>JavaScript</li></ul><p>This requires sufficient privileges and access to the web server.</p><h3>Detection</h3><p>Detection involves both internal and external monitoring:</p><ul><li>File Integrity Monitoring (detect changes in web files)</li><li>Web server logs showing unauthorized modifications</li><li>Alerts for unexpected administrative actions</li><li>External monitoring detecting visible content changes</li></ul><p>A strong indicator:<br>Website content changes without authorized deployment.</p><h3>Prevention</h3><ul><li>Restrict access to web server directories</li><li>Enforce strong authentication and access control</li><li>Use file integrity monitoring tools</li><li>Regularly patch and secure web applications</li><li>Separate web servers from internal systems (segmentation)</li></ul><h3>Impact</h3><p>Website defacement has a <strong>high visible impact</strong>:</p><ul><li>Immediate reputational damage</li><li>Loss of customer trust</li><li>Public evidence of compromise</li><li>Possible business disruption</li></ul><p>Even if no data is stolen, defacement alone indicates a serious security failure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acca519f9370" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phishing Email Analysis — Investigation Walkthrough]]></title>
            <link>https://medium.com/@bodi.mansour17/phishing-email-analysis-investigation-walkthrough-c2af898a4bc6?source=rss-d8908ff48ad6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2af898a4bc6</guid>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abdelrhman Mohamed Mansour]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 18:24:55 GMT</pubDate>
            <atom:updated>2026-04-13T18:24:55.021Z</atom:updated>
            <content:encoded><![CDATA[<h3>Lab Reference</h3><p><a href="https://docs.google.com/forms/d/e/1FAIpQLSfQ2vHew0OwbzCSPnH54YPLLw4jPfCM5ch4wDUk4j71BKxYsA/viewform">https://docs.google.com/forms/d/e/1FAIpQLSfQ2vHew0OwbzCSPnH54YPLLw4jPfCM5ch4wDUk4j71BKxYsA/viewform</a></p><h3>Q1. Subject of the email</h3><p>I started by reviewing the email body and noticed that the subject line creates urgency and fear to push the user to click on the link.</p><p>Answer:<br> FWD: All unverified accounts will be suspended on 10/30/2022</p><h3>Q2. Return-Path</h3><p>I checked the Return-Path field to understand where replies would be sent and identify the real sender.</p><p>Answer:<br> bounce+31a2a2.6303d-emily.jenkins=potentialsecurity.net@gorgias.io</p><h3>Q3. Actual Return-Path Email</h3><p>I extracted the full Return-Path email address from the header to identify the actual sending address.</p><p>Answer:<br> bounce+31a2a2.6303d-emily.jenkins=potentialsecurity.net@gorgias.io</p><h3>Q4. Sending IP Address</h3><p>I checked the SPF record in the email headers to identify the IP address that sent the email.</p><p>Answer:<br> 143.55.227.147</p><h3>Q5. IP Information (WHOIS)</h3><p>I used a WHOIS lookup tool to gather detailed information about the IP address, including location and ASN.</p><p>Answer (City):<br> San Antonio</p><p>Answer (ASN):<br> AS396479</p><h3>Q6. Sender Domain</h3><p>I returned to the Return-Path and extracted the domain part after the “@”.</p><p>Answer:<br> gorgias.io</p><h3>Q7. Email Authentication</h3><p>I checked the authentication results (SPF, DKIM, DMARC) to verify the legitimacy of the email.</p><p>Answer:<br> SPF: pass<br> DKIM: pass<br> DMARC: fail</p><h3>Q8. SPF Result</h3><p>I reviewed the SPF result in the email authentication section.</p><p>Answer:<br> pass</p><h3>Q9. DKIM Result</h3><p>I checked the DKIM result to confirm message integrity.</p><p>Answer:<br> pass</p><h3>Q10. Email Time</h3><p>I checked the Date field in the email header to determine when the email was sent.</p><p>Answer:<br> 2022/10/31 07:03:57</p><h3>Q11. Domain Expiration</h3><p>I performed a WHOIS lookup to find the domain expiration date.</p><p>Answer:<br> 2030/11/20</p><h3>Q12. VirusTotal Category</h3><p>I analyzed the domain in VirusTotal to identify its classification.</p><p>Answer:<br> onlineshop</p><h3>Q13. Domain Registration Date</h3><p>From WHOIS results, I identified the domain registration date.</p><p>Answer:<br> 2014/11/20</p><h3>Q14. Click Phrase</h3><p>I examined the email content to identify the main call-to-action phrase.</p><p>Answer:<br> Confirm my wallet</p><h3>Q15. First URL</h3><p>I hovered over the link to identify the initial URL.</p><p>Answer:<br> usertest.sciquest.com/apps/Router/ExternalSiteTransition</p><h3>Q16. Redirect URL</h3><p>I analyzed the URL parameters and extracted the final destination.</p><p>Answer:<br> <a href="https://drop-coin-availablenow.site44.com/">https://drop-coin-availablenow.site44.com/</a></p><h3>Q17. VirusTotal Score</h3><p>I checked the URL in VirusTotal to see how many vendors flagged it.</p><p>Answer:<br> 12/95</p><h3>Q18. Associated IPs</h3><p>I reviewed the analysis to determine how many IPs are associated with the URL.</p><p>Answer:<br> 3</p><h3>Q19. MITRE Technique</h3><p>I mapped the behavior to MITRE ATT&amp;CK to identify the attack technique.</p><p>Answer:<br> T1204.001</p><h3>Q20. MITRE Mitigation</h3><p>I identified the mitigation related to IDS/IPS from MITRE ATT&amp;CK.</p><p>Answer:<br> M1031</p><h3>Q21. Second Phrase</h3><p>I reviewed the email source and found another phrase containing the same link.</p><p>Answer:<br> Get Help</p><h3>Q22. Final Verdict</h3><p>After analyzing all indicators, I determined the nature of the email.</p><p>Answer:<br> Yes, this is a True Positive phishing attack because it uses social engineering techniques and contains a malicious redirect link leading to a fake website intended to steal user information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2af898a4bc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Behind the Mask: Uncovering a Fake Amazon Security Alert Phishing Attack]]></title>
            <link>https://medium.com/@bodi.mansour17/behind-the-mask-uncovering-a-fake-amazon-security-alert-phishing-attack-5a24ea40c7c6?source=rss-d8908ff48ad6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a24ea40c7c6</guid>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[phising]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abdelrhman Mohamed Mansour]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 17:00:27 GMT</pubDate>
            <atom:updated>2026-04-13T17:00:27.009Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Phishing Analysis Lab Questions:</strong></h3><p><a href="https://docs.google.com/forms/d/e/1FAIpQLSc01WiqErnbO3qbxDNvmEnhSk3cFLDCIXzVzne6wO86-5D28A/viewform">https://docs.google.com/forms/d/e/1FAIpQLSc01WiqErnbO3qbxDNvmEnhSk3cFLDCIXzVzne6wO86-5D28A/viewform</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_o5dahltUxOXeAen2utSw.png" /></figure><h3>Q1. Identify one strong phishing indicator from the email subject line that reflects attacker intent. What is the exact subject?</h3><h3>Explanation:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*YaLE42L1F4wynZYBh4TB0g.png" /></figure><p>The subject line contains clear social engineering techniques:</p><ul><li><strong>“ACTION REQUEST”</strong> → creates urgency</li><li><strong>“violating our terms”</strong> → creates fear</li></ul><p>This combination pressures the victim to act quickly without verifying the email legitimacy.</p><h3>Answer:</h3><blockquote>[ACTION REQUEST] You have been red flagged for violating our terms</blockquote><h3><strong>Q2. The attacker attempts to impersonate a trusted brand. What email identity is presented to the user?</strong></h3><h3>Explanation:</h3><p>The attacker uses a trusted brand name “Amazon Help Center” to deceive the user.<br> However, the actual email domain is different from Amazon’s official domain.</p><h3>Header Evidence:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0p-gmvTX-cRh298Qy_MJcQ.png" /></figure><p>The domain <strong>fareast.com.sg</strong> is not related to Amazon → this confirms impersonation.</p><h3>Answer:</h3><p>amz@fareast.com.sg</p><h3><strong>Q3. While analyzing the email path, determine the origin of the message. What IP should be considered the true sending source?</strong></h3><h3>Explanation:</h3><p>To find the real sender, we check the earliest “Received” header entry.<br> This reveals the actual source of the email.</p><h3>Header Evidence:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*apGrb8SYnzsfnmXbiwcTvw.png" /></figure><h3>Answer:</h3><p>77.32.148.40</p><h3><strong>Q4. During transmission, attackers often rely on third-party infrastructure. What domain was used during the SMTP handshake (HELO/EHLO)?<br>“”SMTP HELO/EHLO is the first massage was sent between two servers before transfer an email””</strong></h3><h3>Explanation:</h3><p>The HELO value represents the identity the sending server uses during SMTP communication.</p><h3>Header Evidence:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kr3uTNA0uianiYlTAiXseQ.png" /></figure><h3>Answer:</h3><p>hn.d.sender-sib.com</p><h3><strong>Q5. Based on infrastructure indicators, identify the country name that generates this attack.</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*iS1E-48ge43MTMwI8XWuYg.png" /></figure><h3>Answer:</h3><p>France</p><h3><strong>Q6. Despite appearing legitimate, analyze whether the sending server is authorized. What is the SPF verdict?</strong></h3><h3>Explanation:</h3><p>SPF checks whether the sending server is authorized to send emails on behalf of a domain.<br> Even if it passes, attackers can still abuse legitimate services.</p><h3>Header Evidence:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DKh_OzudK5s28NFjVjt93w.png" /></figure><h3>Answer:</h3><p>pass</p><h3><strong>Q7. Verify message integrity using cryptographic signatures. What is the DKIM result?</strong></h3><h3>Explanation:</h3><p>DKIM ensures the email content was not altered in transit.<br> However, it does not guarantee the email is legitimate.</p><h3>Header Evidence:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hx8FfvHoMwMyHgv6nh_yKQ.png" /></figure><h3>Answer:</h3><p>pass</p><h3><strong>Q8. Evaluate domain alignment policy. What is the DMARC result?</strong></h3><h3>Explanation:</h3><p>DMARC checks alignment between the sender domain and authentication results.<br> A failure indicates domain mismatch, which is a strong phishing indicator.</p><h3>Header Evidence:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*63qynax-ZWLh_i13Uvelqw.png" /></figure><h3>Answer:</h3><p>fail</p><h3><strong>Q9. Using threat intelligence, determine the network name typically associated with this infrastructure.</strong></h3><h3>Explanation:</h3><p>WHOIS lookup shows that the IP belongs to Mailinblue (Sendinblue) infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*DbvURhhsMFoTMG4uioVs1Q.png" /></figure><h3>Answer:</h3><p>FR-MAILINBLUE-20061213</p><h3><strong>Q10. When tracing bounce handling, what return domain reveals the actual sending infrastructure?</strong></h3><h3>Explanation:</h3><p>The Return-Path shows where bounce messages are sent.<br> This often reveals the real sending infrastructure.</p><h3>Header Evidence:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zSNUPm-9uNObI0ClqXSppQ.png" /></figure><h3>Answer:</h3><p>hn.d.sender-sib.com</p><h3><strong>Q11. Using ASN/IP intelligence, determine the organization name (ISN) typically associated with this infrastructure</strong></h3><p><strong>FROM WHOIS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*uGTQ5XUyJ4FO5ESRvyk9cQ.png" /></figure><h3>Answer:</h3><p>Sendinblue SAS</p><h3><strong>Q12. During email analysis, identifying the exact time a message was processed by security infrastructure can help in timeline reconstruction. Extract the original arrival timestamp of this email based on 12 hour system.</strong></h3><p><strong>I SHEARCHED ABOUT DATE IN E-MAIL HEADER :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TYPqP6r1G_dHam_wAMP6fg.png" /></figure><p><strong>The timestamp in the header is in 24-hour format and must be converted<br>00:43 → 12:43 AM</strong></p><h3>Answer:</h3><p>2023/12/15 12:43:28 AM</p><h3><strong>Q13. Instead of directly embedding malicious domains, attackers often use tracking/redirection layers. Identify the main domain used for this purpose.</strong></h3><h3>Explanation:</h3><p>The email uses a tracking domain to hide the real destination and monitor user interaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q9bpZ46WhLoTG74-nwOkrw.png" /></figure><h3>Answer:</h3><p>sendibt3.com</p><h3><strong>Q14. What phishing sub-technique name ?</strong></h3><h3>Explanation:</h3><p>The attack uses links instead of attachments to deliver malicious content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2HnzyFTRNJhGox5bK_evEA.png" /></figure><h3>Answer:</h3><p>Phishing via Link (T1566.002)</p><h3><strong>Q15. From content and branding, which organization is being impersonated?</strong></h3><h3>Explanation:</h3><p>The content clearly imitates Amazon branding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKaCpqoBtyQ5-Mb753o71w.jpeg" /></figure><h3>Answer:</h3><p>Amazon</p><h3><strong>Q16. Identify the value (code) used to simulate legitimacy and urgency within the email body.</strong></h3><h3>Explanation:</h3><p>The attacker includes a fake code to simulate legitimacy and urgency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nQx-oqDt3B4WTiIMCOFskQ.png" /></figure><h3>Answer:</h3><p>EWK1DOOSJ982</p><h3><strong>Q17. According to MITRE ATT&amp;CK, Which software name associated with this sub-technique there contributors are Arie Olshtein, Check Point; Kobi Eisenkraft, Check Point ?</strong></h3><h3>Explanation:</h3><p>The phishing technique is associated with credential harvesting malware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*UzbFnxX1haINnfKIr_TdOw.png" /></figure><h3>Answer:</h3><p>Pony</p><h3><strong>Q18. Identify a hidden image used by attackers to track user interaction with the email, type the path of this image.</strong></h3><p><strong>A hidden 1x1 pixel image is used to track when the email is opened.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mw1yMUhy6xivjZGKbiSF7Q.png" /></figure><h3>Answer:</h3><p><a href="https://chdgiei.r.bh.d.sendibt3.com/im/2736848/efa8fa6d687f584a84b74f518d42f2b14e8b9491f2385af03a9162e0f4bc506f.jpg">https://chdgiei.r.bh.d.sendibt3.com/im/2736848/efa8fa6d687f584a84b74f518d42f2b14e8b9491f2385af03a9162e0f4bc506f.jpg</a></p><h3><strong>Q19. Identify a hidden gif used by attackers to track user interaction with the email, type the path of this gif.</strong></h3><h3>Explanation:</h3><p>Another hidden image (GIF) is used for tracking user interaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZjTocWZRqqO0Zh42ila3w.png" /></figure><p>Answer:</p><p><a href="https://chdgiei.r.bh.d.sendibt3.com/im/2736848/4a8f10aadc4f0604542a2bd40dc49eafb457671PbWWqgKDBDorh525uecKaGZD21FGSoCeR.gif">https://chdgiei.r.bh.d.sendibt3.com/im/2736848/4a8f10aadc4f0604542a2bd40dc49eafb457671PbWWqgKDBDorh525uecKaGZD21FGSoCeR.gif</a></p><h3><strong>Q22. Map this attack to MITRE ATT&amp;CK. What is the main technique ID?</strong></h3><h3>Explanation:</h3><p>The attack falls under phishing in MITRE ATT&amp;CK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BWVK2QLctRXkvi-3SRMuMQ.png" /></figure><h3>Answer:</h3><p>T1566</p><h3>Q23. Identify a mitigation strategy focused on increase awareness level.</h3><h3>Explanation:</h3><p>Increasing user awareness is done through training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z0ZdLwpP6OPKSefCCNKBNQ.png" /></figure><h3>Answer:</h3><p>M1017</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a24ea40c7c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>