<?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 Abdishakur Mohamed on Medium]]></title>
        <description><![CDATA[Stories by Abdishakur Mohamed on Medium]]></description>
        <link>https://medium.com/@aabdimohamed?source=rss-798fa6da0cf3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Abdishakur Mohamed on Medium</title>
            <link>https://medium.com/@aabdimohamed?source=rss-798fa6da0cf3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 23:14:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aabdimohamed/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[I Built a SOC Detection Lab and Wrote Custom Rules That Caught Real Attacks]]></title>
            <link>https://medium.com/@aabdimohamed/i-built-a-soc-detection-lab-and-wrote-detection-rules-that-actually-caught-attacks-a1cd27235d34?source=rss-798fa6da0cf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1cd27235d34</guid>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc-lab]]></category>
            <dc:creator><![CDATA[Abdishakur Mohamed]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 06:11:34 GMT</pubDate>
            <atom:updated>2026-03-17T07:34:20.858Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A hands-on walkthrough of LimaCharlie EDR, Atomic Red Team, and MITRE ATT&amp;CK detection from start to finish</em></p><p>I built a hands-on SOC detection lab using LimaCharlie EDR. I deployed sensors, simulated MITRE ATT&amp;CK reconnaissance techniques, and created custom detection rules that successfully caught suspicious commands in real-time. This gave me practical experience with the detect-analyze-alert workflow that’s essential for SOC operations.<br> <br><strong>Action: </strong>Created a LimaCharlie account and accessed the security operations dashboard.</p><p><strong>What is LimaCharlie?</strong> LimaCharlie is a SecOps Cloud Platform designed to enhance security operations for modern enterprises. It provides endpoint detection and response (EDR), threat detection, and incident response capabilities in a unified cloud-based platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*dyw0lzkqQANQD0rrDX3KlQ.png" /></figure><p><strong>Step </strong>1. Create an account with LimaCharlie. LimaCharlie is a SecOps Cloud Platform designed to enhance security operations for modern enterprises.</p><p>After you make an account, you will see your dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*fEQFdDeG8zoVJbey2_G_vA.png" /></figure><p><strong>Step 2: Configure Installation Keys</strong></p><ol><li>Navigate to the <strong>Installation Keys</strong> section in the LimaCharlie dashboard</li><li>Delete the default installation keys</li><li>Create your own custom installation key (I named mine “test”)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*wKskXb4AE_sKe9iQitgz9g.png" /></figure><p><strong>Step 3: Download the Windows Sensor</strong></p><ol><li>Go to the <strong>Installations</strong> section in LimaCharlie</li><li>Download the Windows sensor agent to your system</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*FiJN8soq8otTsybf0WlckQ.png" /></figure><p><strong>Step 4: Install the Sensor via PowerShell</strong></p><ol><li>Open <strong>PowerShell as Administrator</strong> (right-click PowerShell → Run as administrator)</li><li>Navigate to your Downloads folder:</li></ol><p>Mine: PS C:\WINDOWS\system32&gt; cd C:\Users\Owner\Downloads<br> PS C:\Users\Owner\Downloads&gt; dir</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yqTVFqnA8VpN-OuXwsOuPQ.png" /></figure><p>Run the installation command: PS C:\Users\Owner\Downloads&gt; .\hcp_win_x64_release_4.33.23.exe -i [YOUR_SENSOR_KEY]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*eUQdCzLjudwBxKgNBHLHcg.png" /></figure><p><strong>Step 5: Verify Successful Installation</strong></p><p>After successful installation, you should see your endpoint registered in the LimaCharlie dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wBbbM1Of8Y61Duhiz4HrQg.png" /></figure><p><strong>Step 6. My endpoint details:</strong></p><ul><li>Hostname: <strong>DESKTOP-3RG77DU.hsd1.mn.comcast.net</strong></li><li>Status: Active and reporting telemetry</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*T_y_0MVy7eqIRdfuaK09Fw.png" /></figure><p><strong>Phase 2: Installing Atomic Red Team</strong></p><p><strong>What is Atomic Red Team?</strong> Attack simulation framework that generates malicious activity for detection testing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*rZVaVO5de0iE_DfQ1U0-_w.png" /></figure><p><strong>1. Issue I ran into: Windows Defender Blocked Installation</strong></p><p><strong>Solution:</strong> Add exclusion in Windows Defender</p><p><strong>Steps:</strong></p><ol><li>Open <strong>Windows Security</strong></li><li>Click <strong>“Virus &amp; threat protection.&quot;</strong></li><li>Click <strong>“Manage settings.&quot;</strong></li><li>Scroll to <strong>&quot;Exclusions.&quot;</strong></li><li>Click <strong>“Add or remove exclusions”</strong> → <strong>“Add an exclusion”</strong> → <strong>&quot;Folder.&quot;</strong></li><li>Select your Atomic Red Team installation folder</li></ol><p><strong>Why?</strong> Windows Defender flags attack simulation tools as threats. Exclusions allow testing in controlled lab environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*BKrUcXxwONHQBA5OmalmWw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*6culKA7_wHvCjvT2Ie0Kpg.png" /></figure><p><strong>2. Now let’s RUN SOME ATTACKS and watch LimaCharlie detect them!<br> <br> Import-Module “C:\AtomicRedTeam\invoke-atomicredteam\Invoke-AtomicRedTeam.psd1” -Force<br> <br>What Each Part Does:</strong></p><p><strong>Import-Module</strong></p><ul><li>PowerShell command that loads a module (collection of functions/tools) into your current session</li><li>Makes the Atomic Red Team commands available to use</li></ul><p><strong>“C:\AtomicRedTeam\invoke-atomicredteam\Invoke-AtomicRedTeam.psd1”</strong></p><ul><li>File path to the Atomic Red Team module manifest</li><li>.psd1 = PowerShell Data file that describes the module</li><li>Contains all the attack simulation functions</li></ul><p><strong>-Force</strong></p><ul><li>Forces the module to load even if it’s already loaded</li><li>Overwrites any existing version</li><li>Ensures you’re using the latest version</li></ul><p><strong>What This Accomplishes:</strong></p><p><strong>After running this command, you can now execute attack simulations like</strong></p><ul><li>Invoke-AtomicTest — Run specific MITRE ATT&amp;CK techniques</li><li>Generate malicious activity that LimaCharlie will detect</li></ul><p>Invoke-AtomicTest T1003.001 -TestNumbers 1<strong><br> <br>What it does:</strong></p><ul><li><strong>T1003.001 </strong>= MITRE ATT&amp;CK technique for credential dumping (stealing passwords from memory)</li><li><strong>-TestNumbers 1 </strong>= Runs test #1 for this technique</li><li>Simulates how attackers steal credentials from Windows systems</li></ul><p><strong>3. Alternative Attack Simulation</strong></p><ul><li><strong>Issue: The</strong> Atomic Red Team test didn’t work for me.</li><li><strong>Solution</strong>: Used built-in Windows commands to generate suspicious activity.</li><li><strong>Problem</strong>: Invoke-AtomicTest T1003.001 -TestNumbers 1 didn’t work for me.</li><li><strong>Solution</strong>: Used built-in Windows commands instead to create suspicious activity.</li><li><strong>Commands I ran powershell,</strong> net user HackerTestUser Pass123! /add, whoami /priv and net localgroup administrators</li><li>What these do:</li><li>Create suspicious user account (persistence), Check my privileges (recon) and List admins (privilege escalation attempt).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*1X5VK6YqKSOvlKMov6EzcA.png" /></figure><ul><li><strong>4. After running the whoami command, I navigated to the LimaCharlie Dashboard → Detections section to verify whether the rule triggered.</strong></li></ul><p>The detection appeared immediately, confirming that the rule successfully identified the suspicious activity and generated an alert as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Ves66xa5talwf_gvBhbCAA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*HcPlzKtAUhE7IOR6k4zTRg.png" /></figure><p><strong>Phase 3: Automating Detection with Custom Rules</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*j8XGnd80uFHzBVwQJ2wltw.png" /></figure><p>What Each Part of the Rule Does</p><p><strong>Event: NEW_PROCESS</strong><br> • Monitors every new program that starts on the system</p><p><strong>Operator: and</strong><br> • All conditions below must be true for the rule to trigger</p><p><strong>File Path Check (whoami.exe)</strong><br> • Case insensitive (matches whoami.exe, WHOAMI.EXE, etc.)<br> • Requires an exact match (not just a partial name)<br> • Watches specifically for:<br> C:\Windows\System32\whoami.exe</p><p><strong>Parent Process Check (PowerShell)</strong><br> • Examines which process launched whoami.exe<br> • Triggers if the parent process path contains powershell.exe<br> • Identifies PowerShell as the execution source</p><p><strong>Action: report</strong><br> • Generates a security alert</p><p><strong>Alert Name:</strong><br> “Suspicious reconnaissance detected — whoami from PowerShell”</p><p>In Simple Terms</p><p><strong>IF whoami.exe runs</strong><br> AND it was launched by PowerShell<br> THEN generate a security alert</p><p><strong>Why This Is Suspicious</strong></p><p>Attackers commonly use PowerShell to perform reconnaissance after gaining access.<br> Running whoami helps them identify the current user, privileges, and group memberships.</p><p>This behavior is not inherently malicious, but it is high-risk in attack chains and worth alerting on.</p><p>Testing the Rule</p><p>Command executed in PowerShell:</p><p><strong>Result:</strong><br> ✅ Alert immediately appeared in the LimaCharlie Detections Dashboard</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Y4XszSPCuStzr1jTfo1w4A.png" /></figure><p><strong>GitHub Repository:</strong> <a href="https://github.com/Abdishakurrr/Limacharlie-soc-detection-lab">github.com/Abdishakurrr/Limacharlie-soc-detection-lab</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1cd27235d34" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>