<?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"><channel><title><![CDATA[Abdelwahab A. Shandy 🦅]]></title><description><![CDATA[Cybersecurity Intern | SOC Analyst & Engineering | DFIR | Detection Engineering | ISC2 CC | CCEP]]></description><link>https://abdelwahabshandy.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 07:33:40 GMT</lastBuildDate><atom:link href="https://abdelwahabshandy.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Lespion Lab – Threat Intelligence Investigation Report]]></title><description><![CDATA[Lespion Lab
Lab: https://cyberdefenders.org/blueteam-ctf-challenges/lespion/
Case Overview
In this lab, you will take the role of a Threat Intelligence Analyst or Digital Forensics Investigator tasked]]></description><link>https://abdelwahabshandy.hashnode.dev/Lespion-Lab-Report</link><guid isPermaLink="true">https://abdelwahabshandy.hashnode.dev/Lespion-Lab-Report</guid><category><![CDATA[cyberdefenders]]></category><category><![CDATA[threat intelligence]]></category><category><![CDATA[google image search]]></category><dc:creator><![CDATA[Abdelwahab A. Shandy 🦅]]></dc:creator><pubDate>Tue, 10 Mar 2026 00:19:06 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/581034c9-d4dc-4c66-8e6f-40a7a1026c73.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1>Lespion Lab</h1>
<p>Lab: <a href="https://cyberdefenders.org/blueteam-ctf-challenges/lespion/">https://cyberdefenders.org/blueteam-ctf-challenges/lespion/</a></p>
<h2>Case Overview</h2>
<p>In this lab, you will take the role of a <strong>Threat Intelligence Analyst</strong> or <strong>Digital Forensics Investigator</strong> tasked with investigating a security incident within a company whose network was compromised and taken offline.</p>
<p>Initial investigations revealed that the attack was carried out through <strong>a single user account inside the organization</strong>, which indicates a potential <strong>Insider Threat</strong>.</p>
<p>The goal of this investigation is to:</p>
<ul>
<li><p>Identify the insider responsible for the attack</p>
</li>
<li><p>Analyze their digital activity</p>
</li>
<li><p>Link different online accounts belonging to the suspect</p>
</li>
<li><p>Identify geographic locations related to the investigation</p>
</li>
</ul>
<p>The investigation will rely on <strong>OSINT (Open Source Intelligence)</strong> techniques using tools such as:</p>
<ul>
<li><p>Google Image Search</p>
</li>
<li><p>Google Maps</p>
</li>
<li><p>Sherlock <em>(in this investigation, I relied mainly on Google searches)</em></p>
</li>
</ul>
<hr />
<h1>Step 1 – Finding the Exposed API Key</h1>
<h3>Question</h3>
<p>What API key did the insider add to his GitHub repositories?</p>
<p>The investigation started by analyzing the user's <strong>GitHub repositories</strong>.</p>
<p>GitHub Profile: <code>https://github.com/EMarseille99</code></p>
<p>Several repositories were found.</p>
<p>To check if any <strong>API keys were exposed</strong>, I used <strong>GitHub search</strong> with the following query:</p>
<pre><code class="language-plaintext">owner:EMarseille99 EMarseille99 API Key
</code></pre>
<p>The key was found inside the file:</p>
<pre><code class="language-plaintext">Project-Build---Custom-Login-Page/Login Page.js
</code></pre>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/56374783-a3e3-49ca-8d4e-133d8b036438.png" alt="" style="display:block;margin:0 auto" />

<p>Code snippet:</p>
<pre><code class="language-plaintext">API Key = aJFRaLHjMXvYZgLPwiJkroYLGRkNBW
</code></pre>
<p><strong>Answer:</strong>  </p>
<p>aJFRaLHjMXvYZgLPwiJkroYLGRkNBW</p>
<hr />
<h1>Step 2 – Discovering the Exposed Password</h1>
<h3>Question</h3>
<p>What plaintext password did the insider add to his GitHub repositories?</p>
<p>I searched the repositories again using:</p>
<pre><code class="language-plaintext">owner:EMarseille99 EMarseille99 password
</code></pre>
<p>The following code snippet was discovered:</p>
<pre><code class="language-plaintext">&lt;div class="wrap-input100 validate-input"&gt;
Username: EMarseille99
&lt;/div&gt;

&lt;div class="wrap-input100 validate-input"&gt;
Password: UGljYXNzb0JhZ3VldHRlOTk=
Password(base64)
&lt;/div&gt;
</code></pre>
<p>The password appears to be encoded using <strong>Base64</strong>:</p>
<pre><code class="language-plaintext">UGljYXNzb0JhZ3VldHRlOTk=
</code></pre>
<p>To decode it, I used <strong>CyberChef</strong>.</p>
<p>After decoding, the plaintext password is:</p>
<pre><code class="language-plaintext">PicassoBaguette99
</code></pre>
<p><strong>Answer:</strong>  </p>
<p>PicassoBaguette99</p>
<hr />
<h1>Step 3 – Cryptocurrency Mining Tool</h1>
<h3>Question</h3>
<p>What cryptocurrency mining tool did the insider use?</p>
<p>To be honest, I am not deeply familiar with cryptocurrency mining tools. However, by reviewing the repositories in the user's GitHub profile, I found a repository named:</p>
<pre><code class="language-plaintext">xmrig
</code></pre>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/6228c408-43a9-4cd9-b0be-72fc2ca78611.png" alt="" style="display:block;margin:0 auto" />

<p>This is a <strong>well-known cryptocurrency mining tool</strong>.</p>
<p><strong>Answer:</strong> <code>XMRig</code></p>
<hr />
<h1>Step 4 – Gaming Platform Account</h1>
<h3>Question</h3>
<p>On which gaming website did the insider have an account?</p>
<p>Using Google search:</p>
<pre><code class="language-plaintext">"gaming website" EMarseille99
</code></pre>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/1b72d36a-726a-47fa-8a80-92bdc9a4173d.png" alt="" style="display:block;margin:0 auto" />

<pre><code class="language-plaintext">gaming EMarseille99
</code></pre>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/2a1b03fb-570c-435d-b259-ebdae30e8479.png" alt="" style="display:block;margin:0 auto" />

<p>I discovered the following profile: <a href="https://steamcommunity.com/id/emarseille99/">https://steamcommunity.com/id/emarseille99/</a></p>
<p>Platform: <strong>Steam</strong></p>
<p><strong>Answer:</strong> <code>Steam</code></p>
<hr />
<h1>Step 5 – Instagram Profile</h1>
<h3>Question</h3>
<p>What is the link to the insider Instagram profile?</p>
<pre><code class="language-sh">Instagram profile EMarseille99
</code></pre>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/d1c7459f-06a1-4e71-ae69-9e075b53453c.png" alt="" style="display:block;margin:0 auto" />

<p>By searching for the username, the following account was found:</p>
<p><a href="https://www.instagram.com/emarseille99/">https://www.instagram.com/emarseille99/</a></p>
<p>Platform: <strong>Instagram</strong></p>
<p><strong>Answer :</strong> <code>https://www.instagram.com/emarseille99/</code></p>
<p>However, let me be honest for a moment.</p>
<p>If someone is using the <strong>same profile picture across multiple accounts</strong>, why not use <strong>Reverse Image Search</strong>?</p>
<p>I went to : <a href="https://images.google.com/">https://images.google.com/</a></p>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/ab611920-b421-4574-9382-0f3fe9ecbdd1.png" alt="" style="display:block;margin:0 auto" />

<p>Then searched using the same image, which revealed multiple accounts linked to the same person.</p>
<hr />
<h1>Step 6 – Holiday Location</h1>
<h3>Question</h3>
<p>Which country did the insider visit on her holiday?</p>
<p>After analyzing the images posted on the Instagram account and performing <strong>Google Reverse Image Search</strong>, the location appeared to be: <code>Singapore</code></p>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/d7f82ad8-b397-45e6-a804-a365d208b349.png" alt="" style="display:block;margin:0 auto" />

