<?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 Siri on Medium]]></title>
        <description><![CDATA[Stories by Siri on Medium]]></description>
        <link>https://medium.com/@siri9?source=rss-34a65aea93ab------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*j2AEJ2tZFOC09CFb</url>
            <title>Stories by Siri on Medium</title>
            <link>https://medium.com/@siri9?source=rss-34a65aea93ab------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 17:43:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@siri9/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[Intrusion Detection and Prevention Systems (IDS/IPS)]]></title>
            <link>https://siri9.medium.com/intrusion-detection-and-prevention-systems-ids-ips-a54eb4d48aea?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/a54eb4d48aea</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[intrusion-detection]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[snort]]></category>
            <category><![CDATA[ids-ips]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Mon, 14 Sep 2026 05:31:25 GMT</pubDate>
            <atom:updated>2026-09-14T05:31:25.677Z</atom:updated>
            <content:encoded><![CDATA[<p>An <strong>Intrusion Detection and Prevention System (IDPS)</strong> is a security technology used to monitor network traffic and identify suspicious or malicious activity. It helps security teams detect attacks such as port scanning, brute-force attempts, malware activity, unauthorized access, and other abnormal network behavior.</p><p>The main difference between an <strong>IDS</strong> and an <strong>IPS</strong> is what happens after suspicious activity is detected.</p><p>An <strong>Intrusion Detection System (IDS)</strong> mainly <strong>detects and alerts</strong>. It monitors traffic, analyzes it, and generates an alert when it finds something that matches a known attack pattern or appears suspicious. However, it normally does not stop the traffic by itself.</p><p>An <strong>Intrusion Prevention System (IPS)</strong> goes one step further. It can <strong>detect and take action</strong>, such as dropping a malicious packet, blocking an IP address, or preventing a connection from continuing.</p><p>A simple way to remember the difference is:</p><p><strong>IDS = Detect and Alert</strong></p><p><strong>IPS = Detect and Prevent</strong></p><h3>I. Types of IDS and IPS</h3><p>IDS and IPS can be classified based on <strong>where they monitor traffic</strong>.</p><h4>1. Network-Based IDS/IPS (NIDS/NIPS)</h4><p>A <strong>Network-Based IDS/IPS</strong> monitors network traffic moving between systems. It can be placed at important points in a network, such as between an internal network and the internet.</p><p>For example, if an attacker sends a large number of suspicious packets toward a server, a NIDS can inspect those packets and generate an alert. A NIPS can potentially block the traffic.</p><p><strong>NIDS:</strong> monitors and detects network attacks.</p><p><strong>NIPS:</strong> monitors and can block network attacks.</p><p>Snort is commonly used as a <strong>network-based intrusion detection and prevention tool</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/0*fTuZiDpcbLXMRQY-.png" /></figure><h4>2. Host-Based IDS/IPS (HIDS/HIPS)</h4><p>A <strong>Host-Based IDS</strong> runs directly on an individual computer or server. Instead of mainly watching network traffic, it can monitor things happening on the host, such as:</p><ul><li>Changes to important files</li><li>Unauthorized logins</li><li>Suspicious processes</li><li>Changes to system configurations</li><li>Unusual user activity</li><li>System logs</li></ul><p>A HIPS can also take action to stop suspicious activity on the host.</p><p>For example, if malware attempts to modify an important system file, a host-based system could detect the change and potentially prevent it.</p><h3>II. IDS/IPS Detection Methods</h3><p>IDS and IPS systems can use different approaches to determine whether activity is malicious.</p><h4>1. Signature-Based Detection</h4><p><strong>Signature-based detection</strong> looks for known patterns associated with attacks.</p><p>A signature can be thought of as a rule or pattern that describes something suspicious.</p><p>For example, if a particular type of exploit produces a specific sequence of network traffic, an IDS can look for that pattern.</p><p>This method is very useful for detecting <strong>known attacks</strong>, but it has a limitation: a completely new attack may not have a known signature yet.</p><p><strong>Advantage:</strong> Good at detecting known threats.</p><p><strong>Limitation:</strong> May miss new or modified attacks that do not match existing signatures.</p><h4>2. Anomaly-Based Detection</h4><p><strong>Anomaly-based detection</strong> looks for activity that is significantly different from what is considered normal.</p><p>For example, imagine a server normally receives a few hundred connections per hour. Suddenly, it receives thousands of connections from many different sources. The system could consider this unusual and generate an alert.</p><p>This approach can help identify previously unknown attacks.</p><p><strong>Advantage:</strong> Can detect unusual or potentially new attacks.</p><p><strong>Limitation:</strong> Normal unusual behavior can sometimes generate false alarms.</p><h4>3. Behavior-Based Detection</h4><p>Behavior-based detection focuses on <strong>what a system or user is doing</strong>, rather than only looking for a specific attack signature.</p><p>For example, an employee’s computer suddenly scanning hundreds of internal systems and attempting connections to many different ports could indicate suspicious behavior.</p><p>This approach can be useful when the attack does not exactly match a known signature but its behavior is suspicious.</p><h3>III. Detection Modes</h3><p>Another way to understand IDS/IPS is by looking at <strong>how the system receives and handles traffic</strong>.</p><h4>Passive Mode/IDS Mode</h4><p>In a passive setup, the IDS receives a copy of network traffic and analyzes it.</p><p>The traffic does not normally have to pass directly through the IDS.</p><p>For example:</p><p><strong>Network → Switch → Destination</strong></p><p>The IDS can receive a copy of the traffic through mechanisms such as a network TAP or switch monitoring/SPAN configuration.</p><p>The important point is that the IDS can <strong>observe traffic without being directly in the traffic path</strong>.</p><p>This is commonly associated with IDS deployments.</p><h4>Inline Mode/IPS Mode</h4><p>In an inline deployment, the security system sits directly in the path of network traffic.</p><p>For example:</p><p><strong>Client → IPS → Server</strong></p><p>The traffic must pass through the IPS before reaching the destination.</p><p>Because the IPS is directly in the traffic path, it can make a decision about the traffic and potentially <strong>drop or reject malicious packets</strong>.</p><p>This is why inline operation is important for prevention.</p><h3>IV. What is Snort?</h3><p><strong>Snort</strong> is an open-source network security tool that runs on the CLI, originally developed as a lightweight packet sniffer and intrusion detection system. It is widely used for <strong>network traffic analysis, intrusion detection, and intrusion prevention</strong>.</p><blockquote>Snort is a signature-based IDS/IPS, foremost in the world.</blockquote><p>The basic idea behind Snort is fairly simple:</p><p><strong>Network traffic → Snort analyzes packets → Rules are checked → Alert or action</strong></p><p>Snort can inspect network packets and compare them against security rules. When traffic matches a rule, Snort can generate an alert. Depending on how it is configured, it can also operate in an inline prevention role.</p><h4>How Snort Works as an IDS</h4><p>When Snort is being used as an IDS, it primarily <strong>observes network traffic and looks for suspicious activity</strong>.</p><p>A simplified process looks like this:</p><ol><li>Network packets are captured.</li><li>Snort processes the packets.</li><li>The traffic is inspected.</li><li>Snort compares relevant traffic characteristics against its rules.</li><li>If a rule matches, Snort generates an alert.</li><li>The security analyst can investigate the alert.</li></ol><p>For example, suppose an attacker performs a port scan against a machine.</p><p>The traffic may contain a large number of connection attempts to different ports. Snort can use appropriate rules to identify this behavior and generate an alert.</p><p>The important thing to understand is that <strong>detecting something does not necessarily mean blocking it</strong>. In an IDS configuration, Snort’s main job is to identify and report suspicious traffic.</p><h4>How Snort Works as an IPS</h4><p>Snort can also be used as an <strong>Intrusion Prevention System</strong> when deployed in an inline configuration.</p><p>The major difference is that traffic passes through Snort, allowing Snort to make a decision before the traffic continues to its destination.</p><p>A simplified example is:</p><p><strong>Attacker → Snort IPS → Internal Server</strong></p><p>If Snort identifies malicious traffic and the rule is configured to take preventive action, Snort can block or drop the traffic.</p><p>This makes the basic distinction:</p><p><strong>Snort IDS:</strong><br>Observes → Detects → Alerts</p><p><strong>Snort IPS:</strong><br>Receives traffic inline → Detects → Takes action</p><h4>Snort Rules</h4><p>Snort rules are similar to TCPDump rules, it becomes easier if you know how TCPDump works.</p><p>One of the most important concepts when learning Snort is the <strong>rule</strong>.</p><p>Snort rules tell Snort what type of traffic or activity it should look for.</p><p>A rule can examine things such as:</p><ul><li>Source IP address</li><li>Destination IP address</li><li>Source port</li><li>Destination port</li><li>Protocol</li><li>Packet contents</li><li>Specific patterns or strings</li><li>Connection behavior</li></ul><p>For example, a simplified Snort rule might conceptually say:</p><blockquote><em>If TCP traffic from an external network reaches a particular service and contains a suspicious pattern, generate an alert.</em></blockquote><p>The rule determines <strong>what Snort should look for and what it should do when it finds it</strong>.</p><p>Rules are therefore a major part of Snort’s detection capability.</p><h3>V. Summary</h3><p>A useful way to visualize the entire concept is:</p><p><strong>Normal network traffic</strong></p><p>↓</p><p><strong>IDS/IPS receives or observes the traffic</strong></p><p>↓</p><p><strong>Traffic is inspected</strong></p><p>↓</p><p><strong>Detection methods are applied</strong></p><ul><li>Signature-based</li><li>Anomaly-based</li><li>Behavior-based</li></ul><p>↓</p><p><strong>Is the activity suspicious?</strong></p><p><strong>No → Traffic continues</strong></p><p><strong>Yes → Alert is generated</strong></p><p>↓</p><p>For an <strong>IDS</strong>:</p><p><strong>Alert → Security analyst investigates</strong></p><p>For an <strong>IPS</strong>:</p><p><strong>Alert → System can block/drop the traffic</strong></p><p>Snort fits into this process by inspecting network traffic and applying rules to identify suspicious activity. When used as an IDS, it focuses mainly on <strong>detection and alerting</strong>. When configured and deployed inline as an IPS, it can also <strong>take action against traffic that matches its prevention rules</strong>.</p><p>The key idea is that IDS and IPS are not simply about “watching packets.” They are security mechanisms that turn network traffic into security information and, in the case of an IPS, can also use that information to actively stop malicious traffic.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a54eb4d48aea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning tcpdump: Capturing and Analyzing Network Traffic from the Command Line]]></title>
            <link>https://siri9.medium.com/learning-tcpdump-capturing-and-analyzing-network-traffic-from-the-command-line-535da035c71f?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/535da035c71f</guid>
            <category><![CDATA[tcpdump]]></category>
            <category><![CDATA[network-traffic-analysis]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[packet-capture]]></category>
            <category><![CDATA[command-line-interface]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 02:54:15 GMT</pubDate>
            <atom:updated>2026-09-02T02:54:15.034Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/280/0*hYFqIP85f_8G3kOq" /></figure><p>After spending some time learning Wireshark and getting comfortable looking at packets through a graphical interface, I wanted to understand what packet analysis looks like from the command line.</p><p>That led me to the TryHackMe room <strong>“Tcpdump: The Basics.”</strong></p><p>The room focuses on using tcpdump to <strong>capture, filter, save, and display network packets</strong>, and it helped me understand an important part of network analysis:</p><p><em>You don’t always need a graphical interface to see what’s happening on a network.</em></p><p>Sometimes, the command line is faster, lighter, and more practical.</p><p>In this post, I’m sharing what I learned about <strong>basic packet capture, filtering expressions, advanced filtering, saving captures, and displaying packets using tcpdump.</strong></p><h3>What Is tcpdump?</h3><p>tcpdump is a command-line packet analyzer that allows us to capture and inspect network traffic.</p><p>Unlike Wireshark, which provides a graphical interface (GUI) with multiple panels and menus, tcpdump works primarily through commands.</p><p>A basic capture can be as simple as:</p><pre>tcpdump</pre><p>Running this command allows tcpdump to start capturing packets on a network interface.</p><p>The output can look something like:</p><pre>IP 192.168.1.10.52314 &gt; 8.8.8.8.53: UDP, length 42</pre><p>At first, this may look less intuitive than Wireshark.</p><p>But once the different parts are understood, the information becomes quite useful.</p><p>For example:</p><pre>192.168.1.10 → 8.8.8.8</pre><p>tells us the source and destination addresses.</p><p>The port numbers tell us which service or application the traffic may be associated with.</p><p>And:</p><pre>UDP</pre><p>tells us the transport protocol being used.</p><h3>Understanding Network Interfaces</h3><p>Before capturing traffic, we need to know <strong>which network interface</strong> we want to capture from.</p><p>A system may have several interfaces, such as:</p><pre>eth0<br>wlan0<br>lo</pre><p>For example:</p><ul><li>eth0 — Ethernet</li><li>wlan0 — Wi-Fi</li><li>lo — loopback interface</li><li>You can see some other interfaces if Virtual Machines are loaded</li></ul><p>tcpdump can list available interfaces with:</p><pre>tcpdump -D</pre><p>This is important because capturing from the wrong interface can result in seeing little or no useful traffic.</p><p>So one of the first questions when using tcpdump is:</p><blockquote><strong><em>Which interface is actually carrying the traffic I want to investigate?</em></strong></blockquote><h3>Basic Packet Capture</h3><p>Once the interface is identified, we can specify it using:</p><pre>tcpdump -i eth0</pre><p>Here:</p><pre>-i</pre><p>means we are specifying the interface.</p><p>So:</p><pre>tcpdump -i eth0</pre><p>essentially means:</p><blockquote><strong><em>Capture packets from the eth0 interface.</em></strong></blockquote><p>This is the starting point for packet capture.</p><h3>Why Filtering Matters ??</h3><p>One of the biggest problems with packet capture is that there can be <strong>a lot of traffic</strong>. If a system is communicating with multiple websites, DNS servers, update servers, cloud services, and other devices, the capture can quickly become noisy.</p><p>This is where tcpdump filtering becomes extremely important.</p><p>Instead of capturing everything and trying to analyze it afterward, we can tell tcpdump what traffic we’re interested in.</p><p>For example:</p><pre>tcpdump host 192.168.1.10</pre><p>This filters traffic involving a particular host.</p><p>We can also filter by source:</p><pre>tcpdump src 192.168.1.10</pre><p>or destination:</p><pre>tcpdump dst 192.168.1.10</pre><p>This lets us narrow down the traffic significantly.</p><h3>Filtering by Protocol</h3><p>tcpdump also allows filtering based on protocols.</p><p>For example:</p><pre>tcpdump tcp</pre><p>captures TCP traffic.</p><pre>tcpdump udp</pre><p>captures UDP traffic.</p><p>And:</p><pre>tcpdump icmp</pre><p>captures ICMP traffic.</p><p>This becomes useful when we already know what type of traffic we’re investigating.</p><p>For example, if I’m troubleshooting a ping problem, I might focus on:</p><pre>tcpdump icmp</pre><p>Instead of looking at unrelated TCP and UDP traffic.</p><h3>Filtering by Port</h3><p>Ports can also be used to narrow down traffic.</p><p>For example:</p><pre>tcpdump port 53</pre><p>can be used to examine traffic associated with DNS’s traditional port.</p><p>Similarly:</p><pre>tcpdump port 80</pre><p>can be used to investigate HTTP traffic.</p><p>And:</p><pre>tcpdump port 443</pre><p>can help identify traffic using HTTPS/TLS.</p><p>This becomes especially useful during troubleshooting or security investigations.</p><p>Instead of asking:</p><p><em>What is happening on the entire network?</em></p><p>we can ask:</p><blockquote><em>What is happening on this particular service?</em></blockquote><h3>Combining Filters</h3><p>This was one of the more useful concepts for me because filtering becomes much more powerful when conditions are combined.</p><p>For example:</p><pre>tcpdump host 192.168.1.10 and port 53</pre><p>This narrows the traffic down to communication involving that host and port 53.</p><p>We can also use logical operators such as:</p><pre>and<br>or<br>not</pre><p>For example:</p><pre>tcpdump tcp and port 443</pre><p>means:</p><blockquote><em>Show TCP traffic associated with port 443.</em></blockquote><p>And:</p><pre>tcpdump tcp and not port 22</pre><p>can be used to exclude <strong><em>SSH traffic.</em></strong></p><p>This is where tcpdump starts becoming much more than simply a packet capture command. The filter becomes a way of expressing the question we’re asking about the network.</p><h3>Advanced Filtering</h3><p>The room also introduced more advanced filtering expressions.</p><p>One useful concept is being able to combine multiple conditions.</p><p>For example:</p><pre>tcpdump &#39;src host 192.168.1.10 and dst port 443&#39;</pre><p>This lets us become more specific about both sides of the communication.</p><p>Instead of simply looking for port 443 traffic, we can ask:</p><blockquote>Show me traffic coming from this particular host and going toward port 443.</blockquote><p>This kind of filtering can be extremely useful when investigating a specific machine. For example, during a security investigation, we may already know the IP address of a potentially compromised system.</p><p>Rather than analyzing every packet in the capture, we can isolate the traffic involving that system.</p><h3>Saving Packets to a PCAP File</h3><p>Another important capability is saving captured traffic.</p><p>We don’t necessarily want to analyze everything immediately.</p><p>We can save the capture to a .pcap file using:</p><pre>tcpdump -i eth0 -w capture.pcap</pre><p>The:</p><pre>-w</pre><p>option tells tcpdump to <strong><em>write the captured packets to a file</em></strong><em>.</em></p><p>This is useful because the capture can then be analyzed later.</p><p>For example:</p><pre>Network traffic<br>      ↓<br>   tcpdump<br>      ↓<br>  capture.pcap<br>      ↓<br>Analyze later</pre><p>This also creates an interesting connection with Wireshark.</p><p>tcpdump can capture the traffic from the command line, save it as a PCAP, and that PCAP can then be opened in Wireshark for deeper graphical analysis.</p><p>So these tools don’t necessarily compete with each other. They can complement one another.</p><h3>Reading a Saved Capture</h3><p>If we already have a PCAP file, tcpdump can read it instead of capturing live traffic.</p><p>For example:</p><pre>tcpdump -r capture.pcap</pre><p>Here:</p><pre>-r</pre><p>means<strong><em> read packets</em></strong><em> </em>from a file.</p><p>This gives us a useful workflow:</p><pre>Capture<br>   ↓<br>Save<br>   ↓<br>PCAP<br>   ↓<br>Read<br>   ↓<br>Filter<br>   ↓<br>Analyze</pre><p>This is especially useful when investigating an existing network capture.</p><h3>Displaying Packets</h3><p>tcpdump provides several options for controlling how packets are displayed.</p><p>One useful option is:</p><pre>tcpdump -n</pre><p>The -n option prevents tcpdump from resolving IP addresses into hostnames.</p><p>This can make output faster and easier to interpret when we specifically want to see the numerical IP addresses.</p><p>For example, instead of seeing a hostname, we might see:</p><pre>192.168.1.10</pre><p>directly.</p><p>This can be particularly useful when troubleshooting or analyzing large captures.</p><h3>Seeing More Information</h3><p>tcpdump can also provide more detailed output.</p><p>For example:</p><pre>tcpdump -v</pre><p>increases the verbosity.</p><p>There are also higher levels:</p><pre>tcpdump -vv</pre><p>and:</p><pre>tcpdump -vvv</pre><p>The more verbose the output, the more protocol information tcpdump attempts to display.</p><p>This creates a useful balance:</p><p><strong>Less verbosity</strong></p><p>→ easier to quickly scan</p><p><strong>More verbosity</strong></p><p>→ more information for detailed investigation</p><p>The important thing is to use the level that answers the question you’re investigating rather than simply displaying everything possible.</p><h3>Seeing Packet Contents</h3><p>tcpdump can also display packet contents in different formats.</p><p>For example, options such as:</p><pre>-A</pre><p>and:</p><pre>-X</pre><p>can be useful when we want to examine packet data.</p><p>-A displays packet contents in ASCII where possible.</p><p>-X displays packet contents in hexadecimal along with an ASCII representation.</p><p>This is interesting because it moves us closer to the actual data being transmitted.</p><p>Instead of only seeing:</p><pre>Source → Destination → Protocol → Port</pre><p>we can sometimes inspect the contents carried by the packet.</p><p>This is particularly useful when investigating protocols that transmit readable information.</p><h3>tcpdump and the OSI Model</h3><p>Using tcpdump also helped reinforce the relationship between different layers of networking.</p><p>For example, we might see traffic such as:</p><pre>IP 192.168.1.10.52314 &gt; 8.8.8.8.53: UDP</pre><p>This contains information from different layers.</p><p>Conceptually:</p><pre>Application<br>    ↓<br>DNS<br>    ↓<br>UDP<br>    ↓<br>IP<br>    ↓<br>Network Interface</pre><p>The application data is being carried by a transport protocol, which is then carried inside an IP packet.</p><p>This is the same layered concept I encountered while learning Wireshark, but tcpdump gave me another way to observe it.</p><h3>tcpdump vs Wireshark</h3><p>Learning tcpdump immediately made me think about the difference between it and Wireshark.</p><h3>Wireshark</h3><p>Wireshark provides:</p><ul><li>Graphical packet analysis</li><li>Protocol hierarchy</li><li>Statistics</li><li>Conversations</li><li>Endpoints</li><li>Packet details</li><li>Packet bytes</li><li>Display filters</li><li>Visual analysis</li></ul><h3>tcpdump</h3><p>tcpdump focuses on:</p><ul><li>Command-line packet capture</li><li>Lightweight analysis</li><li>Capture filters</li><li>Quick inspection</li><li>Saving PCAP files</li><li>Reading existing captures</li><li>Filtering traffic directly from the terminal</li></ul><p>For me, the biggest difference is the <strong>workflow</strong>.</p><p>With Wireshark, I can visually explore a capture.</p><p>With tcpdump, I have to be more deliberate about what I want to see.</p><p>That can actually be an advantage.</p><h3>Why tcpdump Is Useful for Cybersecurity</h3><p>One thing that stood out to me is how practical tcpdump can be in situations where a graphical interface isn’t available.</p><p>Imagine troubleshooting a remote Linux server.</p><p>You may not have a desktop environment.</p><p>You may only have an SSH terminal.</p><p>In that situation, installing or opening a graphical packet analyzer isn’t necessarily practical.</p><p>But tcpdump can be run directly from the command line.</p><p>For example:</p><pre>tcpdump -i eth0</pre><p>Then we can narrow the traffic:</p><pre>tcpdump -i eth0 port 53</pre><p>or:</p><pre>tcpdump -i eth0 host 192.168.1.10</pre><p>and save the traffic if deeper analysis is required:</p><pre>tcpdump -i eth0 -w investigation.pcap</pre><p>That makes tcpdump particularly valuable for <strong>network troubleshooting, incident response, and security investigations</strong>.</p><h3>My Biggest Takeaway</h3><p>The biggest thing I took away from this room wasn’t simply memorizing tcpdump commands.</p><p>It was learning how to think about <strong>network traffic from the command line</strong>.</p><p>A packet capture becomes much easier to work with when I break the problem down:</p><pre>What interface?<br>      ↓<br>What traffic?<br>      ↓<br>What protocol?<br>      ↓<br>What host?<br>      ↓<br>What port?<br>      ↓<br>What direction?<br>      ↓<br>What information do I need?<br>      ↓<br>Do I need to save the capture?</pre><p>That thought process is much more important than memorizing every available option.</p><p>The commands are simply tools for expressing those questions.</p><h3>Final Thoughts</h3><p>Completing <strong>Tcpdump: The Basics</strong> gave me a better appreciation for command-line packet analysis.</p><p>The room covered the progression from basic packet capture to more targeted analysis:</p><p><strong>Basic capture</strong> → capture traffic from an interface.</p><p><strong>Filtering expressions</strong> → narrow down the traffic.</p><p><strong>Advanced filtering</strong> → combine conditions to investigate specific communication.</p><p><strong>Saving packets</strong> → preserve traffic in a PCAP for later analysis.</p><p><strong>Reading PCAPs</strong> → analyze previously captured traffic.</p><p><strong>Displaying packets</strong> → control how much information is shown.</p><p><strong><em>What I particularly liked was seeing how tcpdump fits into the larger packet-analysis workflow.</em></strong></p><p>Wireshark gives me a powerful graphical environment for exploring packets, while tcpdump gives me a lightweight command-line approach that can be extremely useful on Linux systems and remote machines.</p><p>Learning both makes packet analysis feel much more practical.</p><p>For me, this was another step toward moving from simply <strong>understanding networking concepts</strong> to actually <strong>investigating network traffic</strong>.</p><p>And that’s ultimately what makes tools like tcpdump valuable: they allow us to turn network traffic into something we can observe, filter, investigate, and understand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=535da035c71f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Wireshark: From Packet Capture to Practical Packet Analysis]]></title>
            <link>https://siri9.medium.com/learning-wireshark-from-packet-capture-to-practical-packet-analysis-f64d4375ad06?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/f64d4375ad06</guid>
            <category><![CDATA[packet-analysis]]></category>
            <category><![CDATA[wireshark]]></category>
            <category><![CDATA[network-protocols]]></category>
            <category><![CDATA[thm-walkthrough]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Tue, 01 Sep 2026 22:57:54 GMT</pubDate>
            <atom:updated>2026-09-01T22:57:54.324Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fJ0-SDSqto_VZeC-.png" /></figure><p>I recently completed two TryHackMe rooms — <strong>Wireshark: The Basics</strong> and <strong>Wireshark: Packet Operations</strong> — and they gave me a much better understanding of what Wireshark actually does beyond simply displaying packets.</p><p>Before working through these rooms, it was easy to look at a Wireshark capture and see thousands of packets without knowing where to start. After working through the exercises, I started to see packet analysis differently: <strong><em>the important skill isn’t just reading packets; it’s knowing how to narrow down the traffic, identify the protocol involved, and extract meaningful information from the capture.</em></strong></p><p>In this post, I want to share some of the things I learned, particularly around <strong>Statistics, packet filtering, protocols, and display filters.</strong></p><h3>Starting with Wireshark</h3><p>Wireshark is a network protocol analyzer that allows us to capture and inspect network traffic.</p><p>A packet capture can contain a huge amount of information:</p><blockquote>Source and destination IP addresses</blockquote><blockquote>Source and destination ports</blockquote><blockquote>Protocols</blockquote><blockquote>Packet length</blockquote><blockquote>TCP flags</blockquote><blockquote>DNS queries</blockquote><blockquote>HTTP requests</blockquote><blockquote>TLS traffic</blockquote><blockquote>ARP traffic</blockquote><blockquote>ICMP messages</blockquote><blockquote>And much more</blockquote><p>The challenge is that a large capture can quickly become overwhelming.</p><p>That’s where Wireshark’s filtering and analysis capabilities become extremely useful.</p><p>Instead of manually going through every packet, we can ask Wireshark questions such as:</p><p><em>— Show me only DNS traffic.</em></p><p><em>— Show me packets coming from this IP address.</em></p><p><em>— Show me TCP packets.</em></p><p><em>— Show me traffic going to port 443.</em></p><p><em>— Show me packets containing a particular piece of information.</em></p><p>This is where I started understanding the real value of Wireshark.</p><h3>Understanding Protocols Through Packet Analysis</h3><p>One of the most important things I learned was <em>how protocols appear within packets.</em></p><p>A packet isn’t simply “a TCP packet” or “a DNS packet.” Network communication involves multiple layers of protocols working together.</p><p>For example, when a DNS request is made, we might see something like:</p><p><strong><em>Ethernet → IP → UDP → DNS</em></strong></p><p>This helped me understand something that initially confused me:</p><blockquote><strong>DNS is an Application Layer protocol, but it can use UDP.</strong></blockquote><p>DNS defines <strong>what information is being exchanged</strong>, such as a domain-name query and its response.</p><p>UDP, on the other hand, provides the <strong>transport mechanism</strong> used to carry that DNS data.</p><p>So these aren’t competing classifications.</p><p>They operate at different layers.</p><p>For example:</p><pre>Application Layer<br>        ↓<br>       DNS<br>        ↓<br>Transport Layer<br>        ↓<br>       UDP<br>        ↓<br>Network Layer<br>        ↓<br>       IP<br>        ↓<br>Data Link Layer<br>        ↓<br>     Ethernet</pre><p>Looking at packets in Wireshark made this relationship much easier to understand because I could actually see the protocols nested inside one another.</p><h3>Statistics: Getting a Bigger Picture</h3><p>One feature I found particularly useful was the <strong><em>Statistics </em></strong>menu.</p><p>When analyzing a capture, it’s useful to first understand the overall traffic before focusing on individual packets.</p><p>Instead of immediately examining packet number 1, 2, 3, and so on, Statistics allows us to step back and ask:</p><p><em>→ What is happening in this capture overall?</em></p><p>Depending on the capture and Wireshark version, the Statistics section provides different ways to summarize the traffic.</p><p>Some particularly useful areas include:</p><h3>1. Protocol Hierarchy</h3><p>The <strong>Protocol Hierarchy</strong> provides a breakdown of the protocols present in the capture.</p><p>This is useful because it quickly answers questions such as:</p><ul><li>What protocols are being used?</li><li>Which protocols appear most frequently?</li><li>Is the capture mostly TCP or UDP?</li><li>Is DNS present?</li><li>Is HTTP present?</li><li>Are there protocols I wasn’t expecting?</li></ul><p>Instead of looking at thousands of packets individually, I can get an overview of the protocol composition of the capture.</p><h3>2. Conversations</h3><p>The <strong>Conversations</strong> view helps identify communication between endpoints.</p><p>For example, it can show conversations between:</p><pre>192.168.1.10  →  8.8.8.8<br>192.168.1.10  →  142.250.x.x<br>192.168.1.15  →  192.168.1.1</pre><p>This becomes useful when trying to understand <strong><em>who is communicating with whom</em></strong><em>.</em></p><p>It can also help identify unusual communication patterns or endpoints worth investigating further.</p><h3>3. Endpoints</h3><p>The <strong>Endpoints</strong> statistics provide another useful perspective.</p><p>Instead of focusing on conversations, I can look at the individual network endpoints participating in the capture.</p><p>This can help answer:</p><p><em>→ Which IP addresses are involved in this traffic?</em></p><p>For security analysis, this can be a useful starting point for identifying suspicious or unexpected hosts.</p><h3>Packet Filtering: Finding the Needle in the Haystack</h3><p>One of the biggest lessons from the Packet Operations room was that <strong><em>filtering is essential</em></strong><em>.</em></p><p>Imagine opening a PCAP containing 50,000 packets. Going through them one by one isn’t practical. Instead, we can filter the capture. Wireshark essentially gives us a way to tell it:</p><p><em>→ “Only show me packets that match this condition.”</em></p><p>For example:</p><pre>ip.addr == 192.168.1.10</pre><p>This displays packets where the IP address is involved in the communication.</p><p>We can also filter by source or destination:</p><pre>ip.src == 192.168.1.10</pre><p>or</p><pre>ip.dst == 192.168.1.10</pre><p>This distinction is important.</p><p>ip.src asks:</p><blockquote><em>Who sent the packet?</em></blockquote><p>while ip.dst asks:</p><blockquote><em>Who is receiving the packet?</em></blockquote><h3>Filtering by Protocol</h3><p>We can also filter traffic based on protocol.</p><p>For example:</p><pre>tcp</pre><p>shows TCP traffic.</p><pre>udp</pre><p>shows UDP traffic.</p><pre>dns</pre><p>shows DNS traffic.</p><pre>http</pre><p>shows HTTP traffic.</p><p>And:</p><pre>icmp</pre><p>shows ICMP traffic.</p><p>This is extremely useful when investigating a specific protocol.</p><p>For example, if I am investigating DNS activity, instead of looking through all the TCP, UDP, ARP, ICMP, and other packets, I can simply use:</p><pre>dns</pre><p>Now the packet list becomes much easier to analyze.</p><h3>Combining Filters</h3><p>Filters become much more powerful when combined.</p><p>For example:</p><pre>dns &amp;&amp; ip.addr == 192.168.1.10</pre><p>This means:</p><p><em>→ Show DNS packets involving 192.168.1.10.</em></p><p>We can also use conditions such as:</p><pre>tcp.port == 443</pre><p>to look at TCP traffic involving port 443.</p><p>Or:</p><pre>ip.src == 192.168.1.10 &amp;&amp; tcp</pre><p>which narrows the results to TCP traffic originating from that IP address.</p><p>This is where filtering starts becoming an investigative tool rather than simply a convenience.</p><h3>Display Filters vs. Packet Capture Filters</h3><p>One distinction I found important is the difference between <strong>capture filters</strong> and <strong>display filters</strong>.</p><h3>Capture Filter</h3><p>A capture filter controls <strong>what gets captured in the first place</strong>. It is applied while capturing traffic.</p><p>If I tell Wireshark to capture only certain traffic, packets that don’t match the capture filter aren’t collected.</p><h3>Display Filter</h3><p>A display filter is applied <strong>after the packets have already been captured</strong>.</p><p>The packets remain in the capture, but Wireshark only displays the ones matching the filter.</p><p>For example:</p><pre>dns</pre><p>doesn’t delete the non-DNS packets.</p><p>It simply hides them from the current view.</p><p>This distinction is important because display filters allow us to experiment with the captured traffic without losing information from the PCAP.</p><h3>Packet Details: Going Inside a Packet</h3><p>Another thing I became more comfortable with was the <strong>Packet Details</strong> section.</p><p>When selecting a packet, Wireshark breaks it down into protocol layers.</p><p>For example, a packet might look conceptually like:</p><pre>Frame<br> └── Ethernet<br>      └── IP<br>           └── UDP<br>                └── DNS</pre><p>Each section can be expanded to reveal more information.</p><p>For an IP packet, I can investigate things such as:</p><ul><li>Source IP</li><li>Destination IP</li><li>TTL</li><li>Protocol</li><li>Header information</li></ul><p>For TCP:</p><ul><li>Source port</li><li>Destination port</li><li>Sequence number</li><li>Acknowledgment number</li><li>TCP flags</li><li>Window size</li></ul><p>For DNS:</p><ul><li>Query name</li><li>Query type</li><li>Response</li><li>Answers</li></ul><p>This layered view helped connect the theoretical networking concepts I had learned with what actually happens on the wire.</p><h3>Packet Bytes: Seeing What Is Actually Being Transmitted</h3><p>The <strong>Packet Bytes</strong> section was another interesting part of the process.</p><p>Instead of only looking at Wireshark’s decoded representation, we can see the actual packet data in hexadecimal and ASCII representations.</p><p>This is useful because Wireshark is interpreting the raw bytes for us.</p><p>For example, a packet may contain:</p><pre>48 65 6c 6c 6f</pre><p>which corresponds to:</p><pre>Hello</pre><p>This helped me understand the relationship between:</p><p><strong>raw bytes → protocol interpretation → human-readable information</strong></p><p>It also explains why Wireshark provides options such as searching for strings, hexadecimal values, and regular expressions.</p><h3>Searching Through Packets</h3><p>Another useful feature is packet searching.</p><p>Instead of filtering the entire capture using a protocol expression, I can search for specific content.</p><p>For example, I might search for:</p><pre>username</pre><p>or a specific hexadecimal value.</p><p>Wireshark provides different search types, including:</p><ul><li>Display filter</li><li>Hex value</li><li>String</li><li>Regular expression</li></ul><p>These serve different purposes.</p><p>A <strong>string search</strong> is useful when looking for readable text.</p><p>A <strong>hex search</strong> is useful when looking for specific byte patterns.</p><p>A <strong>regular expression</strong> becomes useful when the information I’m looking for follows a particular pattern rather than being an exact string.</p><p>This can become very useful when investigating a large PCAP for a particular piece of evidence.</p><h3>Why Display Filters Matter So Much in Security</h3><p>This was probably one of my biggest takeaways from these rooms.</p><p>A packet capture is essentially a large collection of network evidence.</p><p>The challenge isn’t necessarily obtaining the evidence.</p><p>The challenge is <strong>finding the relevant evidence</strong>.</p><p>Display filters allow us to turn a massive capture into a much smaller investigation.</p><p>For example:</p><pre>dns</pre><p>Find DNS activity</p><pre>dns.qry.name</pre><p>Focus on DNS query information</p><pre>http.request</pre><p>Focus on HTTP requests</p><pre>tcp.flags.syn == 1</pre><p>Investigate TCP SYN packets</p><pre>ip.addr == x.x.x.x</pre><p>Investigate a particular host</p><p>Each filter changes the question we’re asking of the capture.</p><h3>What I Took Away From These Two Rooms</h3><p>The biggest change for me wasn’t memorizing Wireshark commands.</p><p>It was learning <strong>how to approach a packet capture systematically</strong>.</p><p>Instead of:</p><p><em>“There are thousands of packets. Where do I even start?”</em></p><p>I can now think more like:</p><ol><li><strong>What protocols are present?</strong></li><li><strong>Which endpoints are communicating?</strong></li><li><strong>What type of traffic am I interested in?</strong></li><li><strong>Can I narrow the capture with a display filter?</strong></li><li><strong>What does the packet structure tell me?</strong></li><li><strong>Is there useful information in the packet contents?</strong></li><li><strong>Is there anything unusual that deserves further investigation?</strong></li></ol><p>That shift in thinking makes Wireshark much less intimidating.</p><h3>Final Thoughts</h3><p>Completing <strong>Wireshark: The Basics</strong> and <strong>Wireshark: Packet Operations</strong> on TryHackMe gave me hands-on experience with a tool that I had previously approached mostly from a theoretical perspective.</p><p>The most useful concepts I took away were:</p><p><strong>Statistics</strong> → help understand the overall capture.</p><p><strong>Protocols</strong> → help understand how communication is structured.</p><p><strong>Packet filtering</strong> → reduces thousands of packets to relevant traffic.</p><p><strong>Display filters</strong> → allow targeted investigation of captured packets.</p><p><strong>Packet details</strong> → show how different protocol layers work together.</p><p><strong>Packet bytes</strong> → provide visibility into the underlying raw data.</p><p>Most importantly, I learned that Wireshark isn’t just a tool for “looking at packets.”</p><p>It is a tool for <strong>asking questions about network traffic and using the packets as evidence to answer those questions.</strong></p><p>And that’s what makes packet analysis so interesting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f64d4375ad06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 2 — Basic pfSense Configuration]]></title>
            <link>https://siri9.medium.com/part-2-basic-pfsense-configuration-f9fb909a4dfa?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9fb909a4dfa</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[pfsense]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[firewall]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Thu, 27 Aug 2026 16:55:44 GMT</pubDate>
            <atom:updated>2026-08-27T16:56:19.975Z</atom:updated>
            <content:encoded><![CDATA[<p>After completing the installation of pfSense and assigning the WAN and LAN interfaces in VirtualBox, I moved on to the basic configuration of the firewall. This stage was performed through the pfSense WebGUI using Mozilla Firefox on the Ubuntu virtual machine.</p><p>Before making any changes, I first verified that the network adapters of the Ubuntu VM and pfSense VM were configured correctly. In particular, I checked that the interfaces that needed to communicate with each other were connected to the same VirtualBox Host-Only network. This was important because Ubuntu needed to be able to reach the LAN interface of pfSense through the virtual network.</p><p>Once connectivity was confirmed, I opened the pfSense WebGUI using the LAN IP address obtained during the initial setup and logged in. One of the first changes I made was replacing the default pfSense administrator password with a new password. Changing the default credentials is an important security measure because leaving default login credentials unchanged could allow anyone with access to the management interface to gain administrative access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/0*xvRsBOwUi9hUjlpn" /></figure><h3>Using the pfSense Setup Wizard</h3><p>Instead of configuring every setting individually from the main dashboard, I used the built-in <strong>Setup Wizard</strong>. The wizard provides a guided process for completing the basic configuration of pfSense.</p><p>The wizard contains several steps, and I used it to configure the main system, WAN, LAN, and administrator settings.</p><h3>Step 1,2,3 — General System Configuration</h3><p>The first part of the wizard was the general system configuration. I configured the basic identification and DNS settings of the pfSense system.</p><p>I changed the <strong>Hostname</strong> from the default value to a name that was easier to identify in my virtual lab. The hostname is not required for pfSense to function, but using a meaningful name makes the firewall easier to recognize when working with multiple virtual machines or network devices.</p><p>I also had the option to change the <strong>Domain Name</strong>. This can be left at the default value for a simple lab, but configuring a meaningful domain name can make the system easier to organize, particularly in a larger network environment.</p><p>At the bottom of the page, I configured external DNS servers. I used:</p><ul><li><strong>Google DNS:</strong> 8.8.8.8</li><li><strong>Cloudflare DNS:</strong> 1.1.1.1</li></ul><p>DNS, or Domain Name System, is responsible for translating human-readable domain names such as google.com into IP addresses. Providing reliable DNS servers allows pfSense to resolve domain names when it needs to communicate with external services.</p><blockquote>I also made sure that the <strong>DNS Server Override</strong> option was enabled.</blockquote><p>This setting allows DNS server information provided by the WAN connection, such as DNS servers received through DHCP, to be used by pfSense. In this lab, I explicitly entered Google and Cloudflare DNS servers while retaining the default behavior of the other DNS settings.</p><blockquote>I then selected the appropriate <strong>time zone</strong> for the system.</blockquote><p>Correct time-zone configuration is important because firewall logs, system events, certificates, scheduled tasks, and other security-related information depend on accurate system time.</p><p>I left the <strong>NTP/time server and language settings</strong> at their default values and proceeded to the next step.</p><h3>Step 4 — WAN Interface Configuration</h3><p>The fourth step of the wizard configured the <strong>WAN (Wide Area Network) interface</strong>.</p><blockquote>For the <strong>Configuration Type</strong>, I selected <strong>DHCP</strong>.</blockquote><p>This allowed the WAN interface to automatically obtain its IP configuration from the upstream network. This matched the VirtualBox configuration in which the pfSense WAN adapter was connected through NAT.</p><blockquote>I left the remaining WAN settings at their default values.</blockquote><p>Near the bottom of the page,</p><blockquote>I specifically checked the setting related to <strong>RFC1918 private networks</strong>.</blockquote><blockquote>For this lab configuration, I unchecked <strong>Block private networks and loopback addresses</strong>.</blockquote><p>RFC1918 addresses are private IPv4 address ranges used inside private networks, such as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. In a typical Internet-facing WAN, blocking these addresses can help prevent traffic using private source addresses from entering through the WAN interface. However, because my WAN was part of a VirtualBox NAT/lab environment rather than a real public Internet connection, keeping this option enabled could interfere with the virtual network setup.</p><blockquote>I also verified that <strong>Block Bogon Networks</strong> was enabled.</blockquote><p>Bogon networks are address ranges that should not normally appear as legitimate Internet traffic. Blocking them provides an additional layer of protection against traffic originating from invalid or unallocated address space.</p><p>After checking these settings, I proceeded to the next step.</p><h3>Step 5 — LAN Interface Configuration</h3><p>The fifth step was used to configure the <strong>LAN (Local Area Network) interface</strong>.</p><p>I configured the LAN IP settings based on the network information assigned during the initial pfSense console setup in Part 1. The subnet mask was configured as <strong>24</strong>, represented as /24. A /24 network provides 256 total IPv4 addresses, with 254 normally available for hosts.</p><p>The LAN interface is particularly important because it provides the internal network through which my Ubuntu and Windows 10 virtual machines communicate with pfSense.</p><p>At this stage, I used the LAN configuration shown in my lab setup and proceeded to the next step.</p><h3>Step 6 — Changing the Administrator Password</h3><p>The next step was dedicated to securing the pfSense administrator account.</p><p>The default pfSense credentials were replaced with a new administrator password. This prevents the system from continuing to use the publicly known default password and is one of the most important initial security steps after installation.</p><blockquote>After entering the new password, I proceeded with the configuration.</blockquote><p>pfSense then asked me to <strong>reload the configuration</strong> so that the changes could take effect. I selected the reload option. The reload took approximately <strong>30–90 seconds</strong>.</p><p>Once the configuration was successfully reloaded, pfSense displayed a message indicating that the configuration was complete. I selected <strong>Finish</strong> and was then presented with the pfSense copyright/trademark notice, which I accepted.</p><p>After accepting it, I was taken to the main pfSense dashboard, where I could see information about the current system, including resource information such as CPU, memory/battery-related information where applicable, and disk usage.</p><p>At this point, the basic Setup Wizard configuration was complete.</p><h3>Additional pfSense Configuration</h3><p>After completing the wizard, I continued exploring several settings that were important for the functionality and security of the virtual firewall.</p><h3>DNS Resolver Configuration</h3><p>I navigated to:</p><p><strong>Services → DNS Resolver → General Settings</strong></p><p>One of the first settings,</p><blockquote>I enabled was <strong>Register DHCP leases in the DNS Resolver</strong>.</blockquote><p>This allows pfSense’s DNS Resolver to associate DHCP-assigned hostnames with their corresponding IP addresses. This can make it easier for devices on the LAN to resolve one another by hostname instead of having to remember their IP addresses.</p><blockquote>I also enabled the option to <strong>Register DHCP Static Mappings in the DNS Resolver</strong>.</blockquote><p>This allows statically mapped DHCP clients to be registered with the DNS Resolver as well.</p><p>I then opened the <strong>Advanced Settings</strong> tab. Under the Advanced Resolver Options section, I <strong><em>enabled </em></strong>the following options:</p><blockquote><strong>Prefetch Support</strong></blockquote><blockquote><strong>Prefetch DNS Key Support</strong></blockquote><blockquote><strong>Harden DNSSEC Data</strong></blockquote><p>Prefetch Support allows frequently requested DNS records to be refreshed before their cached lifetime expires, which can help reduce delays when clients request commonly used records.</p><p>Prefetch DNS Key Support applies similar behavior to DNSSEC-related key information.</p><p>The DNSSEC hardening option strengthens validation of DNSSEC data and helps protect DNS resolution against certain forms of DNS manipulation.</p><p>After making these changes, I clicked <strong>Save</strong> and then selected <strong>Apply Changes</strong> so that the new DNS Resolver configuration would take effect.</p><h3>Renaming WAN and LAN Interfaces</h3><p>I then navigated to:</p><p><strong>Interfaces → WAN</strong></p><p>In the <strong>General Configuration</strong> section, I changed the interface description to make it easier to identify the interface in my lab.</p><p>I performed the same type of configuration for the <strong>LAN</strong> interface.</p><p>These description changes do not fundamentally change how the interfaces operate. Their main purpose is organization and easier identification, especially when working with multiple interfaces.</p><p>After making any changes, I saved the configuration and applied the changes.</p><h3>Disabling Hardware Checksum Offloading</h3><p>Then, I navigated to:</p><p><strong>System → Advanced → Networking</strong></p><p>I left most of the networking options at their default settings. However, under the <strong>Network Interfaces</strong> section, I enabled:</p><blockquote><strong>Disable hardware checksum offloading</strong></blockquote><p>Checksum offloading allows a network interface or virtual network driver to perform certain packet-processing tasks instead of having the operating system handle them. Although this can improve performance on some physical systems, hardware offloading features can sometimes cause problems in virtualized networking environments because the virtual network adapter and the guest operating system may not handle these features as expected.</p><p>For this reason, disabling checksum offloading is a common troubleshooting/configuration step when working with pfSense in virtual environments such as VirtualBox.</p><p>After selecting the option, I clicked <strong>Save</strong> and <strong>Apply Changes</strong>.</p><p>pfSense then requested a reboot for the networking change to take effect. I selected the reboot option and submitted the change.</p><p>The reboot took some time. If the system appeared to remain on the reboot screen for an extended period, I shut down the pfSense virtual machine and started it again from VirtualBox. Once pfSense had booted successfully, I returned to the Ubuntu VM, opened the pfSense LAN address in Firefox, and logged into the WebGUI again.</p><p>After logging back in, the configuration changes made during this stage were available in the pfSense system.</p><h3>Summary</h3><p>Through the Setup Wizard and subsequent manual configuration, I completed the basic pfSense configuration for my virtual lab. I secured the administrator account, configured the system identity, DNS servers, time zone, WAN and LAN interfaces, and DNS Resolver settings. I also explored the firewall rule section and disabled hardware checksum offloading to improve compatibility with the VirtualBox networking environment.</p><p>With these basic settings in place, pfSense was ready for more advanced firewall and network-security configuration. The next stage could therefore focus on creating and testing specific firewall rules and controlling traffic between the WAN, LAN, Ubuntu, and Windows 10 virtual machines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9fb909a4dfa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up pfSense in VirtualBox — Part 1: Installation and Initial Network Setup]]></title>
            <link>https://siri9.medium.com/setting-up-pfsense-in-virtualbox-part-1-installation-and-initial-network-setup-606971947809?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/606971947809</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[firewall-network]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[pfsense]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Thu, 27 Aug 2026 05:07:03 GMT</pubDate>
            <atom:updated>2026-08-27T05:07:03.331Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my virtual cybersecurity lab, I set up <strong>pfSense Community Edition</strong> as a virtual firewall and router using Oracle VirtualBox. My existing virtual environment already included an Ubuntu machine and a Windows 10 machine, so the goal was to introduce pfSense between the virtual machines and use it to manage and control network traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*1KqwzTomtzhxrkfaiYzhog.png" /></figure><h3>1. Downloading the pfSense ISO</h3><p>The first step was to download the <strong>pfSense Community Edition ISO image</strong> from the official pfSense/Netgate website using my Windows host machine. I used the free Community Edition, so there was no purchase or paid subscription required for this lab setup.</p><p>After downloading the ISO file, you need to extract the downloaded file to find the ISO image. I opened VirtualBox and created a new virtual machine specifically for pfSense.</p><h3>2. Creating the pfSense Virtual Machine</h3><p>I created a new VM in VirtualBox and selected the appropriate operating system settings for pfSense. I then allocated the required memory and virtual storage to the machine.</p><p>The most important part of the VirtualBox configuration was setting up <strong>two network adapters</strong> because pfSense is intended to operate as a router/firewall with separate WAN and LAN interfaces.</p><p>I configured the adapters as follows:</p><ul><li><strong>Adapter 1:</strong> NAT — used as the WAN-side connection.</li><li><strong>Adapter 2:</strong> Host-Only Adapter — used as the LAN-side network for communication with my other virtual machines.</li><li>Make sure your adapter types are correctly selected.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*Ogiz026_-zvuryFBStpLWQ.png" /><figcaption>Fig 1. Detials of Network Adapter 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*c8QTU0sKQM-akyP5GV5Huw.png" /><figcaption>Fig 2. Detials of Netowrk Adapter 2</figcaption></figure><p>This created two separate virtual network interfaces that pfSense could later assign as its WAN and LAN interfaces.</p><p>Once the VM resources and network adapters were configured, I attached the downloaded pfSense ISO image to the VM’s virtual optical drive and started the machine</p><h3>3. Starting the pfSense Installation</h3><p>When I initially booted the pfSense VM, I encountered some issues before reaching the normal installation process. One of the messages indicated that a <strong>Netgate network/server could not be reached</strong>. Since this occurred during the initial setup process, I had to change the adapter type option in the network section of the settings to the above-shown option (Intel Pro/1000 MT Desktop ….)</p><p>After resolving the setup issue, the pfSense installation environment loaded successfully, and I was able to proceed with installing pfSense onto the virtual hard disk.</p><p>The installation process took some time and required the VM to reboot during the process. Once the installation was completed, pfSense displayed its console-based configuration interface. This is the screen you need to have when the installation is successful👇with options and the WAN and LAN setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*atkflZj10W1y4C5ZDPUDWg.png" /><figcaption>Fig 3. pfsense firewall initial screen</figcaption></figure><h3>4. Removing the ISO After Installation</h3><p>After the installation finished, I noticed that the pfSense installation screen continued to appear when the VM was restarted. This happened because the pfSense ISO image was still attached to the virtual machine.</p><p>I went back into the VirtualBox settings and removed/ejected the pfSense ISO from the virtual optical drive. This allowed the VM to boot from the newly installed virtual disk instead of starting the installation process again.</p><p>After restarting the VM, pfSense successfully booted into its console interface.</p><h3>5. Assigning the WAN and LAN Interfaces</h3><p>The next important step was to assign the two VirtualBox network adapters to the appropriate pfSense interfaces. [ option 1 in Fig.3 ]</p><p>pfSense detected the virtual network interfaces as:</p><ul><li><strong>em0</strong></li><li><strong>em1</strong></li></ul><p>I assigned these interfaces as the WAN and LAN interfaces, respectively. The WAN interface was associated with the NAT adapter, while the LAN interface was associated with the Host-Only Adapter.</p><p>This separation was important because it allowed pfSense to have one interface facing the external/NAT network and another interface providing a private network for my virtual machines.</p><p>After assigning the interfaces, pfSense displayed the LAN configuration information on its console screen, including the LAN IP address.</p><p>If the IP address for LAN is not displayed, select option2 in Fig 3 and go through the process to assign an IP address to the LAN interface.</p><h3>6. Accessing the pfSense Web Interface from Ubuntu</h3><p>Once the pfSense console configuration was complete, I started my Ubuntu virtual machine. Since the Ubuntu VM was connected to the same virtual LAN network as the pfSense LAN interface, I was able to communicate with the pfSense firewall through its LAN address.</p><p>I checked the LAN IP address displayed by pfSense and entered that address into <strong>Mozilla Firefox</strong> on the Ubuntu machine.</p><p>This opened the pfSense web-based management interface.</p><p>The web interface provided a much easier way to configure and manage pfSense compared with using the command-line/console interface. The page looks like the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/0*5cDDaNxLz73VJzwc.png" /><figcaption>Fig 4. pfsense Login page on the Ubuntu maachine browser.</figcaption></figure><h3>7. Logging Into pfSense</h3><p>The pfSense login page appeared in Firefox, and I logged in using the default credentials provided by the installation:</p><ul><li><strong>Username:</strong> admin</li><li><strong>Password:</strong> pfsense</li></ul><p>After successfully logging in, I reached the pfSense web configuration interface. At this point, the basic installation and initial network setup of pfSense were complete.</p><p>The pfSense VM was now functioning as the firewall/router for my virtual lab, with the <strong>NAT interface acting as the WAN connection</strong> and the <strong>Host-Only interface acting as the LAN connection</strong>.</p><p>This completed the first stage of the lab. In the next stage, I continued with the actual pfSense configuration, including configuring the firewall, network settings, and other features required for the lab environment.</p><h3>Conclusion</h3><p>The initial setup of pfSense in VirtualBox established the foundation for my virtual cybersecurity lab. I successfully installed the free pfSense Community Edition, configured two virtual network adapters for the WAN and LAN interfaces, and connected pfSense with my existing Ubuntu and Windows 10 virtual machines. After resolving the initial installation and boot issues, I was able to access the pfSense web interface from Ubuntu using the LAN IP address and log in with the default credentials. At this stage, pfSense was successfully running as a virtual firewall and router, providing a controlled network environment for further configuration and testing. This setup served as the foundation for the next stage, where I configured pfSense’s network, firewall, DHCP, and other security features.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=606971947809" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ DNS based ad and tracker blocking & Firewall configuration]]></title>
            <link>https://siri9.medium.com/spent-some-time-exploring-my-home-lab-and-ended-up-learning-a-lot-more-about-networking-than-i-1e1422342e3d?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e1422342e3d</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[homelab]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Mon, 24 Aug 2026 04:59:28 GMT</pubDate>
            <atom:updated>2026-08-24T05:05:12.354Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7HRpswp5B0aoQTax.png" /></figure><p>I wanted to understand what was actually happening behind the scenes instead of just knowing the theory, so I started with the basics and worked my way through my own setup.</p><p>I explored the output of ipconfig /all and connected it to concepts like <strong>IP addresses, subnetting, DHCP, DNS, default gateways, and IPv6</strong>. I also looked at how <strong>VirtualBox and VMware create virtual network interfaces</strong> and the difference between <strong>Host-Only and NAT networking</strong>.</p><p>From there, I explored my router settings and learned more about how a router works as a <strong>gateway, DHCP server, and DNS proxy</strong>, as well as how its firewall handles things like <strong>WAN ping, IDS, blocked ports, and different security levels</strong>.</p><p><strong>🛡️ Firewall configuration:</strong><br>I reviewed the existing firewall configuration, understood what <strong>WAN ping, IDS, blocked ports, and LAN-to-WAN traffic</strong> meant, and changed the firewall from <strong>Minimum/Low security to Typical/Medium security</strong> to use a more restrictive configuration for the home network.</p><p>🌐 <strong>DNS configuration:</strong><br>I also explored how the router was obtaining DNS automatically and changed the configuration to use <strong>ad/tracker-filtering DNS</strong>. The goal was to apply DNS-based filtering at the network level so that devices connected to the home network can benefit from blocking known advertising and tracking domains without installing an ad blocker separately on every device.</p><p>What I liked most about this exercise was seeing how all these concepts connect:</p><blockquote><strong>Device → Network → Router → DNS → Firewall → Internet</strong></blockquote><p>Things that can feel abstract when studying networking started making much more sense once I could actually see them working in a real environment.</p><p>Still learning, still experimenting, and slowly building a better understanding of how networks and security work beyond the textbook. 🧑‍💻</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e1422342e3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building my Home Lab from scratch]]></title>
            <link>https://siri9.medium.com/building-my-home-lab-from-scratch-258b6b56a34a?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/258b6b56a34a</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[setup]]></category>
            <category><![CDATA[zero-to-mastery]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Tue, 28 Apr 2026 15:53:42 GMT</pubDate>
            <atom:updated>2026-04-28T15:54:25.050Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Zero to Home Lab: My Cybersecurity Practice Environment</h3><p>When I first started learning cybersecurity, I kept reading how every professional practices in a “home lab.” At first, I didn’t really get why that was such a big deal. But after exploring tools like Kali Linux and Wireshark, I realized I needed a safe, isolated space to experiment — somewhere I could break things and fix them without worrying about my real system.</p><p>That’s how my home lab journey began — one laptop, a few ISO files, and lots of trial and error.</p><h3><strong>My Goal</strong></h3><p>I wanted to create a <strong>mini virtual environment</strong> that mimics real-world systems — one machine to attack from, one to defend, and one to monitor everything happening in between.</p><p>By the end, my goal was simple:<br> ✅ A working cybersecurity playground<br> ✅ A record of every step I took<br> ✅ A space to continue all my future experiments</p><h3><strong>What I Used</strong></h3><p><strong>Laptop</strong> <strong>Specs:</strong> 8GB RAM, 256GB SSD</p><p><strong>Software:</strong> VirtualBox</p><p><strong>Virtual Machines:</strong> Ubuntu(defender), Windows 10 &amp; Kali Linux(attacker)</p><p>I downloaded the ISO files directly from their official websites. Pro tip — always use official links to avoid tampered images.</p><h3><strong>Step 1: Installed VirtualBox</strong></h3><p>I downloaded VirtualBox from Oracle’s official site and went through the default installation.</p><p>Initially, one of my VMs refused to start; later, I discovered that <strong>hardware virtualization (VT-x)</strong> was disabled in my BIOS. After enabling it, everything ran smoothly.</p><h3><strong>Step 2: Downloaded Kali, Windows &amp; Ubuntu ISOs</strong></h3><p>I got the ISO files directly from:</p><p>1️⃣<a href="http://kali.org/">kali.org </a>— for Kali Linux</p><p>2️⃣<a href="http://ubuntu.com/">ubuntu.com</a> — for Ubuntu</p><p>3️⃣<a href="https://www.microsoft.com/en-us/software-download/windows10ISO">https://www.microsoft.com/en-us/software-download/windows10ISO</a> — for Windows 10</p><p>All are free and officially maintained, making them ideal for security testing.</p><h3><strong>Step 3: Created Virtual Machines</strong></h3><p>Inside VirtualBox, I created two VMs:</p><ul><li><strong>Kali Linux:</strong> 4 GB RAM, 2 CPU Cores</li><li><strong>Ubuntu:</strong> 4 GB RAM, 2 CPU Cores</li><li><strong>Windows:</strong> 4 GB RAM, 2 CPU Cores</li></ul><p>I mounted each ISO and completed its installation one by one.</p><h3>Step 4: Configuring the Virtual Network</h3><p>Once all systems were installed, I needed them to communicate like machines inside a real company network.</p><p>I used VirtualBox networking modes:</p><ul><li><strong>NAT</strong> — for internet access inside the VM</li><li><strong>Host-Only Adapter</strong> — for private communication between my VMs</li><li><strong>Internal Network</strong> — fully isolated testing network</li></ul><p>For my lab, I chose <strong>Host-Only networking</strong> so Kali, Ubuntu, and Windows could talk to each other safely without exposing anything externally.</p><p>After configuration:</p><ul><li>Kali Linux: 192.168.x.x</li><li>Ubuntu: 192.168.x.x</li><li>Windows 10: 192.168.x.x</li></ul><p>I verified connectivity using ping.</p><h3>Step 5: Testing Communication Between Machines</h3><p>My first success moment was simple: all three machines could detect each other.</p><p>I tested:</p><blockquote>Ping from Kali to Ubuntu</blockquote><blockquote>Ping from Kali to Windows</blockquote><blockquote>SSH into Ubuntu</blockquote><blockquote>File sharing tests</blockquote><p>Seeing packets move between machines made the lab feel real.</p><h3>Challenges I Ran Into</h3><p>Building the lab wasn’t smooth.</p><blockquote>VT-x disabled in BIOS</blockquote><blockquote>Low RAM issues with multiple VMs running</blockquote><blockquote>Slow performance on 8GB laptop</blockquote><blockquote>Network adapters not detecting properly</blockquote><blockquote>Windows installation took longer than expected</blockquote><p>Each issue forced me to troubleshoot, which was valuable learning itself.</p><h3>What This Taught Me</h3><p>I learned cybersecurity is not only hacking tools.</p><p>It includes:</p><blockquote>Networking basics</blockquote><blockquote>Operating systems</blockquote><blockquote>Troubleshooting</blockquote><blockquote>Patience</blockquote><blockquote>Documentation</blockquote><blockquote>Thinking like both attacker and defender</blockquote><p>That mindset shift was huge.</p><h3>Future Experiments Planned</h3><p>Now that the lab is ready, I plan to use it for:</p><p>✅ Vulnerability scanning with Nmap<br> ✅ Packet analysis with Wireshark<br> ✅ Log monitoring<br> ✅ Web app testing<br> ✅ Basic malware analysis (isolated)<br> ✅ Active Directory practice later<br> ✅ Blue Team detection labs</p><h3>Final Thoughts</h3><p>Starting a home lab felt intimidating, but it turned out to be one of the best decisions in my cybersecurity journey.</p><p>You do not need expensive hardware or enterprise equipment.</p><p>You just need:</p><blockquote><strong>Curiosity</strong></blockquote><blockquote><strong>Patience</strong></blockquote><blockquote><strong>Willingness to break things and learn</strong></blockquote><p>My lab started with one laptop and free tools. Yours can too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=258b6b56a34a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Linux for Cybersecurity Beginners]]></title>
            <link>https://siri9.medium.com/introduction-to-linux-for-cybersecurity-beginners-2ec14831cd83?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ec14831cd83</guid>
            <category><![CDATA[linux-for-beginners]]></category>
            <category><![CDATA[linux-commands]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 23:06:24 GMT</pubDate>
            <atom:updated>2026-04-26T23:06:24.127Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AwcUN5tGIerZMEdWHGPxkQ.jpeg" /><figcaption>Credit: Walpaperflare.com</figcaption></figure><p>Linux is one of the most widely used operating systems in cybersecurity.</p><h3>Why Linux is Important</h3><p>Many security tools and servers run on Linux because it is:</p><ul><li>Stable</li><li>Secure</li><li>Open-source</li><li>Highly customizable</li></ul><h3>Basic Linux Concepts</h3><h4>File System Structure</h4><p>Linux organizes everything as files and directories.</p><p>Important directories:</p><ul><li>/home → user files</li><li>/etc → configuration files</li><li>/var → logs and system data</li></ul><h4>Permissions</h4><p>Linux controls access using:</p><ul><li>Read (r)</li><li>Write (w)</li><li>Execute (x)</li></ul><p>Each file has permissions for:</p><ul><li>Owner</li><li>Group</li><li>Others</li></ul><h3>Basic Commands</h3><ul><li>ls → list files</li><li>cd → change directory</li><li>pwd → current location</li><li>mkdir → create folder</li><li>rm → delete file</li></ul><h3>Why Cybersecurity Professionals Use Linux</h3><ul><li>Network scanning tools run on Linux</li><li>Penetration testing tools are Linux-based</li><li>Security auditing is easier</li></ul><h3>Key Insight</h3><p>Learning Linux is not optional in cybersecurity. It is a core skill.</p><h3>Conclusion</h3><p>This introduction to Linux shows why it is essential for cybersecurity roles. My next step is to practice Linux commands and networking tools.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ec14831cd83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IP Address, Subnets, and Why They Matter in Cybersecurity]]></title>
            <link>https://siri9.medium.com/ip-address-subnets-and-why-they-matter-in-cybersecurity-8c68efbdb046?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c68efbdb046</guid>
            <category><![CDATA[subnet]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[ip]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 16:46:05 GMT</pubDate>
            <atom:updated>2026-04-25T16:46:05.194Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hQpVK9u18TlhV7iMvxJRHA.png" /><figcaption>Source: DevOps School</figcaption></figure><h3>What is an IP Address?</h3><p>An IP address is a numerical label assigned to each device connected to a network.</p><p>Types:</p><blockquote>IPv4 (e.g., 192.168.1.1)</blockquote><blockquote>IPv6 (longer format, newer system)</blockquote><h3>Why IP Addresses Matter</h3><p>IP addresses help:</p><blockquote>Identify devices</blockquote><blockquote>Route data</blockquote><blockquote>Track network activity</blockquote><p>In cybersecurity, IP addresses are used to:</p><ol><li>Detect attackers</li><li>Monitor Traffic</li><li>Block malicious sources</li></ol><h3>What is a Subnet?</h3><p>A subnet divides a large network into smaller segments.</p><p>Why is it used:</p><ol><li>Improves security</li><li>Improves performance</li><li>Organizes networks efficiently</li></ol><h3>Example</h3><p>A company may divide its network:</p><blockquote>HR department subnet</blockquote><blockquote>IT department subnet</blockquote><blockquote>Guest network subnet</blockquote><h3>Cybersecurity Relevance</h3><p>Attackers often:</p><blockquote>Scan IP ranges</blockquote><blockquote>Look for open ports</blockquote><blockquote>Exploit weak systems in subnets</blockquote><p>Understanding IP structure helps in defense and monitoring.</p><h3>Conclusion</h3><p>IP addressing and subnetting are foundational skills in cybersecurity for understanding how networks are structured and how they are attacked.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c68efbdb046" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How the Internet Works: Simple Explanation for Cybersecurity Beginners]]></title>
            <link>https://siri9.medium.com/how-the-internet-works-simple-explanation-for-cybersecurity-beginners-db1100901cb3?source=rss-34a65aea93ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/db1100901cb3</guid>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[wifi]]></category>
            <category><![CDATA[connectivity]]></category>
            <dc:creator><![CDATA[Siri]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 16:44:42 GMT</pubDate>
            <atom:updated>2026-04-25T16:44:42.371Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P2aVBrqoF44u66cqM2U_7w.jpeg" /><figcaption>Source: Odata, An Aligned Data Center Company, Connectivity</figcaption></figure><p>Understanding how the internet works is essential in cybersecurity. Every attack or defense mechanism depends on how data moves across networks.</p><h3>What is the Internet?</h3><p>The internet is a global network of connected computers that communicate using standardized rules called protocols.</p><h3>Key Components</h3><h4>1. IP Address</h4><p>An IP address is a unique identifier for a device on a network.</p><blockquote>Example:<br> 192.168.1.1</blockquote><h4>2. DNS (Domain Name System)</h4><p>DNS translates human-readable domain names into IP addresses.</p><blockquote>Example:<br> google.com → 142.250.x.x</blockquote><h4>3. HTTP/HTTPS</h4><p>HTTP: Transfers data between browser and server</p><p>HTTPS: Secure version of HTTP using encryption</p><h3>How a Web Request Works</h3><ol><li>User types a website URL</li><li>DNS finds the IP address</li><li>The request is sent to the server</li><li>Server responds with data</li><li>The browser displays the webpage</li></ol><h3>Why This Matters in Cybersecurity</h3><p>Attackers often exploit:</p><blockquote>DNS spoofing</blockquote><blockquote>HTTP interception</blockquote><blockquote>IP tracking vulnerabilities</blockquote><p>Understanding this flow helps in identifying weak points.</p><h3>Conclusion</h3><p>The Internet is a structured communication system. Cybersecurity professionals must understand this flow to identify and prevent attacks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db1100901cb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>