<?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 Fizzah Ahsan on Medium]]></title>
        <description><![CDATA[Stories by Fizzah Ahsan on Medium]]></description>
        <link>https://medium.com/@nancysecintel?source=rss-448869736d0b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wW1x16pYfjnuNgT9</url>
            <title>Stories by Fizzah Ahsan on Medium</title>
            <link>https://medium.com/@nancysecintel?source=rss-448869736d0b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 17:19:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nancysecintel/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 Active Directory Enviroment]]></title>
            <link>https://medium.com/@nancysecintel/building-active-directory-enviroment-ba25d4d4f56d?source=rss-448869736d0b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba25d4d4f56d</guid>
            <category><![CDATA[active-directory-security]]></category>
            <category><![CDATA[active-directory-gui]]></category>
            <category><![CDATA[active-directory]]></category>
            <dc:creator><![CDATA[Fizzah Ahsan]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 04:22:57 GMT</pubDate>
            <atom:updated>2026-10-20T04:22:57.231Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Scenario:</strong> Build a fully functional <strong>Microsoft Active Directory</strong> environment for organization named <strong>NCAI (National Cybersecurity &amp; AI Institute)</strong>.</p><p><strong>Learning out: </strong>Understanding how organizations structure their Active Directory environments, manage users and groups, and join computers to a domain.</p><h3><strong>PART 1-</strong> Install Active Directory</h3><p>Step 1: Create the Windows Server Virtual Machine (VM)</p><p>Step 2: Rename the Server to NCAI-DC01</p><p>Step 3: Install Active Directory Domain Services (AD DS) through add roles and feature option in manage in server manager</p><p>Step 4: Promote the Server to a Domain Controller make sure DNS is selected leaver DNS options warning and Install</p><p><strong>Verification: </strong>When the VM restarts on login screen instead of logging in as Administrator, we have NCAI\Administrator</p><p>This confirms that your server is officially the Domain Controller for your new domain</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3RIxtTLh9Yk53euIyzKGRg.png" /></figure><h3>PART 2- Configure DNS</h3><p>Step 1: Create the Windows 10/11 VM</p><p>Step 2: Find your Domain Controller’s IP Address</p><p>Step 3: Set the DNS on your Windows 10/11 VM by typing the exact IP address of Windows Server in in the DNS server address of windows 10</p><p>Step 4: Join the Windows 10/11 VM to the Domain in system properties through change we can find it in option Rename this PC(Advanced) enter domain name ncai.local</p><p><strong>Verification: </strong>We will get the <strong>“Welcome to the ncai.local domain”</strong> message!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CVF84aQoaVKcRyMuFxiRXA.png" /></figure><h3>PART 3- Create Organizational Units (OUs)</h3><p>Step 1: Open the Active Directory Tool</p><p>Step 2: Create the Main NCAI Folder</p><p>Step 3: Create the 11 Department Folders Inside NCAI by right clicking on your newly created <strong>NCAI</strong> folder in the left column.</p><p>Hover over <strong>New</strong> and click on <strong>Organizational Unit</strong>.</p><p>In the Name box, type the first department: <strong>Administration</strong> and click <strong>OK</strong>.</p><p>or write the svript in powershell and reload your active directory</p><p>e.g</p><p><strong># 1. Create the parent OU ‘NCAI’<br>New-ADOrganizationalUnit -Name “NCAI” -Path “DC=ncai,DC=local”</strong></p><p><strong># 2. Define the list of sub-OUs<br>$subOUs = @(<br> “Administration”,<br> “SOC”,<br> “Red Team”,<br> “Blue Team”,<br> “Digital Forensics”,<br> “Threat Intelligence”,<br> “IT Support”,<br> “Human Resources”,<br> “Finance”,<br> “Students”,<br> “Workstations”<br>)</strong></p><p><strong># 3. Create each sub-OU inside ‘NCAI’<br>foreach ($ou in $subOUs) {<br> New-ADOrganizationalUnit -Name $ou -Path “OU=NCAI,DC=ncai,DC=local”<br>}</strong></p><p><strong>Verification:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*w58lE7veP9jvkxyYDkDNsQ.png" /></figure><h3>Part 4- Create Domain Users</h3><p>Right click on sub any subdomain on which to add user click on new then on user add credential then next enter password and confirm second way is enter through script e.g:</p><p><strong># Define the default password for all new users<br>$SecurePassword = ConvertTo-SecureString “P@ssword123!” -AsPlainText -Force</strong></p><p><strong># List of users to create: “First Name”,”Last Name”,”Logon Name”,”Target OU”<br>$users = @(<br> # Administration<br> @(“Ahmed”, “Khan”, “akhan”, “Administration”),<br> @(“Sarah”, “Ali”, “sali”, “Administration”),<br> # SOC<br> @(“Muhammad”, “Hassan”, “mhassan”, “SOC”),<br> @(“Ayesha”, “Noor”, “anoor”, “SOC”),<br> # Red Team<br> @(“Ali”, “Raza”, “araza”, “Red Team”),<br> @(“Fatima”, “Ahmed”, “fahmed”, “Red Team”),<br> # Blue Team<br> @(“Bilal”, “Siddique”, “bsiddique”, “Blue Team”),<br> @(“Zainab”, “Malik”, “zmalik”, “Blue Team”),<br> # Digital Forensics<br> @(“Hamza”, “Iqbal”, “hiqbal”, “Digital Forensics”),<br> @(“Maryam”, “Asif”, “masif”, “Digital Forensics”),<br> # Threat Intelligence<br> @(“Omar”, “Farooq”, “ofarooq”, “Threat Intelligence”),<br> @(“Hira”, “Khan”, “hkhan”, “Threat Intelligence”),<br> # IT Support<br> @(“Usman”, “Tariq”, “utariq”, “IT Support”),<br> @(“Sana”, “Javed”, “sjaved”, “IT Support”),<br> # Human Resources<br> @(“Noor”, “Fatima”, “nfatima”, “Human Resources”),<br> @(“Abdullah”, “Shah”, “ashah”, “Human Resources”),<br> # Finance<br> @(“Ibrahim”, “Malik”, “imalik”, “Finance”),<br> @(“Laiba”, “Ahmed”, “lahmed”, “Finance”),<br> # Students<br> @(“Student01”, “”, “student01”, “Students”),<br> @(“Student02”, “”, “student02”, “Students”)<br>)</strong></p><p><strong># Loop through and create each user<br>foreach ($user in $users) {<br> $firstName = $user[0]<br> $lastName = $user[1]<br> $samName = $user[2]<br> $ouName = $user[3]<br> <br> $displayName = “$firstName $lastName”.Trim()<br> $ouPath = “OU=$ouName,OU=NCAI,DC=ncai,DC=local”<br> <br> New-ADUser -Name $displayName -GivenName $firstName -Surname $lastName `<br> -SamAccountName $samName -UserPrincipalName “$samName@ncai.local” `<br> -Path $ouPath -AccountPassword $SecurePassword -Enabled $true `<br> -PasswordNeverExpires $true<br>}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*Jiy9nAxXapZSYrkwvd1fyw.png" /></figure><h4><strong>Verification:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w67470dZUV1-QfFTT65WpA.png" /></figure><h3>Part 5- Create Security Groups</h3><p>Click on NCAI and add groups or do it directly through script e.g</p><p><strong># 1. Define groups and their matching department OU names<br>$groups = @{<br> “GG-IT-Admins” = “IT Support”<br> “GG-SOC-Analysts” = “SOC”<br> “GG-RedTeam” = “Red Team”<br> “GG-BlueTeam” = “Blue Team”<br> “GG-DigitalForensics”= “Digital Forensics”<br> “GG-ThreatIntel” = “Threat Intelligence”<br> “GG-HR” = “Human Resources”<br> “GG-Finance” = “Finance”<br>}</strong></p><p><strong># 2. Loop to create groups and add users<br>foreach ($gName in $groups.Keys) {<br> $dept = $groups[$gName]<br> $groupPath = “OU=NCAI,DC=ncai,DC=local”<br> <br> # Create the security group inside the NCAI OU<br> New-ADGroup -Name $gName -GroupScope Global -GroupCategory Security -Path $groupPath<br> <br> # Find all users in that department’s sub-OU and add them to the group<br> $users = Get-ADUser -Filter * -SearchBase “OU=$dept,OU=NCAI,DC=ncai,DC=local”<br> if ($users) {<br> Add-ADGroupMember -Identity $gName -Members $users<br> }<br>}<br>Write-Host “All Security Groups created and populated successfully!” -ForegroundColor Green</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3X6g9fbyx2BWdRsBqli7WQ.png" /></figure><h3>Part 6 — Join a Client Computer</h3><p>Step 1: Rename your Windows 10/11 Client to NCAI-WS01 Each time you try to change any system properties it will ask you for admin user and password</p><p>Step 2: Ensure DNS is pointing to your Server</p><p>Step 3: Ensure you have joined the Domain</p><p>Step 4: Log In using a one of Domain User Account made in Part 4</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*TfOAvdipqpGnX-8iEXXHQQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*Gxlg4JbfFOT2E8Atpswn_A.png" /></figure><h3>Part 7 — Verification</h3><p><strong>I</strong> validated the overall core health and baseline connectivity of <strong>my</strong> newly built domain environment. First, <strong>I</strong> confirmed Domain Membership by verifying that <strong>my</strong> client computer successfully registered and appears within Active Directory, specifically inside the default Computers container or the Workstations Organizational Unit. Second, <strong>I</strong> proved successful Network and DNS Connectivity by running network tests from the client to ensure it can successfully resolve the Domain Controller&#39;s IP address. Finally, <strong>I</strong> confirmed User Authentication by successfully logging into the workstation using a domain account profile rather than a local account, proving the server is successfully managing identities across <strong>my</strong> network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVd_tH0oR1f2RmKQ1e8hmQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*LGFKYLLaL1hBKqNQqfHOtQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UuRQWjzbBR8T4oHZolB1qw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*PJzalnVUBhshDdJ-zejrFQ.png" /></figure><h3>Part 8- Create a Shared Folder</h3><p>Create a folder in the <strong>This PC </strong>your server right click on folder click on properties go to sharing click on advance sharing click on permissions add the groups and their access and then apply log into the one of user of group with whom you have shared your folder and press <strong>window key + R </strong>and type name of server e.g <strong>\\NCAI-DC01</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQkDbtlEnOqsinX2pQFe1Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lLDLbMX-mi0r4NEuu6wdcA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba25d4d4f56d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phishing Simulation]]></title>
            <link>https://medium.com/@nancysecintel/phishing-simulation-e6ed0f031fd9?source=rss-448869736d0b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6ed0f031fd9</guid>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[gophish]]></category>
            <category><![CDATA[socialengineeringattack]]></category>
            <category><![CDATA[how-to-do-phishing]]></category>
            <category><![CDATA[phishing-using-gophish]]></category>
            <dc:creator><![CDATA[Fizzah Ahsan]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 10:02:51 GMT</pubDate>
            <atom:updated>2026-07-24T10:02:51.659Z</atom:updated>
            <content:encoded><![CDATA[<p>I Deployed a controlled phishing simulation using the Gophish framework. To keep the testing entirely isolated I routed the traffic using a locally configured Mail Transfer Agent prefix.</p><h3>Overview</h3><p>This campaign was conducted in three main steps to demonstrate the mechanics of email communication and social engineering simulations. Below is the detailed breakdown of the first phase.</p><h3>Step 1: Setting Email Spoofing Environment</h3><p>The primary objective of this phase was to establish a controlled environment capable of simulating email spoofing. To achieve this, Postfix was utilized. Postfix is a widely used, open-source Mail Transfer Agent (MTA) that effectively functions as a private mail server running locally on a laptop. By hosting an independent mail server, it grants complete control over the outgoing mail headers, allowing us to manipulate how the sender’s identity appears to the recipient.</p><p>Technical Protocol Background</p><p>Postfix relies primarily on the Simple Mail Transfer Protocol (SMTP) to manage, route, and deliver email messages.</p><p>By default, SMTP operates over port 25 for server-to-server communication.</p><p>For secure or authenticated message submission, it can also utilize port 587 (STARTTLS) or port 465 (SMTPS).</p><p>Within a local loopback environment (localhost), Postfix handles internal routing via local system accounts before attempting external relaying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gP61q8DhQP7KiLexNMtwIQ.png" /></figure><h4>Social Engineering Rationale</h4><p>To fully deploy and verify the local environment, the following procedural steps were executed: Installation and Mode Selection: During the package installation phase, the server configuration type was set to “Internet Site”. This setting configures Postfix to handle mail delivery using SMTP directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*z55k5Td9hTkYCSjrJGu5Mg.png" /></figure><p>Domain Customization,the system mail name was explicitly set using a lookalike domain:</p><p><a href="/service/mailto:security@mail.instagrann.com">security@mail.instagrann.com.</a></p><p>Social Engineering Mechanics: Instead of using the legitimate spelling with an “m”, a double “n” (nn) was substituted. This approach mimics a real-world typosquatting technique used in social engineering assessments. It tests user awareness by exploiting cognitive biases; employees working under a rush often skim over the complete domain name and visually misinterpret the double “n” as an “m”, assuming the communication is legitimate.</p><p>Service Verification: Once the domain setup was finalized, standard diagnostic checks were performed on the system to verify that the Postfix service was active, running, and properly configured to route messages under the specified domain rules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xlmjakZWcsBU7N6zLO3GdA.png" /></figure><h4>Service Verification:</h4><p>Once the domain setup was finalized, standard diagnostic checks were performed on the system to verify that the Postfix service was active, running, and properly configured to route messages under the specified domain rules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ezQIqKsPob0ePJkmsTVSg.png" /></figure><h3>Step 2: Using Gophish to Make Social Phishing Account:</h3><p>To launch the phishing simulation</p><p>framework, we first start the GoPhish application via the terminal. Once the binary is running, it initializes a local web server and generates a random default administrator password directly within the terminal console output. To access the management interface, open the Firefox web browser and manually type the specific URL</p><p><a href="https://localhost/">https://localhost</a>: 3333 into the address bar. After bypassing the local self-signed certificate warning screen, the GoPhish login portal will appear. Finally, enter “admin” as the username along with the default password captured from the terminal to successfully log into the dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*9gBYkt2KkIK-KkuVI9NhhA.png" /></figure><p>Keep the terminal window where you ran GoPhish open; closing it will shut down the server.Make sure you use https:// and not http:// when typing the address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*ZcdkXXga_V1g7Wo0-LDLgg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*XKt0iAM-A5RH6cs1beCWvw.png" /></figure><h4>Landing page:</h4><p>First we will make a landing page and for that you can pick an html code from github that look alike instagram login page or can make one of your own and can do changing accoding to your liking like i did chane the year at bottom to current year</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*Pfq6Pe-W5RVkAziTuYtbpA.png" /></figure><p>Paste the code in html section you will have to option either import the site url directly or write an html code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*zWXDBPT6DB7bRqV2kPYowQ.png" /></figure><p>after that click on source and you can see how your landing page look like and after that click on capture data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*Lys3ud75KwQnD_slHKN3UA.png" /></figure><p>After that add orignal login page url so that when victm enter credentials and press loging it will redirected to real login page and victm will though it is some kind of glitch and save it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*8kZCv-rc59ubhOj5uJT91g.png" /></figure><h4>Email Template:</h4><p>Write the email and subject of email you can write directly the body of email in text form or you can generate the email through html that can match the real email</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fk541LHPMuJ3qDNLZHf20A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*s5GyVDH4-8b53FcxwFaScA.png" /></figure><h4>Sending Profiles</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*65WN8yTHwFq-fCaC3xolZw.png" /></figure><h4><strong>Add Users and group</strong></h4><p>You can add people in bulk by adding csv file or you can indivualy add them and can define positions as well add name email</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*T3JjXiFwSkcKnU-_VoaS4w.png" /></figure><h3>Step 3: Configuartion</h3><p>Now we need to configure our landing page email template sending profiles and groups and people</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*cyOzZs1RrPEL7m0NwWbUuw.png" /></figure><p>We added our syatem ip adress it will connect the gophish with postfix and after all configuration we will launch our campaign</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*JEY9wVX756lKs4rlTj-L-A.png" /></figure><h3>Dashboard</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZKUkKdBkyFX5Z3Q2jpQitg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6ed0f031fd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>