<h3>A small tip</h3>
<p>If you rely entirely on <strong>AI tools for investigations</strong>, you might easily get lost.</p>
<p>It is always better to:</p>
<ul>
<li><p>Think first</p>
</li>
<li><p>Investigate manually</p>
</li>
<li><p>Ask AI only when you get stuck</p>
</li>
</ul>
<p>Do not rely on it completely.</p>
<hr />
<h1>Step 7 – Insider Family Location</h1>
<h3>Question</h3>
<p>Which city does the insider family live in?</p>
<p>One of the images appeared to contain useful information.</p>
<p>I downloaded the image directly from the browser using the following method:</p>
<ol>
<li><p>Open the image on Instagram</p>
</li>
<li><p>Press <strong>F12</strong></p>
</li>
<li><p>Select <strong>Inspect</strong></p>
</li>
<li><p>Search for <strong>.jpg</strong></p>
</li>
<li><p>Copy the image URL</p>
</li>
</ol>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/b4759fe3-166c-4105-b80f-156e4da79475.png" alt="" style="display:block;margin:0 auto" />

<p>Then download it:</p>
<pre><code class="language-plaintext">curl -L "IMAGE_URL" -o image.jpg
</code></pre>
<p>After analyzing the image, I noticed the <strong>flag of the United Arab Emirates</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/a2d1ec4c-4091-4e7c-9830-d94c7085e29d.png" alt="" style="display:block;margin:0 auto" />

<p>Therefore, the answer is: <code>Dubai</code></p>
<h3>Important note</h3>
<p>Instagram removes most <strong>metadata</strong> from uploaded images, including:</p>
<ul>
<li><p>GPS location</p>
</li>
<li><p>Camera model</p>
</li>
<li><p>Date taken</p>
</li>
</ul>
<p>Therefore, even if you use a tool such as:</p>
<pre><code class="language-plaintext">exiftool image.jpg
</code></pre>
<p>You will most likely not find useful location information.</p>
<hr />
<h1>Step 8 – Company Office Location</h1>
<h3>Question</h3>
<p>File -&gt; office.jpg</p>
<p>Which city is the company located in?</p>
<p>Using: <a href="https://images.google.com">https://images.google.com</a></p>
<img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/ccf164a9-de7d-4730-92e5-21e015ceb533.png" alt="" style="display:block;margin:0 auto" />

<p>I performed a <strong>Reverse Image Search</strong> on the image.</p>
<p><strong>The result indicated the location:</strong> <code>Birmingham</code></p>
<hr />
<h1>Step 9 – IP Camera Location</h1>
<h3>Question</h3>
<p>Which state is this camera in?</p>
<p>The camera image was analyzed using:</p>
<ul>
<li><p>Google Images :</p>
</li>
<li><img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/ff591bcf-d517-48be-8d66-2967443f9f3e.png" alt="" style="display:block;margin:0 auto" />
</li>
<li><p>or</p>
</li>
<li><p><a href="https://yandex.com/images">https://yandex.com/images :</a></p>
</li>
<li><img src="https://cdn.hashnode.com/uploads/covers/6818af9138f2fe3fd39e195e/3e2f29f4-bbaa-4f33-8cfb-7618aff21558.png" alt="" style="display:block;margin:0 auto" /></li>
</ul>
<p><strong>The results indicated the location:</strong> <code>Indiana</code></p>
<hr />
<h1>Conclusion</h1>
<p>This lab demonstrates how <strong>OSINT techniques</strong> can be used to analyze a person's online presence and connect multiple accounts and activities together.</p>
<p>During the investigation, we discovered:</p>
<ul>
<li><p>An exposed <strong>API Key on GitHub</strong></p>
</li>
<li><p>A <strong>Base64‑encoded password</strong></p>
</li>
<li><p>A <strong>Steam account</strong></p>
</li>
<li><p>An <strong>Instagram account</strong></p>
</li>
<li><p>The insider's <strong>holiday location</strong></p>
</li>
<li><p>The <strong>family location</strong></p>
</li>
<li><p>The <strong>company office location</strong></p>
</li>
<li><p>The <strong>IP camera location</strong></p>
</li>
</ul>
<p>All of this information was gathered <strong>using only open-source intelligence from the internet</strong>.  </p>
<hr />
<p>Here we have reached the correct conclusion in the end .</p>
<p>Here we are done, see you in other reports…!</p>
<p>See you later, bro</p>
]]></content:encoded></item><item><title><![CDATA[When RAM Isn’t Enough (How Swap and Pagefile Keep Your Systems Stable)]]></title><description><![CDATA[1️⃣ Introduction
In the world of virtualization and system administration, RAM (Random Access Memory) is the most valuable currency. But what happens when this currency runs out while running heavy labs or multiple virtual machines (VMs) simultaneous...]]></description><link>https://abdelwahabshandy.hashnode.dev/when-ram-isnt-enough-how-swap-and-pagefile-keep-your-systems-stable</link><guid isPermaLink="true">https://abdelwahabshandy.hashnode.dev/when-ram-isnt-enough-how-swap-and-pagefile-keep-your-systems-stable</guid><category><![CDATA[Pagefile]]></category><category><![CDATA[Linux]]></category><category><![CDATA[swap]]></category><category><![CDATA[virtualization]]></category><dc:creator><![CDATA[Abdelwahab A. Shandy 🦅]]></dc:creator><pubDate>Sat, 24 Jan 2026 13:15:29 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1769260208426/0d88e5a0-1f15-4f99-ba61-c0e4ccffe239.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-1-introduction">1️⃣ Introduction</h2>
<p>In the world of virtualization and system administration, <strong>RAM (Random Access Memory)</strong> is the most valuable currency. But what happens when this currency runs out while running heavy labs or multiple virtual machines (VMs) simultaneously?</p>
<p>This is where the <strong>unsung hero</strong> comes in: <strong>Swap in Linux</strong> and <strong>Pagefile in Windows</strong>.</p>
<p>These technologies are part of <strong>Virtual Memory</strong>, which is not just extra space—it’s the last line of defense that protects your host machine and VMs from sudden crashes. In this article, we’ll dive deep to understand how Swap and Pagefile work, when they kick in to save the day, and how to balance performance and stability to keep your “tech lab” running smoothly without bottlenecks.</p>
<hr />
<h2 id="heading-2-what-are-swap-amp-pagefile">2️⃣ What Are Swap &amp; Pagefile?</h2>
<p>Simply put, <strong>Swap</strong> and <strong>Pagefile</strong> are reserved spaces on your hard drive (HDD or SSD) that the operating system uses as additional RAM when physical memory runs low.</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>System</td><td>Type of Swap/Pagefile</td><td>Notes</td></tr>
</thead>
<tbody>
<tr>
<td>Linux</td><td>Swap Partition or Swap File</td><td>Highly flexible and can be controlled via Swappiness</td></tr>
<tr>
<td>Windows</td><td>pagefile.sys</td><td>Managed dynamically to store inactive data</td></tr>
</tbody>
</table>
</div><h3 id="heading-how-do-they-work">How Do They Work?</h3>
<p>When RAM usage is high, the system moves <strong>inactive data</strong> from RAM to Swap/Pagefile to free up space for active processes.</p>
<blockquote>
<p><strong>Practical analogy:</strong><br />RAM = your desk for working<br />Swap/Pagefile = desk drawer for storing papers you aren’t currently using<br />When needed, the paper is brought back to the desk so work continues smoothly.</p>
</blockquote>
<hr />
<h2 id="heading-3-when-does-swappagefile-activate">3️⃣ When Does Swap/Pagefile Activate?</h2>
<h3 id="heading-1-memory-pressure">1️⃣ Memory Pressure</h3>
<p>The system looks for “cold data” and moves it to Swap to free up RAM for hot (active) processes.</p>
<h3 id="heading-2-swappiness-in-linux">2️⃣ Swappiness in Linux</h3>
<ul>
<li><p><strong>0–20:</strong> Use RAM first; Swap is the last resort</p>
</li>
<li><p><strong>60–100:</strong> System uses Swap early, even before RAM is exhausted</p>
</li>
</ul>
<blockquote>
<p><strong>Tip:</strong> For heavy labs, use a low value (10–20) for better performance.</p>
</blockquote>
<h3 id="heading-3-automatic-windows-management">3️⃣ Automatic Windows Management</h3>
<p>Windows monitors <strong>Commit Charge</strong> and starts moving inactive data to the Pagefile even if there is still free RAM.</p>
<h3 id="heading-4-the-100-ram-myth">4️⃣ The 100% RAM Myth</h3>
<p>The system doesn’t wait for RAM to be completely full. Swap/Pagefile may start being used earlier to prevent sudden system shocks.</p>
<hr />
<h2 id="heading-4-effects-of-modifying-swappagefile">4️⃣ Effects of Modifying Swap/Pagefile</h2>
<h3 id="heading-on-the-host">On the Host</h3>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Pros ✅</td><td>Cons ❌</td></tr>
</thead>
<tbody>
<tr>
<td>Crash protection (BSOD / Kernel Panic)</td><td>Slower performance under heavy use (Disk Thrashing)</td></tr>
<tr>
<td>More flexibility for VMs</td><td>Consumes storage space</td></tr>
<tr>
<td>Stable performance under pressure</td><td>Long-term SSD wear</td></tr>
</tbody>
</table>
</div><h3 id="heading-on-the-vms">On the VMs</h3>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Pros ✅</td><td>Cons ❌</td></tr>
</thead>
<tbody>
<tr>
<td>Run heavy VMs without killing processes</td><td>Latency</td></tr>
<tr>
<td>Supports multitasking (multiple VMs)</td><td>Not a replacement for sufficient RAM</td></tr>
<tr>
<td>Protects VMs from memory exhaustion</td><td>May affect other VMs under heavy Disk I/O</td></tr>
</tbody>
</table>
</div><hr />
<h2 id="heading-5-best-practices">5️⃣ Best Practices</h2>
<h3 id="heading-linux">🐧 Linux</h3>
<ul>
<li><p><strong>Swap Size:</strong></p>
<ul>
<li><p>RAM &lt; 16GB → Swap = RAM</p>
</li>
<li><p>RAM ≥ 32GB → Swap ≈ 0.5 × RAM</p>
</li>
</ul>
</li>
<li><p><strong>Swappiness:</strong> Prefer 10–20 for heavy labs</p>
</li>
<li><p><strong>Monitoring:</strong> <code>htop</code> or <code>free -h</code></p>
</li>
</ul>
<h3 id="heading-windows">🪟 Windows</h3>
<ul>
<li><p><strong>Initial size:</strong> 25–50% of RAM</p>
</li>
<li><p><strong>Maximum size:</strong> 1.5 × RAM</p>
</li>
<li><p><strong>Tip:</strong> Place the Pagefile on a fast SSD to reduce latency</p>
</li>
</ul>
<hr />
<h2 id="heading-6-practical-setup">6️⃣ Practical Setup</h2>
<h3 id="heading-windows-1">🪟 Windows</h3>
<pre><code class="lang-bash">1. Windows + R → sysdm.cpl → Advanced → Performance → Settings → Advanced → Virtual Memory → Change
2. Disable <span class="hljs-string">"Automatically manage paging file size for all drives"</span>
3. Custom Size: Initial = 0.5 × RAM, Maximum = 1.5 × RAM → Set → OK
4. Restart to apply changes
</code></pre>
<blockquote>
<p>Tip: For heavy labs like SIEM/ELK, place the Pagefile on a fast SSD and keep the maximum size at least 16GB.</p>
</blockquote>
<h3 id="heading-linux-debian">🐧 Linux (Debian)</h3>
<pre><code class="lang-bash"><span class="hljs-comment"># Temporarily disable Swap</span>
sudo swapoff /swap.img

