<?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 Hrushikesh Badgujar on Medium]]></title>
        <description><![CDATA[Stories by Hrushikesh Badgujar on Medium]]></description>
        <link>https://medium.com/@hrushikeshbadgujar?source=rss-16dae641c444------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ADM3wUv7KEXEvRffG3wotw.jpeg</url>
            <title>Stories by Hrushikesh Badgujar on Medium</title>
            <link>https://medium.com/@hrushikeshbadgujar?source=rss-16dae641c444------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:37:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hrushikeshbadgujar/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[Demystifying Firewalls: Exploring Types, Rule Parameters, and Real-world Examples]]></title>
            <link>https://medium.com/@hrushikeshbadgujar/demystifying-firewalls-exploring-types-rule-parameters-and-real-world-examples-548602ac9958?source=rss-16dae641c444------2</link>
            <guid isPermaLink="false">https://medium.com/p/548602ac9958</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[network-security-solution]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hrushikesh Badgujar]]></dc:creator>
            <pubDate>Thu, 24 Aug 2023 19:18:26 GMT</pubDate>
            <atom:updated>2023-08-24T19:23:09.235Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to my Blog, Today I will be discussing the <strong>Firewall — the first line of defense against cyber threats.</strong></p><p>Hello Everyone, I am <strong>Hrushikesh Badgujar</strong>, a <strong>Cyber Security Researcher</strong>, and a <strong>Student</strong>.</p><p>Please read till the end and press the clap button if you have liked the write-up. <strong>Follow me for more write-ups.</strong></p><p>Till now we have already discussed the Intrusion Detection Systems (IDS) and the Intrusion Prevention Systems (IPS). If you have any doubts, feel free to visit the following: <a href="https://medium.com/@hrushikeshbadgujar/what-is-ids-intrusion-detection-system-how-it-works-732d81a13fb5"><strong><em>IDS </em></strong></a>&amp; <a href="https://medium.com/@hrushikeshbadgujar/ips-unraveled-decoding-cyber-protection-58648581edbe"><strong><em>IPS</em></strong></a></p><h3><strong>Introduction:</strong></h3><p>In today’s interconnected world, safeguarding digital assets is of paramount importance. As a cyber security researcher, it’s essential to understand the intricacies of <strong>firewalls — the first line of defense </strong>against cyber threats. This blog delves into Understanding the Firewalls, various <strong>types of firewalls</strong>, and their rule parameter options</p><h3>The write-up consists of:-</h3><ul><li><strong>What are Firewalls?</strong></li><li><strong>Why Are Firewalls Essential?</strong></li><li><strong>Types of traffic filtering</strong></li><li><strong>Types of Firewalls</strong></li><li><strong>Conclusion</strong></li></ul><p>Let’s start with today’s discussion.</p><h3><strong>What are Firewalls?</strong></h3><p>Firewalls are security devices or software applications designed to <strong>manage and control the flow of network traffic </strong>between different segments of a network or between networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*hfaOTImEkA803cZcjlnx6Q.png" /><figcaption>Firewall</figcaption></figure><p>Their primary purpose is to establish a <strong>barrier between trusted and untrusted networks</strong>, ensuring that<strong> only authorized communication is allowed while blocking or filtering out unauthorized or potentially malicious traffic.</strong></p><p>Firewalls <strong>operate based on a set of predefined rules</strong> that determine which types of traffic are permitted and which are denied. These rules can be configured to match specific criteria such as source and destination IP addresses, port numbers, protocols, and more.</p><p>By enforcing these rules, firewalls help prevent unauthorized access, protect sensitive data, and mitigate various network-based threats.</p><h3><strong>Why Are Firewalls Essential?</strong></h3><p><strong>Firewalls are the first line of defense, </strong>By implementing firewalls to regulate access to these zones, an organization can effectively thwart unauthorized entry into its systems and assets.</p><p>The inclusion of a proper firewall provides an <strong>additional layer of security</strong>. Organizations often need to use firewalls to meet security requirements from mandates (e.g., FISMA); some mandates, such as the Payment Card Industry (PCI) Data Security Standard, specifically require firewalling.</p><h3><strong>Types of Traffic Filtering</strong></h3><p>In the context of firewalls and network security, there are two main types of traffic filtering based on the direction of the traffic flow:</p><blockquote><strong>1. Ingress Filtering:</strong></blockquote><p>This involves <strong>filtering incoming traffic</strong> that is destined for a protected network or system. Ingress filtering is commonly implemented by firewalls to examine packets coming from external sources and decide whether to allow them into the network.</p><p>It helps prevent unauthorized access, malicious attacks, and unwanted traffic from reaching the internal network.</p><blockquote><strong>2. Egress Filtering:</strong></blockquote><p>This refers to the <strong>filtering of outgoing traffic</strong> that is leaving a protected network or system. Egress filtering is often used to control the types of traffic that can leave the network.</p><p>It can be used to enforce security policies, prevent data leaks, and identify potential malware or unauthorized activities that might be trying to communicate with external entities.</p><h3>Types of Firewalls:</h3><blockquote><strong>1. Packet Filtering Firewalls:</strong></blockquote><p><strong>Packet filtering</strong> is one of the fundamental features of a firewall. In its simplest form, a packet-filtering firewall <strong>operates at the network layer (Layer 3) </strong>of the OSI model and examines individual packets of data as they travel between network devices.</p><p>It is also known as <strong>stateless inspection firewalls</strong>, as they do not keep track of the state of each flow of traffic that passes through the firewall.</p><p>This type of firewall makes decisions about whether to allow or block these packets based on predefined rules and criteria. <strong>Packet filters are not concerned about the content of the packet.</strong></p><p><strong>Rule Options: Source IP, Destination IP, Source Port, Destination Port, Protocol</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*FDBUBALhhmUQjWoE8nk1og.png" /><figcaption><strong>Packet Filtering Firewalls</strong></figcaption></figure><p>In this example:</p><ul><li>Rule 1 allows outgoing HTTP (port 80) and HTTPS (port 443) traffic from the local network (192.168.1.0/24) to any destination.</li><li>Rule 2 denies incoming traffic from the local network (192.168.1.0/24) to any destination.</li><li>Rule 3 allows DNS (port 53) traffic from any source to any destination.</li><li>Rule 4 is a default rule that denies all other types of traffic.</li></ul><blockquote><strong>2. Stateful Inspection Firewalls</strong></blockquote><p>It is also known as a <strong>dynamic packet-filtering firewall.</strong></p><p>Stateful inspection firewalls <strong>maintain a state table</strong> to track the state of active connections. This allows them to make more informed decisions about allowing or denying traffic based on the context of the connection. The state column in the rule table indicates whether the rule applies to “New” connections or “Established” connections.</p><p>A stateful inspection firewall <strong>operates at the transport layer. </strong>It examines certain values in the <strong>TCP headers </strong>to monitor the state of each connection</p><p><strong>Rule Options: Source IP, Destination IP, Source Port, Destination Port, and connection state information.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*2iB6WwRnhXS_AmgIaJ9-QA.png" /><figcaption><strong>Stateful Inspection Firewalls</strong></figcaption></figure><p>In this example:</p><ul><li>Rule 1 allows incoming traffic that is part of an established connection. This ensures that responses to outgoing connections are permitted.</li><li>Rule 2 allows new incoming HTTP (port 80) and HTTPS (port 443) connections from the local network (192.168.1.0/24).</li><li>Rule 3 denies new incoming connections to the local network (192.168.1.0/24).</li></ul><blockquote><strong>3. Proxy Firewalls</strong></blockquote><p>A circuit-level gateway, unlike a packet filtering firewall, establishes a connection on behalf of the requesting client and then <strong>acts as a relay between the client and the remote server</strong>.</p><p>Each successful connection attempt actually results in the creation of two separate connections — one between the client and the proxy server, and another between the proxy server and the true destination. The proxy is meant to be transparent to the hosts, from their perspectives, there is a direct connection. Because external hosts only communicate with the proxy agent, internal IP addresses are not visible to the outside world.</p><p>It Operates at the <strong>application layer </strong>and <strong>can inspect the actual content of the traffic.</strong></p><p>Some proxy gateways have the <strong>ability to decrypt packets (e.g., SSL-protected payloads), examine them, and re-encrypt them </strong>before sending them to the destination host.</p><p><strong>Rule Options: Application Type, Source IP, Destination IP, User Authentication, Content Inspection with DLP</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*AL6X4vrh0p2HCREU_BJRrg.png" /><figcaption><strong>Proxy Firewalls</strong></figcaption></figure><p>In this example:</p><ul><li>Rule 1 forwards all traffic to the proxy for processing.</li><li>Rule 2 allows direct outgoing HTTP (port 80) and HTTPS (port 443) traffic from any source.</li><li>Rule 3 blocks all outgoing traffic from the local network (192.168.1.0/24).</li></ul><blockquote><strong>4. Application Layer Firewalls</strong></blockquote><p>Application layer firewalls use<strong> stateful protocol analysis </strong>capability, which is also called <strong>deep packet inspection.</strong></p><p>Stateful protocol analysis improves stateful inspection firewalls by adding <strong>basic intrusion detection technology</strong> — an inspection engine that analyzes protocols at the application layer to compare vendor-developed profiles of benign protocol activity against observed events to identify deviations.</p><p>It Operates at the <strong>application layer</strong> of the OSI model.</p><p><strong>Rule Options: Source IP, Destination IP,</strong> <strong>and information about application-specific rules and policies.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*VC1MYOxVy7W0-5ldtdjB1g.png" /><figcaption><strong>Application Layer Firewalls</strong></figcaption></figure><p>In this example:</p><ul><li>Rule 1 allows access to web browsing applications from any source to any destination.</li><li>Rule 2 allows access to social media applications only from the local network (192.168.1.0/24) to any destination.</li><li>Rule 3 denies access to file sharing applications from any source to any destination.</li></ul><blockquote><strong>5. Next-Generation Firewalls (NGFW)</strong></blockquote><p>Next-generation firewalls offer advanced capabilities beyond traditional firewalls, including Application Awareness, Intrusion Prevention System (IPS), Deep Packet Inspection (DPI), User and Group-based Policies, Advanced Threat Detection, and SSL/TLS Inspection, etc</p><p>Overall, NGFWs provide a more proactive and sophisticated approach to network security by combining traditional firewall functionalities with advanced security features</p><p><strong>Rule Options: Source IP, Destination IP, Source Port, Destination Port, Protocol, Application, User, URL Category, Threat Intelligence</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*ylU_WK7GMxj3NEEXa--2dw.png" /><figcaption><strong>Next-Generation Firewalls (NGFW)</strong></figcaption></figure><p>In this example:</p><ul><li>Rule 1 allows outgoing HTTP (port 80) and HTTPS (port 443) traffic from the local network (192.168.1.0/24) to any destination, specifically identifying the “Web Browsing” application.</li><li>Rule 2 allows SSH (port 22) traffic from a specific source IP (192.168.1.10) to a specific destination IP (10.0.0.5), specifically identifying the “SSH” application, and only for the “Admin” user.</li><li>Rule 3 denies incoming traffic from any source to the local network (192.168.1.0/24) for any application and any user.</li><li>Rule 4 logs all traffic for the “Malware Detection” application from any source to any destination.</li></ul><h3>Conclusion:</h3><p>Mastering the world of firewalls empowers cyber security researchers to fortify networks against an evolving threat landscape. Understanding the nuances of each firewall type and harnessing their rule parameters is the key to effective protection.</p><p>Remember, a well-implemented firewall strategy is only the beginning. Staying vigilant, adapting to emerging threats, and continuous learning are essential to maintaining robust cyber security defenses.</p><h3>Reference</h3><blockquote>https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-41r1.pdf</blockquote><p>As we conclude this blog journey, I want to extend my gratitude for joining me in exploring this topic. Your time and attention are greatly appreciated.</p><p>If you found value in this article and it resonated with you, I encourage you to show your appreciation by giving it a heartfelt round of claps. Your support fuels my motivation to continue creating content that matters.</p><p>Don’t miss out on future updates and insightful articles! <strong>Follow my profile to stay connected </strong>and receive notifications about upcoming posts.</p><p><strong>My LinkedIn: </strong><a href="https://www.linkedin.com/in/hrushikesh-badgujar/"><strong>https://www.linkedin.com/in/hrushikesh-badgujar</strong></a></p><p><strong>Sharing is caring! </strong>If you believe this article could benefit others or spark meaningful conversations, please consider sharing it with your friends, colleagues, or on your favorite social media platforms.</p><p><strong>Your feedback matters. </strong>If there’s a particular subject you’d like me to delve into in my next blog, <strong>please feel free to drop a comment</strong>. I’m here to explore the topics that interest you most.</p><p>Once again, thank you for being a part of this journey. Together, we can cultivate knowledge, foster connections, and make a positive impact. Stay curious, stay inspired, and stay engaged. Until next time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=548602ac9958" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IPS Unraveled: Decoding Cyber Protection]]></title>
            <link>https://medium.com/@hrushikeshbadgujar/ips-unraveled-decoding-cyber-protection-58648581edbe?source=rss-16dae641c444------2</link>
            <guid isPermaLink="false">https://medium.com/p/58648581edbe</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ip]]></category>
            <category><![CDATA[id]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Hrushikesh Badgujar]]></dc:creator>
            <pubDate>Wed, 19 Jul 2023 19:03:08 GMT</pubDate>
            <atom:updated>2023-07-19T19:14:32.955Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to my new blog in which I will be discussing <strong>IPS (Intrusion Prevention System)</strong>.</p><p>Hi, I am <strong>Hrushikesh Badgujar</strong>, a <strong>Cyber Security Researcher</strong>, and a Student.</p><p>Please read till the end and press the clap button if you have liked the write-up. <strong>Follow me for more write-ups.</strong></p><p>In the previous blog we discussed Intrusion Detection Systems, If you have any doubt regarding IDS, feel free to visit the blog <a href="https://medium.com/@hrushibadgujar003/what-is-ids-intrusion-detection-system-how-it-works-732d81a13fb5">Click Here</a>.</p><p>The write-up consists of:-</p><ul><li><strong>Introduction to IPS (Intrusion Prevention System)</strong></li><li><strong>Need of IPS</strong></li><li><strong>Techniques used by IPS for detection</strong></li><li><strong>Types of IPS</strong></li><li><strong>IDS vs IPS</strong></li></ul><p>Let’s start with the first topic of today’s discussion.</p><h3>Introduction to <strong>IPS (Intrusion Prevention System)</strong></h3><p>An <strong>IPS (Intrusion Prevention System) monitors network traffic</strong> for malicious activity and <strong>takes preventive actions such as blocking traffic</strong> when the system discovers such activity or traffic. It is also known as Intrusion Detection and Prevention System (IDPS<strong>).</strong></p><figure><img alt="IPS (Intrusion Prevention System)" src="https://cdn-images-1.medium.com/max/871/1*ZIF9wBUBhSrMtHGXoEi-NA.png" /><figcaption>IPS (Intrusion Prevention System)</figcaption></figure><h3>Need of IPS</h3><p>As we discussed in our <a href="https://medium.com/@hrushikeshbadgujar/what-is-ids-intrusion-detection-system-how-it-works-732d81a13fb5">IDS blog</a>, One of the biggest disadvantages of IDS is, <strong>It is not capable of preventing incidents on its own</strong>, hence the need of IPS arises to overcome this problem of IDS by automatically taking preventive actions against malicious traffic.</p><h3>Techniques used by IPS for detection</h3><blockquote><strong>1. Signature-Based Detection</strong></blockquote><p>It will monitor all the network packets and compare them with the <strong>database of known attack signatures</strong> to take preventive actions if it finds suspicious. It uses the <a href="https://medium.com/@hrushikeshbadgujar/what-is-ids-intrusion-detection-system-how-it-works-732d81a13fb5"><strong>Known bad policy</strong></a><strong> </strong>technique.</p><figure><img alt="Signature-Based Detection" src="https://cdn-images-1.medium.com/max/771/1*PvQ4FHPR7V05KyZLL2kiYA.png" /><figcaption><strong>Signature-Based Detection</strong></figcaption></figure><blockquote><strong>2. Anomaly-Based Detection</strong></blockquote><p>Anomaly-based IPS monitors network traffic and compares it with a predefined <strong>baseline </strong>to detect unusual behavior across devices, bandwidth, ports, protocols, etc. It uses the <a href="https://medium.com/@hrushikeshbadgujar/what-is-ids-intrusion-detection-system-how-it-works-732d81a13fb5"><strong>Known good policy</strong></a> technique.</p><figure><img alt="Anomaly-Based Detection" src="https://cdn-images-1.medium.com/max/772/1*HhdppMxgwP68egokA3z1Mw.png" /><figcaption><strong>Anomaly-Based Detection</strong></figcaption></figure><blockquote><strong>3. Stateful Protocol Analysis</strong></blockquote><p>It uses vendor-designed and established universal profiles which specify how particular protocols should be used, how they should not be used, and how protocols should behave against the observed behavior.</p><p>In stateful protocol analysis, we compare established profiles against observed events to identify deviations</p><figure><img alt="Stateful Protocol Analysis" src="https://cdn-images-1.medium.com/max/771/1*lDNRR1C8VwzzHbtnSIls-Q.png" /><figcaption><strong>Stateful Protocol Analysis</strong></figcaption></figure><h3><strong>Types of IPS</strong></h3><p><strong>Based on where the system is deployed</strong></p><ol><li>Network-based IPS</li><li>Host-based IPS</li></ol><p><strong>Based on what method/techniques the system uses for detection</strong></p><ol><li>Network-based intrusion prevention system</li><li>Host-based intrusion prevention system</li><li>Wireless intrusion prevention system</li><li>Network behavior analysis</li></ol><p>Now, Let&#39;s deep dive to understand all of them better.</p><h4><strong>Based on where the system is deployed</strong></h4><blockquote><strong>1. Network-based IPS</strong></blockquote><p>It is also known as<strong> NIPS. </strong>It is used to <strong>monitor the</strong> <strong>entire network for suspicious traffic </strong>from the perspective of the location</p><figure><img alt="Network-based IPS" src="https://cdn-images-1.medium.com/max/871/1*lQuY57dUZS6F5ID4aHpZfw.png" /><figcaption><strong>Network-based IPS</strong></figcaption></figure><blockquote><strong>2. Host-based IPS</strong></blockquote><p>It is also called <strong>HIDS</strong>. It <strong>monitors only the host system</strong> on which it resides.</p><figure><img alt="Host-based IPS" src="https://cdn-images-1.medium.com/max/811/1*WSRIdTsxXdyjHYkQvowkug.png" /><figcaption><strong>Host-based IPS</strong></figcaption></figure><h4><strong>Based on what method/techniques the system uses for detection</strong></h4><blockquote><strong>1. Network-based intrusion prevention system:</strong></blockquote><p>It is also known as<strong> NIPS. </strong>It is used to <strong>monitor the</strong> <strong>entire network for suspicious traffic </strong>from the perspective of the location where it is deployed by analyzing protocol activity.</p><p><strong>NIPS </strong>should be deployed <strong>in the path of traffic (inline) </strong>so that all traffic must pass through the system. Upon detection of suspicious traffic, the IPS breaks the connection and drops the session or traffic.</p><blockquote><strong>2. Host-based intrusion prevention system:</strong></blockquote><p>It is also known as <strong>HIPS. </strong>It monitors <strong>only the host system on which it resides</strong>.</p><p>Examples of the types of characteristics a host-based IPS might monitor are <strong>network traffic (only for that host), system logs, running processes, application activity, file access and modification, and system and application configuration changes.</strong></p><p><strong>HIPSs </strong>are most commonly deployed on <strong>critical hosts</strong> such as <strong>publicly accessible servers and servers containing sensitive information.</strong></p><blockquote><strong><em>3. </em>Wireless intrusion prevention system:</strong></blockquote><p>It is also known as <strong>WIPS. </strong>It is used to <strong>monitor a wireless network for suspicious traffic</strong> by analyzing wireless networking protocols.</p><p>Commonly deployed to monitor an <strong>organization’s wireless network.</strong></p><blockquote><strong>4. Network behavior analysis:</strong></blockquote><p>It is also known as <strong>NBA. </strong>It examines network traffic to identify threats that generate unusual traffic flows, such as DDoS attacks, specific forms of malware, and policy violations.</p><p>NBA systems are most commonly deployed to <strong>monitor an organization’s internal network</strong> <strong>flows </strong>and are also sometimes deployed where they can <strong>monitor flows between an organization’s networks and external networks</strong>.</p><h3>IDS vs. IPS: Similarities &amp; Differences</h3><blockquote><strong>Similarities:</strong></blockquote><ul><li><strong>Monitor</strong>. Both can monitor traffic</li><li><strong>Alert</strong>. Both will send an alert notification if the problem has been spotted.</li><li><strong>Log</strong>. Both will keep records of attacks and responses.</li></ul><blockquote><strong>Differences:</strong></blockquote><ul><li><strong>Response</strong>. An IDS is passive, while an IPS is an active control system. In IDS you have to take actions based on IDS-generated alerts. But IPS will take decisions automatically to break the traffic.</li><li><strong>False positives</strong>. If an IDS gives a false positive alert then it is not that much troublesome. But if an IPS shuts down traffic due to a false positive result then, many people could be impacted.</li><li><strong>Protection</strong>. IDS offers less help when you’re under threat. You must figure out what to do, when to do it, and how to clean up the mess. But IPS will do all of this for you.</li></ul><p>This is all about IPS (Intrusion Prevention System), the need for IPS, the techniques used by IPS, the types of IPS, and their working.</p><p>If you find this useful then share it with your connections on LinkedIn and WhatsApp groups to help others too.</p><p>My LinkedIn: <a href="https://www.linkedin.com/in/hrushikesh-badgujar/">https://www.linkedin.com/in/hrushikesh-badgujar</a></p><p>Shower your love with the claps &amp; share this with your friends ❣</p><p><a href="https://medium.com/@hrushikeshbadgujar/what-is-ids-intrusion-detection-system-how-it-works-732d81a13fb5">What is IDS (Intrusion Detection System) &amp; How it works?</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58648581edbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is IDS (Intrusion Detection System) & How it works?]]></title>
            <link>https://medium.com/@hrushikeshbadgujar/what-is-ids-intrusion-detection-system-how-it-works-732d81a13fb5?source=rss-16dae641c444------2</link>
            <guid isPermaLink="false">https://medium.com/p/732d81a13fb5</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[intrusion-detection]]></category>
            <category><![CDATA[id]]></category>
            <category><![CDATA[network-security]]></category>
            <dc:creator><![CDATA[Hrushikesh Badgujar]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 19:48:00 GMT</pubDate>
            <atom:updated>2023-07-19T18:17:38.460Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to my first blog which is all about, What is IDS (Intrusion Detection System), what are the types of IDS, and their work?</p><p>Hi, I am <strong>Hrushikesh Badgujar</strong>, a <strong>Cyber Security Researcher</strong>, and a Student.</p><p>Please read till the end and press the clap button to like the write-up. <strong>Follow me for more write-ups.</strong></p><p>The write-up consists of:-</p><ul><li>What is <strong>Intrusion Detection?</strong></li><li>Introduction to <strong>IDS (Intrusion Detection System)</strong></li><li><strong>Techniques used by IDS </strong>for detection</li><li><strong>Types of IDS</strong></li><li>Pros of Intrusion Detection Systems:</li><li>Cons of Intrusion Detection Systems:</li></ul><p>Let&#39;s start with the first topic of today&#39;s discussion.</p><h3><strong>What is Intrusion Detection?</strong></h3><p>Intrusion Detection is the act of <strong>detecting an unauthorized intrusion or activity</strong> by a computer on the network. This unauthorized access or intrusion attempts to compromise or otherwise harm other network devices.</p><h3><strong>What is IDS (Intrusion Detection System)?</strong></h3><p>An Intrusion Detection System (IDS) is used to <strong>monitor network traffic </strong>for suspicious activity and <strong>generate alerts</strong> when such activity is discovered by the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*mrWf3c4Gq040wkOj4SltDQ.png" /><figcaption>IDS | Intrusion Detection System</figcaption></figure><h3><strong>Techniques used by IDS</strong></h3><blockquote><strong>Known Good Policy</strong></blockquote><p>It will first create a <strong>baseline </strong>to recognize good or allowed data from network traffic and will generate an alert if it finds anything else.</p><blockquote><strong>Known Bad Policy</strong></blockquote><p>It will maintain the <strong>signature of attacks or bad network traffic</strong> and will generate an alert only on that particular type of traffic is detected.</p><h3><strong>Types of IDS</strong></h3><p><strong>Based on where the system is deployed</strong></p><ul><li>Network-based IDS</li><li>Host-based IDS</li><li>Distributed IDS</li><li>Gateway IDS</li><li>Application IDS</li></ul><p><strong>Based on what method/techniques the system uses for detection</strong></p><ul><li>Anomaly Based IDS</li><li>Signature Base IDS</li></ul><p>We will go a little deep inside to know IDS better. Let’s start:-</p><p>Types of IDS Based on <strong>where it is deployed </strong>are following</p><blockquote><strong>1. Network-based IDS</strong></blockquote><p>It is also called <strong>NIDS</strong>. It <strong>monitors the entire network</strong> from the perspective of the location where it is deployed.</p><p>Normally, Computer <strong>NIC (Network Interface Card)</strong> operates in a <strong>non-promiscuous mode</strong>. What does this mean? The answer is the computer will receive only those packets that are destined for that <strong>NIC-specific MAC address and broadcast packets.</strong></p><p>But <strong>NIDS </strong>will work in <strong>promiscuous mode</strong> which means it <strong>will receive all the packets</strong> from the network segment whether it is intended for that NIC-specific MAC address or not.</p><p>NIDS should be connected to either a <strong>span port </strong>on the <strong>local switch</strong> or as a <strong>network tapper</strong> duplicating traffic on a link you want to monitor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*Jbw1iMzBztCaUokJnqePBg.png" /><figcaption>Network-based IDS / NIDS</figcaption></figure><blockquote>2.<strong> Host-based IDS</strong></blockquote><p>It is also called <strong>HIDS</strong>. It monitors only the host system on which it resides.</p><p>In HIDS computer <strong>NIC </strong>operates in <strong>default non-promiscous mode.</strong></p><p>If we try to switch on the promiscuous mode, it can be <strong>CPU intensive</strong> resulting in slowing down the host machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*8bgiLIcOUttTtWp6HxyiIw.png" /><figcaption>Host-based IDS / HIDS</figcaption></figure><blockquote><strong>3. Distributed IDS</strong></blockquote><p>It is also called <strong>D</strong>IDS. In DIDS <strong>Sensors are remotely located reporting to centralized management stations</strong>. Network logs are periodically uploaded to the management station and stored in a central database. We can deploy new attack signatures on sensors as per our needs.</p><p>In DIDS, the individual sensors can be NIDS, HIDS, or a combination of both. This also means that we can have sensors operating in a promiscuous mode as well as a non-promiscuous mode.</p><blockquote>4. <strong>Gateway IDS</strong></blockquote><p>It monitors the traffic <strong>passing in and out of your network</strong> at the <strong>gateway.</strong></p><blockquote>5. <strong>Application IDS</strong></blockquote><p>It focuses on understanding and parsing <strong>application-specific traffic</strong> about the flow of application logic as well as underlying protocols.</p><p><strong><em>Note — Most effective solution will combine NIDS &amp; HIDS.</em></strong></p><p>This is all about Types of IDS based on where it is deployed. Now we will look at the next classification.</p><p>Types of IDS Based on <strong>what method/techniques the system uses for detection</strong></p><blockquote><strong>1. Anomaly-Based IDS</strong></blockquote><p>Anomaly-based IDS monitors network traffic and compares it with a predefined <strong>baseline </strong>to detect unusual behavior across devices, bandwidth, ports, protocols, etc. It uses the <strong>Known good policy</strong> technique.</p><blockquote>2. <strong>Signature-Based IDS</strong></blockquote><p>It will monitor all the network packets and compare them with the <strong>database of attack signatures</strong> to alert if it finds suspicious. It uses the <strong>Known bad policy </strong>technique.</p><h3>Pros of Intrusion Detection Systems:</h3><ol><li>IDS can be Tuned to find specific content in network packets</li><li>Analyzes the amount and types of attacks</li><li>Use to make it easier to keep up with regulations</li><li>Boost efficiency</li></ol><h3>Cons of Intrusion Detection Systems:</h3><ol><li>Do not prevent incidents by themselves</li><li>Skill professionals required to administer alerts</li><li>Do not process encrypted packets</li><li>False Positives Alerts</li><li>Need to update the signature database continuously</li></ol><p>This is all about IDS (Intrusion Detection System), its types, and how they work.</p><p>If you find this useful then share it with your connections on LinkedIn and WhatsApp groups to help others too.</p><p>My LinkedIn: <a href="https://www.linkedin.com/in/hrushikesh-badgujar/">https://www.linkedin.com/in/hrushikesh-badgujar</a></p><p>Shower your love with the claps &amp; share this with your friends ❣</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=732d81a13fb5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>