<?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 John Agunbiade on Medium]]></title>
        <description><![CDATA[Stories by John Agunbiade on Medium]]></description>
        <link>https://medium.com/@agunbiadeopeoluwa?source=rss-d958c05c4f77------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BoMkXA4b1ilLy0HrJqVMOA.jpeg</url>
            <title>Stories by John Agunbiade on Medium</title>
            <link>https://medium.com/@agunbiadeopeoluwa?source=rss-d958c05c4f77------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 18:49:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@agunbiadeopeoluwa/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[Defense in Layers — TCP/IP/OSI Reference Model]]></title>
            <link>https://medium.com/@agunbiadeopeoluwa/defense-in-layers-tcp-ip-osi-reference-model-53fce375fa53?source=rss-d958c05c4f77------2</link>
            <guid isPermaLink="false">https://medium.com/p/53fce375fa53</guid>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[John Agunbiade]]></dc:creator>
            <pubDate>Fri, 24 Jun 2022 12:11:42 GMT</pubDate>
            <atom:updated>2022-06-24T12:11:42.531Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Defense in Layers — TCP/IP/OSI Reference Model</strong></p><p>Threat actors keep evolving and developing newer techniques and software to make successful exploits thereby hurting individuals and disrupting businesses.</p><p>As cyber security professionals, we have to stay ahead by constantly arming ourselves with deeper but simpler understanding of our domains.</p><p>As Network Engineers, we are responsible for connectivity, everyone and everything needs to stay connected in today’s world. Connectivity has become a daily part of human living.</p><p>The objective of cybersecurity remains the CIA triad. It is CIAv in my view, (v — visibility).</p><p>While the goal of the threat actor is to disrupt either or all of the <strong>C</strong>onfidentiality of data, its <strong>I</strong>ntegrity or and the authorized <strong>A</strong>vailability of data.</p><p>This article seeks to start a conversation, questions in the minds of Network Security Engineers on how best we are defending our networks. I’ll be using the TCP/IP/OSI reference layers to start this discussion.</p><p><strong>A.</strong> <strong>Physical Layer</strong></p><p>Physical security is as important! as all the multibillion gadgets and investments made into protecting our digital estate. Unauthorized physical access to any network device can cause the same or greater damage to services as would any threat actor remotely. As simple as someone maliciously or unintentionally removing a patch cord can have the same effect to business as a DDOS attack would.<br> If a threat actor, is able to plug a malware infected USB stick into your computer, it has the same effect as you clicking a URL and getting infected by a malware planted by a hacker miles away, and sadly, I think a lot of people do no pay attention to this critical layer of physical security.<br> Some of the most successful espionage has been through physical compromises.</p><p>- Who has access to your data centers?</p><p>- Are people allowed to walk into your datacenters with unapproved USB sticks?</p><p>- Do you have authorized data center /IT engineers/ colleagues who have been compromised either through inducement or harassment? There’s so much from personal experience to unpack here.</p><p>- How’s your BYOD policy compromising your internal security?</p><p>- Do you have staff/guests bringing in compromised devices that can sniff packets either ignorantly or deliberately?</p><p><strong>B.</strong> <strong>Data Link Layer</strong></p><p>- How properly segmented is your Network?</p><p>- Are you still running the default VLAN in your network?</p><p>- Do you have a flat network for all PCs , printers (corporate, guest) and Servers? (You’ll be surprised 😊 )</p><p>- Are all your servers in the same sub-network? Is your DB server in the same sub-network as your web facing servers?</p><p>- If there’s a worm infested PC, on a network layer, how many PCs can the worm easily spread to?</p><p>- How have you properly configured port security?</p><p>- Spanning tree BPDU guards and filters?</p><p>- If a threat actor is able to breach your layer 1, and brings in a layer 2 device to your network, if he/she connects, what happens???</p><p>- Is an “innocent” threat actor able to offer DHCP addresses on your network?</p><p>- How do you deal in your network with services that run on broadcast? (DHCP, ARP)</p><p>- Are you letting your network devices offer information about themselves to just any other device that can communicate LLDP/CDP?</p><p>Remember that the goal for the threat actor is not just to compromise the integrity of your data, but to disrupt services, and sometimes, not intentionally.</p><p><strong>C.</strong> <strong>Network Layer</strong><br> This is the interconnection layer, the layer with the logic of how packets move using IP addresses.</p><p>- In my experience, I have seen people use IP allowlist, blocklists, access-lists somewhat effectively, but what happens when IP addresses are spoofed? (Asides the operational headache this method brings ☹.</p><p>- How do you authenticate both the user and the IP address?</p><p>- How do your hosts trust whoever claims to be their gateway?</p><p>- If a user is able to breach your physical and datalink security, are they able to connect compromised gears to your routing domains?</p><p>- Are your routing domains protected? and with clear text passphrases ☹?</p><p>- Do you have (web) services opened on your firewall to all and any IP/IPv6 addresses? A better approach in my experience is to allow only the IP address of a WAF and deny every other kind of IP there is.</p><p><strong>D.</strong> <strong>Transport Layer<br> </strong>This is the layer responsible for transporting different kinds of services. Threat actors are constantly running port scans looking for vulnerable and opened ports in enterprises they can enter through, Layer 4 and above are exploited mainly remotely, the not-so-bad news is, for these upper layers, you’re mostly concerned about external threat actors acting <strong>alone . </strong>Let’s assume you still have services running on vulnerable ports like TCP/23, and you also have a badly configured firewall that allows inbound TCP/23, that’s double jeopardy, because the threat actor is able to connect remotely and start attempting password attacks.</p><p>- How properly configured are your firewalls?</p><p>- Are commonly known management/database ports like TCP/3389, TCP/22, TCP/1433 opened indiscriminately on your firewalls ? By doing so, you’re opening these services to brute force/passwords attacks — (hopefully, you’ve multifactor enabled on these services and an active SOC!…else)</p><p><strong>Transport Layer</strong> security is about how you control access to these service transport ports. I have seen a few people move critical services away from commonly known ports, but, with ongoing constant port scans and improperly configured firewalls, these can still be detected and compromised.</p><p><strong>E.</strong> <strong>Application Layer</strong></p><p>Beyond all the best firewalls and superb configurations, are you supporting services on clear text protocols like <em>HTTP</em> without TLS (<strong>layer 6</strong>)? A baby threat actor sniffing packets can easily pick out financial information, card details, login information, basically everything in clear text. Using a login service like <em>TELNET</em> can give threat actors your “very difficult and complicated” password. Are you also transferring data using <em>FTP/TFTP</em>? If Yes, you can as well just leave your door open at night.</p><p>The goal here is to immediately discourage the use of clear text protocols, (regardless of your security budget and size) worse! if the transaction is going to be communicated over the internet! <br> There are several possible attacks on this layer that traditional firewalls do not have the intelligence to detect and prevent, hence the need for additional tools like a Web Application firewall. WAFs are able to detect that data supplied from “allowed-list” sources are malicious and proactively take action. You can also employ services of intelligent proxies that reroute requests through themselves to first determine the legitimacy of such requests by running them against several detection engines.</p><p>We must think and approach security in a layered but wholistic manner. If one layer fails for a particular request, are the other layers able to adequately compensate? Even within layers, we can further micro-segment packets into smaller layers, for a single web request, it can be sub-divided in this example to DNS and HTTPS;</p><p>- Are you protected against DNS/domain based attacks?</p><p>- Are you proxying your DNS requests against some ML based filter?</p><p>- Are you effectively protected from DNS tunneling?</p><p>- How are you as an enterprise protected against HTTP attacks?</p><p>- Are you able to inspect packets wrapped in TLS for malicious payloads?</p><p><strong>F.</strong> <strong>Human Layer</strong></p><p>Ultimately, beyond the multi-billion-dollar fancy intelligent systems we have in place, you cannot overlook/underestimate human vulnerability. Just a few questions to wrap this piece;</p><p>- How do we manage configurational changes?</p><p>- How do we check we’re configuring these devices to best and acceptable practices?</p><p>- How proactively prepared are we with the skills and knowledge for attacks?</p><p>Happy to read comments;<br> <br> Ciao</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53fce375fa53" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>