<span class="hljs-comment"># Expand size to 16GB</span>
sudo fallocate -l 16G /swap.img

<span class="hljs-comment"># Set permissions</span>
sudo chmod 600 /swap.img

<span class="hljs-comment"># Reinitialize Swap</span>
sudo mkswap /swap.img

<span class="hljs-comment"># Enable Swap</span>
sudo swapon /swap.img

<span class="hljs-comment"># Verify</span>
free -h
</code></pre>
<ul>
<li><p><strong>Temporarily adjust Swappiness:</strong> <code>sudo sysctl vm.swappiness=10</code></p>
</li>
<li><p><strong>Permanent adjustment:</strong> add <code>vm.swappiness=10</code> to <code>/etc/sysctl.conf</code></p>
</li>
</ul>
<hr />
<h2 id="heading-7-monitoring">7️⃣ Monitoring</h2>
<div class="hn-table">
<table>
<thead>
<tr>
<td>System</td><td>Tools</td><td>What to Monitor</td></tr>
</thead>
<tbody>
<tr>
<td>Linux</td><td><code>htop</code>, <code>swapon --show</code></td><td>Swap usage &amp; RAM pressure</td></tr>
<tr>
<td>Windows</td><td>Task Manager → Memory → Commit (MB)</td><td>Ensure Commit &lt; RAM + Pagefile</td></tr>
</tbody>
</table>
</div><hr />
<h2 id="heading-8-conclusion">8️⃣ Conclusion</h2>
<ul>
<li><p><strong>Irreplaceable protection:</strong> Swap and Pagefile are the safety valves for the host and VMs.</p>
</li>
<li><p><strong>Balance is key:</strong> Enough emergency space with smart settings like Swappiness = 20.</p>
</li>
<li><p><strong>Continuous monitoring:</strong> Track Commit Charge or Swapon during heavy lab workloads.</p>
</li>
<li><p><strong>Fast storage:</strong> Place virtual memory on SSD/NVMe to avoid slow performance.</p>
</li>
</ul>
<blockquote>
<p><strong>Practical takeaway:</strong> Virtual memory may not be used every day, but it can be the difference between completing your lab successfully or experiencing a system crash and data loss.</p>
</blockquote>
]]></content:encoded></item><item><title><![CDATA[Collection of CTF challenges, hands-on and cybersecurity articles]]></title><description><![CDATA[SIEM Home LAB :

This training program is designed to build a complete, fully functional security operations center (SOC) environment from scratch. We will install and configure a Security Information and Event Management (SIEM) system (ELK Stack) an...]]></description><link>https://abdelwahabshandy.hashnode.dev/collection-of-ctf-challenges-hands-on-and-cybersecurity-articles</link><guid isPermaLink="true">https://abdelwahabshandy.hashnode.dev/collection-of-ctf-challenges-hands-on-and-cybersecurity-articles</guid><category><![CDATA[SIEM Home LAB]]></category><category><![CDATA[penetration testing]]></category><category><![CDATA[malware analysis]]></category><category><![CDATA[Digital Forensics]]></category><category><![CDATA[windows server]]></category><category><![CDATA[Linux]]></category><category><![CDATA[CTF Writeup]]></category><category><![CDATA[network security]]></category><dc:creator><![CDATA[Abdelwahab A. Shandy 🦅]]></dc:creator><pubDate>Sun, 18 Jan 2026 08:40:24 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1768725293060/71475384-4a65-4f45-949a-35efcc611b9a.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-siem-home-lab">SIEM Home LAB :</h1>
<blockquote>
<p>This training program is designed to build a complete, fully functional security operations center (SOC) environment from scratch. We will install and configure a Security Information and Event Management (SIEM) system (ELK Stack) and integrate it with a Security Orchestration, Automation, and Response (SOAR) platform (n8n). We will also use Winlogbeat and Fluent Bit to collect and transform event logs from various devices and send them to the SIEM platform for analysis.</p>
</blockquote>
<p><a target="_blank" href="https://sec-lab-notes.hashnode.space/abdelwahabshandy-notes/siem-home-lab/pre-lab-overview">Pre-Lab Overview</a></p>
<blockquote>
<p>Some of the initial labs in Detection Engineering :</p>
</blockquote>
<p>DETECTION EGNINEERING - Intro</p>
<hr />
<h1 id="heading-netowork-security-labs-and-ctf">Netowork Security Labs And CTF :</h1>
<h2 id="heading-labs">Labs :</h2>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e989396ff6a5ce9b73a6f8">Detect NMAP Scan Using Snort</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e989866178b1b4c9631b32">A Mock Lab on Ubuntu to Practice Setting Up a Web Server + WAF (Nginx + ModSecurity)</a></p>
</li>
</ul>
<h2 id="heading-ctfs">CTFs:</h2>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee553048423a7ee7232680">Psexec-Hunt Pcapng</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5587e66ed6a3343040f0">Suspicious File Download (Fake Google Authenticator)</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee55cb764272ae26972029">Examining PCAPs and Emails to Identify Malware Infection</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee567d94ce1453860d7969">HawkEye Blue Team Challenge</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6eea79c76dd84c4f39a3">ARP Storm : CyberTalents</a></p>
</li>
</ul>
<hr />
<h1 id="heading-linux-labs-ans-ctfs">Linux Labs Ans CTFs:</h1>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e98adf74308dda1f0cab19">OverTheWire : Bandit Level 0 ToBandit Level 10</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e98bab2fb15bfc72ae4eb4">Bandit Level 10 To Level 20</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e98c3eba87be83be182286">Bandit Level 20 To Level 23</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6255cc60e8787724cd25">Leviathan (Linux)</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee629917b2e4102dfb169e">Leviathan : level 0</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee634734b9b7534e9d470a">Leviathan Level 0 → Level 1</a></p>
</li>
</ul>
<hr />
<h1 id="heading-windows-server-labs-and-review">Windows Server Labs And Review :</h1>
<p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/69056a058b8b4fb780b17ffb">Login Protocols(NTLM vs Kerberos)</a></p>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/6905666a2da4ebe7c6ad5a7a">THM AD</a> :</p>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/6905694e13ac8fc85bfbc21b">Active Directory Basics</a></p>
</li>
<li><p><a target="_blank" href="http://1.Windows">1.Windows</a> <a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/690566aa3a6d502efbc28abc">Fundamentals 1</a></p>
</li>
<li><p><a target="_blank" href="http://2.Windows">2.Windows</a> <a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/690567d6cf335f48cba6f837">Fundamentals 2</a></p>
</li>
<li><p><a target="_blank" href="http://3.Windows">3.Windows</a> <a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/6905688f13ac8fc85bfbc213">Fundamentals 3</a></p>
</li>
</ul>
</li>
</ul>
<hr />
<h1 id="heading-soc-general">Soc General :</h1>
<h2 id="heading-siem">SIEM :</h2>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6c6dcf6a737c66d3316c">Qradar101 Blue Team Challenge : CyberDefenders</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee716caeca63fd37af8da6">Boss of the SOC Version 1 (2015) Scenario-1</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee76b419a8a0c23e530c27">Phishing Response Playbook</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee64a3d933cebf01767bda">Building a SIEM Collecting Linux and Windows Logs with Filebeat &amp; Winlogbeat into Elasticsearch and Visualizing in Kibana</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee641dd65ef07a95724065">Collecting and Visualizing SSH Logs with Fluent Bit &amp; Elasticsearch</a></p>
</li>
</ul>
<h2 id="heading-phishing-labs">Phishing Labs :</h2>
<ul>
<li><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6fd8659f2542c6594b41">PayPal Phishing Email Investigation Lab @LetsDefend</a></li>
</ul>
<hr />
<h1 id="heading-digital-forensics-labs">Digital-Forensics-Labs :</h1>
<h2 id="heading-course-based-digital-forensics-labs">Course-Based Digital Forensics Labs :</h2>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee413aeab21a4969959620">🔍File Analysis Using the stat Command in Linux</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee419ccaadcf3dbe7bbf67">🖼️ Image Analysis Using exiftool and exif in Linux</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee42e4eab21a496995963d">📁 Analyzing File Properties in Digital Forensics – Windows Example</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee434d9437cc96eb14e947">🛡️ Explaining the Use of Software Write Blocker in Digital Forensics</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee455840a9ac50c0dd4194">🧰 Lab: Disk Acquisition Using Linux dd Command</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee45d5b7376082b8469969">🧰 Disk Acquisition Using AccessData FTK Imager on Windows</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee483dd72cc51a7566d31a">Verifying the integrity of digital evidence using hashing + a practical application on Windows and Linux</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee48ffc3ef0bae31ed37ad">Overview of Registry Hives &amp; Extraction with FTK Imager</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee4b64fbff0dde6ad4b114">🧪 Registry Analysis using Registry Explorer, ShellBags Explorer, and RegRipper</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee4e5daab509ade1166b25">🧠 Registry Analysis Guide – What to Look for at the Analysis Phase</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee4ea9d72cc51a7566d353">🧠 Linux OS Forensics – Digital Analysis on Linux Systems</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee4ede994a016a5afa0d7c">🦊 Firefox Artifacts Extraction</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee4f5b764272ae26971fe4">🛠️ Creating a New Case and Adding a Data Source in Autopsy – Step-by-Step with Full Explanation</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee506fdb79fa2dc247175f">🧪 Analysis of Data Source Using Autopsy – Autopsy Forensic Tool</a></p>
</li>
</ul>
<h2 id="heading-platform-based-digital-forensics-labs">🎯 Platform-Based Digital Forensics Labs :</h2>
<h3 id="heading-network-forensics">🔍 Network Forensics :</h3>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee553048423a7ee7232680">Psexec-Hunt Pcapng</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5587e66ed6a3343040f0">Suspicious File Download (Fake Google Authenticator)</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee55cb764272ae26972029">Examining PCAPs and Emails to Identify Malware Infection</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee567d94ce1453860d7969">HawkEye Blue Team Challenge</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6eea79c76dd84c4f39a3">ARP Storm : CyberTalents</a></p>
</li>
</ul>
<h3 id="heading-disk-images">🧰 Disk Images :</h3>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee661163b49ae29059a0fc">Search in Trash : CyberTalents</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5909fae535a10bd22ba3">NTFS1 – Evidence Acquisition &amp; Analysis Lab (</a><a target="_blank" href="http://DigitalCorpora.org">DigitalCorpora.org</a> <a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5909fae535a10bd22ba3">Disk Images)</a></p>
</li>
</ul>
<h3 id="heading-steganography-ampamp-audio-forensics">Steganography &amp;&amp; Audio Forensics :</h3>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee59f5bbdaa10ef20f393f">Meta : Blue Team Labs Online</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5a79edf9226b324ace4d">DISKO 1 : PicoCtf</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5aeaebb2e159a4168e45">Glory of the Garden : PicoCTF</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5b9912c0e279c1348a33">Information : picoCTF</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5d0684635ce7eae60a2f">RED : picoCtf</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5d208cd4c12711cc009f">Secret of the Polyglot : picoCtf</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5d4afdce163a3e6ec3ed">Scan Surprise : picoCTF</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5e77a0797ba66241e41c">Verify : picoCTF</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5f1284635ce7eae60a37">CanYouSee : picoCTF</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6901a8aee966049646d2">WOW…. So Meta : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee697be827313b0d620930">Taking LS : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee699ccc60e8787724cd49">Forensics 101 : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee69da12116a22e20b94b7">Exif : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee69fb122f2ff6aa357a90">Binwalk : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6a1dce46325b544a5a0f">Rubber Duck : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6a4e4d0fcceaaac91796">Git Is Good : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6a7af4cf6fe4b8f1fde8">Snowboard : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6ab263b49ae29059a106">I’m a dump : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6b25b3e39ce1a93b61e8">Minions : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6b5170d192a110413f22">PDF by fdpumyp : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6b7fce2bb39cb9af2809">Simple Steganography : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6ba9cf6a737c66d33169">Pho Is Tasty! : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6bd615078ac2792c4c8c">Tux! : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6c0233831b928dce568a">Chalkboard : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6c29979b7e49f7fb6e1a">PikesPeak : CTFLEARN</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7d44615e7f743dd76168">G&amp;P List : Cyber Talents</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7ea7a91e94c8b28b987e">Hidden Message : Cyber Talents</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7ed776227566b2f627fc">Cypher Anxiety : Cyber Talents</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7f2309810160782c28a7">I love images : Cyber Talents</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7f52869fe163c26cf567">File Found : Cyber Talents</a></p>
</li>
</ul>
<hr />
<h1 id="heading-pentration-testing">Pentration Testing :</h1>
<ul>
<li><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e9aafd9f17229574d4b1cd">Cybersecurity Beginner Career | Labs</a> By CyberTalents</li>
</ul>
<h3 id="heading-information-gathering-and-scanninghttpshashnodecomdocs687e32493aa4a0e5086a2992guide687e324a100405ceff21607bversion687e324a100405ceff21607cpage68e9825b3334fb637ce8a676"><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e9825b3334fb637ce8a676">Information Gathering and Scanning</a> :</h3>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e9815c3334fb637ce8a66f">Passive Reconnaissance : TRY HACK MY</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e981ce5ee38e5572d96b6e">Active Reconnaissance : Try Hack Me</a></p>
</li>
</ul>
<h2 id="heading-web">WEB :</h2>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee5fab15040bc57cdbc4be">IDOR : Corridor : Try Hack Me</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6ded234320047573b992">Natas : OverTheWire</a> :</p>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6e0c3e9f5f7ea3985ab6">Natas : Level 0 :</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6e358c00d7522fb1681c">Natas : Level 1</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6e4df8c033ed077eab36">Natas : Level 2..“)</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee6e933e9f5f7ea3985abb">Natas : Level 3..“)</a></p>
</li>
</ul>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7fc5ffbbac9f57c0e24d">Information Disclosure</a> :</p>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7fd633831b928dce5746">Information disclosure in error messages</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee8014123781a54bf3c204">Information disclosure on debug page</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee805c3bf605bfc74d0a87">Source code disclosure via backup files</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee808a91218581d275904b">Information disclosure in version control history</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee80abd27df768aa27cac2">Authentication bypass via information disclosure</a></p>
</li>
</ul>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee80eaa1d636a19460575f">Access control</a> :</p>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee80fc8f5da0c9f0653b8d">User ID controlled by request parameter, with…</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee8113d27df768aa27cacb">User ID controlled by request parameter</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee813d8f5da0c9f0653b8e">User role can be modified in user profile</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee815894cc3894479a9a8b">User role controlled by request parameter</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee817394cc3894479a9a90">Unprotected admin functionality with unpredictable…</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee81a209810160782c28b5">Unprotected admin functionality</a></p>
</li>
</ul>
</li>
</ul>
<h2 id="heading-machine">Machine :</h2>
<ul>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e983aca9b723389c51c4df">Metasploitable-1</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e9841518ee8f76be37924a">Metasploitable-2</a></p>
</li>
<li><p><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68e984636178b1b4c9631b26">Kioptrix Level-1</a></p>
</li>
</ul>
<hr />
<h1 id="heading-malware-analysis">Malware Analysis :</h1>
<ul>
<li><a target="_blank" href="https://hashnode.com/docs/687e32493aa4a0e5086a2992/guide/687e324a100405ceff21607b/version/687e324a100405ceff21607c/page/68ee7bd15b43d724bbae8734">Persistence Analysis and Remediation of Python Pop-Up Malware</a></li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Psexec-Hunt Pcapng]]></title><description><![CDATA[An alert from the Intrusion Detection System (IDS) flagged suspicious lateral movement activity involving PsExec. This indicates potential unauthorized access and movement across the network. As a SOC]]></description><link>https://abdelwahabshandy.hashnode.dev/psexec-hunt-pcapng</link><guid isPermaLink="true">https://abdelwahabshandy.hashnode.dev/psexec-hunt-pcapng</guid><category><![CDATA[cyberdefenders]]></category><category><![CDATA[Network Forensics]]></category><category><![CDATA[#execution]]></category><category><![CDATA[lateral movement ]]></category><category><![CDATA[discovery]]></category><category><![CDATA[Wireshark]]></category><dc:creator><![CDATA[Abdelwahab A. Shandy 🦅]]></dc:creator><pubDate>Fri, 05 Sep 2025 00:20:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030374746/3402d759-c5e1-4c23-a4cf-b633be3c8a93.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>An alert from the Intrusion Detection System (IDS) flagged suspicious lateral movement activity involving PsExec. This indicates potential unauthorized access and movement across the network. As a SOC Analyst, your task is to investigate the provided PCAP file to trace the attacker’s activities. Identify their entry point, the machines targeted, the extent of the breach, and any critical indicators that reveal their tactics and objectives within the compromised environment.</p>
<p>You Can Try : <a href="https://cyberdefenders.org/blueteam-ctf-challenges/psexec-hunt/">https://cyberdefenders.org/blueteam-ctf-challenges/psexec-hunt/</a></p>
<hr />
<h2>Identification</h2>
<ul>
<li><p><strong>Incident Title</strong> : PsExec Hunt Lab</p>
</li>
<li><p><strong>Date/Reported</strong> : 03-09-2025</p>
</li>
<li><p><strong>Reported by</strong>  : Task Trainee WE INNOVATE</p>
</li>
<li><p><strong>Description</strong>  : - During my training at <strong>WE INNOVATE</strong>, I was assigned a forensic analysis task involving the file <code>psexec-hunt.pcapng</code>. An alert generated by the Intrusion Detection System (IDS) flagged suspicious <strong>lateral movement activity</strong> associated with the use of <strong>PsExec</strong>. This suggested potential <strong>unauthorized access</strong> across multiple hosts within the network.</p>
</li>
<li><p><strong>Investigator</strong> : Abdelwahab Ahmed Shandy</p>
</li>
</ul>
<hr />
<h2>Acquisition</h2>
<ul>
<li><p><strong>Evidence Collected:</strong> Packet Capture File (<code>psexec-hunt.pcapng</code>)</p>
</li>
<li><p><strong>Tool Used:</strong> Wireshark</p>
</li>
</ul>
<hr />
<h2>Preservation</h2>
<ul>
<li>I made a copy of the original file to maintain integrity :</li>
</ul>
<pre><code class="language-bash">sansforensics@as: ~/Downloads
$ cp psexec-hunt.pcapng Task-Day2.pcapng
sansforensics@as: ~/Downloads
$ md5sum psexec-hunt.pcapng 
3b009a00b288eb0558f8e91879aeb4f6  psexec-hunt.pcapng
sansforensics@as: ~/Downloads
$ md5sum Task-Day2.pcapng 
3b009a00b288eb0558f8e91879aeb4f6  Task-Day2.pcapng
</code></pre>
<ul>
<li><p>Hash (MD5): 3b009a00b288eb0558f8e91879aeb4f6</p>
</li>
<li><p>Preservation: A verified copy of the original PCAP file was maintained to ensure forensic integrity.</p>
</li>
</ul>
<hr />
<h2><strong>Analysis :</strong></h2>
<ul>
<li><p>Simply put, we're required to check if an attack occurred using a tool called PsExec.</p>
</li>
<li><p>First, we need to understand what PsExec is:</p>
<ul>
<li><p><strong>PsExec</strong> is a tool from the Sysinternals suite (owned by Microsoft).</p>
</li>
<li><p>Its function: It allows you to run commands or programs remotely on other devices on the network without opening an RDP session or logging into the device directly.</p>
</li>
</ul>
</li>
</ul>
<p>The first thing we can start with when we do an analysis in <strong>Wireshark</strong> :</p>
<h3>1️⃣ Statistics &gt; Protocol Hierarchy</h3>
<ul>
<li><p>Here, you'll see all the protocols present in the PCAP and the percentage of each.</p>
</li>
<li><p>Reason: To see if there are any abnormal protocols or a high percentage of a specific protocol (such as SMB) - this could indicate that the attack was carried out through it</p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030531015/8230692b-fb82-4a8e-a081-a47acf957501.png" alt="" />
</li>
<li><h3>2️⃣ Statistics &gt; Conversations</h3>
</li>
<li><p>Here, you'll see the conversations (connections) between devices: who talked to whom, the size of the data, and the number of packets.</p>
</li>
<li><p>Reason: To help you identify which two devices are showing suspicious activity (such as an attacker communicating with multiple devices via SMB).</p>
</li>
<li><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030555361/8501cef2-651a-4144-b584-c14f754e2599.png" alt="" /></li>
</ul>
<h3>3️⃣ Statistics &gt; Endpoints</h3>
<ul>
<li><p>Here, you'll see all the devices (IP addresses or MACs) that appeared in the capture.</p>
</li>
<li><p>Reason: To identify the primary devices in the attack - the device that initiated the communication (the attacker) and the affected devices (the victims).</p>
</li>
<li><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030574408/e6be0237-58e2-4d04-aa83-ae2f2f4de238.png" alt="" />
</li>
<li><p>The highest traffic is on IP: 10.0.0.130 and it may be the device that was initially hacked by the attacker , But I want to make sure or why it is really him ؟</p>
</li>
</ul>
<h3>First : To effectively trace the attacker's activities within our network, can you identify the IP address of the machine from which the attacker initially gained access?</h3>
<h3>Can I ask a few questions:</h3>
<ul>
<li><p>Who initiated the communications? (Initiation) :</p>
<ul>
<li><p><code>tcp.flags.syn == 1 &amp;&amp; tcp.flags.ack == 0 &amp;&amp; (ip.src == 10.0.0.130)</code></p>
</li>
<li><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030590110/26ec2416-a017-47f4-bd2d-6716b8022459.png" alt="" />
</li>
<li><p>The filter shows you all the connections that the device 10.0.0.130 initiated (sent a SYN the first time to open a connection), and this is so that: you can prove that 10.0.0.130 is the attacker → because it is the one that initiates SMB sessions with the other devices (10.0.0.133, 10.0.0.131).</p>
</li>
</ul>
</li>
</ul>
<h3>1) can you identify the IP address of the machine from which the attacker initially gained access?</h3>
<ul>
<li><strong>10.0.0.130</strong></li>
</ul>
<blockquote>
<p>📝 Why is 10.0.0.130 the attacker (the point from which the intrusion began)? <strong>Conversations</strong> : -The largest connection was between 10.0.0.130 ↔ 10.0.0.133 (over 38,000 packets) , The next connection was with 10.0.0.131. -This means that 10.0.0.130 is communicating with the other devices. <strong>Endpoints</strong> : -The highest traffic volume was at 10.0.0.130 → This indicates that it is the active device (performing operations on more than one target). -<strong>TCP SYN Filter</strong> : -Using the filter: tcp.flags.syn == 1 &amp;&amp; tcp.flags.ack == 0 &amp;&amp; ip.src == 10.0.0.130 -We find that 130 is the one initiating connections to other devices → evidence that it is the attacker, not the victim.</p>
</blockquote>
<h3>Second : To fully understand the extent of the breach, can you determine the machine's hostname to which the attacker first pivoted? :</h3>
<ul>
<li><p>📝 From the analysis:</p>
<ul>
<li><p>We saw that the attacker 10.0.0.130 first contacted device 10.0.0.133 (this was the first victim it moved to).</p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030626104/303b3cf7-efab-495a-be83-540093292b5d.png" alt="" /></li>
</ul>
</li>
<li><p><code>tcp.flags.syn == 1</code> =&gt; This means the packet contains the SYN flag (the first step in the TCP connection establishment process – the Handshake).</p>
</li>
<li><p><code>tcp.flags.ack == 0</code> =&gt; This means that this packet does not contain an ACK, and therefore, it is only the SYN that initiates the session.</p>
</li>
<li><p><code>ip.src == 10.0.0.130</code> =&gt; This packet originates from device 10.0.0.130.</p>
</li>
<li><p>Now we need to find out the hostname of device 10.0.0.133 :</p>
<ul>
<li><p>The first IP was 10.0.0.133 :</p>
</li>
<li><p>I can get <code>hostname</code> :</p>
<ul>
<li><p>i used filter : <code>ip.addr== 10.0.0.133 || nbns || dns</code> , Nothing important appeared</p>
</li>
<li><p>i used filter : <code>(ip.src == 10.0.0.130) &amp;&amp; ntlmssp</code> :</p>
</li>
<li><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030640032/0d72c1bb-5028-4792-836a-939216933363.png" alt="" /></li>
</ul>
</li>
</ul>
</li>
</ul>
<blockquote>
<p>NTLM Security Support Provider (NTLMSP) :It is part of the NTLM Authentication protocol.</p>
<p>It is used in the negotiation and authentication process between the client and the server.</p>
<p>You can think of it as the messages or packets that transmit the authentication steps.</p>
</blockquote>
<p>📌 The relationship between SMB and NTLMSSP:</p>
<ul>
<li><p>SMB (Server Message Block) is the protocol that allows file, printer, and IPC sharing between devices.</p>
</li>
<li><p>When an attacker uses a tool like PsExec or attempts to make a lateral move, they need to authenticate to access Admin\( or IPC\).</p>
</li>
<li><p>Then, the hostname of the device the attacker has moved to will be displayed.</p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030655150/696f6e5d-240e-48d9-a965-7753f7cc9a49.png" alt="" />

