<?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 Sumayasomow on Medium]]></title>
        <description><![CDATA[Stories by Sumayasomow on Medium]]></description>
        <link>https://medium.com/@sumayasomow?source=rss-9ac46a2cea1b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RKRYFMvhheJxLtzTe5KrAA.jpeg</url>
            <title>Stories by Sumayasomow on Medium</title>
            <link>https://medium.com/@sumayasomow?source=rss-9ac46a2cea1b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 13:16:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sumayasomow/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[Building a Functional AD Lab Network & Joining Windows 10 to the Domain (Part 3)]]></title>
            <link>https://medium.com/@sumayasomow/building-a-functional-ad-lab-network-joining-windows-10-to-the-domain-part-3-4452ab7a49bc?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4452ab7a49bc</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Wed, 04 Mar 2026 09:37:49 GMT</pubDate>
            <atom:updated>2026-03-04T09:37:49.503Z</atom:updated>
            <content:encoded><![CDATA[<p>Building a proper network is one of the most important steps when setting up a Windows Server and Active Directory lab. In this tutorial, we create a private virtual network in Oracle VM VirtualBox that connects one Windows Server 2022 machine and Windows 10 client machine.</p><p>At this stage, Windows Server 2022 is already installed, Active Directory is configured, and the client machines are ready. The next logical step is to ensure all the machines are on the same network so they can communicate properly. This setup simulates a real-world company environment where client computers connect to a domain controller.</p><p><strong>Why Creating a Virtual Network Is Important</strong></p><p>Before connecting computers to Active Directory, they must:</p><ul><li>Be on the same network</li><li>Have IP addresses in the same range</li><li>Use the Windows Server as their DNS server</li><li>Be able to communicate with each other</li></ul><p><strong>Without proper networking:</strong></p><ul><li>Domain joining will fail</li><li>DNS resolution will not work</li><li>Authentication will not function</li></ul><p><strong>Step 1: Configure Network in VirtualBox for windows server 2022</strong></p><ul><li>Open VirtualBox</li><li>Select <strong>Windows Server 2022</strong></li><li>Click <strong>Settings</strong></li><li>Go to <strong>Network</strong></li><li>Ensure <strong>Adapter 1</strong> is selected</li><li>Change “Attached to” from <strong>NAT</strong> to <strong>Internal Network</strong></li><li>In the <strong>Name</strong> field, enter: ADNetwork</li><li>Ensure <strong>Cable Connected</strong> is checked</li><li>Click <strong>OK</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ni0bHzqwEEEpgLdGhJdhUA.png" /></figure><p><strong>On Windows 10 Machine</strong></p><ul><li>Select the windows 10 machine</li><li>Click <strong>Settings → Network</strong></li><li>Ensure <strong>Adapter 1</strong> is selected</li><li>Change “Attached to” to <strong>Internal Network</strong></li><li>In the <strong>Name</strong> field, enter: ADNetwork</li><li>Ensure <strong>Cable Connected</strong> is checked</li><li>Click <strong>OK</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kOYPGRBVgT3qNumLkcfelQ.png" /></figure><p><strong>Step 2: Configure Static IP Address on Windows Server</strong></p><p>Each machine must have a unique static IP address to communicate properly.</p><p><strong>On Windows Server 2025:</strong></p><ul><li>Start the server</li><li>Log in to the domain</li><li>Right-click <strong>Start</strong></li><li>Click <strong>System</strong></li><li>Go to <strong>Network &amp; Internet</strong></li><li>Click <strong>Ethernet</strong></li><li>Under IP Assignment, click <strong>Edit</strong></li><li>Select <strong>Manual (IPv4)</strong></li><li>Configure the following:</li><li>IP Address: 192.168.1.10</li><li>Subnet Mask: 255.255.255.0</li><li>Default Gateway: 192.168.1.1</li><li>Preferred DNS: 127.0.0.1</li><li>Click <strong>Save</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*0Xb_AqKVNKwnv42OrwS92w.png" /></figure><p>The server now has a static IP and acts as the DNS server.</p><p><strong>Step 3: Configure Static IP on Windows 10 (Client Machine)</strong></p><p><strong>Using Control Panel Method:</strong></p><ul><li>Open <strong>Control Panel</strong></li><li>Click <strong>Network and Internet</strong></li><li>Click <strong>Network and Sharing Center</strong></li><li>Click <strong>Change Adapter Settings</strong></li><li>Right-click <strong>Ethernet</strong> → Select <strong>Properties</strong></li><li>Select <strong>Internet Protocol Version 4 (TCP/IPv4)</strong></li><li>Click <strong>Properties</strong></li><li>Select <strong>Use the following IP address</strong></li></ul><p>Enter:</p><ul><li>IP Address: 192.168.1.20</li><li>Subnet Mask: 255.255.255.0</li><li>Default Gateway: 192.168.1.10 ( same ip as our windows server)</li><li>Preferred DNS Server: 192.168.1.10</li><li>Click <strong>OK</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*YV5c9gW6iQlCtUcCxi-U3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*rwfXzVOV9W1fo6AQd8pdBA.png" /></figure><p>Now all machines are in the same IP range:</p><ul><li>Server → 192.168.1.10</li><li>Client 1 → 192.168.1.20</li></ul><p><strong>Step 4: Test Network Connectivity (Ping Test)</strong></p><p>To confirm communication between machines:</p><p><strong>From Windows 10 machine:</strong></p><ul><li>Open <strong>Command Prompt (cmd)</strong></li><li>Type: ping 192.168.1.10 ( our server)</li><li>Confirm replies from server</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*HaYouAf5tale2Fp3TUte9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Tfe6OgbNdRd3S1LR2y7_Uw.png" /></figure><p><strong>From Windows Server:</strong></p><ul><li>Open <strong>Command Prompt</strong></li><li>Ping our client: ping 192.168.1.20</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*gupw18a7rCs34b7B_efCYA.png" /></figure><p><strong>Why This Is Happening</strong></p><p>By default:</p><ul><li>Windows 10 blocks inbound ICMP (ping) requests.</li><li>Windows Server 2022 may allow outbound ping but Windows 10 blocks inbound responses.</li><li>Windows Defender Firewall prevents echo replies unless explicitly enabled.</li></ul><p>So:</p><ul><li>Client → Server works (Server allows it)</li><li>Server → Client fails (Client blocks it)</li><li>Client ↔ Client fails (Both block inbound ICMP)</li></ul><p>Your network is likely configured correctly. The firewall is just blocking responses.</p><p><strong>Solution: Enable ICMP (Ping) on Windows 10</strong></p><p>You must allow inbound echo requests.</p><p><strong>Method 1: Enable via Firewall GUI (Recommended)</strong></p><p>On <strong>Windows 10 machine</strong>:</p><ol><li>Press <strong>Start</strong></li><li>Search: <strong>Windows Defender Firewall with Advanced Security</strong></li><li>Open it</li><li>Click <strong>Inbound Rules</strong></li><li>Scroll down and find:</li><li><strong>File and Printer Sharing (Echo Request — ICMPv4-In)</strong></li><li>Right-click the rule</li><li>Click <strong>Enable Rule</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aSWd2qDWjGNcYh-qdpJ_4g.png" /></figure><p>If you see multiple versions (Domain / Private / Public):</p><ul><li>Enable the one matching your current network profile</li><li>Usually it’s <strong>Private</strong></li></ul><p>Repeat this on both Windows 10 machines if you have more than one</p><p><strong>Make Sure Network Profile Is Private</strong></p><p>If the network is set to Public, stricter rules apply.</p><p>On Windows 10:</p><ol><li>Go to <strong>Settings</strong></li><li>Click <strong>Network &amp; Internet</strong></li><li>Click <strong>Ethernet</strong></li><li>Select your connected network</li><li>Ensure it is set to: ✅ <strong>Private</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*M7QEDBQw5GsTRLL5u8YYJg.png" /></figure><p>If it’s Public, change it to Private.</p><p>We can now ping our windows 10</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*grAZdqxuBidKzNSLiulU6w.png" /></figure><h4>How To Add a PC/Computer to Active Directory on Windows Server 2022</h4><p>Now that:</p><ul><li>✅ All machines are on the same VirtualBox Internal Network</li><li>✅ Static IP addresses are configured</li><li>✅ Firewall ICMP rules are fixed</li><li>✅ DNS is pointing to the Server</li></ul><p>You’re ready to join the client computers to the domain hosted on:</p><ul><li>Windows Server 2022</li><li>Running Active Directory Domain Services</li></ul><p><strong>Important Before Joining the Domain</strong></p><p>The <strong>most common mistake</strong> when joining a domain is incorrect DNS configuration.</p><p>For domain joining to work:</p><ul><li>The Windows 10 machines MUST use the <strong>Server’s IP address as their DNS server</strong></li><li>NOT the router</li><li>NOT 8.8.8.8</li><li>NOT the default gateway</li></ul><p>If DNS is wrong, you will see this error:</p><blockquote><em>“An Active Directory Domain Controller for the domain could not be contacted.”</em></blockquote><p><strong>Step 1: Verify DNS on Windows 10 Client</strong></p><p>On Windows 10 machine:</p><ul><li>Open <strong>Control Panel</strong></li><li>Go to <strong>Network and Internet</strong></li><li>Click <strong>Network and Sharing Center</strong></li><li>Click <strong>Change Adapter Settings</strong></li><li>Right-click <strong>Ethernet</strong></li><li>Click <strong>Properties</strong></li><li>Select <strong>Internet Protocol Version 4 (TCP/IPv4)</strong></li><li>Click <strong>Properties</strong></li></ul><p>Make sure:</p><ul><li>IP address is in same range (example: 192.168.1.20)</li><li>Subnet mask is 255.255.255.0</li><li>❌ Default gateway is NOT set to Server IP (optional in lab)</li><li>✅ Preferred DNS server = 192.168.1.10 (your Server IP)</li></ul><p>Click OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*1IBGhuWm6u7oHJasKeb_oQ.png" /></figure><p><strong>Confirm DNS is Correct</strong></p><ul><li>Open Command Prompt on Windows 10: ipconfig /all</li><li>Look for: DNS Servers → 192.168.1.10</li></ul><p>If it shows your Server’s IP, you are ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*LBTxFY4qbxGj5KkGyps4Sg.png" /></figure><p><strong>Step 2: Join Windows 10 PC to the Domain</strong></p><p>On Windows 10:</p><ul><li>Right-click <strong>Start</strong></li><li>Click <strong>System</strong></li><li>Click <strong>About</strong></li><li>Click <strong>Advanced system settings</strong></li><li>Go to <strong>Computer Name</strong> tab</li><li>Click <strong>Change</strong></li></ul><p>Under “Member of”:</p><ul><li>Select <strong>Domain</strong></li><li>Enter your domain name<br> (Example: maya.com)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*Q84CJ76T4Op2-AfhKhLxTA.png" /></figure><p>Click <strong>OK</strong></p><p><strong>Enter Domain Administrator Credentials</strong></p><p>You will be prompted for credentials.</p><p>Enter:</p><ul><li>Username: Administrator</li><li>Password: (Your Server Administrator password)</li></ul><p>Only a Domain Administrator can add computers to Active Directory.</p><p>Click OK.,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*v0eSR8yrDZuNkanY8uHH6Q.png" /></figure><p><strong>Successful Domain Join Message</strong></p><p>If everything is configured correctly, you will see:</p><blockquote><em>“Welcome to the maya.com domain.”</em></blockquote><p>Click OK.</p><p>You will be prompted to restart the computer.</p><p>Click <strong>Restart Now</strong>.</p><p>Repeat the same process for the second Windows 10 machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*mK0bms6c9UpCLlQCZu2atA.png" /></figure><p><strong>Verify from Client Machine</strong></p><p>After restart:</p><ul><li>On Windows 10 login screen:</li></ul><p>You should now see:</p><ul><li>Other user</li></ul><p>Log in using:</p><ul><li>mydomain\administrator</li><li>Or a domain user account you created.</li></ul><p>If login works → Domain join is successful.</p><p><strong>Verify from Windows Server 2022</strong></p><p>Now switch to your Server.</p><p>Open:</p><ul><li><strong>Server Manager</strong></li><li>Go to <strong>Tools</strong></li><li>Click <strong>Active Directory Users and Computers</strong></li></ul><p>Under:</p><ul><li>Your domain</li><li>Click <strong>Computers</strong></li></ul><p>You should now see Windows 10 machines listed there.</p><p>This confirms they are successfully added to Active Directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sDGYftWp1IRWaG0KECDPWA.png" /></figure><p>Remember:</p><ul><li>Active Directory heavily depends on DNS</li><li>If DNS is wrong, domain join WILL fail</li><li>Server ip should be added as Preferred DNS</li></ul><h3>Final Lab Structure After Domain Join</h3><p>You now have:</p><ul><li>🖥 Windows Server 2022 (Domain Controller)</li><li>🖥 Windows 10 PC 1 (Domain Joined)</li><li>🖥 Windows 10 PC 2 (Domain Joined) — havent added this yet in this lab but it follows the same procedure</li></ul><p>All communicating properly inside your VirtualBox Internal Network.</p><p><strong>Real-World Scenario</strong></p><p>In a company environment:</p><ul><li>IT installs Windows Server</li><li>Promotes it to Domain Controller</li><li>Configures DNS properly</li><li>Employees receive PCs</li><li>IT joins those PCs to the domain</li><li>Users log in using domain accounts</li><li>Admin manages everything centrally</li></ul><p>You have just simulated this entire process in your lab.</p><h4><strong>Forgot Administrator password, steps to reset</strong></h4><p><strong>Delete Computer Object from Active Directory</strong></p><p>If you can access the server:</p><ol><li>Open <strong>Active Directory Users and Computers</strong></li><li>Click <strong>Computers</strong></li><li>Right-click the Windows 10 PC</li><li>Click <strong>Delete</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*gVX6Pzl3Auf8UYdttm0hZQ.png" /></figure><p>This removes it from AD.</p><p>Then on Windows 10:</p><ul><li>Change it to WORKGROUP</li><li>Restart</li><li>Rejoin the domain fresh</li></ul><h4>Conclusion</h4><p>This part of the lab demonstrates how critical proper network configuration is when working with Active Directory. By configuring an internal VirtualBox network, assigning static IP addresses, correctly setting DNS to the Domain Controller, and adjusting firewall rules, you created a functional enterprise-style environment. Once DNS was correctly pointed to the Windows Server 2022 machine, domain joining became straightforward and successful.</p><p>This setup mirrors a real-world corporate scenario where IT departments deploy servers, configure Active Directory, and join employee computers to a centralized domain for authentication and management. With networking and domain integration complete, your lab is now fully operational and ready for the next stage — creating users, managing groups, and applying Group Policy for centralized administration.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4452ab7a49bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Install Active Directory In Windows Server 2022 Simplified: Part 2]]></title>
            <link>https://medium.com/@sumayasomow/how-to-install-active-directory-in-windows-server-2022-simplified-e8b3ada44c63?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8b3ada44c63</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 12:07:00 GMT</pubDate>
            <atom:updated>2026-03-04T09:42:13.235Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KeF6CRXOZwWLjRLT4ZWfyg.png" /></figure><p>Active Directory is Microsoft’s directory service that enables organizations to manage identities and access across their network from a central location.</p><p>With Active Directory, administrators can:</p><ul><li>Create and manage user accounts</li><li>Organize computers and devices</li><li>Apply security policies using Group Policy</li><li>Control access to files, applications, and services</li><li>Enable Single Sign-On (SSO)</li></ul><p>It transforms a basic server into the central authority of a Windows network.</p><p><strong>Prerequisites Before Installing Active Directory</strong></p><p>Before installing AD DS, ensure the server is properly configured.</p><ul><li>Install Windows Server 2022 or 2025</li><li>Configure a <strong>static IP address</strong> (critical requirement)</li><li>Rename the server according to naming conventions</li><li>Install Windows Updates</li><li>Set correct date, time, and timezone</li><li>Ensure Administrator access</li></ul><p>A static IP is mandatory because domain controllers must always be reachable at the same address.</p><p><strong>Domain Controller</strong></p><p>A <strong>Domain Controller (DC)</strong> is a server that runs Active Directory Domain Services (AD DS) and is responsible for managing authentication, authorization, and directory services within a Windows domain network.</p><h4><strong>What a Domain Controller Does</strong></h4><p><strong>1. Authentication (Verifies Identity)</strong></p><p>When a user logs into a computer connected to a domain:</p><ul><li>The login request is sent to the Domain Controller</li><li>The DC checks the username and password</li><li>If correct, access is granted</li></ul><p>This process is called <strong>authentication</strong>.</p><p>Example: Logging into a work computer using company credentials.</p><p><strong>2. Authorization (Controls Access)</strong></p><p>After verifying identity, the DC determines:</p><ul><li>What files you can open</li><li>Which applications you can use</li><li>What resources you can access</li></ul><p>This ensures users only access what they are permitted to.</p><p><strong>3. Stores Active Directory Database</strong></p><p>The Domain Controller maintains the directory database containing:</p><ul><li>User accounts</li><li>Computer accounts</li><li>Groups</li><li>Organizational Units</li><li>Security policies</li></ul><p>Think of it as a centralized directory of everything in the network.</p><p><strong>4. Manages Group Policy</strong></p><p>Domain Controllers enforce policies across the network, such as:</p><ul><li>Password requirements</li><li>Desktop restrictions</li><li>Software installations</li><li>Security settings</li></ul><p>This keeps systems standardized and secure.</p><p><strong>5. Provides DNS and Network Services</strong></p><p>Most Domain Controllers also run DNS services to help devices locate:</p><ul><li>Other computers</li><li>Servers</li><li>Network resources</li></ul><p>Without DNS, domain communication would fail.</p><p><strong>6. Enables Single Sign-On (SSO): </strong>Users log in once and gain access to multiple services without re-entering credentials.</p><p><strong>Why Domain Controllers Are Important</strong></p><p>They provide:</p><ul><li>Centralized management</li><li>Enhanced security</li><li>Simplified administration</li><li>Scalability for large organizations</li></ul><p>Without a Domain Controller, each computer would need separate user accounts and configurations.</p><h4>What Is Active Directory (AD)</h4><p><strong>Active Directory Domain Services (Active Directory)</strong> is Microsoft’s directory service used to manage users, computers, and resources in a Windows network from a central location.</p><p>it is a :</p><ul><li>A centralized database of network objects</li><li>A directory service for Windows domains</li><li>Stores information about users, computers, groups, and policies</li><li>Provides identity and access management</li><li>Runs primarily on Domain Controllers</li><li>Enables centralized administration of an organization’s IT environment</li></ul><p><strong>What Active Directory Does</strong></p><p><strong>Identity and Access Management</strong></p><ul><li>Authenticates users when they log in</li><li>Authorizes access to resources</li><li>Enables Single Sign-On (SSO)</li></ul><p><strong>Centralized User Management</strong></p><ul><li>Create, modify, and delete user accounts</li><li>Manage passwords and account policies</li><li>Organize users into groups</li></ul><p><strong>Computer and Device Management</strong></p><ul><li>Join computers to a domain</li><li>Manage devices from one location</li><li>Apply configurations across machines</li></ul><p><strong>Security and Policy Enforcement</strong></p><ul><li>Enforce password policies</li><li>Control security settings</li><li>Apply restrictions using Group Policy</li></ul><p><strong>Resource Management</strong></p><ul><li>Control access to files, folders, printers, and applications</li><li>Assign permissions based on roles or departments</li></ul><p><strong>Organizational Structure</strong></p><ul><li>Organize objects using Organizational Units (OUs)</li><li>Reflect company structure (departments, locations)</li><li>Delegate administrative control</li></ul><p><strong>Network Services Integration</strong></p><ul><li>Works with DNS for locating domain resources</li><li>Supports authentication protocols like Kerberos.</li></ul><p><strong>Why promote a server to a domain controller</strong></p><p>Promoting a server to a Domain Controller installs and activates Active Directory Domain Services, transforming the server into the central authority of a network domain.</p><p><strong>Centralized Authentication</strong></p><ul><li>Allows users to log in using one set of credentials</li><li>Verifies usernames and passwords across the network</li><li>Eliminates the need for local accounts on every computer</li></ul><p><strong>Centralized Authorization</strong></p><ul><li>Controls what users can access</li><li>Manages permissions to files, applications, and resources</li><li>Ensures security through controlled access</li></ul><p><strong>Centralized User and Computer Management</strong></p><ul><li>Create and manage user accounts from one location</li><li>Manage computers joined to the domain</li><li>Organize objects using Organizational Units (OUs)</li></ul><p><strong>Apply Group Policies Across the Network</strong></p><ul><li>Enforce security settings</li><li>Set password policies</li><li>Control desktop environments</li><li>Deploy software automatically</li></ul><p><strong>Provide Single Sign-On (SSO)</strong></p><ul><li>Users log in once to access multiple services</li><li>Improves user experience and productivity</li></ul><p><strong>Enable Domain-Based Networking</strong></p><ul><li>Establish a structured domain environment</li><li>Replace workgroup-based management</li><li>Support large-scale enterprise networks</li></ul><p><strong>Host Active Directory Database</strong></p><ul><li>Store information about users, groups, computers, and policies</li><li>Maintain directory services for the organization</li></ul><p><strong>Provide DNS Integration</strong></p><ul><li>Help devices locate domain resources</li><li>Enable proper communication within the domain</li></ul><p><strong>Improve Security and Control</strong></p><ul><li>Central monitoring and auditing</li><li>Stronger access control</li><li>Easier enforcement of security standards</li></ul><p>NOTE: By creating a new domain, you also establish the first domain in a forest. A forest represents the top level structure in Active Directory , which can include multiple domains connected by trust relationships.</p><h4>Step 1: Install Active Directory Domain Service ( AD DS)</h4><ul><li>Launch <strong>Server Manager</strong> (opens automatically after login).</li><li>Click <strong>Add Roles and Features</strong>.</li><li>Choose <strong>Role-based or feature-based installation</strong>.</li><li>Select the local server from the server pool and press next</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*T7zJ2h3k46uxNxN8rTJTIg.png" /></figure><p><strong>Select AD DS Role</strong></p><ul><li>Check <strong>Active Directory Domain Services</strong>.</li><li>Click <strong>Add Features</strong> when prompted.</li><li>Click <strong>Next</strong> and proceed through the wizard.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*GIOP7ofy6sdLpxQNreOWGA.png" /></figure><ul><li>Review selections.</li><li>Click <strong>Install</strong> to install the AD DS role.</li><li>Wait until the installation completes</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*mamI3VI2Amc9XtLI8xXhEg.png" /></figure><h4><strong>Step 2: Promote Server to Domain Controller</strong></h4><p>once the installation finishes, Click the notification flag in Server Manager → <strong>Promote this server to a domain controller</strong>. This activates AD DS and sets up the first domain. This process establishes the foundation for managing network resources securely</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*HK_d1HQTHzf5otosDOb-SQ.png" /></figure><p>After clicking above, this wizard appears that creates a new forest</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*JQscaWd620XKT12mbyErSQ.png" /></figure><p><strong>Configure Domain Controller Options</strong></p><ul><li>Set <strong>Forest and Domain Functional Levels</strong> (choose latest version).</li><li>Enable <strong>DNS Server</strong> (usually checked by default).</li><li>Enable <strong>Global Catalog (GC)</strong>.</li><li>Set <strong>Directory Services Restore Mode (DSRM) password</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*rK0_WgzSh9U9EO2Mj17H4w.png" /></figure><ul><li>Confirm <strong>NetBIOS domain name</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*WxrvKTE5Ep0y1hUdjqy_Og.png" /></figure><ul><li>Set paths for <strong>database, logs, and SYSVOL</strong> (default recommended for beginners), i left this with default paths</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*gox1-dJLEcwUPu47WUXhKw.png" /></figure><p>Prerequisites Check and click on install</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*moUmoNWJetUAkwnM61mjCw.png" /></figure><ul><li>The server automatically restarts after promotion.</li><li>After reboot, it becomes a <strong>Domain Controller</strong> with AD DS running.</li></ul><h4>step 3: Verify AD DS Installation</h4><ul><li>Open <strong>Active Directory Users and Computers</strong> console.</li><li>Check that your domain, organizational units (OUs), and default containers exist.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TNh5wNOEFka7zZjQuTkESA.png" /></figure><p>We have successfully added AD DS.</p><h4>Step 4: Testing DNS resolution</h4><p>Testing DNS resolution confirms that your DNS server can correctly translate domain names into IP addresses, which is essential for network communication and Active Directory environments.</p><p><strong>nslookup</strong> is the most common tool to test DNS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*euWnzn2Nrnc5PIMNQb52sQ.png" /></figure><p>What it shows:</p><ul><li>DNS server being used</li><li>IP address of the domain</li></ul><p>If it returns an IP address, DNS resolution is working.</p><h4>Active Directory Organizational Units (OUs) and Groups</h4><p><strong>What are Organizational Units?</strong></p><p><strong>Organizational Units (OUs)</strong> in Active Directory Domain Services are containers used to organize and manage objects within a domain.</p><p>Definition</p><ul><li>Logical containers inside Active Directory</li><li>Used to group related objects together</li><li>Help structure the domain in a manageable way</li></ul><p><strong>What OUs Can Contain</strong></p><ul><li>Users ( eg employees like jane smith)</li><li>Computers ( eg laptops, desktops)</li><li>Groups (eg IT department, sales department etc)</li><li>Other OUs (nested OUs)</li></ul><p><strong>Purpose of Organizational Units</strong></p><ul><li>Organize objects by department, location, or function</li><li>Reflect an organization’s structure</li><li>Simplify administration in large networks</li></ul><p><strong>Management Benefits</strong></p><ul><li>Apply Group Policies to specific users or computers</li><li>Delegate administrative control to specific administrators</li><li>Manage resources without affecting the entire domain</li></ul><p>Organizational Units are used to <strong>organize, manage, and apply policies</strong> to users and computers in Active Directory without affecting the entire network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*x80Kvqd-Mih4UW-vbvb2bA.png" /></figure><p><strong>Groups in Active Directory</strong></p><p><strong>Groups</strong> in Active Directory Domain Services are collections of user accounts, computers, or other groups used to manage permissions and access to resources efficiently.</p><p><strong>Definition</strong></p><ul><li>Logical collections of objects (mainly users)</li><li>Used to assign permissions collectively</li><li>Simplify access management</li></ul><p><strong>What Groups Can Contain</strong></p><ul><li>User accounts</li><li>Computer accounts</li><li>Other groups (nested groups)</li></ul><p><strong>Purpose of Groups</strong></p><ul><li>Assign permissions to multiple users at once</li><li>Control access to files, folders, printers, and applications</li><li>Support role-based access control</li></ul><p><strong>Management Benefits</strong></p><ul><li>Reduce need to assign permissions individually</li><li>Simplify administration</li><li>Improve security management</li><li>Make permission changes easier</li></ul><p><strong>Types of Groups</strong></p><p><strong>Security Groups</strong></p><ul><li>Used to assign permissions to resources</li><li>Control access to network services</li><li>Most commonly used in administration</li></ul><p><strong>Distribution Groups</strong></p><ul><li>Used for email distribution lists</li><li>Not used for assigning permissions</li></ul><p><strong>Group Scopes (Where They Apply)</strong></p><ul><li><strong>Domain Local</strong> — Permissions within one domain</li><li><strong>Global</strong> — Users from the same domain</li><li><strong>Universal</strong> — Users from multiple domainst</li></ul><p><strong>Example Use Case</strong></p><ul><li>“IT Staff” group → Access to IT shared folder</li><li>“HR Team” group → Access to HR resources</li></ul><p><strong>Steps to Create Organizational Units (OUs) in Active Directory</strong></p><ul><li>click on tools and then select Active Directory Users and Computers</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*FMVyetolGFGaCq5RuR89Ww.png" /></figure><p><strong>Create a New Organizational Unit</strong></p><ul><li>Right-click the domain name ( maya.com)</li><li><strong>select New → Organizational Unit</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*hy-UVXEgqrR0byKXu_gDxA.png" /></figure><ul><li>Enter a meaningful name (e.g., Employees, IT, HR, Finance, Nairobi Office)</li></ul><p>Optionally check:</p><p>✔ Protect container from accidental deletion</p><p>This prevents accidental removal of the OU.</p><ul><li>Click ok, The new OU will appear in the domain structure</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*6DsjJy2UQ2ejVK-aDILNYg.png" /></figure><p><strong>Steps to create Groups Inside an Employees OU</strong></p><ul><li>Right click on Employees, select new then Group</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*GP0eOw_1COvnANYsB11arQ.png" /></figure><ul><li>Give the group name and then select scope.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/441/1*heFi_jSTkKs3zCHPxUGpRw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*w7pv3w9DHohm6O0FRn7siA.png" /></figure><ul><li>Right click on Employees, select new then Group, create a new group IT department</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*omwn1ft5HyLyNoIg0-oSgw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*U2HxaI7H_34xZmnDKZ_sHg.png" /></figure><p>In the next guide we will add users into this groups</p><p><strong>NOTE</strong>: For part 3 i changed the server ip from <strong>192.168.1.11</strong> to <strong>192.168.1.10</strong>, the same concept and procedure still applies.</p><p>Video guide to help: ( <a href="https://www.youtube.com/playlist?list=PLd8Sl178d4fSIFtCiHKAhIjj7eZlTAdhO">https://www.youtube.com/playlist?list=PLd8Sl178d4fSIFtCiHKAhIjj7eZlTAdhO</a>)</p><h4>Conclusion</h4><p>Installing and configuring Active Directory Domain Services on Windows Server 2022 transforms a basic server into a powerful Domain Controller that centrally manages users, computers, security policies, and access to resources across a network. By preparing the server properly, installing AD DS, promoting it to a Domain Controller, verifying DNS functionality, and organizing resources using Organizational Units (OUs) and Groups, administrators create a structured, secure, and scalable domain environment. This centralized system enables authentication, authorization, Single Sign-On, policy enforcement, and efficient resource management, forming the foundation of modern enterprise networks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8b3ada44c63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Server 2022 Administration: Part 1]]></title>
            <link>https://medium.com/@sumayasomow/windows-server-2022-administration-cefe8d3b7027?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cefe8d3b7027</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 09:02:55 GMT</pubDate>
            <atom:updated>2026-03-04T06:36:41.650Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CUZod-rLjmHUMNcErvy_Cg.png" /></figure><p>Windows Server 2022 is Microsoft’s enterprise-grade operating system designed to run network services, host applications, manage users, and secure organizational data. Unlike desktop Windows, it focuses on centralized control, scalability, and reliability.</p><p>Administrators use it to manage:</p><ul><li>Users and computers in a network</li><li>File storage and sharing</li><li>Security policies</li><li>Network services like DNS and DHCP</li><li>Virtual machines and cloud integration</li></ul><p>Windows Server enables organizations to control infrastructure through tools such as Active Directory and Group Policy, ensuring secure and efficient operations.</p><p><strong>Edition and Installation Type Choice</strong></p><p>Before installation, administrators must choose the appropriate version:</p><p><strong>Editions</strong></p><ul><li><strong>Standard Edition</strong> — Suitable for small to medium environments</li><li><strong>Datacenter Edition</strong> — Designed for highly virtualized and large-scale environments</li></ul><p><strong>Installation Types</strong></p><ul><li><strong>Server Core</strong> — Minimal interface, lower resource usage, more secure</li><li><strong>Desktop Experience</strong> — Full graphical interface, easier for beginners</li></ul><p>Production environments often prefer Server Core due to its reduced attack surface and performance benefits.</p><p><strong>Installation and Initial Configuration</strong></p><p>The first administrative task is installing Windows Server 2022 and preparing it for deployment.</p><p><strong>Key Initial Steps</strong></p><ul><li>Install the operating system</li><li>Configure network settings (IP address, DNS)</li><li>Rename the server</li><li>Set correct date, time, and timezone</li><li>Apply Windows Updates</li><li>Activate the server</li><li>Enable remote management</li></ul><p>After installation, administrators configure roles and features that define the server’s function. These roles transform a generic installation into specialized infrastructure.</p><p><strong>Renaming the Server and Setting Timezone</strong></p><p>Proper naming conventions and time settings are critical, especially in domain environments.</p><p><strong>Change Server Name</strong></p><ol><li>Open <strong>Server Manager</strong></li><li>Click <strong>Local Server</strong></li><li>Select the computer name to open System Properties</li><li>Click <strong>Change</strong></li><li>Enter the new server name and apply</li></ol><p>Clear naming helps identify the server’s role and location in large networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aDKwQxRZmeCcdnoHnHudyw.png" /></figure><ul><li>Click on the computer name to open system properties tab, and then click on change and then apply the new name.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*uF-RHDpyU01yMep3xWDSjg.png" /></figure><p>We have successfully changed our name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_PppNlT-N84WnLfWex_Gw.png" /></figure><p><strong>Set Correct Timezone</strong></p><p>Accurate time ensures proper logging, authentication, and synchronization across systems — especially for domain controllers.</p><p>Steps:</p><ul><li>Open Date and Time settings</li><li>Select the correct timezone</li><li>Confirm synchronization settings</li></ul><p>Incorrect time can cause authentication failures in Active Directory environments.</p><p><strong>Install Windows Updates</strong></p><p>Keeping the server updated ensures the latest security patches and performance improvements.</p><p>Steps:</p><ul><li>Open Settings → Windows Update</li><li>Check for updates</li><li>Install all available updates</li><li>Restart if required</li></ul><p>Regular patching protects against vulnerabilities and cyber threats.</p><p><strong>Configure static IP address</strong></p><p>Servers must use a static IP to remain consistently reachable on the network.</p><p>Typical steps:</p><ul><li>Click on local server in the dashboard, you will see the name and workgroup of the computer, also Ethernet which we need</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*6Lipl-YyZs6wAdeV6PrDyA.png" /></figure><ul><li>Above means that the Ethernet has a dynamic IP address and we need to set it as static</li><li>click on the link that says IPv4 address assigned by DHCP, right click on Ethernet and select properties</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DVVCOp_Wef7IxmUyN5u9tA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*B7zFOdclRDqAKPFIU7K3fw.png" /></figure><ul><li>select the TCP/IPv4 one and then click on use the following IP address</li><li>Obtain IP address automatically, this one is being assigned by DHCP server so we want to set it as static ( our own customized ip)</li><li>Enter static IP, subnet mask, gateway, and DNS</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*IGeMPPkUcgmkn4NawDa02Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*rsc2Ms4iZKLkJ8QY6IMoCQ.png" /></figure><p>A static address is essential for services like DNS, DHCP, and Active Directory.</p><h4>Conclusion</h4><p>Windows Server 2022 Administration begins with understanding the operating system’s role as a powerful, enterprise-grade platform for managing network services, users, security policies, storage, and virtualization. Unlike desktop operating systems, it is built for centralized control, scalability, and reliability, enabling organizations to run critical infrastructure efficiently through technologies such as Active Directory and Group Policy.</p><p>A successful deployment starts with choosing the correct edition standard or Datacenter — and the appropriate installation type, whether Server Core for performance and security or Desktop Experience for ease of use. These decisions determine how the server will operate within the environment and the scale it can support.</p><p>The installation and initial configuration phase is crucial, as it transforms a fresh installation into a functional server. Key tasks include configuring network settings, renaming the server using proper naming conventions, setting the correct timezone for accurate logging and authentication, installing updates for security, activating the system, and enabling remote management. Each step ensures the server is stable, secure, and ready for production use.</p><p>Configuring a static IP address is particularly important because servers must remain consistently reachable on the network. Services such as DNS, DHCP, and Active Directory depend on reliable addressing to function correctly. Without proper network configuration, even well-installed servers cannot deliver essential services.</p><p>Overall, these foundational steps form the backbone of Windows Server 2022 administration. By carefully planning installation choices, performing thorough initial configuration, and applying best practices for networking and updates, administrators establish a secure and reliable environment capable of supporting organizational needs now and in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cefe8d3b7027" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Server 2019 Administration: Part 2]]></title>
            <link>https://medium.com/@sumayasomow/windows-server-2019-administration-part-2-949e1fa79d18?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/949e1fa79d18</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Fri, 27 Feb 2026 09:50:41 GMT</pubDate>
            <atom:updated>2026-02-27T09:50:41.011Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YvzkdUzewCPhtKqYhs9Gqw.png" /></figure><h4>Understanding Active Directory Domain Services (AD DS)</h4><p>As I continue with Windows Server Administration, this part introduces one of the most important components in enterprise IT environments — Active Directory Domain Services (AD DS).</p><p>Part 1 was about management tools and security principles, this lesson is about identity, structure, and control the backbone of how organizations manage users, computers, and resources at scale.</p><p>Active Directory is a vast topic with many subtopics, so this lesson focuses on three foundational areas:</p><ul><li>What AD DS is</li><li>Logical components of AD DS</li><li>Physical components of AD DS</li></ul><p>Understanding these concepts is essential before deploying domain controllers, managing Group Policy, or designing enterprise networks.</p><ol><li><strong>What AD DS is</strong></li></ol><p>Active Directory Domain Services is a directory service developed by Microsoft that stores information about objects on a network and makes that information easy for administrators and users to find and manage.</p><p>In simple terms, AD DS acts as the <strong>central authority for authentication and authorization</strong> in a Windows Server environment. It is an Authentication Server</p><p>Instead of managing accounts on each computer individually, administrators manage everything from one centralized database.</p><p><strong>What AD DS Manages</strong></p><p>AD DS stores and organizes information about:</p><ul><li>Users</li><li>Computers</li><li>Servers</li><li>Groups</li><li>Printers</li><li>Shared folders</li><li>Security policies</li></ul><p>This centralized model allows organizations to enforce consistent rules across the entire network.</p><p><strong>Why AD DS Is Critical in Organisation</strong></p><p>Without Active Directory, every machine would need separate user accounts and permissions, creating chaos and security risks.</p><p><strong>AD DS enables:</strong></p><ul><li>Centralized Authentication: Users log in once and access authorized resources across the network.</li><li>Centralized Authorization: Administrators control who can access what resources.</li><li>Scalability: Supports environments ranging from small businesses to global enterprises.</li><li>Policy Enforcement: Group Policy allows configuration of security settings, software deployment, and system behavior across thousands of machines.</li></ul><p><strong>AD DS Logical Components</strong></p><p>Logical components define <strong>how Active Directory is organized conceptually</strong> — independent of physical hardware or network topology.</p><p>These components create the structure administrators use to manage identities and resources.</p><p><strong>1. Domains</strong></p><ul><li>A domain is the core unit of Active Directory.</li><li>It represents a collection of objects that share:</li><li>A common database</li><li>Security policies</li><li>Administrative boundaries</li></ul><p>Each domain has a unique name, such as:</p><p>company.local</p><p>Domains allow centralized management while maintaining security boundaries.</p><p><strong>2. Organizational Units (OUs)</strong></p><p>Organizational Units are containers within a domain used to organize objects logically.</p><p>They often reflect a company’s structure, such as:</p><ul><li>Departments (HR, Finance, IT)</li><li>Locations</li><li>Functions</li></ul><p>OUs enable:</p><ul><li>Delegation of administrative control</li><li>Application of Group Policy to specific sections</li><li>Simplified management</li></ul><p>Example:</p><p>Instead of giving full domain rights to a helpdesk team, administrators can grant control only over the “Employees” OU.</p><p><strong>3. Trees</strong></p><p>A tree is a collection of one or more domains that share a contiguous namespace.</p><p>Example:</p><p>corp.company.com<br> sales.company.com<br> hr.company.com</p><p>All belong to the same tree because they share the company.com namespace.</p><p><strong>4. Forests</strong></p><p>A forest is the highest-level logical structure in Active Directory.</p><p>It consists of one or more trees that share:</p><ul><li>A common schema</li><li>Global catalog</li><li>Trust relationships</li></ul><p>The forest defines the security boundary of Active Directory.</p><p>Everything inside the forest trusts each other by default.</p><p><strong>5. Global Catalog</strong></p><p>The Global Catalog is a distributed data repository that contains searchable information about objects across the entire forest.</p><p>It allows users to find resources anywhere in the organization without knowing their exact domain location.</p><p><strong>6. Trust Relationships</strong></p><p>Trusts allow domains to share resources securely.</p><p>They define how authentication flows between domains or forests.</p><p><strong>AD DS Physical Components</strong></p><p>Physical components represent the <strong>actual infrastructure</strong> that runs Active Directory.</p><p>They determine how AD DS is deployed across networks and locations.</p><p><strong>1. Domain Controllers</strong></p><p>A Domain Controller (DC) is a server that hosts AD DS and responds to authentication requests.</p><p>Responsibilities include:</p><ul><li>Verifying user credentials</li><li>Enforcing security policies</li><li>Replicating directory data</li><li>Managing domain resources</li></ul><p>Organizations typically deploy multiple domain controllers for redundancy and fault tolerance.</p><p><strong>2. Sites</strong></p><p>Sites represent the physical layout of the network.</p><p>They are based on:</p><ul><li>IP subnets</li><li>Geographic locations</li><li>Network connectivity</li></ul><p>Sites optimize replication traffic and authentication efficiency.</p><p>Example:</p><p>A company with offices in Nairobi and Mombasa would create separate sites for each location.</p><p><strong>3. Replication</strong></p><p>Replication ensures that changes made on one domain controller are copied to others.</p><p>This keeps the directory consistent across the network.</p><p>There are two types:</p><ul><li>Intra-site replication (within a site)</li><li>Inter-site replication (between sites)</li></ul><p><strong>4. Read-Only Domain Controllers (RODC)</strong></p><p>RODCs provide a secure option for branch offices.</p><p>They host a read-only copy of Active Directory, reducing the risk if the server is compromised.</p><p><strong>Why Understanding Logical vs Physical Matters</strong></p><p>Designing Active Directory requires balancing:</p><ul><li>Organizational structure (logical design)</li><li>Network infrastructure (physical design)</li></ul><p>A well-designed AD environment improves:</p><ul><li>Security</li><li>Performance</li><li>Manageability</li><li>Scalability.</li></ul><h4>Installing Active Directory Domain Services in Windows Server 2019, along with DNS and DHCP.</h4><p>Active Directory Domain Services (AD DS) is the core identity service in Windows Server environments, enabling centralized authentication, authorization, and management of users and computers. This guide walks through the full installation and configuration process from adding the server role to logging in as a domain user.</p><ul><li>AD DS allows centralized network management.</li><li>Provides authentication, Group Policy, and directory services.</li><li>Commonly used in enterprise environments.</li><li>Requires Windows Server (2016/2019/2022/2025).</li></ul><p><strong>Infrastructure Overview</strong></p><ul><li>One Windows Server configured as the future Domain Controller.</li><li>Static IP address configured.</li><li>Proper server naming</li><li>Network connectivity verified.</li><li>Local administrator credentials available.</li></ul><p><strong>Installation of AD DS Server Role</strong></p><p><strong>Steps:</strong></p><ul><li>Open <strong>Server Manager</strong>.</li><li>Click <strong>Add Roles and Features</strong>.</li><li>Select <strong>Role-based or feature-based installation</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*McS_P6b8RggInrTAVI7RpQ.png" /></figure><ul><li>Choose the target server. Select a server from the server pool</li><li>Rename your server</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*15N7X6vRqqTwkY_3Kt3cWg.png" /></figure><ul><li>Check <strong>Active Directory Domain Services box</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*wGXfFDyE2FjfeaYg0GEvZw.png" /></figure><ul><li>Accept required features.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*LXCW67s4lmhKo2YO4xzJdA.png" /></figure><ul><li>Click <strong>Install</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*FFO8k5mNGCqxhrxteo5L_Q.png" /></figure><p>Installation is complete</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*-vZna8_nudmxPTERZKATAA.png" /></figure><p><strong>Key Points:</strong></p><ul><li>No reboot usually required yet.</li><li>Installation adds management tools automatically.</li></ul><h4>Promotion of Server to Domain Controller</h4><p><strong>Steps:</strong></p><ul><li>In Server Manager, click the notification flag.</li><li>Select <strong>Promote this server to a domain controller</strong>.</li><li>Choose:</li><li>Add a new forest (for first DC), or</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*2k5-jN8jlinKFvuIvtK43A.png" /></figure><ul><li>Add to existing domain if it exists</li><li>Enter root domain name (e.g., corp.example.com).</li><li>Set Directory Services Restore Mode (DSRM) password. ( eg Maya2026)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lrDg_iB0z078sjMeJoLL9w.png" /></figure><ul><li>Complete prerequisites check. Set the NetBIOS name: ACME</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*OyYmFQ8H5ZfoFwZIGn3MeQ.png" /></figure><ul><li>For path accept the defaults</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*aMoaEz41aSgHZf-Ypodrow.png" /></figure><ul><li>You can view the script and reinstall everything using power shell.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*5hGTNRsG9n594JCYhHKrcQ.png" /></figure><ul><li>Install and reboot. You have now successfully installed active directory environment</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*8hNKb2ZncE3b5VNWur4vzw.png" /></figure><ul><li>You will be signed out and have to log in again to the Active Directory Environment.</li></ul><p><strong>Domain Name Best Practices</strong></p><ul><li>Use internal domain name (e.g., corp.company.local or corp.company.com).</li><li>Avoid single-label names (e.g., “company”).</li><li>Match public domain only if properly planned.</li><li>Keep name short and meaningful.</li><li>Plan for future scalability.</li></ul><p><strong>Server Manager Tour of New Domain Controller</strong></p><p>After reboot:</p><ul><li>Server Manager shows AD DS and DNS roles.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X-V668U0xScFrumePrbsag.png" /></figure><p>New tools available:</p><ul><li>Active Directory Users and Computers</li><li>DNS Manager</li><li>Group Policy Management</li><li>Verify server status is healthy.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*eXnLBym17jBOpDAE0u22kg.png" /></figure><p>Click on the local server , now our machine is not under a workgroup but under a domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X5Ts_6L8ksxvySEuNuH5Yw.png" /></figure><p><strong>DNS Verification</strong></p><p><strong>Steps:</strong></p><ul><li>Open <strong>DNS Manager</strong>.</li><li>Confirm forward lookup zone created.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*Xa7hDnfqFa-zaM0Syjiaww.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*8nl5VpINmtW0V5QT4hDxOw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*wMpNwLgkQIG5elvaAu079w.png" /></figure><ul><li>Verify SRV records exist.</li><li>Test name resolution using:</li><li>nslookup domain_name</li><li>Ensure clients can resolve the domain.</li></ul><p><strong>Why is it Important </strong>AD DS depends heavily on DNS.</p><p>Reverse Lookup zone is not set up, lets set up.</p><ul><li>Right click and select create a new zone</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*47iaGNj6RkFVkx2bPR2_6w.png" /></figure><ul><li>For the zone type, select primary zone</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*Iwerg36yOANnOn_0983FoQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*9bNonLvsQFHWLoMA72yAhg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*Rx47VKl6SyKbiR-JixlQrw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*Ue5JBZ9hdLoO5bf_sya4QQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*7UjmRYVbYvdj-W1MN-52Cw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*XvtX8Ztwj_qk9yTab_elAw.png" /></figure><ul><li>For above we have resolved the ip.</li><li>Then lets update the pointer record for dc01, check the update associated porter checkbox and then apply.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*El5FPt94KCMSazb0bUMrqg.png" /></figure><ul><li>Refresh the reverse lookup zone, the new PTR is reflected.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*Ox9sHC3Y5_Y-nMzDwraQqw.png" /></figure><p>We have just validated our DNS</p><h4>Installation of DHCP Server Role</h4><p><strong>Steps:</strong></p><ul><li>Add Roles and Features again.</li><li>Select <strong>DHCP Server</strong>.</li><li>Complete installation.</li><li>Run DHCP Post-Install configuration.</li><li>Authorize DHCP in Active Directory.</li></ul><p>Create a DHCP scope:</p><ul><li>IP range</li><li>Subnet mask</li><li>Gateway</li><li>DNS server (point to DC)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*thK1p8En6F9mmcGRU3PcqQ.png" /></figure><ul><li>Select DHCP Server, and then add feature</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*yNiId3--Jwc8U69xkqfesA.png" /></figure><ul><li>Then install.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*U90bAIb5p18-BUNQQtiN9Q.png" /></figure><p>DHCP HAS BEEN ADDED.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yP08KI_sCArcMaqM7X0JfA.png" /></figure><p>Now lets complete DHCP configuration.</p><p>Click the complete DHCP configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*nPu8RZMccj0ls8EyD2xrYg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*FfgDknYQTy6ICWCY9GRrGA.png" /></figure><p>click commit to use admin account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*V7ajDBh-ppmk_RyGe67uyQ.png" /></figure><p>Now we have DHCP and we can access if from the tools section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*Cc65M5QaiyGlhTYxrkepkg.png" /></figure><p>Lets build a quick scope for ipv4</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*6o8i2u1lXoEh-VGW9zQpeQ.png" /></figure><ul><li>No exclusion, select next</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*g33Po3f8MNnbHxPTRbAwYw.png" /></figure><ul><li>select yes i want to activate this scope. Then finish</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*KyWJ4tDdsCLaMQ1rbYs30A.png" /></figure><p><strong>Joining a Client to the Domain</strong></p><p><strong>On Client Computer:</strong></p><ul><li>Set DNS to Domain Controller IP.</li><li>Open System Properties.</li><li>Click <strong>Change settings</strong> → <strong>Domain</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*qhB953jgEouiky9rTaAveg.png" /></figure><ul><li>Enter domain name.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*ZnMUDHqRVzp_8h2oVAzFlg.png" /></figure><ul><li>Provide domain admin credentials.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*ksroEFsaRdKzO4f7guEY1A.png" /></figure><ul><li>Restart client. You can now log in to the machine using domain credentials</li></ul><p>Topology Used:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*T7GTUf71ES13Vpz524yKDw.png" /></figure><p><strong>Tour of Active Directory Users and Computers</strong></p><ul><li>Main console for managing AD objects.</li></ul><p>View:</p><ul><li>Users</li><li>Computers</li><li>Built-in containers</li><li>Create and manage accounts.</li><li>Reset passwords and unlock users.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*gqkBt9Ezz0NSK7qUnVnDJA.png" /></figure><p><strong>Creation of Organizational Units (OUs)</strong></p><p><strong>Steps:</strong></p><ul><li>Right-click domain → New → Organizational Unit.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*_d-PIYgne3bsSgIxJR-37Q.png" /></figure><ul><li>Name according to structure (e.g., Acme, HR, IT, Sales).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*iw-6EiIrzYiR99JPUHefVQ.png" /></figure><p>Create the users and create passwords for them.</p><p><strong>Creation of Active Directory Users</strong></p><p><strong>Steps:</strong></p><ul><li>Right-click OU → New → User.</li></ul><p>Enter:</p><ul><li>First name</li><li>Last name</li><li>Username</li><li>Set password options:</li><li>Require password change at next logon</li><li>Password never expires (if needed)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*dRUZI543RqpNBoDbvt4b2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*JNuAFLzUF0v0viRC90Kpqw.png" /></figure><p>Lets give troy the domain administration privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*7QhKR2X4xDOZ4pLl1uFdiw.png" /></figure><p>Use OUs to:</p><ul><li>Delegate administration</li><li>Apply Group Policies</li><li>Organize objects logically</li></ul><p><strong>Logging in as an AD User</strong></p><p><strong>Steps:</strong></p><ul><li>On domain-joined client (pc01):</li><li>Select <strong>Other user</strong> at login.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*GHv73NwGfSZdraMsFadeYg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*ObN5NJ6MM0PHT5y_UG8D1g.png" /></figure><ul><li>Enter domain\username or username@domain.</li><li>Verify successful authentication.</li><li>Confirm user profile creation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*UVXb9mcQ2pxnfbPBVJhPiw.png" /></figure><ul><li>You can sign out and log in as a different user</li><li>Video tutorial guide: <a href="https://www.youtube.com/watch?v=joIubWzQ6P8">https://www.youtube.com/watch?v=joIubWzQ6P8</a></li></ul><h4>Summary</h4><ul><li>Installed AD DS role.</li><li>Promoted server to Domain Controller.</li><li>Verified DNS functionality.</li><li>Installed and configured DHCP.</li><li>Joined client to domain.</li><li>Created OUs and users.</li><li>Successfully logged in with domain account.</li></ul><h4>Conclusion</h4><p>Active Directory Domain Services (AD DS) remains the foundation of identity and access management in Windows Server environments, and understanding it is a critical milestone in becoming a capable systems administrator. In this part of Windows Server 2019 Administration, we moved beyond basic tools and security principles into the architecture that enables organizations to manage users, computers, and resources in a centralized, secure, and scalable way.</p><p>By exploring both the <strong>logical components </strong>domains, Organizational Units, trees, forests, the Global Catalog, and trust relationships and the <strong>physical components , </strong>domain controllers, sites, replication, and Read-Only Domain Controllers — we established the conceptual framework behind how Active Directory is structured and how it operates across real networks. This distinction between logical design and physical deployment is essential for building environments that are not only functional, but also efficient and resilient.</p><p>The hands-on installation of AD DS in Windows Server 2019 brought these concepts to life. From preparing the infrastructure and promoting a server to a domain controller, to configuring DNS and DHCP, joining a client machine to the domain, and creating Organizational Units and users, the process demonstrated how theory translates into practical administration. Successfully logging in as a domain user marked the completion of a fully operational Active Directory environment — a key achievement for any Windows Server administrator.</p><p>Ultimately, mastering AD DS is about understanding control at scale. It enables consistent policy enforcement, streamlined administration, and secure access to resources across an organization. As environments grow in size and complexity, the principles covered here become even more valuable.</p><p>In the next stages of Windows Server Administration, these foundations will support more advanced topics such as Group Policy design, enterprise security strategies, hybrid identity integration, and high-availability domain architectures. With AD DS now in place, the backbone of enterprise network management is firmly established.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=949e1fa79d18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Server 2019 Administration: Part 1]]></title>
            <link>https://medium.com/@sumayasomow/windows-server-2019-administration-part-1-8304cb8e5d39?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8304cb8e5d39</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Tue, 24 Feb 2026 10:51:05 GMT</pubDate>
            <atom:updated>2026-02-24T10:56:53.400Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FD3-5SxFLINerKAiWJtwQQ.png" /></figure><p><strong>Windows Server 2019 Administration</strong> refers to the process of installing, configuring, managing, and securing servers running Windows Server 2019. It involves handling core services such as user and group management, networking, storage, security policies, virtualization, and system monitoring to ensure that an organization’s IT infrastructure runs smoothly and securely.</p><p>A Windows Server 2019 administrator is responsible for maintaining server performance, managing access control, deploying roles and features like Active Directory, DNS, and DHCP, applying updates, troubleshooting issues, and protecting the system against security threats. The goal of Windows Server administration is to provide a stable, efficient, and secure environment that supports business operations and user needs.</p><p>In this series, I am using a Windows Server 2019 machine running on VirtualBox to practice and understand these administration concepts in a hands-on way.</p><h4><strong>1. Windows Admin Center — Modern Server Management</strong></h4><p><strong>Windows Admin Center (WAC)</strong> is the modern, browser-based management platform for Windows Server.</p><p>It provides a centralized interface to manage servers, clusters, hyper-converged infrastructure, and Windows PCs — locally or remotely — without relying on Remote Desktop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RAgdB6S9Box_SwXrWNazoQ.png" /></figure><p><strong>Key capabilities</strong></p><ul><li>Server performance monitoring (CPU, memory, storage)</li><li>Event viewer and diagnostics</li><li>Service and process management</li><li>Hyper-V virtual machine management</li><li>Storage Spaces Direct management</li><li>Role and feature installation</li><li>PowerShell integration</li></ul><p><strong>Windows admin center has two main components</strong></p><ul><li><strong>Gateway</strong> — Manages connections to servers</li><li><strong>Web Server</strong> — Provides the browser interface</li></ul><p><strong>Why admins prefer it</strong></p><ul><li>Eliminates the need for multiple MMC snap-ins</li><li>Secure gateway architecture</li><li>Uses HTTPS by default</li><li>Easy installation and deployment</li><li>Complements existing tools</li><li>Azure integration for hybrid environments</li><li>Remote management without exposing RDP</li></ul><p>Windows Admin Center is becoming the primary GUI tool for modern Windows Server environments, especially in hybrid and cloud-connected setups.</p><h4>2. Server Manager</h4><p>Before Windows Admin Center, <strong>Server Manager</strong> was the primary GUI to for managing Windows Servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*lC10Shspf1SLbPuLBeIHEQ.png" /></figure><p><strong>What it does</strong></p><ul><li>Add/remove server roles and features</li><li>Manage multiple servers from one console</li><li>Monitor server status</li><li>query event logs, it also performs best practice analysis</li><li>check performance monitors</li><li>Configure services and roles (AD DS, DNS, DHCP, etc.)</li></ul><p><strong>When it’s still useful</strong></p><ul><li>Quick configuration on newly installed servers</li><li>Environments that haven’t adopted WAC yet</li><li>Offline or restricted environments</li></ul><p>server manager initially opens to the dashboard which provides quick access to:</p><ul><li>Add roles and features</li><li>Add other servers to manage</li><li>Create a server group</li></ul><p><strong>Key difference from WAC:</strong> Server Manager is local-console focused, while Windows Admin Center is web-based and more scalable.</p><h4>3. Remote Server Administration Tools (RSAT)</h4><p><strong>RSAT</strong> allows administrators to manage Windows Server roles and features from their own workstation instead of logging directly into servers.</p><p>Direct logins to servers increase security risks. RSAT enables remote, controlled administration.</p><p><strong>Tools included in RSAT</strong></p><ul><li>Active Directory Users and Computers</li><li>Group Policy Management</li><li>file services tools</li><li>DNS Manager</li><li>DHCP Manager</li><li>Hyper-V Manager</li><li>Failover Cluster Manager</li></ul><p>Instead of RDP into a Domain Controller:</p><p>➡️ Open AD tools from your admin workstation<br> ➡️ Perform tasks remotely<br> ➡️ Log actions securely</p><p>This aligns with modern security practices.</p><h4>4. Windows PowerShell — The Automation Engine</h4><p>If Windows Admin Center is the dashboard, <strong>PowerShell is the engine</strong>.</p><p>Modern server administration is increasingly automated. GUI-only admins struggle at scale.</p><p>Windows powershell uses cmdlet which is a lightweight, built-in command used in the PowerShell environment to perform specific administrative tasks. They can be combined to perform multiple tasks, they can also be piped together to perform multiple operations</p><p><strong>What PowerShell enables</strong></p><ul><li>Automation of repetitive tasks</li><li>Bulk user management</li><li>Server configuration scripting</li><li>Remote command execution</li><li>Infrastructure as Code concepts</li></ul><p><strong>Example use cases</strong></p><ul><li>Create 100 user accounts instantly</li><li>Deploy roles across multiple servers</li><li>Audit system configurations</li><li>Manage cloud-integrated environments.</li></ul><p><strong>Powershell integrated scripting environment: </strong>Is a graphical user interface-based tool that allows you to:</p><ul><li>Run commands and create, modify, debug and test scripts</li><li>Test the script while in development</li></ul><p><strong>Windows powershell remote managment</strong>:</p><ul><li>Allows windows powershell to remotely run cmdlet on other windows systems</li><li>Depends on the windows remote management server running on the target systems.</li></ul><h4>5. Least-Privilege Administration — Security First</h4><p>Users and administrators should only have the minimum permissions necessary to perform their tasks nothing more.</p><p><strong>Why it matters</strong></p><p>Excess privileges = bigger attack surface.</p><p>If an attacker compromises a high-privilege account, they can control the entire environment.</p><p><strong>Benefits</strong></p><ul><li>Reduces risk of accidental damage</li><li>Limits impact of credential theft</li><li>Improves auditing and accountability</li></ul><p>This principle is foundational to modern cybersecurity frameworks.</p><h4>6. Delegated Privileges — Controlled Administration</h4><p>Large organizations cannot rely on a few Domain Admins for everything.</p><p><strong>Delegation</strong> allows specific administrative tasks to be assigned without granting full control.</p><p><strong>Examples</strong></p><ul><li>Helpdesk resets passwords doesn’t need Domain Admin rights</li><li>Network team manages DNS only</li><li>HR system admins manage user attributes</li></ul><p><strong>How delegation is implemented</strong></p><ul><li>Active Directory Organizational Units (OUs)</li><li>Role-based access control</li><li>Custom security groups</li></ul><p><strong>Goal:</strong> Distribute responsibility while maintaining security boundaries.</p><h4>7. Privileged Access Workstations (PAWs)</h4><p>A <strong>Privileged Access Workstation</strong> is a hardened computer used exclusively for administrative tasks.</p><p><strong>Why PAWs exist</strong></p><p>Admin credentials used on everyday machines can be stolen through:</p><ul><li>Malware, Phishing</li><li>Browser exploits</li><li>Keyloggers</li></ul><p>PAWs reduce this risk.</p><p><strong>PAW characteristics</strong></p><ul><li>No email or web browsing</li><li>Restricted software</li><li>Hardened security policies</li><li>Used only for admin tasks</li></ul><h4><strong>How to Install Windows Server 2019 in Oracle VirtualBox</strong></h4><ul><li>To install windows server 2019, open this link: <a href="https://www.microsoft.com/en-us/evalcenter/download-windows-server-2019">https://www.microsoft.com/en-us/evalcenter/download-windows-server-2019</a></li><li>Download any language you want</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uMONayXEPG93yjaDFMhn2w.png" /></figure><ul><li>After the installation, open virtualbox and select new to upload your server. Select the iso file</li><li>Select the memory to assign, i assigned 4096 MB as the base memory and gave it 3 CPUS</li><li>By default it will take 50.00GB as the disk size, and then hit next then finish</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lwvJdMegaGnU6NYN-MF53g.png" /></figure><ul><li>Then start the machine, installation of windows server will begin</li><li>For the windows setup, i selected windows server 2019 Datacenter ( desktop experience). Wait for the installation to finish</li><li>Our server is now ready</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*hzUrOLm-07Xb5hwmkEfrsw.png" /></figure><h4>Conclusion</h4><p>This first lesson introduced the core tools and principles that form the foundation of Windows Server administration. From modern management platforms like Windows Admin Center to traditional tools such as Server Manager and RSAT, administrators have multiple ways to manage infrastructure efficiently. Equally important are the security concepts — least-privilege access, delegated administration, and Privileged Access Workstations which ensure that management is performed safely and responsibly.</p><p>Understanding these fundamentals is essential before moving into more advanced topics like Active Directory, Group Policy, networking services, and enterprise security. With a properly installed lab environment in VirtualBox, you now have a safe space to practice, experiment, and build real-world administrative skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8304cb8e5d39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vega: website vulnerability scanner]]></title>
            <link>https://medium.com/@sumayasomow/vega-website-vulnerability-scanner-33b19a9a7951?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/33b19a9a7951</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 12:39:18 GMT</pubDate>
            <atom:updated>2026-02-16T12:39:18.675Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*19J2Y2sXfRwptx9P.jpg" /></figure><p>Vega Vulnerability Scanner is an <strong>open-source web security testing tool</strong> used to identify security weaknesses in web applications. It is mainly used by <strong>cybersecurity analysts, penetration testers, and students</strong> who want to find common web vulnerabilities before attackers do.</p><p>Vega is especially popular with beginners because it has a <strong>simple graphical interface (GUI)</strong> and does not require deep coding knowledge to get started.</p><h4>What Does Vega Vulnerability Scanner Do?</h4><p>Vega helps you <strong>scan web applications</strong> and detect common security issues automatically. It focuses on finding vulnerabilities that attackers commonly exploit on websites.</p><p>In simple terms, Vega:</p><ul><li>Visits a website</li><li>Tests how it responds to different inputs</li><li>Identifies weak or insecure behaviors</li><li>Reports possible security flaws</li></ul><h4>How Vega Vulnerability Scanner Works (Step by Step)</h4><p>Vega follows a structured scanning process:</p><ol><li><strong>Target Selection: </strong>You provide the URL of the web application you want to test.</li><li><strong>Crawling the Website: </strong>Vega automatically explores pages, forms, links, and parameters.</li><li><strong>Automated Security Testing: </strong>It sends test inputs (payloads) to check how the application behaves.</li><li><strong>Vulnerability Detection: </strong>Vega looks for responses that indicate security weaknesses.</li><li><strong>Report Generation: </strong>Results are displayed clearly with severity levels and descriptions.</li></ol><h4>Types of Vulnerabilities Vega Can Detect</h4><p>Vega is designed to find <strong>common web application vulnerabilities</strong>, including:</p><ul><li><strong>SQL Injection</strong></li><li><strong>Cross-Site Scripting (XSS)</strong></li><li><strong>Cross-Site Request Forgery (CSRF)</strong></li><li><strong>Insecure Cookies</strong></li><li><strong>Sensitive Information Disclosure</strong></li><li><strong>Directory Listing Issues</strong></li><li><strong>Weak Authentication Mechanisms</strong></li></ul><p>These vulnerabilities are common targets for attackers, making Vega useful for early security testing.</p><h4>Key Features of Vega Vulnerability Scanner</h4><p>Some important features that make Vega stand out:</p><ul><li><strong>Graphical User Interface (GUI): </strong>Easy to use, especially for beginners.</li><li><strong>Automated Scanner:</strong> Quickly finds vulnerabilities without manual testing.</li><li><strong>Intercepting Proxy: </strong>Allows you to inspect and modify HTTP requests and responses. Useful for learning how web traffic works.</li><li><strong>Extensible Scanner Modules: </strong>Advanced users can create custom scan modules using JavaScript.</li><li><strong>Open-Source: </strong>Free to use and supported by the security community.</li></ul><h4>Advantages of Using Vega</h4><ul><li>Easy to learn and use</li><li>No cost (free and open-source)</li><li>Good for understanding web vulnerabilities</li><li>Helpful for training and demonstrations</li><li>Works on multiple operating systems</li></ul><h4>Limitations of Vega</h4><p>While Vega is useful, it has some limitations:</p><ul><li>Not as powerful as advanced commercial scanners</li><li>May produce false positives</li><li>Not ideal for large or complex enterprise applications</li><li>Limited updates compared to newer tools</li></ul><p>Because of this, Vega is best used as a <strong>learning and entry-level security tool</strong>, not a replacement for professional penetration testing tools.</p><h4>Steps to download, setup and scan a website using vega:</h4><p>Step1:- Search for Vega download on any browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/0*2MtVGXEZVTQnw9W6.png" /></figure><p>Step2:- Click on “download”.</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O3dyJs2BXTyyJBMrHnlmXw.png" /></figure><p>Step3:- Select whichever version you need. Click on it and it will start to download.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/0*rR_Wso0rXNsE01o7.png" /></figure><p>Step4:- Here we have the setup file now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/0*d2OCHRO5wAhDw57j.png" /></figure><p>Step5:- Launch the setup file, click “Next”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/0*pdrb-UVtBK3O7gvx.png" /></figure><p>Step6:- Click on “I Agree”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/0*EL7QP5VR6fLVF2i6.png" /></figure><p>Step7:- Specify the destination folder and then clcik on “Install”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/0*BFuqxEjiAER_6qNv.png" /></figure><p>Step8:- Wait for a while while it’s installing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/0*-KQheKN-7lFgh7bo.png" /></figure><p>Step9:- Click on “Finish”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/0*_vifO8_FPcAl8oro.png" /></figure><p>Step10:- Select on “Scan” and then select “Start new scan”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/0*wJ6_Gs_LQA_BIpPB.png" /></figure><p>Step11:- Paste your desired url under “Scan Target” and then click “Finish”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/0*wNW5zFsa2wkIvtFI.png" /></figure><p>Step12:- Vega has scanned the website and now here we have a detailed report for the given url.</p><h4>Conclusion</h4><p>Vega Vulnerability Scanner is a <strong>powerful beginner-friendly tool</strong> for learning and performing basic web application security testing. Its simple interface, automated scanning, and open-source nature make it an excellent choice for students and entry-level cybersecurity professionals.</p><p>While it may not replace advanced penetration testing tools, Vega plays an important role in <strong>building foundational skills</strong>, understanding web vulnerabilities, and promoting secure application development.</p><p>If you are starting your journey in web security, Vega is a great place to begin.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33b19a9a7951" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[30-Day SOC Challenge — Day 27]]></title>
            <link>https://medium.com/@sumayasomow/30-day-soc-challenge-day-27-0414a481af75?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0414a481af75</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 19:15:15 GMT</pubDate>
            <atom:updated>2025-08-13T09:21:10.962Z</atom:updated>
            <content:encoded><![CDATA[<h3>30-Day SOC Challenge — Day 27</h3><h4>Wazuh - Running Wazuh in Docker</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cs5hT9Mju5Qp1digZRGk4A.png" /></figure><p>Wazuh is a powerful open-source platform for security monitoring, threat detection, and compliance. To deploy Wazuh using Docker, there are a few system-level preparations and configurations you must complete. This guide walks you through every step needed to successfully set up Docker and Docker Compose, especially for deploying Wazuh using containers.</p><p>If Stuck use this: <a href="https://www.youtube.com/watch?v=aaQc_3eF5PU">https://www.youtube.com/watch?v=aaQc_3eF5PU</a></p><p>⚠️ <strong>Note:</strong> You need root privileges to execute all the commands in this guide.</p><p><strong>System Requirements</strong></p><ul><li><strong>Memory:</strong> Allocate at least <strong>6 GB of RAM</strong> for your Docker host.</li><li>Wazuh Indexer is memory-intensive and requires sufficient RAM to function properly.</li><li>Insufficient memory may cause containers to fail or behave unexpectedly.</li></ul><p><strong>Increase </strong><strong>max_map_count for Memory Mapping</strong></p><ul><li>Wazuh Indexer uses many memory-mapped areas. To avoid failures, you must increase the number of allowed mappings on your host system.</li><li><strong>Temporarily Set max_map_count</strong>: sysctl -w vm.max_map_count=262144</li><li><strong>Verify After Reboot: </strong>sysctl vm.max_map_count</li><li><strong>Warning:</strong> If this setting is not applied, Wazuh Indexer <strong>will not work properly</strong>.</li></ul><p><strong>Check System Compatibility for Docker</strong></p><ul><li>Docker requires a Linux system with <strong>AMD64 or ARM64</strong> architecture and a kernel version <strong>3.10+</strong>.</li><li>command: uname -r</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*YBsNNYcy3ny7EXMykW8Qxg.png" /></figure><p><strong>Install Docker Engine</strong></p><ul><li>This method works for most distributions including Ubuntu, Debian, CentOS, and Amazon Linux 2.</li><li>command: curl -sSL <a href="https://get.docker.com/">https://get.docker.com/</a> | sh</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*38Lc2NkF5A1xXUB8C_5MGg.jpeg" /></figure><p><strong>Start Docker Service:</strong></p><ul><li>systemctl start docker</li></ul><p><strong>Install Docker Compose (v2.12.2 or newer)</strong></p><ul><li>Wazuh requires <strong>Docker Compose 1.29+</strong>. We’ll install version <strong>2.12.2</strong> here.</li><li>Download Docker Compose Binary: curl -L “<a href="https://github.com/docker/compose/releases/download/v2.12.2/docker-compose-$(uname">https://github.com/docker/compose/releases/download/v2.12.2/docker-compose-$(uname</a> -s)-$(uname -m)” -o /usr/local/bin/docker-compose</li><li>Apply Execute Permissions: chmod +x /usr/local/bin/docker-compose</li><li>Test the installation to ensure everything is fine: docker-compose — version</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_fxbPNYMpNIlTAmxX8dgUA.png" /></figure><h4>Wazuh Installation:</h4><ul><li><strong>Single-node deployment:</strong> Deploys one Wazuh manager, indexer, and dashboard node.</li><li><strong>Clone the Wazuh repository to your system</strong>: git clone <a href="https://github.com/wazuh/wazuh-docker.git">https://github.com/wazuh/wazuh-docker.git</a> -b v4.12.0</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rdhfAVX59UpMva_p-lP_BQ.png" /></figure><ul><li><strong>Execute the following command to get the desired certificates</strong>: docker-compose -f generate-indexer-certs.yml run — rm generator</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yZJsvqMmtE9iLBfoDYCMbg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gbKg2qG1pkLmHyzLfzIXIA.png" /></figure><ul><li>Start the Wazuh single-node deployment using docker-compose: <em>foreground: docker-compose up</em></li><li>I ran it in the background: <em>docker-compose up -d</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UeH7yrv07l6LqXGa4XYHOg.png" /></figure><p>Run docker ps: The docker ps command shows you a <strong>list of running Docker containers</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*W4RxN13rbqPt7gnhMZxumw.png" /></figure><p>It shows <strong>only the active (running)</strong> containers by default.</p><p>Provides details such as:</p><ul><li><strong>Container ID</strong></li><li><strong>Image name</strong></li><li><strong>Command</strong> used to run the container</li><li><strong>Creation time</strong></li><li><strong>Status</strong></li><li><strong>Ports</strong></li><li><strong>Container name</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dBCgTWlW6JZiECgz-UVXfA.png" /></figure><p>We will then access the wazuh-dashboard, to access it: <a href="https://192.168.0.108/">https://192.168.0.108/</a>, that is the ip address of the machine where wazuh is running. (Replace with your Wazuh host IP)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B8mQOywOMZRsbInoFoO74Q.png" /></figure><p>The default username and password for the Wazuh dashboard are admin and SecretPassword. For <a href="https://documentation.wazuh.com/current/deployment-options/docker/wazuh-container.html#change-pwd-existing-usr">additional security</a>, you can change the default password for the Wazuh indexer <em>admin</em> user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ty_ybPAXQMCq3bWSb0AnmQ.png" /></figure><p>You can then go ahead and add agents</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_5O2hjtbH_Hp2uTXpoYZQ.png" /></figure><p>Lets now create an agent with wazuh dashboard, i am going to use DEB amd64, the server ip address is the same ip address we used to access wazuh</p><p>Let’s add an agent using the Wazuh Dashboard</p><ol><li>Navigate to <strong>“Agents”</strong> tab in the dashboard.</li><li>Click <strong>“Add Agent”</strong>.</li><li>Choose the operating system, e.g., <strong>DEB (amd64)</strong>.</li><li>The Wazuh dashboard will generate the commands for you to run on the agent machine.</li><li>Use the <strong>same IP address</strong> as your Wazuh server (192.168.0.108 in our case).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eN6772AJNUwsHyJP-170mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tKE_jfJfaCRxMsn1q6JRQw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DjFYFoMh85Xcd-UoFQINfQ.png" /></figure><h4>Wazuh offers a robust and extensible dashboard with several key features:</h4><p><strong>Security Event Monitoring</strong></p><ul><li>View real-time security events and alerts.</li><li>Drill down into logs from multiple agents.</li><li>Detect anomalies, intrusions, and suspicious behavior.</li></ul><p><strong>Wazuh Reports:</strong></p><p>Generates custom or predefined reports for:</p><ul><li><strong>Compliance (PCI-DSS, GDPR, HIPAA, etc.)</strong></li><li><strong>Security Events</strong></li><li><strong>Vulnerability Assessments</strong></li><li><strong>System Health &amp; Availability</strong></li></ul><p>Reports can be scheduled or exported in PDF/CSV formats for audit and compliance purposes.</p><p><strong>Vulnerability Detection</strong></p><ul><li>Wazuh scans for vulnerabilities using CVE databases.</li><li>Shows affected software packages and recommendations for patching.</li></ul><p><strong>Dashboards &amp; Visualizations</strong></p><ul><li>Use the built-in Kibana-style interface for custom visualizations.</li><li>Filter logs by severity, agent, location, or event type.</li><li>Track top talkers, attack sources, or trends over time.</li></ul><p><strong>File Integrity Monitoring (FIM)</strong></p><ul><li>Monitor critical files and folders for unauthorized changes.</li><li>Get alerted when someone modifies system binaries or configs.</li></ul><p><strong>Integration with Threat Intelligence</strong></p><ul><li>Integrates with external threat intelligence feeds.</li><li>Automatically enriches events with reputation data (e.g., IPs, domains).</li></ul><p><strong>Log Data Collection</strong></p><ul><li>Collects logs from multiple sources including:</li><li>Syslog, Application logs, Cloud services (AWS, Azure), Containers</li></ul><h4>Conclusion</h4><p>Initially, installing Wazuh directly on an Ubuntu VM proved to be a <strong>challenging and complex process</strong>, especially when dealing with manual configurations, dependencies, and service management. However, switching to a <strong>Docker-based deployment made everything significantly easier</strong>. The entire stack — Wazuh manager, indexer, and dashboard — was up and running with minimal effort using Docker Compose.</p><p>Running Wazuh in Docker not only simplifies the setup process but also makes the system more <strong>modular, portable, and maintainable</strong>. You can easily bring containers up or down, update components, and replicate the setup on other systems — all without deep OS-level configurations.</p><p>Once deployed, the <strong>Wazuh Dashboard</strong> becomes a powerful centralized hub for managing:</p><ul><li>✅ Agent activity across systems</li><li>✅ Real-time security alerts and log analysis</li><li>✅ Compliance reporting and audit trails</li><li>✅ Vulnerability findings</li><li>✅ Threat intelligence integrations</li></ul><p>Whether you’re managing a home lab, small business, or enterprise infrastructure, Wazuh offers the <strong>visibility, automation, and control</strong> needed to detect and respond to threats effectively.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0414a481af75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[30-Day SOC Challenge — Day 26]]></title>
            <link>https://medium.com/@sumayasomow/30-day-soc-challenge-day-26-a4c4b2cc0e2b?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4c4b2cc0e2b</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Fri, 01 Aug 2025 15:31:27 GMT</pubDate>
            <atom:updated>2025-08-01T15:31:27.620Z</atom:updated>
            <content:encoded><![CDATA[<h3>30-Day SOC Challenge — Day 26</h3><h4>Elastic SIEM: Security Monitoring with the ELK Stack</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*haUJWihnrWL34BEs0NfG2g.png" /></figure><p>Threat detection, log analysis, and real-time monitoring have become mission-critical for any organization. As the number of threats and their complexity grows, defenders need modern tools that are flexible, powerful, and scalable.</p><p>Elastic SIEM, a security solution built on the famous ELK Stack — Elasticsearch, Logstash, and Kibana. Originally designed for log and data analysis, the ELK Stack has evolved into a powerful Security Information and Event Management (SIEM) platform.</p><p>In this post, we’ll break down:</p><ul><li>What Elastic and the ELK Stack are</li><li>How each component works</li><li>How Elastic SIEM fits into modern security monitoring</li><li>Why it’s valuable for SOC teams and security analysts</li></ul><p><strong>What is Elastic?</strong></p><p>Elastic is the company behind the Elastic Stack, an open-source suite of tools built for search, observability, and security use cases. The stack is known for processing large volumes of data in real-time.</p><p>At the heart of Elastic is <strong>Elasticsearch</strong>, a powerful search and analytics engine. Combined with <strong>Logstash </strong>(data processing pipeline), Beats (lightweight data shippers), and <strong>Kibana</strong> (visualization dashboard), the Elastic Stack becomes a robust foundation for building scalable systems including a SIEM.</p><p>The <strong>ELK Stack</strong> stands for:</p><ol><li><strong>Elasticsearch</strong></li><li><strong>Logstash</strong></li><li><strong>Kibana</strong></li></ol><p><strong>1. Elasticsearch — The Heart of Search and Analytics</strong></p><p><strong>Purpose:</strong><br> Elasticsearch is a <strong>distributed, RESTful search engine</strong> capable of storing and analyzing large volumes of data at lightning speed.</p><p><strong>Use in SIEM:</strong></p><ul><li>Stores and indexes logs from various systems</li><li>Enables fast searching across huge datasets (e.g., logs, events, alerts)</li><li>Provides real-time analytics for security event correlation</li></ul><p><strong>Example:</strong><br>Imagine your firewall logs 1 million connection attempts per hour. Elasticsearch can store, search, and analyze these logs efficiently, letting you filter for suspicious IPs instantly.</p><p><strong>2. Logstash — The Data Pipeline</strong></p><p><strong>Purpose:</strong><br> Logstash is a <strong>data collection and processing engine</strong>. It ingests data from multiple sources, transforms it, and sends it to Elasticsearch.</p><p><strong>Use in SIEM:</strong></p><ul><li>Collects logs from firewalls, endpoints, servers, etc.</li><li>Parses, filters, and enriches the data (e.g., GeoIP tagging)</li><li>Sends clean, structured logs to Elasticsearch</li></ul><p><strong>Example:</strong><br> You can configure Logstash to receive Windows Event Logs, parse out fields like event type, user, and host, then enrich with GeoIP data before sending it to Elasticsearch.</p><p><strong>What are Beats?</strong><br> Small, single-purpose data shippers installed on endpoints (e.g., servers, PCs, containers).</p><p><strong>Common Beats:</strong></p><ul><li><strong>Filebeat</strong> — ships log files (e.g., system logs, Apache logs)</li><li><strong>Metricbeat</strong> — collects system metrics (CPU, memory, etc.)</li><li><strong>Packetbeat</strong> — captures network traffic</li><li><strong>Winlogbeat</strong> — ships Windows Event Logs</li><li><strong>Auditbeat</strong> — monitors Linux audit framework and file integrity</li><li><strong>Heartbeat</strong> — monitors uptime/availability of services</li></ul><p><strong>Function:</strong><br> Collect logs/metrics and <strong>forward them to Logstash or directly to Elasticsearch</strong>.</p><p><strong>3. Kibana — The Visual Interface</strong></p><p><strong>Purpose:</strong><br> Kibana is a graphical <strong>data visualization and dashboard tool</strong>. It connects directly to Elasticsearch to display data via graphs, charts, and dashboards.</p><p><strong>Use in SIEM:</strong></p><ul><li>Security analysts use Kibana dashboards to monitor incidents</li><li>Provides powerful visualizations of threats, anomalies, and trends</li><li>Used to build custom detection rules, alerts, and timelines</li></ul><p><strong>Example:</strong><br> You can create a dashboard showing failed login attempts by country, then zoom into specific time ranges for investigation.</p><h4>What is Elastic SIEM?</h4><p><strong>Elastic SIEM</strong> is a <strong>Security Information and Event Management</strong> solution that runs on top of the Elastic Stack. It brings all the ELK components together in a security-focused way.</p><p>It’s available directly in Kibana (via the “Security” app) and provides:</p><ul><li>Prebuilt security detection rules (MITRE ATT&amp;CK aligned)</li><li>Real-time alerting for suspicious behavior</li><li>Interactive timeline investigations</li><li>Threat intelligence integration</li><li>Host and network data analysis</li></ul><p>You can onboard data from systems like:</p><ul><li>Windows and Linux endpoints</li><li>Firewalls and IDS (e.g., Suricata, Zeek)</li><li>Cloud platforms (AWS, Azure)</li><li>Endpoint tools (Elastic Agent, Beats)</li></ul><p><strong>Why Use Elastic SIEM?</strong></p><p>Here are the <strong>top reasons</strong> why Elastic SIEM is becoming a go-to solution:</p><ol><li><strong>Open-source and Free Tier</strong> — Ideal for learning, small SOCs, and testing.</li><li><strong>Real-time Detection</strong> — Helps detect threats as they occur.</li><li><strong>Prebuilt Use Cases</strong> — Quickly deploy rules for common attacks (e.g., brute force, privilege escalation).</li><li><strong>Scalability</strong> — Handles terabytes of log data across multiple systems.</li><li><strong>Customizable</strong> — Build your own detection logic, enrich data, and customize dashboards.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V-8A6GRXkM_FgBWFhGm2fw.png" /></figure><h4><strong>ELK + Beats Flow</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ChYkQfpM8VLBRLWDy-DdVQ.png" /></figure><ol><li><strong>Data Collection: </strong>Logs and metrics are collected from <strong>servers</strong>.</li><li><strong>Beats (Data Shippers): Beats</strong> (like Filebeat, Metricbeat) are lightweight agents installed on servers to <strong>ship logs</strong>.</li></ol><p>They send data directly to either:</p><ul><li><strong>Logstash</strong> (for processing), or</li><li><strong>Elasticsearch</strong> (if no processing needed).</li></ul><p><strong>3. Logstash (Optional Step): </strong>Used for <strong>data aggregation, filtering, and enrichment</strong>.</p><ul><li>It processes the data before sending it to Elasticsearch.</li></ul><p><strong>4. Elasticsearch: </strong>Stores and <strong>indexes</strong> the logs for fast search and analysis.</p><p><strong>5. Kibana: </strong>Provides a <strong>dashboard</strong> to visualize, search, and monitor the data.</p><h4>ELK INSTALLATION:</h4><p>Installation link: <a href="https://www.fosstechnix.com/how-to-install-elastic-stack-on-ubuntu-22-04/">https://www.fosstechnix.com/how-to-install-elastic-stack-on-ubuntu-22-04/</a></p><p><a href="https://www.youtube.com/watch?v=DEFA6bgv4zM&amp;t=1110s"><strong>https://www.youtube.com/watch?v=DEFA6bgv4zM&amp;t=1110s</strong></a></p><h4>1. Java Installation</h4><p><strong>Step #1: Install Java on Ubuntu 22.04 LTS</strong></p><ul><li>sudo apt update</li><li>Install OpenJDK 11: sudo apt install openjdk-11-jdk</li><li>Verify Java version: java -version</li></ul><p><strong>Set </strong><strong>JAVA_HOME Environment Variable</strong></p><ul><li>Open environment file: sudo nano /etc/environment</li><li>Add this line to the file: JAVA_HOME=&quot;/usr/lib/jvm/java-11-openjdk-amd64&quot;</li><li>Load the variable: source /etc/environment</li><li>Verify JAVA_HOME: echo $JAVA_HOME</li><li>Expected output: /usr/lib/jvm/java-11-openjdk-amd64</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ISILJ18Hrc5kPw1-qFN3g.png" /></figure><h4>Step #2: Install Elasticsearch 8 on Ubuntu 22.04 LTS</h4><ul><li>Download and install the GPG key:<br> wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg</li><li>Add the Elasticsearch APT repository:<br> echo &quot;deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main&quot; | sudo tee /etc/apt/sources.list.d/elastic-8.x.list</li><li>Update APT and install Elasticsearch:<br> sudo apt-get update<br> sudo apt-get install elasticsearch</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YM2Z9u-r2hV-ROViLlUALQ.png" /></figure><ul><li>Start Elasticsearch service: sudo systemctl start elasticsearch</li><li>Enable Elasticsearch at startup: sudo systemctl enable elasticsearch</li><li>Check Elasticsearch status: sudo systemctl status elasticsearch</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mPXR_Sm9RcAzfjs-dFqbrA.png" /></figure><h4>Step #3: Configure Elasticsearch on Ubuntu 22.04 LTS</h4><ul><li>Open config file: sudo nano /etc/elasticsearch/elasticsearch.yml</li><li>In the <strong>network section</strong>, set host to all IPs:<br> network.host: 0.0.0.0</li><li>In the <strong>discovery section</strong>, add:<br> discovery.seed_hosts: []</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/0*zmoc_BG8nHb7SnCU" /></figure><ul><li>In the <strong>security section</strong>, set security to false:<br> xpack.security.enabled: false</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/0*detHcS1mGwz9D6rs" /></figure><ul><li>Restart Elasticsearch to apply changes:<br> sudo systemctl restart elasticsearch</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tszQQmgAuv9aQzA9wiYsGQ.png" /></figure><h4>Step #4:Testing Elasticsearch on Ubuntu</h4><ul><li>Lets test Elasticsearch using curl command by sending HTTP request: <br> curl -X GET &quot;localhost:9200&quot;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*F-De99fcwO5WYxxBkG5dTQ.png" /></figure><p>You can access using browser: http://&lt;your-system-IP&gt;:9200</p><ul><li><a href="http://192.168.100.18/">http://192.168.100.18</a>:9200</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S86egNvt86-PFewt-rhmHw.png" /></figure><p><strong>Uninstalling Elasticsearch on Ubuntu</strong></p><p><strong>Remove Elasticsearch completely:</strong><br> sudo apt-get --purge autoremove elasticsearch<br> sudo apt-get remove --purge elasticsearch<br> sudo rm -rf /etc/elasticsearch</p><h4>Step #5:Install Logstash on Ubuntu</h4><p>Logstash is a tool that collects data from different sources. The data it collects is parsed by Kibana and stored in Elasticsearch.</p><ul><li>Install Logstash: sudo apt-get install logstash</li><li>Start Logstash service: sudo systemctl start logstash</li><li>Enable Logstash on boot: sudo systemctl enable logstash</li><li>Check Logstash status: sudo systemctl status logstash</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BBSg6i4aRVR0YkozRi_kpg.png" /></figure><h4>Step #6:Configure logstash on Ubuntu</h4><ul><li>Open config file: sudo nano /etc/logstash/logstash.yml</li><li>No changes are made in this file.</li></ul><h4>Step #7:Install Kibana on Ubuntu</h4><p>It is recommended to install Kibana next. Kibana is a graphical user interface for parsing and interpreting collected log files.</p><ul><li>Install Kibana: sudo apt-get install kibana</li><li>Start Kibana service: sudo systemctl start kibana</li><li>Enable Kibana on boot: sudo systemctl enable kibana</li><li>Check Kibana status: sudo systemctl status kibana</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2eufpgFieDXWmNYr7UmnA.png" /></figure><h4>Step #8:Configure Kibana on Ubuntu</h4><ul><li>Edit Kibana config file: sudo nano /etc/kibana/kibana.yml</li></ul><p>Update the following lines:</p><ul><li>server.port: 5601<br>server.host: “0.0.0.0”<br>elasticsearch.hosts: [“<a href="http://localhost:9200/">http://localhost:9200</a>&quot;]</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*jz-TPowBxPLUl4zF" /></figure><ul><li>Restart Kibana: sudo systemctl restart kibana</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-TIgxjzJkNQcFv9WTqABlQ.png" /></figure><h4>Step #9:Accessing Kibana on Ubuntu</h4><p>To access Kibana, open a web browser and browse to the following address:</p><pre>http://ip_address:5601</pre><ul><li><a href="http://192.168.100.18/">http://192.168.100.18</a>:5601</li></ul><h4>Step #10:Install Filebeat on Ubuntu</h4><p>Filebeat is a lightweight plugin used to collect and ship log files. It is the most commonly used Beats module. One of Filebeat’s major advantages is that it slows down its pace if the Logstash service is overwhelmed with data.</p><ul><li>Install Filebeat: sudo apt-get install filebeat</li></ul><p><strong>Step #11:Configure Filebeat on Ubuntu</strong></p><p>Filebeat, by default, sends data to Elasticsearch. Filebeat can also be configured to send event data to Logstash.</p><ul><li>Open configuration file using below command: sudo nano /etc/filebeat/filebeat.yml</li></ul><p>Under the Elasticsearch output section, comment out the following lines:</p><pre># output.elasticsearch:<br># Array of hosts to connect to.<br># hosts: [&quot;localhost:9200&quot;]</pre><p>Under the Logstash output section, uncomment in the following two lines:</p><pre>output.logstash<br>hosts: [&quot;0.0.0.0:5044&quot;]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/0*Vw3IOs_1XIVmU1KR" /></figure><ul><li>Enable Filebeat system module: sudo filebeat modules enable system</li><li>Load index template:<br> sudo filebeat setup --index-management -E output.logstash.enabled=false -E &#39;output.elasticsearch.hosts=[&quot;0.0.0.0:9200&quot;]&#39;</li><li>Start Filebeat service: sudo systemctl start filebeat</li><li>Enable Filebeat on boot: sudo systemctl enable filebeat</li><li><strong>Verify Elasticsearch is receiving data</strong>:<br> curl -XGET http://&lt;your-ip&gt;:9200/_cat/indices?v</li><li>Or open in browser:<br> http://&lt;your-ip&gt;:9200/_cat/indices?v</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pbgr7yxH6f6GJ3-nGp_3xA.png" /></figure><p>Lets now access Kibana:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*CUoF6QJn-R1t9glE" /></figure><p><strong>Conclusion:</strong></p><p>We have covered Install Elastic Stack on Ubuntu 22.04 LTS, Install ElasticSearch 8 on Ubuntu 22.04 LTS,Configure Elasticsearch on Ubuntu 22.04 LTS,Testing Elasticsearch on Ubuntu 22.04 LTS,Install Logstash on Ubuntu 22.04 LTS,Configure logstash on Ubuntu 22.04 LTS,Install Kibana on Ubuntu 22.04 LTS,Configure Kibana on Ubuntu 22.04 LTS,Install Filebeat on Ubuntu 22.04 LTS,Configure Filebeat on Ubuntu 22.04 LTS</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4c4b2cc0e2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[30-Day SOC Challenge — Day 25]]></title>
            <link>https://medium.com/@sumayasomow/30-day-soc-challenge-day-25-919b545ad13a?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/919b545ad13a</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Wed, 30 Jul 2025 14:28:44 GMT</pubDate>
            <atom:updated>2025-07-30T14:28:44.466Z</atom:updated>
            <content:encoded><![CDATA[<h3>30-Day SOC Challenge — Day 25</h3><h4>Configuring ufw firewall</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/0*n1ob3pCPYG5tfxLp.png" /></figure><ol><li><strong>Introduction</strong></li></ol><p>In today’s world, securing your system and network from unauthorized access is critical, and firewalls play an essential role in that defense. UFW (Uncomplicated Firewall) is a user-friendly tool designed to manage firewall rules easily, especially for those who are not familiar with more complex firewalls like iptables. While Kali Linux is a powerful platform used primarily by penetration testers and security professionals, it’s equally important to safeguard it with a proper firewall.</p><p>In this guide, I will take you step by step through configuring UFW on Kali Linux. Although UFW might seem technical at first, by the end of this tutorial, you’ll see that it’s actually a simple yet powerful tool you can use to improve your network security.</p><h3>2. Installing UFW on Kali Linux</h3><p>Before diving into configuring UFW, we first need to ensure it is installed on your Kali Linux system, as it doesn’t come pre-installed.</p><p><strong>Step 1: Update Your System</strong><br>Before installing UFW, it’s always a good practice to ensure your system is up to date:<br><em>sudo apt update /sudo apt upgrade:</em><br>expected output</p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4AFADCRa-ZlH8PmX.png" /></figure><p><strong>Step 2: Install UFW</strong><br>To install UFW, run the following command in your terminal:<br><em>sudo apt install ufw:</em></p><p>expected output</p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/0*_qn7T-9-rATX9fDo.png" /></figure><p>already the newest version</p><p><strong>Step 3: Verify UFW Installation</strong><br>Once UFW is installed, you can check its version to ensure everything is set up correctly:<br><em>sudo ufw version:</em></p><p>expected output</p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aOOVGNXOQ0fbue_F.png" /></figure><p>This will display the installed version of UFW and confirm that it’s ready to use.</p><p><strong>Step 4: Check UFW Status</strong><br>After installation, UFW may not be enabled by default. You can check the status with:<br><em>sudo ufw status:</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dgwi9BWeQhtkKbtI.png" /></figure><p>This will likely show if the firewall is <em>inactive </em>or <em>active</em></p><h3>3. Basic UFW Configuration</h3><p>Now that UFW is installed, it’s time to configure it with some basic rules. UFW’s default settings can be restrictive, so we’ll walk through setting up essential rules to allow your system to function securely.</p><p><strong>Step 1: Set Default Policies</strong><br>UFW allows you to set default policies for incoming and outgoing traffic. By default, it will allow outgoing connections and deny incoming ones, which is a secure starting point.</p><p>To set these default rules:<br><em>sudo ufw default deny incoming:</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HdFs3VS_udlkAPe5.png" /></figure><p>expected output</p><p>Deny incoming: Blocks all inbound traffic unless specified by additional rules.</p><p><em>sudo ufw default allow outgoing:</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yZpTi6y46K1Uc52e.png" /></figure><ul><li>Allow outgoing: Permits all outbound traffic so your system can connect to external servers.</li></ul><p><strong>Step 2: Allow SSH Connections</strong><br>If you are using SSH to remotely connect to your Kali Linux system, it’s important to enable it, especially if you’ve just set UFW to block all incoming traffic. To allow SSH (port 22):<br><em>sudo ufw allow ssh:</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GStC6ubveYhfznvm.png" /></figure><p>you can see that SSH is allowed:</p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ou7uqketoGvLv6Xr.png" /></figure><p>This ensures that even with a strict firewall, you can still remotely access the machine via SSH.</p><p><strong>Step 3: Enable UFW</strong><br>Now that the basic rules are set, it’s time to enable UFW:<br><em>sudo ufw enable:</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F5xd05zpbKbk2qAe.png" /></figure><p>expected output but if it is your first time you will be prompted with a confirmation message. Type ‘y’ to proceed.</p><p>You’ll be prompted with a confirmation message. Type `y` to proceed.</p><p>Once enabled, UFW will begin enforcing your firewall rules immediately. Be careful not to block yourself out of the system, especially if you’re connected remotely.</p><p><strong>Step 4: Check UFW Status</strong><br>To verify that UFW is enabled and to check what rules are currently active, run:<br><em>sudo ufw status verbose</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bofvsaJjgH2eyF__.png" /></figure><p>This will display the current status (`active` or `inactive`) and list all allowed/denied services.</p><h3>4. Allowing and Denying Services in UFW</h3><p>With UFW enabled and basic rules in place, it’s important to fine-tune the firewall by allowing or denying specific services and ports based on your needs. Let’s go over some common configurations.</p><p><strong>Step 1: Allow Common Services</strong><br>UFW makes it easy to allow common services like HTTP, HTTPS, and SSH with simple commands. Here’s how to allow traffic for these services:</p><ul><li>Allow HTTP (Port 80):<br><em>sudo ufw allow http</em></li></ul><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kIS050yIX7yuj0z1.png" /></figure><p>port 80 added,check below image to to see the status</p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hW-1oHrkiG4Bfnkq.png" /></figure><p>port 80 added already i hope we are good.</p><p>n/b(i had to reset my ufw to show case how i added port 80</p><ul><li>Allow HTTPS (Port 443)<br><em>sudo ufw allow https</em></li></ul><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/0*Nph74gF-Wnkq1FBY.png" /></figure><ul><li>Allow SSH (Port 22):<br>If you haven’t already allowed SSH in the previous step, you can do it here:<br><em>sudo ufw allow ssh</em></li></ul><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YeMkuRADF7qCgcQT.png" /></figure><p><strong>Step 2: Allow Custom Ports</strong><br>For applications running on non-standard ports, you can specify custom ports. For example, if you have a web server running on port 8080, you can allow it as follows:</p><ul><li>Allow traffic on Port 8080:<br><em>sudo ufw allow 8080/tcp</em></li></ul><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hJ0uK8iBuvGuTIKe.png" /></figure><p><strong>Step 3: Denying Services</strong><br>To block a specific service or port, you can use the `deny` option. For example, to block SSH access:</p><ul><li>Deny SSH:<br><em>sudo ufw deny SSH</em></li></ul><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*efnUFax_sbkihrc3.png" /></figure><p>Check the SSH and you can see that the service is denied.</p><p>You can also block any custom port in a similar way. For instance, if you want to block access to port 8080:</p><p><em>sudo ufw deny 8080/tcp</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OoetIRqoR6kciDl1.png" /></figure><p><strong>Step 4: Allowing Specific IP Addresses</strong><br>Sometimes, you might want to allow a specific IP or range of IPs to access a service while blocking others. For example, to allow SSH from a specific IP address (ex`192.168.1.100`):</p><ul><li>Allow SSH from a Specific IP:<br><em>sudo ufw allow from 192.168.1.100 to any port 22</em></li></ul><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kUOiRH_jHt5l2B6l.png" /></figure><p>ip address added successfully check the output keenly.</p><p>This ensures only connections from that IP address can access SSH.</p><p>Step 5: Viewing Active Rules</p><p>To see the current list of all active rules, run:<br><em>sudo ufw status numbered</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/0*pRI8lALF11zS_fRX.png" /></figure><p>This will display all the rules along with their respective numbers, which will be useful when you want to delete a rule.</p><h3>5. Managing and Deleting UFW Rules</h3><p>As you fine-tune your firewall settings, you might need to modify or remove certain rules. UFW provides simple ways to list, delete, and manage these rules.</p><p><strong>Step 1: Listing UFW Rules</strong><br>To view all the active rules, use the following command:</p><p><em>sudo ufw status numbered</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/0*O0ghuNl0ivP6t0Xn.png" /></figure><p>This command will display each rule with a corresponding number, which is useful for managing or deleting specific rules later.</p><p><strong>Step 2: Deleting UFW Rules</strong><br>If you need to delete a specific rule, note the number from the list displayed by `sudo ufw status numbered`. For example, if you want to delete rule number 2, run:</p><p><em>sudo ufw delete 2</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/0*LN3fewnipZuE4YdD.png" /></figure><p>i have capture the image for you see that i will be deleting number 2 which is port 443</p><p>second image is when number 2 is deleted</p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/0*FN050Do5iNRUe4aT.png" /></figure><p>now number 2 was deleted and replaced by SSH ,simply that</p><p>You’ll be asked to confirm the deletion. Once confirmed, the rule will be removed.</p><p><strong>Step 3: Resetting UFW</strong><br>If you want to reset UFW back to its default state and remove all custom rules, use the following command:<br><em>sudo ufw reset</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/0*cTf5wAlN16ZneR0P.png" /></figure><p>i have done more of resetting my rules</p><p>This command will disable UFW and delete all the existing rules, so use it with caution if you’ve already spent time configuring specific rules.</p><p><strong>Step 4: Disabling UFW</strong><br>If you need to temporarily turn off the firewall, you can disable UFW without resetting it:<br><em>sudo ufw disable</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/0*FQ-dC7jRW7b3DOtY.png" /></figure><p>This will stop enforcing the firewall rules until you enable it again.</p><p><strong>Step 5: Re-Enabling UFW</strong><br>To turn UFW back on after disabling it, use:<br><em>sudo ufw enable</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*8Gzjrn5vR2KYRwPZ.png" /></figure><p>i have enabled again</p><p><strong>Step 6: Modifying Rules</strong><br>If you need to change a rule, the easiest way is to delete the existing rule and create a new one. For example, to modify an SSH rule from `allow` to `limit`, you would:<br>1. Delete the original rule:<br><em>sudo ufw allow ssh</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/0*ufAn20pvj-S5A8ix.png" /></figure><p><strong>2. Add the modified rule (rate-limited SSH):</strong><br><em>sudo ufw limit ssh</em></p><p>Zoom image will be displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/0*dWxqrrGYlx02KPke.png" /></figure><h3>6. Conclusion</h3><p>UFW (Uncomplicated Firewall) is a powerful yet simple tool that enables you to secure your Kali Linux system by managing incoming and outgoing network traffic. Through this guide, we’ve covered everything from installing UFW, setting default policies, and allowing or denying services, to managing and deleting rules. By applying these steps, you can effectively control access to your system, prevent unauthorized connections, and enhance your overall security.</p><p>UFW’s ease of use, combined with its ability to handle advanced configurations like custom ports and specific IPs, makes it an essential tool for anyone looking to strengthen their network defenses. Whether you are securing your home lab or a professional environment, UFW’s simple commands can provide robust protection without the complexity of other firewall solutions.</p><p>Now that you’ve mastered the basics of UFW, you’re equipped to customize your firewall setup further, automate security measures, and explore advanced features. Stay secure and continue exploring more ways to protect your systems!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=919b545ad13a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[30-Day SOC Challenge — Day 24]]></title>
            <link>https://medium.com/@sumayasomow/30-day-soc-challenge-day-24-0d1f68875562?source=rss-9ac46a2cea1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d1f68875562</guid>
            <dc:creator><![CDATA[Sumayasomow]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 12:40:07 GMT</pubDate>
            <atom:updated>2025-07-29T12:40:07.708Z</atom:updated>
            <content:encoded><![CDATA[<h3>30-Day SOC Challenge — Day 24</h3><h4>Introduction to Digital Forensics: Linux memory dump using KVML</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XgUppYbF092XKsVzJCsobg.png" /></figure><p><strong>What is Digital Forensics?</strong></p><p>Digital Forensics is the science of identifying, preserving, analyzing, and presenting digital evidence in a legally acceptable manner. It involves recovering and examining data from digital devices like computers, servers, networks, and mobile devices especially after a security breach or criminal incident.</p><p>Digital forensics plays a critical role in cybercrime investigations, incident response, insider threat detection, and legal proceedings.</p><p><strong>Goal of Digital Forensics</strong></p><p>The main goal of digital forensics is to:</p><ul><li>Identify and preserve digital evidence</li><li>Reconstruct timelines of digital activity</li><li>Determine the root cause of incidents or intrusions</li><li>Support legal or administrative actions with valid findings</li><li>Maintain chain of custody and evidence integrity</li></ul><p><strong>Types of Digital Forensics</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UMiXmi5yUWmD5_SK31mcFQ.png" /></figure><p><strong>Digital Forensics Process</strong></p><p><strong>1. Identification</strong>: Detect potential sources of evidence (e.g., compromised system, suspicious process)</p><p><strong>2. Preservation</strong>: Isolate and protect the system from tampering or loss of evidence</p><p><strong>3. Collection:</strong> Acquire volatile (memory) and non-volatile (disk) data</p><p><strong>4. Analysis</strong>: Examine the data to uncover malicious activity, indicators, or artifacts</p><p><strong>5. Reporting:</strong> Document findings clearly and support with timelines, screenshots, or logs</p><p><strong>Preparation: Lab Setup</strong></p><p><strong>Requirements</strong></p><ul><li>System 1 (Target Machine): kali linux</li><li>System 2 (Analysis Machine): Ubuntu 22.04/20.04 (Machine where the memory dump will be transferred and analyzed).</li><li>User Permissions: Root or sudo privileges on both machines.</li></ul><p><strong>Tools Required:</strong></p><ul><li>AVML ( by Microsoft) for memory acquisition</li><li>strings &amp; grep for quick validation</li><li>scp or rsync for transferring the memory dump</li></ul><p><strong>Forensic Acquisition Steps</strong></p><p><strong>Step 1: Download AVML on Target Machine(kali)</strong></p><ul><li>Open a terminal on the Target Machine (System 1).</li><li>Download KVML from the official GitHub releases:</li></ul><p>wget <a href="https://github.com/microsoft/avml/releases/latest/download/avml">https://github.com/microsoft/avml/releases/latest/download/avml</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I3QIlP3mqwGyXj40JMrcdw.png" /></figure><p><strong>Step 2: Make AVML Executable</strong></p><ol><li>Grant execute permissions: chmod +x avml</li><li>Verify execution by running: ./avml --help</li></ol><p><strong>Step 3: Create a Memory Dump</strong></p><ol><li>Run the following command to acquire a memory dump and save it as linux_memory.mem: sudo ./avml linux_memory.mem</li><li>To check the content of the memory dump: sudo strings linux_memory.mem</li><li>Confirm the memory dump file has been created: ls -lh linux_memory.mem</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C4LNZQrKdwWDbTpVz-_ISQ.png" /></figure><p><strong>Step 4: Validate the Memory Dump</strong></p><ol><li>Use strings and grep to check if known data appears in the dump: strings linux_memory.mem | grep &quot;mozilla&quot;</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QvTlLnKV_1HTC49JxCW2Tw.png" /></figure><ul><li>If strings related to applications, files, or processes appear, the dump is valid.</li></ul><p><strong>Step 5: Transfer the Memory Dump to the Analysis Machine</strong></p><ol><li>On the Analysis Machine (System 2), create a directory to store the memory dump: mkdir ~/forensics/memory_dumps</li><li>Transfer the memory dump from the Target Machine to the Analysis Machine using scp: scp user@&lt;Target-Machine-IP&gt;:/home/user/linux_memory.mem ~/forensics/memory_dumps/</li><li>on kali linux run: sudo scp linux_memory.mem sumaya@192.168.100.18:~/forensic/memory_dumps/</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGne29X1QOb2ipP-RO4HdQ.png" /></figure><p>confirm it on ubuntu:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xbeJu5CmSV_jWNIFsxT4TA.png" /></figure><p><strong>What We Learned</strong></p><p><strong>Definition &amp; Role of Digital Forensics:</strong></p><ul><li>Digital forensics helps investigate cyber incidents by analyzing data from devices.</li><li>It supports legal processes by preserving and presenting digital evidence properly.</li></ul><p><strong>Goals of Digital Forensics:</strong></p><ul><li>To identify, preserve, analyze, and report digital evidence.</li><li>To reconstruct timelines and determine root causes of incidents.</li></ul><p><strong>Phases in the Digital Forensics Process:</strong></p><ul><li><strong>Identification</strong> — spotting potential sources of evidence.</li><li><strong>Preservation</strong> — ensuring evidence is not tampered with.</li><li><strong>Collection</strong> — acquiring volatile (RAM) and non-volatile (disk) data.</li><li><strong>Analysis</strong> — interpreting data for signs of compromise.</li><li><strong>Reporting</strong> — documenting findings clearly and professionally.</li></ul><p><strong>Hands-on Use of AVML (Acquisition Tool):</strong></p><ul><li>Downloaded and set executable permissions on the AVML tool.</li><li>Successfully created a memory dump file: linux_memory.mem.</li></ul><p><strong>Memory Dump Validation</strong></p><ul><li>Used strings and grep to verify presence of relevant data in the dump.</li></ul><p><strong>Safe Transfer of Dump Files:</strong></p><ul><li>Created a secure folder structure on the analysis machine.</li><li>Transferred the dump file securely via scp from Kali (target) to Ubuntu (analysis system).</li></ul><p><strong>Tool Familiarity:</strong></p><ul><li>Used essential Linux tools like wget, chmod, scp, strings, and grep.</li><li>Understood their purpose in the context of digital evidence handling.</li></ul><p><strong>Evidence Integrity:</strong></p><ul><li>Maintained chain of custody by securely transferring and validating the dump.</li><li>Avoided modifying original data during collection and transfer.</li></ul><p><strong>Incident Readiness:</strong></p><ul><li>Practiced real-world skills useful in SOC roles and forensic investigations.</li><li>Gained insight into how live memory can hold valuable artifacts (running processes, credentials, etc.)</li></ul><h3>Conclusion</h3><p>In this lab, we explored the foundational process of acquiring and analyzing a Linux memory dump using Microsoft’s AVML tool. This exercise introduced us to practical digital forensic skills, focusing on the collection and initial validation of volatile memory (RAM) for investigative purposes. Understanding how to properly acquire and preserve memory dumps is crucial in ensuring the integrity of digital evidence and supporting effective incident response.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d1f68875562" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>