<?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 Sakib  Al Mahmud on Medium]]></title>
        <description><![CDATA[Stories by Sakib  Al Mahmud on Medium]]></description>
        <link>https://medium.com/@sm3255147?source=rss-fb4adad73ac4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*d69c5ArysStoNSUP8r8irg@2x.jpeg</url>
            <title>Stories by Sakib  Al Mahmud on Medium</title>
            <link>https://medium.com/@sm3255147?source=rss-fb4adad73ac4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:55:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sm3255147/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[Packets, Frames, TCP and UDP: How Data Really Travels Across a Network]]></title>
            <link>https://medium.com/@sm3255147/packets-frames-tcp-and-udp-how-data-really-travels-across-a-network-3ce41ba81604?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ce41ba81604</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[tcp-ip]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Sat, 28 Nov 2026 15:07:59 GMT</pubDate>
            <atom:updated>2026-11-29T03:52:01.618Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*eZRNPpi7EQ5PBsMBLMmOsA@2x.jpeg" /></figure><p><em>A beginner-friendly breakdown of how information is chopped up, wrapped, and delivered, based on what I learned in TryHackMe’s Packets &amp; Frames room.</em></p><p>Every time you load a web page, stream a video, or join a voice call, your data is broken into tiny pieces, sent across the world, and reassembled on your device in a fraction of a second. How does that work without everything falling apart?</p><p>The answer lies in packets, frames, and a handful of protocols that act as the rulebook for the internet. Let’s walk through them.</p><h3>Packets vs. Frames</h3><p>These two terms are often used interchangeably, but in the OSI model they live at different layers:</p><ul><li>A <strong>packet</strong> belongs to <strong>Layer 3 (Network layer)</strong>. It carries an IP header and a payload (the actual data).</li><li>A <strong>frame</strong> belongs to <strong>Layer 2 (Data Link layer)</strong>. It wraps around the packet and adds extra information, such as MAC addresses.</li></ul><h3>The Letter Analogy</h3><p>Think of mailing a letter. The letter itself is the packet. The envelope is the frame, which gets it from one place to the next. When the recipient opens the envelope, they know what to do with the letter inside.</p><p>This wrapping process is called <strong>encapsulation</strong>, and the reverse, unwrapping, is <strong>decapsulation</strong>. A quick rule of thumb: when you’re talking about IP addresses, you’re talking about packets. When you’re talking about MAC addresses, you’re talking about frames.</p><h3>Why Send Data in Small Pieces?</h3><p>Sending data in small packets is more efficient than sending one giant message. Smaller pieces make it less likely that a single transfer clogs up the network.</p><p>When you load an image from a website, it doesn’t arrive as one block. It’s split into several packets, which travel separately and are put back together on your computer to form the final picture.</p><h3>A Look Inside an IP Packet</h3><p>With billions of devices online, everything depends on standards. Each IP packet carries headers with extra information about the data. A few important ones:</p><ul><li><strong>Time to Live (TTL):</strong> an expiry timer so a packet that can never reach its destination doesn’t wander the network forever.</li><li><strong>Checksum:</strong> an integrity check. If the data changes in transit, the value won’t match what’s expected, and the packet is treated as corrupt.</li><li><strong>Source address:</strong> the IP address of the sender, so replies know where to go.</li><li><strong>Destination address:</strong> the IP address of the receiver, so the packet knows where it’s headed.</li></ul><h3>TCP: The Reliable One</h3><p><strong>TCP (Transmission Control Protocol)</strong> is one of the main rules for moving data. It follows the <strong>TCP/IP model</strong>, a simplified cousin of the OSI model with four layers:</p><ol><li>Application</li><li>Transport</li><li>Internet</li><li>Network Interface</li></ol><p>Just like in OSI, each layer adds its own information as data travels down (encapsulation) and removes it on the way back up (decapsulation).</p><p>TCP is <strong>connection-based</strong>. Before any data is sent, the client and server must establish a connection. This is what allows TCP to guarantee that what’s sent actually arrives.</p><h3>Pros and Cons of TCP</h3><p><strong>Advantages</strong></p><ul><li>Guarantees data integrity</li><li>Synchronizes both devices so data doesn’t arrive in the wrong order or flood either side</li><li>Does extra work to be reliable</li></ul><p><strong>Disadvantages</strong></p><ul><li>Needs a reliable connection. If one chunk goes missing, the whole piece can’t be used and must be re-sent.</li><li>A slow connection can hold up the other device, since the connection stays reserved the whole time.</li><li>It’s noticeably slower than UDP because it requires more processing.</li></ul><h3>What’s in a TCP Header?</h3><ul><li><strong>Source port:</strong> the port the sender uses, chosen randomly from the free ports between 0 and 65535.</li><li><strong>Destination port:</strong> the port of the service on the receiving host, for example a web server on port 80. This one is <em>not</em> random.</li><li><strong>Source IP and destination IP:</strong> who is sending and who should receive.</li><li><strong>Sequence number:</strong> the first piece of data in a connection gets a random number to start with.</li><li><strong>Acknowledgement number:</strong> the next piece of data uses the sequence number plus one, which helps both sides keep track of what’s been received.</li><li><strong>Checksum:</strong> a calculation the receiver repeats. If the result differs, the data is corrupt.</li><li><strong>Data:</strong> the actual bytes being transmitted.</li><li><strong>Flags:</strong> instructions that tell each device how to handle the packet during the connection.</li></ul><h3>The Three-Way Handshake</h3><p>Before TCP sends data, the two devices perform the <strong>three-way handshake</strong>:</p><ol><li><strong>SYN:</strong> the client sends the first message to start the connection and synchronize with the server.</li><li><strong>SYN/ACK:</strong> the server replies to acknowledge the request.</li><li><strong>ACK:</strong> the client confirms, and the connection is established.</li></ol><p>After that, the devices exchange the following:</p><ul><li><strong>DATA:</strong> the actual content, such as the bytes of a file.</li><li><strong>ACK:</strong> acknowledgements that messages arrived successfully.</li><li><strong>FIN:</strong> a clean, proper close of the connection once everything is finished.</li><li><strong>RST:</strong> an abrupt stop to all communication. It’s a last resort, and it signals that something went wrong, such as a faulty service or low system resources.</li></ul><h3>UDP: The Fast One</h3><p><strong>UDP (User Datagram Protocol)</strong> is TCP’s lighter-weight sibling. It’s <strong>stateless</strong>, which means there’s no handshake, no synchronization, and no acknowledgements. Data is simply sent.</p><p>That makes UDP a great fit when an app can tolerate some data loss, like video streaming or voice chat, and speed matters more than perfection.</p><h3>Pros and Cons of UDP</h3><p><strong>Advantages</strong></p><ul><li>Much faster than TCP</li><li>Doesn’t reserve a continuous connection on the device</li><li>Leaves control over sending speed to the application, which gives developers flexibility</li></ul><p><strong>Disadvantages</strong></p><ul><li>It doesn’t care whether data is received</li><li>No built-in safeguards like data integrity checks</li><li>On an unstable connection, the user experience can be terrible</li></ul><h3>UDP Headers</h3><p>UDP packets are simpler than TCP packets, with fewer headers. They include Time to Live, source and destination addresses, source and destination ports (chosen the same way as in TCP), and the data itself.</p><h3>TCP vs. UDP at a Glance</h3><ul><li><strong>TCP:</strong> connection-based, reliable, ordered, slower. Think web pages, file downloads, and email.</li><li><strong>UDP:</strong> stateless, fast, no guarantees. Think live streaming, online gaming, and voice calls.</li></ul><h3>Final Thoughts</h3><p>Understanding how packets and frames are built, and how TCP and UDP deliver them, is a core skill for anyone moving into networking or cybersecurity. When you later look at traffic in tools like Wireshark, these headers, flags, and handshakes will stop being jargon and start telling you a story.</p><p>Want hands-on practice? Try the <strong>Packets &amp; Frames</strong> room on TryHackMe: <a href="https://tryhackme.com/room/packetsframes">https://tryhackme.com/room/packetsframes</a></p><p><em>Thanks for reading! If this helped you, give it a clap and follow along for more beginner-friendly networking and cybersecurity notes.</em></p><p>You can find my projects and learning notes on my GitHub profile: <a href="https://github.com/sakibalmahmud">https://github.com/sakibalmahmud</a></p><p><strong>Suggested tags for Medium:</strong> Networking, Cybersecurity, TCP, UDP, TryHackMe</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ce41ba81604" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtualization Explained: Why One Server Per App Is a Thing of the Past]]></title>
            <link>https://medium.com/@sm3255147/virtualization-explained-why-one-server-per-app-is-a-thing-of-the-past-2ca272d57462?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ca272d57462</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[virtualization]]></category>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Fri, 27 Nov 2026 09:27:56 GMT</pubDate>
            <atom:updated>2026-11-27T09:27:56.223Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A beginner-friendly guide to hypervisors, virtual machines, and containers, based on what I learned in TryHackMe’s Virtualisation Basics room.</em></p><p>Imagine your company needs a website, a database, an email service, and an internal app. A few decades ago, the answer was simple: buy four servers.</p><p>It sounds reasonable until you look at the bill and the utilization graphs. Virtualization was invented to fix exactly this problem. In this article, I’ll walk through what it is, how it works, and why it matters for anyone getting into IT or cybersecurity.</p><h3>The Old Rule: One Server, One Application</h3><p>In the early days of IT, the rule of thumb was <strong>one server = one application</strong>. Each physical machine had one clear job, and when a business added a new service, it simply added another box.</p><p>This approach was reliable, but it came with real problems:</p><ul><li><strong>High cost.</strong> You pay for the hardware, plus electricity, cooling, maintenance, and data center space.</li><li><strong>Low utilization.</strong> Most servers sat at roughly 5–20% usage, wasting CPU, memory, and storage.</li><li><strong>Slow deployment.</strong> Setting up a new physical server could take days or even weeks.</li><li><strong>Hard to scale.</strong> If an app suddenly needed more resources, the usual answer was to buy yet another server.</li></ul><p>Companies were paying a lot for hardware that mostly sat idle.</p><h3>The Big Idea: Share Hardware Safely</h3><p>Virtualization asks a simple question: <em>what if multiple applications could safely share the same physical server?</em></p><p>The answer is a layer of software called a <strong>hypervisor</strong>. It acts like a referee, splitting one physical computer into several independent virtual computers that each behave as if they were real machines.</p><h3>The Building Analogy</h3><p>Picture one person living alone in a 10-floor building. They only use one floor, but they still have to pay for electricity, water, cleaning, and security for the whole thing. Most of the building is wasted.</p><p>Now divide the building into apartments. Each has its own door, walls, and kitchen, so tenants live independently. But they share the building’s electricity, water, and elevators, which makes everything cheaper and more efficient.</p><p>That is virtualization:</p><ul><li><strong>The building</strong> is the physical server.</li><li><strong>The apartments</strong> are virtual machines.</li><li><strong>The tenants</strong> are applications or operating systems.</li><li><strong>The building manager</strong> is the hypervisor.</li></ul><h3>The Key Components</h3><h3>1. The Hypervisor (The Building Manager)</h3><p>The hypervisor is the core technology behind virtualization. It:</p><ul><li>Splits a physical computer into multiple virtual ones</li><li>Gives each virtual machine its own share of CPU, memory, and storage</li><li>Keeps every machine isolated from the others</li><li>Manages their lifecycle: start, stop, pause, clone, and delete</li></ul><p>There are two types:</p><p><strong>Type 1 hypervisors</strong> run directly on the physical hardware. They are fast and efficient, which makes them the choice for production servers, database servers, and data centers.</p><p><strong>Type 2 hypervisors</strong> run on top of an existing operating system. They are easier to install, which makes them great for learning, software testing, running Kali Linux, and analyzing suspicious files. Tools like Oracle VirtualBox and VMware Workstation fall into this category.</p><p>Either type can technically handle any of these jobs, but each is best suited to the scenarios above.</p><blockquote><strong><em>Security tip:</em></strong><em> If you test malicious files in a VM, make sure the malware can’t escape to your host machine. Use a different operating system for the guest and host, or isolate the guest so it can’t communicate with the host at all.</em></blockquote><blockquote>2. Virtual Machines (The Apartments)</blockquote><p>A virtual machine (VM) is a computer created by the hypervisor. Even though it’s virtual, it behaves like a real one:</p><ul><li>It has its own virtual CPU, RAM, storage, and network</li><li>It can run almost any operating system, such as Windows or Linux</li><li>It is fully isolated, so if one VM crashes, the others keep running</li></ul><p>Two everyday examples:</p><ul><li>You need Kali Linux but can’t buy a second computer. Install a hypervisor and run a Kali VM.</li><li>You want to inspect a suspicious file. Open it in an isolated VM so your main machine stays safe.</li></ul><h3>3. Containers (The Rooms Inside the Apartment)</h3><p>Containers take the idea of efficiency one step further. A container is a lightweight, isolated environment that runs a single application along with everything it needs: libraries, tools, and specific versions.</p><p>The difference from a VM is that a container doesn’t bring its own operating system. It borrows the host’s <strong>kernel</strong>, the core part of the OS that talks to the hardware and manages memory and running programs.</p><p>Because of this, containers:</p><ul><li>Start almost instantly</li><li>Use far fewer resources than full VMs</li><li>Stay isolated, so one misbehaving container doesn’t affect the rest</li><li>Run consistently on any machine, which is perfect for development, testing, and scalable deployment</li></ul><p>There is one catch. Since containers share the host’s kernel, they must match the host’s type. You can’t run a Windows container on a Linux host.</p><p>The most popular tool for working with containers is <strong>Docker</strong>, an open-source platform for building, deploying, and running applications in containers.</p><h3>VMs vs. Containers at a Glance</h3><ul><li><strong>VMs</strong> virtualize the hardware. Each one carries a full operating system, so they are heavier but offer stronger separation.</li><li><strong>Containers</strong> virtualize the operating system. They share a kernel, so they are light, quick, and portable.</li></ul><p>Many real-world setups use both: a hypervisor hosts VMs, and Docker runs containers inside them.</p><h3>Key Terms to Remember</h3><ul><li><strong>Virtualization:</strong> letting one physical computer act like many separate ones</li><li><strong>Hypervisor:</strong> the software that creates and runs virtual machines</li><li><strong>Virtual machine (VM):</strong> a complete virtual computer with its own operating system</li><li><strong>Container:</strong> a small, isolated environment for one app that shares the host’s OS kernel</li><li><strong>Container image:</strong> a pre-packed template used to create containers</li><li><strong>Network ports:</strong> numbered entry points apps use to communicate over a network</li></ul><h3>Why It All Matters</h3><p>Virtualization delivers a long list of benefits:</p><ul><li>Cost savings</li><li>Better use of resources</li><li>Safe environments for cybersecurity testing</li><li>Faster deployment</li><li>Flexibility and portability</li><li>Scalability</li><li>Centralized management</li></ul><p>It’s also the foundation of cloud computing. Cloud providers use virtualization, containerization, and automation to offer scalable, on-demand services, which makes this a natural stepping stone toward learning about the cloud.</p><h3>Final Thoughts</h3><p>Virtualization turned wasteful, rigid infrastructure into something flexible, affordable, and fast. Whether you’re building a home lab, studying for a security career, or just curious how modern IT works, understanding hypervisors, VMs, and containers is a skill you’ll use constantly.</p><p>If you want hands-on practice, try the <strong>Virtualisation Basics</strong> room on TryHackMe: <a href="https://tryhackme.com/room/virtualisationbasics">https://tryhackme.com/room/virtualisationbasics</a></p><p><em>Thanks for reading! If this helped you, give it a clap and follow along for more beginner-friendly IT and cybersecurity notes.</em></p><p><strong>Suggested tags for Medium:</strong> Virtualization, Cybersecurity, Docker, Cloud Computing, TryHackMe</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ca272d57462" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Traffic Analysis Essentials]]></title>
            <link>https://medium.com/@sm3255147/traffic-analysis-essentials-8464a9fea703?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/8464a9fea703</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[website-traffic]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Sun, 01 Nov 2026 13:22:14 GMT</pubDate>
            <atom:updated>2026-11-01T13:22:14.082Z</atom:updated>
            <content:encoded><![CDATA[<p>**Link** :→ https://tryhackme.com/room/trafficanalysisessentials?ref=blog.tryhackme.com</p><p>#### #Introduction :</p><p>Network Security is a set of operations for protecting data, applications, devices and systems connected to the network. It is accepted as one of the significant subdomains of cyber security. It focuses on the system design, operation and management of the architecture/infrastructure to provide network accessibility, integrity, continuity and reliability. Traffic analysis (often called Network Traffic Analysis) is a subdomain of the Network Security domain, and its primary focus is investigating the network data to identify problems and anomalies.</p><p>#### #Network Security</p><p>The essential concern of Network Security focuses on two core concepts: authentication and authorisation. There are a variety of tools, technologies, and approaches to ensure and measure implementations of these two key concepts and go beyond to provide continuity and reliability. Network security operations contain three base control levels to ensure the maximum available security management.</p><p>**Base Network Security Control Levels:**</p><p>| Physical | Physical security controls prevent unauthorised physical access to networking devices, cable boards, locks, and all linked components. |</p><p>| – – | – – |</p><p>| Technical | Data security controls prevent unauthorised access to network data, like installing tunnels and implementing security layers. |</p><p>| Administrative | Administrative security controls provide consistency in security operations like creating policies, access levels and authentication processes.</p><p>|</p><p>There are two main approaches and multiple elements under these control levels. The most common elements used in network security operations are explained below.</p><p>**The main approaches:**</p><p>| Access Control | Threat Control |</p><p>| – – | – – |</p><p>| The starting point of Network Security. It is a set of controls to ensure authentication and authorisation. | Detecting and preventing anomalous/malicious activities on the network. It contains both internal (trusted) and external traffic data probes. |</p><p>**The key elements of Access Control:**</p><p>| **Firewall Protection** | Controls incoming and outgoing network traffic with predetermined security rules. Designed to block suspicious/malicious traffic and application-layer threats while allowing legitimate and expected traffic. |</p><p>| – – | – – |</p><p>| Network Access Control (NAC) | Controls the devices’ suitability before access to the network. Designed to verify device specifications and conditions are compliant with the predetermined profile before connecting to the network. |</p><p>| **Identity and Access Management (IAM)** | Controls and manages the asset identities and user access to data systems and resources over the network. |</p><p>| **Load Balancing** | Controls the resource usage to distribute (based on metrics) tasks over a set of resources and improve overall data processing flow. |</p><p>| **Network Segmentation** | Creates and controls network ranges and segmentation to isolate the users’ access levels, group assets with common functionalities, and improve the protection of sensitive/internal devices/data in a safer network. |</p><p>| **Virtual Private Networks (VPN)** | Creates and controls encrypted communication between devices (typically for secure remote access) over the network (including communications over the internet). |</p><p>| **Zero Trust Model** | Suggests configuring and implementing the access and permissions at a minimum level (providing access required to fulfil the assigned role). The mindset is focused on: “Never trust, always verify”. |</p><p>The key elements of Threat Control:</p><p>| **Intrusion Detection and Prevention (IDS/IPS)** | Inspects the traffic and creates alerts (IDS) or resets the connection (IPS) when detecting an anomaly/threat. |</p><p>| – – | – – |</p><p>| **Data Loss Prevention (DLP)** | Inspects the traffic (performs content inspection and contextual analysis of the data on the wire) and blocks the extraction of sensitive data. |</p><p>| **Endpoint Protection** | Protecting all kinds of endpoints and appliances that connect to the network by using a multi-layered approach like encryption, antivirus, antimalware, DLP, and IDS/IPS. |</p><p>| **Cloud Security** | Protecting cloud/online-based systems resources from threats and data leakage by applying suitable countermeasures like VPN and data encryption. |</p><p>| **Security Information and Event Management (SIEM)** | Technology that helps threat detection, compliance, and security incident management, through available data (logs and traffic statistics) by using event and context analysis to identify anomalies, threats, and vulnerabilities. |</p><p>| **Security Orchestration Automation and Response (SOAR)** | Technology that helps coordinate and automates tasks between various people, tools, and data within a single platform to identify anomalies, threats, and vulnerabilities. It also supports vulnerability management, incident response, and security operations. |</p><p>| **Network Traffic Analysis &amp; Network Detection and Response** | Inspecting network traffic or traffic capture to identify anomalies and threats. |</p><p>Typical Network Security Management Operation is explained in the given table:</p><p>| Deployment | Configuration | Management | Monitoring | Maintenance |</p><p>| – – | – – | – – | – – | – – |</p><p>| • Device and software installation</p><ul><li>Initial configuration</li><li>• Automation | • Feature configuration</li><li>• Initial network access configuration | • Security policy implementation</li><li>• NAT and VPN implementation</li><li>• Threat mitigation | • System monitoring</li><li>• User activity monitoring</li><li>• Threat monitoring</li><li>Log and traffic sample capturing | • Upgrades</li><li>• Security updates</li><li>• Rule adjustments</li><li>• Licence management</li><li>• Configuration updates |</li></ul><p>#### Managed Security Services</p><p>Not every organisation has enough resources to create dedicated groups for specific security domains. There are plenty of reasons for this: budget, employee skillset, and organisation size could determine how security operations are handled. At this point, Managed Security Services (MSS) come up to fulfil the required effort to ensure/enhance security needs. MSS are services that have been outsourced to service providers. These service providers are called Managed Security Service Providers (MSSPs). Today, most MSS are time and cost effective, can be conducted in-house or outsourced, are easy to engage, and ease the management process. There are various elements of MSS, and the most common ones are explained below.</p><p>| **Network Penetration Testing** | Assessing network security by simulating external/internal attacker techniques to breach the network. |</p><p>| – – | – – |</p><p>| **Vulnerability Assessment** | Assessing network security by discovering and analysing vulnerabilities in the environment. |</p><p>| **Incident Response** | An organised approach to addressing and managing a security breach. It contains a set of actions to identify, contain, and eliminate incidents. |</p><p>| **Behavioural Analysis** | An organised approach to addressing system and user behaviours, creating baselines and traffic profiles for specific patterns to detect anomalies, threats, vulnerabilities, and attacks. |</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8464a9fea703" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Passive Reconnaissance]]></title>
            <link>https://medium.com/@sm3255147/passive-reconnaissance-66900d0f5acf?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/66900d0f5acf</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[passive-reconnaissance]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 07:53:37 GMT</pubDate>
            <atom:updated>2026-10-29T07:53:37.064Z</atom:updated>
            <content:encoded><![CDATA[<p>1.<strong>Introduction</strong></p><p>Welcome to the Passive Reconnaissance room. This is the starting point of TryHackMe’s Network Security Module.</p><p>In this room, passive reconnaissance refers to gathering intelligence from public sources without contacting the target. This stands in contrast to active reconnaissance, where you interact with the target directly and risk detection.</p><p>Passive recon remains one of the most powerful and lowest-risk phases in penetration testing, bug bounties, and threat hunting. Even with stronger privacy laws (GDPR, CCPA), large amounts of useful data remain publicly exposed through DNS, WHOIS, certificate logs, search engines, and device census platforms.</p><p>Objectives</p><p>By the end of this room, you will be able to:</p><p>Use whois to query domain registration details.</p><p>Use dig (and nslookup for compatibility) to query DNS records.</p><p>Understand why querying public WHOIS and DNS servers is considered passive.</p><p>Discover subdomains using DNSDumpster and Certificate Transparency logs.</p><p>Gather intelligence on exposed services using Shodan.io.</p><p>2<strong>. Passive Versus Active Recon</strong></p><p>Before computer networks existed, Sun Tzu wrote in The Art of War: “If you know the enemy and know yourself, your victory will not stand in doubt.”</p><p>In cybersecurity, this principle maps to two roles. As an attacker (or ethical hacker), you gather intelligence about the target to find weaknesses. As a defender, you must understand what an adversary can discover about your systems from public sources and minimise that exposure.</p><p>Reconnaissance (recon) is the preliminary survey to collect information about a target. It remains the first phase in modern attack frameworks like the Unified Kill Chain (where recon helps gain initial understanding before any foothold) and variations of the classic Cyber Kill Chain. Reconnaissance divides into two main types.</p><p>Passive Reconnaissance</p><p>Passive reconnaissance relies exclusively on publicly available information. No packets are sent to the target and no direct interaction occurs. It is analogous to observing the target territory from a safe distance using binoculars, without ever stepping onto their land.</p><p>Common passive activities include:</p><p>Querying public DNS records from open resolvers (A, MX, TXT, etc.).</p><p>Searching certificate transparency logs (e.g., crt.sh) for subdomains and issued certificates.</p><p>Reviewing job postings on LinkedIn or company career pages for tech stack hints.</p><p>Reading public news, press releases, or leaked documents on paste sites.</p><p>Checking exposed devices via search engines like Shodan or Censys.</p><p>Scanning public GitHub repositories for hardcoded credentials or configuration files.</p><p>Active Reconnaissance</p><p>Active reconnaissance requires direct engagement with the target. Your probes can be logged, detected, or blocked. It is analogous to walking up to the doors and windows to test locks, cameras, and alarms.</p><p>Common active activities include:</p><p>Sending packets to discover live hosts (e.g., ICMP pings, ARP requests).</p><p>Port scanning or service enumeration (Nmap, masscan).</p><p>Interacting with web applications or APIs (fuzzing endpoints, directory brute-forcing).</p><p>Social engineering attempts (phishing, vishing, pretexting phone calls).</p><p>Physical approaches (tailgating, posing as a vendor).</p><p>Because active reconnaissance is detectable (IDS/IPS, WAFs, logging), it carries a higher risk of alerting the target. Without explicit authorisation (e.g., bug bounty scope or pentest contract), it can lead to legal issues. Passive recon is far stealthier and is often the practical first step.</p><p>Note that any direct interaction with a person affiliated with the target also counts as active reconnaissance, even when no packets are involved. For example, attending a social event and asking an employee about their company’s technology stack is active reconnaissance because you are directly engaging with the target organisation.</p><p>Defender tip: Organisations now monitor their own passive footprint using alerts from Shodan/Censys, CT log watchers, and automated OSINT tools to reduce what attackers can find without ever touching the network.</p><p>3<strong>. Whois</strong></p><p>WHOIS is a query/response protocol defined in RFC 3912. WHOIS servers listen on TCP port 43 and provide registration details for domain names. The domain registrar maintains these records for the domains they lease.</p><p>From a WHOIS response, the following details may be available (when not redacted):</p><p>Registrar: The company (e.g., Namecheap, GoDaddy) that registered the domain.</p><p>Registrant contact information: Name, organisation, address, phone, and email. However, privacy services (standard since GDPR 2018) usually replace this with “Withheld for Privacy” or similar.</p><p>Dates: Creation (registration), Updated (last change), and Expiration (renewal deadline).</p><p>Name servers: The DNS servers authoritative for the domain.</p><p>Status codes: For example, clientTransferProhibited indicates the domain is locked against unauthorised transfers.</p><p>Abuse contacts: The registrar’s email and phone for reporting issues.</p><p>Full personal details are now rare due to privacy laws (GDPR, CCPA) and widespread use of privacy proxies. In practice, attackers focus on dates (for estimating age or timing social engineering around renewal periods), the registrar (for phishing patterns), name servers (potential weak points), and historical changes. Services like whoxy.com provide historical WHOIS snapshots. Historical WHOIS data can reveal previous owners, registrar changes, or name server migrations that may indicate past compromises or infrastructure shifts.</p><p>WHOIS Is Being Replaced By RDAP</p><p>As of 28 January 2025, ICANN officially sunsetted the traditional WHOIS protocol for generic top-level domains (gTLDs) in favour of the Registration Data Access Protocol (RDAP). RDAP is the modern successor: it uses HTTPS (secure), returns structured JSON (machine-readable and consistent), supports internationalisation, provides better privacy controls (differentiated access), and aligns with current data protection rules. While legacy whois clients still work (often via failover or older servers), RDAP is now the authoritative standard. Many tools and browsers redirect to RDAP automatically, and command-line access is straightforward with curl or dedicated clients like OpenRDAP.</p><p>To query WHOIS, use the whois command-line client (faster than most web tools) or online viewers for legacy queries.</p><p>Syntax: whois DOMAIN_NAME</p><p>. user@TryHackMe$ whois tryhackme.com</p><p>[Querying whois.verisign-grs.com]</p><p>[Redirected to whois.namecheap.com]</p><p>[Querying whois.namecheap.com]</p><p>[whois.namecheap.com]</p><p>Domain name: tryhackme.com</p><p>Registry Domain ID: 2282723194_DOMAIN_COM-VRSN</p><p>Registrar WHOIS Server: whois.namecheap.com</p><p>Registrar URL: http://www.namecheap.com</p><p>Updated Date: 2021–05–01T19:43:23.31Z</p><p>Creation Date: 2018–07–05T19:46:15.00Z</p><p>Registrar Registration Expiration Date: 2027–07–05T19:46:15.00Z</p><p>Registrar: NAMECHEAP INC</p><p>Registrar IANA ID: 1068</p><p>Registrar Abuse Contact Email: abuse@namecheap.com</p><p>Registrar Abuse Contact Phone: +1.6613102107</p><p>Reseller: NAMECHEAP INC</p><p>Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited</p><p>Registry Registrant ID:</p><p>Registrant Name: Withheld for Privacy Purposes</p><p>Registrant Organization: Privacy service provided by Withheld for Privacy ehf</p><p>[…]</p><p>URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/</p><p>&gt;&gt;&gt; Last update of WHOIS database: 2021–08–25T14:58:29.57Z &lt;&lt;&lt;</p><p>For more information on Whois status codes, please visit https://icann.org/epp</p><p>RDAP example</p><p>Use curl to query a public RDAP endpoint (e.g., Verisign for .com domains). The jq utility formats the JSON output for readability; it is pre-installed on the AttackBox. If you are using your own system, install it via your package manager (e.g., sudo apt install jq).</p><p>RDAP output is structured (easy to parse and script) and more secure. Expect to see this format increasingly in modern tooling.</p><p>What to look for:</p><p>Redirection chain (Verisign to registrar server).</p><p>Dates: useful for estimating company age or identifying renewal phishing windows.</p><p>Name servers: potential new targets (if in scope).</p><p>Status: locked domains (e.g., clientTransferProhibited) are harder to hijack.</p><p>Online alternatives (if the whois command behaves unexpectedly):</p><p>https://whois.icann.org/ (legacy WHOIS)</p><p>https://lookup.icann.org/ (modern RDAP-focused lookup)</p><p>https://www.whoxy.com/ (historical WHOIS snapshots, free limited use)</p><p><strong>4. nslookup and dig</strong></p><p>In the previous task, WHOIS gave us the authoritative name servers for the domain. This task moves to querying DNS records, which is still fully passive because the queries go to public or open resolvers, not to the target’s servers directly.</p><p>These tools translate domain names to IP addresses, find mail servers, reveal TXT records (SPF, DMARC, verification strings), and more.</p><p>Why prefer dig over nslookup?</p><p>This task introduces two DNS query tools: nslookup and dig. Both query DNS, but dig (historically a backronym for “Domain Information Groper”) is the modern, preferred option. It provides cleaner output, displays TTL values by default (showing how long records are cached), and is more reliable for complex queries and scripting. nslookup is covered here for compatibility, since you will encounter it in older documentation and on Windows systems, but dig should be your default tool.</p><p>nslookup</p><p>nslookup (Name Server Lookup) is the older of the two tools.</p><p>Syntax:</p><p>nslookup DOMAIN_NAME performs a simple lookup using your default resolver.</p><p>nslookup -type=TYPE DOMAIN_NAME [SERVER] specifies a record type and an optional DNS server.</p><p>Common DNS record types:</p><p>Query type	Result</p><p>A	IPv4 address(es) for the domain</p><p>AAAA	IPv6 address(es) for the domain</p><p>CNAME	Canonical Name: an alias that points one domain name to another</p><p>MX	Mail Servers: the servers responsible for handling email for the domain</p><p>SOA	Start of Authority: the primary name server, admin email, and zone serial number</p><p>TXT	Text Records: arbitrary text, commonly used for SPF, DKIM, DMARC, and domain verification</p><p>Example (IPv4 addresses via Cloudflare’s resolver):</p><p>The number before each server indicates priority: lower values mean higher priority. In this case, Google Workspace handles email, which is common for many organisations and typically well-patched.</p><p>dig</p><p>dig is the modern, preferred DNS query tool.</p><p>Syntax: dig [@SERVER] DOMAIN_NAME [TYPE]</p><p>Example (MX records via Cloudflare):</p><p>Privacy tip: Use public resolvers like 1.1.1.1 (which supports DNS over HTTPS and DNS over TLS) to avoid your ISP logging your queries.</p><p>Defender note: Monitor for unexpected DNS changes (new MX records, rogue TXT entries). These can be signs of subdomain takeover or configuration errors.</p><p><strong>5. DNSDumpster</strong></p><p>Standard DNS lookups (dig/nslookup) only resolve names you already know. They will not reveal unadvertised subdomains like blog.tryhackme.com, app.tryhackme.com, or dev.internal.company.com.</p><p>Subdomains matter because they often expose forgotten or vulnerable services (outdated CMS installations, development panels), shadow IT or misconfigured applications, and additional attack surface such as exposed APIs or admin portals.</p><p>In passive recon, these subdomains are discovered using public OSINT sources with no queries sent to the target.</p><p>One well-known free tool is DNSDumpster. It aggregates public DNS data from sources such as search engine caches, zone transfer databases, and certificate records. It does not perform brute-force enumeration, which means it remains fully passive. The results include subdomains and hosts, resolved IPs with geolocation, MX, TXT, and CNAME records, and visual maps showing the relationships between these.</p><p>Search for tryhackme.com on DNSDumpster and you will see entries like blog.tryhackme.com that basic DNS lookups miss.</p><p>Certificate Transparency (CT) Logs</p><p>The most effective passive subdomain discovery method today is Certificate Transparency logs, accessible through crt.sh.</p><p>Certificate Transparency is a public logging framework (mandatory since approximately 2015) that records every SSL/TLS certificate issued by participating Certificate Authorities. Each certificate contains a Subject Alternative Name (SAN) field listing the domains and subdomains it covers. By searching these logs, you can discover subdomains without sending any traffic to the target.</p><p>To use crt.sh, visit https://crt.sh and search for %.tryhackme.com. The % wildcard matches any subdomain. The results will list every certificate issued for subdomains of tryhackme.com, often revealing 10 to 100 times more subdomains than DNSDumpster alone.</p><p>crt.sh is fully passive, operates in real time, and has no rate limits for basic use.</p><p>Other passive subdomain discovery options include SecurityTrails (free limited searches) and command-line tools like Subfinder, which aggregate multiple passive sources.</p><p>Defender perspective: Organisations monitor CT logs and subdomain lists to catch dangling DNS records (which carry subdomain takeover risk) or unauthorised subdomains.</p><p><strong>6. Shodan.io</strong></p><p>During passive reconnaissance, tools like Shodan.io allow you to gather intelligence on a target’s internet-facing assets without sending any traffic to them.</p><p>Shodan is a search engine for internet-connected devices. It continuously scans the public internet, collects banners and responses from open ports and services, and indexes them for search. Unlike Google, which indexes web pages, Shodan focuses on devices: servers, IoT equipment, cameras, routers, industrial control systems, and more.</p><p>Defensive value: Organisations monitor Shodan (via alerts or manual checks) to identify unintended exposures such as rogue servers, forgotten test machines, or vulnerable services.</p><p>Navigating the Shodan Interface</p><p>To begin, navigate to https://www.shodan.io. No account is required for basic searches. Enter a domain name (e.g., tryhackme.com) or an IP address from your earlier DNS lookups (e.g., 104.26.10.229) into the search bar.</p><p>The results page displays a list of matching hosts. Selecting a host opens a detailed view containing the following information:</p><p>IP address and ASN (Autonomous System Number): identifies the network block.</p><p>Hosting provider/organisation (e.g., Cloudflare, AWS): reveals the infrastructure behind the domain.</p><p>Geographic location (country, city): approximate physical location of the server.</p><p>Open ports and services: with version strings and banners (e.g., HTTP server type and version).</p><p>Tags: such as cdn or vuln if a known vulnerability matches the detected service version.</p><p>Search Tips</p><p>Shodan supports a range of search filters for narrowing results:</p><p>hostname:tryhackme.com matches a specific hostname.</p><p>org:”TryHackMe” filters by organisation name.</p><p>port:443 country:US filters by port and country.</p><p>http.component:”wordpress” identifies technology stack (if exposed).</p><p>For the full reference, see: https://help.shodan.io/the-basics/search-query-fundamentals</p><p>For further exploration, Censys.io (free basic searches) provides similar host and certificate data. It can serve as a useful complement when cross-referencing results.</p><p>Exercise</p><p>Go to https://www.shodan.io (no account needed for basic searches).</p><p>Search one of tryhackme.com’s IPs (from Task 4, e.g., 104.26.10.229) or use hostname:tryhackme.com.</p><p>Explore the results: note the provider (Cloudflare), location (US), open ports (443/HTTPS is common), and banners.</p><p>7. <strong>Summary</strong></p><p>Key tools and techniques:</p><p>WHOIS: Domain registration details including registrar, dates, and name servers. Most personal details are now redacted for privacy.</p><p>DNS lookups: A/AAAA (IP addresses), MX (mail servers), TXT (SPF/DMARC/verification), and other record types, queried via public resolvers like 1.1.1.1.</p><p>Subdomain enumeration: DNSDumpster for DNS aggregation and graphing, and crt.sh for Certificate Transparency log searches, which is the most effective passive method for discovering subdomains via public SSL/TLS certificates.</p><p>Exposed services: Shodan.io for device banners, ports, and hosting information.</p><p>The practical value of these methods is that they are fully passive. They trigger no alerts, carry minimal legal risk (when used ethically and within scope), yet they often uncover forgotten subdomains, outdated services, or misconfigurations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66900d0f5acf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Account]]></title>
            <link>https://medium.com/@sm3255147/microsoft-account-241883f8ce37?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/241883f8ce37</guid>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 06:36:07 GMT</pubDate>
            <atom:updated>2026-10-16T06:36:07.686Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*CwzasPV22GlzOHAzfqhWtA@2x.jpeg" /></figure><p>I have completed Microsoft account basic</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=241883f8ce37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The benefit of Failure]]></title>
            <link>https://medium.com/@sm3255147/the-benefit-of-failure-7a13a4915849?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a13a4915849</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[success]]></category>
            <category><![CDATA[failure]]></category>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 02:08:55 GMT</pubDate>
            <atom:updated>2026-09-29T02:08:55.311Z</atom:updated>
            <content:encoded><![CDATA[<p>In our whole life journey we face many difficulties such as loss in business , visa rejection , fail in exam etc. However we should think about that early failure is a starting of good success. The age between 20 to 30 is a risk taking moment in life , because it sharp us and help us to understand the reality of life and cause of failure. So it is better to fail 2 or 3 times in life to reach success , rather than just think about success. ❤️‍🩹</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a13a4915849" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[# ★Penetration testing ethics :]]></title>
            <link>https://medium.com/@sm3255147/penetration-testing-ethics-0a4adffa7213?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a4adffa7213</guid>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Sun, 31 Aug 2025 14:22:38 GMT</pubDate>
            <atom:updated>2025-08-31T14:22:38.805Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s mean before strat testing I have to take permission of Network and System owner. And i have to agreement with him that’s i don’t cross his giving scope .</p><p># Rules of engagement (ROE):</p><p>Before penetration testing begin , an agreement is made between tester and system owner.</p><p>Scope Definition</p><p>Remediation and</p><p>Retesting</p><p>adia</p><p>Timeframe</p><p>Reporting</p><p>Expectations</p><p>9P.</p><p>Testing</p><p>Methodology</p><p>Authorization and</p><p>Legal Clearance</p><p>Risk</p><p>Management</p><p>Communication Plan</p><p>Key Components of RoE for Penetration Testing</p><p>Three think most important are :</p><p>1.**Permission** : have to take permission of system owner.</p><p>2.**Scope** : They give me some specific area, where i can only test.</p><p>3.**Rules** : Which technic i should use , they will inform me. For example ( pishing attack not allow ) or MITM allow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a4adffa7213" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[# Introduction of Ethical hacker :]]></title>
            <link>https://medium.com/@sm3255147/introduction-of-ethical-hacker-a3415332b17b?source=rss-fb4adad73ac4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3415332b17b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Sakib  Al Mahmud]]></dc:creator>
            <pubDate>Thu, 28 Aug 2025 15:04:22 GMT</pubDate>
            <atom:updated>2025-08-28T15:04:22.115Z</atom:updated>
            <content:encoded><![CDATA[<p>IT’S mean check the security of the network and system by using hacking strategy with permission of the owner. Then give. them. report about specific weakness and problem.</p><p>★**Main purpose of ethical hacking :**</p><p>I think help the people by finding their problem by ethical ways.</p><p>★ **Priciples of ethical hacking :**</p><p>1.**Authorized Access Only**</p><p>2.**Respect for Privacy**</p><p>3.**Reporting Vulnerabilities**</p><p>4.**Truthfulness**</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3415332b17b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>