<p>In SMB2 → Session Setup Response, we found <strong>NTLMSSP_CHALLENGE</strong> :</p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030671436/cedb1fce-7cab-490e-93a8-68f4371b6b5a.png" alt="" />
</li>
<li><p>This is the hostname of the device the attacker attempted to pivot on.</p>
</li>
</ul>
<h3>2) can you determine the machine's hostname to which the attacker first pivoted?</h3>
<ul>
<li>Sales-PC</li>
</ul>
<h3>Third : Knowing the username of the account the attacker used for authentication will give us insights into the extent of the breach. What is the username utilized by the attacker for authentication?</h3>
<blockquote>
<p>The username appears in the NTLMSSP_AUTHENTICATE phase of the SMB Session Setup.</p>
<p>That is, after (10.0.0.133 = SALES-PC) responds with the NTLMSSP_CHALLENGE message, the attacking machine (10.0.0.130) sends the NTLMSSP_AUTHENTICATE message.</p>
</blockquote>
<ul>
<li><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030689053/9fd9ec3f-1113-453f-b3b3-afb398168ac6.png" alt="" /></li>
</ul>
<p>The attacker's goal was to gain higher powers, and this is what he actually obtained :</p>
<ul>
<li><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030797057/428c9b95-5331-476e-9782-11089732ff74.png" alt="" />
</li>
<li><p>Its presence with the target hostname (SALES-PC) confirms that it is Local Admin.</p>
</li>
<li><p>Also, the PsExec tool only runs with Admin rights.</p>
</li>
</ul>
<h3>3) What is the username utilized by the attacker for authentication?</h3>
<ul>
<li>ssales</li>
</ul>
<h3>Fourth: After figuring out how the attacker moved within our network, we need to know what they did on the target machine. What's the name of the service executable the attacker set up on the target? :</h3>
<p>I Can Get This : <strong>File &gt; Export Object &gt; SMB</strong></p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757031283128/1a73dead-d0eb-42df-8748-cd592c885471.png" alt="" style="display:block;margin:0 auto" />

<p>Or Filter on SMB Trafiic with Executable Files :</p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030917617/e34ab588-fce8-4627-b08c-e33f6ff77f0a.png" alt="" />

<p>Role on Packets on type :</p>
<pre><code class="language-bash">SMB2 CREATE Request
SMB2 WRITE Request
SMB2 CLOSE Request
</code></pre>
<h3>4) After figuring out how the attacker moved within our network, we need to know what they did on the target machine. What's the name of the service executable the attacker set up on the target?</h3>
<ul>
<li><strong>psexesvc</strong></li>
</ul>
<h3>Fifth : We need to know how the attacker installed the service on the compromised machine to understand the attacker's lateral movement tactics. This can help identify other affected systems. Which network share was used by PsExec to install the service on the target machine?</h3>
<ul>
<li>Before we answer a question like this, we need to understand:</li>
</ul>
<table>
<thead>
<tr>
<th>Share Name</th>
<th>Share Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td><strong>C$</strong></td>
<td>Hidden Share</td>
<td>The full copy of the C: Drive on the device. (Access Administrator)</td>
</tr>
<tr>
<td><strong>D$</strong></td>
<td>Hidden Share</td>
<td>The full copy of the D: Drive.</td>
</tr>
<tr>
<td><strong>Admin$</strong></td>
<td>Hidden Share</td>
<td>Essential system files, such as the <code>Windows</code> folder.</td>
</tr>
<tr>
<td><strong>IPC$</strong></td>
<td>Hidden Share</td>
<td>Inter-Process Communication (IPC), used for communication between processes and remote control without accessing files.</td>
</tr>
</tbody></table>
<blockquote>
<p>The <code>$</code> in the name means that the share is <strong>hidden</strong>, it will not be visible to the regular user when browsing the network, but it is available to administrators (Admins).</p>
</blockquote>
<ul>
<li><p>i use filter : <code>smb2.tree</code></p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030948084/d82b6cfc-c554-4ffe-a097-61f3dd700a8f.png" alt="" /></li>
</ul>
<blockquote>
<p>\10.0.0.133\IPC\( appears = Initial connection + authentication phase. \10.0.0.133\ADMIN\) appears = Actual service cloning and installation phase</p>
</blockquote>
<h3>5)Which network share was used by PsExec to install the service on the target machine ?</h3>
<ul>
<li>ADMIN$</li>
</ul>
<h3>Sixth: 6) We must identify the network share used to communicate between the two machines. Which network share did PsExec use for communication?</h3>
<ul>
<li><p>If we look at the SMB traffic after activating the service, you will find connections such as:</p>
</li>
<li><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030970334/a00fbbb4-864c-400a-a89b-a9deda801a67.png" alt="" />
</li>
<li><p>PsExec used the IPC$ share to communicate between the attacker machine (10.0.0.130) and the target machine (10.0.0.133).</p>
</li>
<li><p>In the PCAP, we saw:</p>
<ul>
<li><p>Frame 134 → Tree Connect Request \10.0.0.133\IPC$</p>
</li>
<li><p>Frame 135 → Tree Connect Response (the server accepted the connection).</p>
</li>
<li><p>=&gt; This proves that the attacker opened a communication channel on the IPC$ share.</p>
</li>
</ul>
</li>
</ul>
<h3>6) We must identify the network share used to communicate between the two machines. Which network share did PsExec use for communication?</h3>
<ul>
<li><strong>IPC$</strong></li>
</ul>
<h3>Seventh: Now that we have a clearer picture of the attacker's activities on the compromised machine, it's important to identify any further lateral movement. What is the hostname of the second machine the attacker targeted to pivot within our network?</h3>
<h2>i can open in tap : <strong>Statistics &gt; Endpoints</strong></h2>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757030998137/282ca7c6-5021-4510-958a-dae83f6cce1e.png" alt="" />

<ul>
<li><p>Actually we can doubt <strong>10.0.0.131</strong> or <strong>10.0.0.132</strong></p>
</li>
<li><p>In PCAP (Wireshark), review SMB traffic:</p>
<ul>
<li><p>If you find a Tree Connect Request (in the SMB protocol),</p>
</li>
<li><p>you will find that PsExec is likely using ADMIN$ to download the PSEXESVC.exe file to the victim's machine and run it.</p>
</li>
</ul>
</li>
<li><p>Actually, let what happened in this device :</p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757031013030/e6968a60-7d3e-49d9-bd5f-e7a283db029e.png" alt="" />
</li>
<li><p>We want to get the hostname , using filter : <code>smb2 || ntlmssp &amp;&amp; (ip.addr == 10.0.0.131)</code></p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1757031026094/6eff8af2-cbd8-4824-88f1-e00beabba361.png" alt="" /></li>
</ul>
<p>🔎 Why does this point to the second hostname?</p>
<ul>
<li><p>The IP address 10.0.0.131 is the new device the attacker is trying to pivot to from 10.0.0.130.</p>
</li>
<li><p>If you open the SMB2 Session Setup Response or NTLMSSP_CHALLENGE in the same packet or the next one, you will find:</p>
</li>
<li><p>Target Name = MARKETING-PC</p>
</li>
<li><p>Or in the Target Info section under NTLM challenge.</p>
</li>
</ul>
<h3>Now that we have a clearer picture of the attacker's activities on the compromised machine, it's important to identify any further lateral movement. What is the hostname of the second machine the attacker targeted to pivot within our network?</h3>
<ul>
<li>Marketing-PC</li>
</ul>
<hr />
<h1>📝 <strong>Indicators of Compromise (IOCs)</strong></h1>
<table>
<thead>
<tr>
<th>#</th>
<th>Indicator Type</th>
<th>Value / Details</th>
<th>Explanation</th>
</tr>
</thead>
<tbody><tr>
<td>1</td>
<td><strong>Attacker IP</strong></td>
<td><code>10.0.0.130</code></td>
<td>The machine from which the attacker initially gained access.</td>
</tr>
<tr>
<td>2</td>
<td><strong>First Pivot Hostname</strong></td>
<td><code>SALES-PC (10.0.0.133)</code></td>
<td>The first host the attacker pivoted to.</td>
</tr>
<tr>
<td>3</td>
<td><strong>Username Used</strong></td>
<td><code>ssales</code></td>
<td>The account used by the attacker for authentication over SMB.</td>
</tr>
<tr>
<td>4</td>
<td><strong>Service Executable</strong></td>
<td><code>psexesvc.exe</code></td>
<td>The malicious service executable set up on the target by PsExec.</td>
</tr>
<tr>
<td>5</td>
<td><strong>Share (Service Install)</strong></td>
<td><code>ADMIN$</code></td>
<td>The administrative share PsExec used to install the service.</td>
</tr>
<tr>
<td>6</td>
<td><strong>Share (Communication)</strong></td>
<td><code>IPC$</code></td>
<td>The network share PsExec used for communication between machines.</td>
</tr>
<tr>
<td>7</td>
<td><strong>Second Pivot Hostname</strong></td>
<td><code>MARKETING-PC (10.0.0.131)</code></td>
<td>The second machine the attacker targeted for lateral movement.</td>
</tr>
</tbody></table>
<p>✍️ <strong>Prepared by:</strong> Abdelwahab A. Shandy</p>
<p>📅 <strong>Date:</strong> 03-09-2025</p>
<p>Here we have reached the correct conclusion in the end .</p>
<p>Here we are done, see you in other reports…!</p>
<p>See you later, bro</p>
]]></content:encoded></item><item><title><![CDATA[Connecting GitHub with Obsidian]]></title><description><![CDATA[Now I’ll explain how to connect Obsidian to GitHub step by step, so that all your notes in Obsidian are automatically saved to GitHub as a backup, so you can access or share them at any time.
🛠️ Prerequisites:✅ A GitHub account
✅ A Git installation ...]]></description><link>https://abdelwahabshandy.hashnode.dev/connecting-github-with-obsidian</link><guid isPermaLink="true">https://abdelwahabshandy.hashnode.dev/connecting-github-with-obsidian</guid><category><![CDATA[github-with-obsidian]]></category><category><![CDATA[obsidian]]></category><category><![CDATA[GitHub]]></category><dc:creator><![CDATA[Abdelwahab A. Shandy 🦅]]></dc:creator><pubDate>Mon, 14 Jul 2025 13:40:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1752500625984/f7ae3f64-c643-40dd-adef-024cde655062.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Now I’ll explain how to connect Obsidian to GitHub step by step, so that all your notes in Obsidian are automatically saved to GitHub as a backup, so you can access or share them at any time.</p>
<p>🛠️ Prerequisites:<br />✅ A GitHub account</p>
<p>✅ A Git installation on your device</p>
<p>✅ An Obsidian folder (the Vault) is ready</p>
<p>✅I will use the simplest method, which is GitHub Desktop.</p>
<h2 id="heading-steps-in-detail"><strong>🧭 Steps in detail:</strong></h2>
<h2 id="heading-1-create-a-repository-on-github"><strong>1️⃣ Create a Repository on GitHub :</strong></h2>
<ul>
<li>Log in to GitHub Or GitHub Desktop :</li>
</ul>
<p><img src="https://miro.medium.com/v2/resize:fit:586/1*gX4qZJbVsCzxa8K156gnPA.png" alt="Click the New button to create a new Repo" /></p>
<p>Click the New button to create a new Repo</p>
<p><img src="https://miro.medium.com/v2/resize:fit:586/1*OqMuBGoE0m7bQafAo0gjwQ.png" alt="Name it, for example: My-Study-Archive" /></p>
<p>Name it, for example: My-Study-Archive</p>
<ul>
<li><p>Make it Public or Private as you wish</p>
</li>
<li><p>Important: Do add README or any other files</p>
</li>
</ul>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*w9EuvQxZ7PXV2t0XQBz09g.png" alt /></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*TlwgYSzchKFjochp7WmptA.png" alt="On Your Pc" /></p>
<p>On Your Pc</p>
<h2 id="heading-2-prepare-the-obsidian-folder"><strong>2️⃣ Prepare the Obsidian folder :</strong></h2>
<ul>
<li>Open Obsidian :</li>
</ul>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*hDObEkesRtoLtST4EwHDbA.png" alt /></p>
<p><img src="https://miro.medium.com/v2/resize:fit:528/1*bpqARkKPiaJNeYITstOryg.png" alt /></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*3TSMptGa_knaFsqLQNXY6A.png" alt="Create a New Valut :" /></p>
<p>Create a New Valut :</p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*fd-8unXAJvXYo7LskfCqBw.png" alt="You will give the file a name and choose a location ." /></p>
<p>You will give the file a name and choose a location .</p>
<p><img src="https://miro.medium.com/v2/resize:fit:646/1*x_v-swlrdOn2miH7TDI38A.png" alt="This is the final form with different names and storage location." /></p>
<p>This is the final form with different names and storage location.</p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*hTaa7FvxxvU7VV98My2KZg.png" alt="This is our final form you can add files and folders and do everything and I will simultaneously recite inside GitHub" /></p>
<p>This is our final form you can add files and folders and do everything and I will simultaneously recite inside GitHub</p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*LidN-2xkgpM511_lOqqz_g.png" alt /></p>
<p>Here we are testing. We have created folders and files. We will now upload them and take a backup copy on GitUp using the following methods:</p>
<p><strong>First, when you open GitHub Desktop it, you will find the following:</strong></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*OyWcOI7Us3w3aaEzjwXouQ.png" alt /></p>
<p><strong>In order for the places to be connected, we will make a comment now. Everything we have done is available to you on the machine. We must always take a backup copy. Do not forget this by doing the following:</strong></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*3cioKxn4aR-W8xuL3H1Gcg.png" alt /></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*jLEKTyfoOQlKKpX3KfxEAw.png" alt /></p>
<p><img src="https://miro.medium.com/v2/resize:fit:673/1*l__DQ57iK4fxdk9dORyd0w.png" alt /></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*JhBLLSJPzT28-B5SXa9w1Q.png" alt="Comment on the data" /></p>
<p>Comment on the data</p>
<blockquote>
<p><em>Save the commit<br />Whenever you make a change:</em></p>
<p><em>Go to GitHub Desktop</em></p>
<p><em>You’ll find some time</em></p>
<p><em>Write a simple description (e.g., updating the networking lecture)</em></p>
<p><em>Click the commit to the main page → then push the original</em></p>
</blockquote>
<p><strong>Now to make sure, open GitHub on the browser and you will find the following:</strong></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*Ardk0hR-y7ewcSMKMGIOtw.png" alt /></p>
<p><img src="https://miro.medium.com/v2/resize:fit:700/1*glcQgFlD_rTIl_oqG9kszw.png" alt /></p>
<p><strong>This is my friend, the simplest way to save everything you have learned and through which you can search and browse. Thus, you must now learn Obsidian manually with yourself and through experience. Also, below I will add some additions that you can do to improve the process, but if you are a beginner in this matter and do not want to do this, then do not do it. We agree.</strong></p>
<p>Some helpful plugins:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769799028168/0e579f59-194a-4953-ad15-eaa44f6e9d1c.png" alt class="image--center mx-auto" /></p>
<blockquote>
<p><em>🎉 Congratulations!<br />All your notes are now:</em></p>
<p><em>Organized within Obsidian</em></p>
<p><em>Saved on GitHub</em></p>
<p><em>Available from anywhere</em></p>
<p><em>And easily shared with any colleague or study community</em></p>
</blockquote>
<hr />
<hr />
<h2 id="heading-a-simple-warning">⚠️ A simple warning</h2>
<p>Personally, I don’t like using full automatic sync without review.**</p>
<blockquote>
<p><em>Imagine if you accidentally deleted something important?<br />And the sync happened automatically?<br />Then the problem would have been logged and uploaded without you even noticing!</em></p>
<p><em>Yes, Git allows you to restore files…<br />But why take the risk?</em></p>
<p><em>✅ Review your changes before uploading them<br />✅ And if you like automation, use the Obsidian Git plugin intelligently.</em></p>
<p><em>🔄 Plugin (Optional): Obsidian Git for automatic sync<br />If you want Obsidian to automatically sync (commit + push), use this plugin:</em></p>
<p><em>🪛</em></p>
<p><em>Installation steps:<br />Open Obsidian</em></p>
<p><strong><em>Settings → Thired-Party plugin → Community Plugins</em></strong></p>
<p><em>Disable Safe Mode</em></p>
<p><em>Click Browse</em></p>
<p><strong><em>Find Obsidian Git → Click Install → Enable</em></strong></p>
<p><em>⚙️ Suggested Settings:</em></p>
</blockquote>
<div class="hn-table">
<table>
<thead>
<tr>
<td>preparation</td><td>value</td><td>Description</td></tr>
</thead>
<tbody>
<tr>
<td><strong>Auto Pull on Boot</strong></td><td>✅ Enabled</td><td>When the application runs, it automatically pulls the latest updates from the remote repository.</td></tr>
<tr>
<td><strong>Auto Commit</strong></td><td>✅ Enabled</td><td>Changes are automatically saved (committed) to Git without manual intervention.</td></tr>
<tr>
<td><strong>Auto Push</strong></td><td>✅ Enabled</td><td>After commit, changes are automatically pushed to the remote repository (push).</td></tr>
<tr>
<td><strong>Auto Commit Message</strong></td><td><code>Auto update from Obsidian</code></td><td>The default message used in every auto-commit.</td></tr>
<tr>
<td><strong>Update Duration (ms)</strong></td><td><code>300000</code> (every 5 minutes)</td><td>Automatic operations (commit + push) are executed every 300,000 milliseconds (5 minutes).</td></tr>
</tbody>
</table>
</div><blockquote>
<p><em>✅ Result:<br />Every time you open Obsidian or edit a file:</em></p>
<p><em>The edit will be automatically logged</em></p>
<p><em>It will be uploaded to GitHub without any manual commands</em></p>
<p><em>🎉 Congratulations!<br />You now have:</em></p>
<p><em>🧠 An organized note system within Obsidian</em></p>
<p><em>☁️ A backup on GitHub</em></p>
<p><em>🌍 Accessible from anywhere</em></p>
<p><em>🔄 And easy sharing of notes with your colleagues or the community</em></p>
<p><strong><em>💬 "Control the code, and you control the world." 🔐 From wiping metadata to gaining root access — every step is documented and my goal is to deeply understand the system, not just hack!</em></strong></p>
<p><a target="_blank" href="https://abdelwahabshandy.hashnode.dev/"><strong>Abdelwahab Shandy</strong></a></p>
<p><a target="_blank" href="https://www.linkedin.com/in/abdelwahab-ahmed-shandy/"><strong>Linkedin</strong></a></p>
<p><a target="_blank" href="https://github.com/abdelwahab-ahmed-shandy"><strong>GitHub</strong></a></p>
<p><strong><em>See You Soon</em></strong></p>
<p>AS Cyber “)).</p>
</blockquote>
]]></content:encoded></item></channel></rss>