<?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"><channel><title><![CDATA[CipherVeilX]]></title><description><![CDATA[CipherVeilX is a cybersecurity blog by a graduate, covering SOC operations, network security, and digital forensics through hands-on labs and clear explanations.]]></description><link>https://cipherveilx.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6af84f691afc6c818c63e3f3/c314ee77-2bbd-4e5c-bd37-545fb7da2f1c.jpg</url><title>CipherVeilX</title><link>https://cipherveilx.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sun, 22 Nov 2026 15:28:58 GMT</lastBuildDate><atom:link href="https://cipherveilx.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Physical Layer (Layer 1) of the OSI Model]]></title><description><![CDATA[A beginner-friendly guide to Layer 1 of the OSI Model: how bits become signals, the cables that carry them, and why it matters for security.]]></description><link>https://cipherveilx.hashnode.dev/physical-layer-layer-1-of-the-osi-model</link><guid isPermaLink="true">https://cipherveilx.hashnode.dev/physical-layer-layer-1-of-the-osi-model</guid><category><![CDATA[cybersecurity]]></category><category><![CDATA[networking]]></category><category><![CDATA[networking for beginners]]></category><category><![CDATA[OSI Model]]></category><category><![CDATA[computer networking]]></category><dc:creator><![CDATA[Fathima Mapasa]]></dc:creator><pubDate>Sat, 21 Nov 2026 14:45:05 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af84f691afc6c818c63e3f3/74e5018b-d0c4-4f69-af26-fe704742ea2e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Imagine two computers connected with an Ethernet cable. You type the letter "H" on the first one and send it, and a moment later it appears on the second one.</p>
<p>It seems simple, but think about what just happened. A cable is only copper wrapped in plastic. It can't carry a letter. So what actually travelled through it, and how did the second computer know what had arrived?</p>
<p>The answer lies in the <strong>Physical Layer</strong>, Layer 1 of the OSI Model. In my previous post, I gave an overview of the OSI Model. From here, I'll go through the layers one by one, and it makes sense to start at the bottom, because every other layer is built on top of this one.</p>
<h2>What is the Physical Layer?</h2>
<p>The Physical Layer is the lowest layer of the OSI Model. Its job is to transmit and receive <strong>raw bits</strong> through a physical medium.</p>
<p>A bit is a binary value, either 0 or 1, and everything a computer stores or sends is made of them. The letter "H", for example, is represented by the bits <code>01001000</code>.</p>
<p>But a bit is not a physical object. It's an idea, a way of representing information, and you can't push a 0 or a 1 down a cable. For bits to travel from one device to another, they have to be turned into something physical that can move through a medium. That something is a <strong>signal</strong>.</p>
<p>In a copper cable the signal is electrical. In a fiber-optic cable it is pulses of light. In wireless communication it is radio waves. The Physical Layer creates these signals on the sending side and turns them back into bits on the receiving side.</p>
<p>It's also important to know what this layer does not do. The Physical Layer has no idea what the bits mean. Whether they belong to a message, a photo or a login request makes no difference to it. Its only concern is getting them across.</p>
<h2>How it actually works</h2>
<img src="https://cdn.hashnode.com/uploads/covers/6af84f691afc6c818c63e3f3/879e198f-50ea-4640-a80f-6f23770c86f3.png" alt="Diagram showing the letter H (01001000) sent as an electrical signal through an Ethernet cable from Computer A to Computer B" style="display:block;margin:0 auto" />

<p>Let's go back to our two computers, which I'll call Computer A and Computer B, connected by an Ethernet cable.</p>
<p>When you type "H" on Computer A, the computer represents it as the bits <code>01001000</code>. Those bits now have to cross the cable.</p>
<p>The network interface in Computer A does this by creating an electrical signal that follows the pattern of the bits. To keep things simple, imagine that a high voltage stands for 1 and a low voltage stands for 0. The interface switches the voltage up and down in the right order, and that changing pattern travels through the copper wires towards Computer B.</p>
<p>On the other end, the network interface in Computer B measures the incoming signal, reads the pattern and turns it back into the same bits, <code>01001000</code>. Those bits are then passed up to the layers above, which deal with what they actually mean.</p>
<p>That is the whole idea. The sender turns bits into a signal, the signal crosses the medium, and the receiver turns it back into bits.</p>
<p>In reality, the letter wouldn't travel alone. The layers above wrap it in extra data like addresses and error checks, so far more than eight bits cross the cable. I'm showing only the bits for the "H" so the focus stays on what Layer 1 does.</p>
<p>One thing to be clear about is that the voltage example is a simplification. Real Ethernet does not just use a high and a low voltage. Different Ethernet speeds and cable types use more advanced signaling methods, so a 1 is not one fixed voltage everywhere. What matters is that both sides follow the same agreed rules, so the receiver can read the signal correctly.</p>
<p>There is also a timing problem that is easy to miss. Imagine the sender transmits a long run of 1s, so the signal stays at the same level for a while. How does the receiver know how many bits that was? It has to know exactly how long each bit lasts, so it can tell where one ends and the next begins. This is called <strong>synchronization</strong>, and different technologies have different ways of keeping the sender and receiver in step.</p>
<p>You have probably also seen speeds like 100 Mbps or 1 Gbps. That number is how many bits per second the connection can transmit. A 1 Gbps connection can theoretically send one billion bits every second, although the speed you actually get is usually lower.</p>
<h2>Transmission media</h2>
<p>The path a signal travels through is called the <strong>transmission medium</strong>. There are two kinds: guided media, which use a physical cable, and unguided media, which use the air.</p>
<h3>Cables</h3>
<p><strong>Twisted-pair cable</strong></p>
<img src="https://cdn.hashnode.com/uploads/covers/6af84f691afc6c818c63e3f3/eeacab45-54fa-4861-a26a-e9c243c52302.jpg" alt="Unshielded twisted pair (UTP) cable showing twisted pairs of wires" style="display:block;margin:0 auto" />

<p><em>Image: UTP cable.jpg by Baran Ivo, public domain, via Wikimedia Commons.</em></p>
<p>Most Ethernet cables are twisted-pair cables. Inside are eight copper wires arranged as four pairs, and each pair is twisted around itself.</p>
<p>The twisting has a purpose. Electrical signals pick up interference from nearby equipment and cables, and a signal in one pair can leak into the pair next to it, which is called <strong>crosstalk</strong>. Twisting the wires helps reduce both problems. Some cables also have extra shielding for more protection. Those are called shielded twisted pair (STP), while the ordinary kind you find in most homes and offices is unshielded twisted pair (UTP).</p>
<p><strong>Coaxial cable</strong></p>
<img src="https://cdn.hashnode.com/uploads/covers/6af84f691afc6c818c63e3f3/e9bac264-bbf0-4dae-9ed0-0ba0f817bbf1.jpg" alt="Coaxial cable" style="display:block;margin:0 auto" />

<p><em>Image: Coaxial cable cut.jpg by FDominec,</em> <a href="https://creativecommons.org/licenses/by-sa/3.0/"><em>CC BY-SA 3.0</em></a><em>, via Wikimedia Commons.</em></p>
<p>A coaxial cable has a copper conductor in the middle, surrounded by insulation, then a braided metal shield and an outer jacket. The photo shows the end of a cable with the copper conductor sticking out of the center. The shield protects the signal from outside interference. Today you will mostly see it in cable television and cable internet connections.</p>
<p><strong>Fiber-optic cable</strong></p>
<img src="https://cdn.hashnode.com/uploads/covers/6af84f691afc6c818c63e3f3/6b785ccc-04d2-48be-8c66-d8e4232571e1.jpg" alt="Fiber-optic cable" style="display:block;margin:0 auto" />

<p><em>Image: Illustration of a fiber-optic cable showing its internal optical fibers.</em></p>
<p>Fiber-optic cables don't use electricity to carry the data. They send data as pulses of light through very thin strands of glass or plastic. Because they don't carry an electrical signal, electromagnetic interference does not affect them the way it affects copper.</p>
<p>This makes fiber the choice for high-speed connections, links between buildings and the submarine cables that connect countries and continents. So when a message travels between two countries, part of its journey is usually flashes of light inside a cable on the ocean floor.</p>
<h3>Wireless</h3>
<p>Wireless communication needs no cable. The signals travel through the air as electromagnetic waves. Radio waves are the most familiar, and they are what Wi-Fi, Bluetooth and mobile networks use. Microwaves, which sit at the higher-frequency end of the radio spectrum, are used for satellite communication and some wireless links. Infrared works over short distances, like the signal from a television remote.</p>
<p>When your laptop connects to Wi-Fi, there is no cable between it and the access point, but the idea is exactly the same. The bits are still turned into signals, they are just radio signals now. Whether the medium is copper, fiber or air, the Physical Layer's job stays the same.</p>
<h2>When signals don't arrive cleanly</h2>
<p>Signals aren't perfect. As a signal travels it gets weaker, which is called <strong>attenuation</strong>. The longer the cable, the weaker the signal becomes, until the receiver can no longer read it properly. This is one reason twisted-pair Ethernet cables are generally limited to about 100 meters.</p>
<p>Signals can also be disturbed by <strong>noise and interference</strong>. That might be electrical equipment, crosstalk between wires or another wireless device using the same frequency. When it happens, the receiver can misread the signal and end up with the wrong bits.</p>
<p>Twisting, shielding, fiber and repeaters are some of the ways Layer 1 deals with these problems.</p>
<h2>Physical Layer devices</h2>
<p>A few components are worth knowing.</p>
<p>The <strong>network interface card (NIC)</strong> is what connects a computer to a network. The Ethernet port on your computer and the Wi-Fi adapter are both examples. A NIC handles functions of both the Physical Layer and the Data Link Layer, so it's not purely a Layer 1 device.</p>
<p>A <strong>repeater</strong> receives a weakened signal and regenerates it so it can travel further.</p>
<p>A <strong>hub</strong> is a simple device that connects several computers. When it receives a signal on one port, it repeats that signal out of all its other ports without looking at the data at all. That is why a traditional Ethernet hub counts as a Layer 1 device.</p>
<h2>Troubleshooting at Layer 1</h2>
<p>Because everything depends on the physical connection, it is the first place to look when a device can't connect. If a computer says "Network cable unplugged", check that the cable is firmly connected at both ends, look for damage on the cable and connectors, see whether the link light on the Ethernet port is on, and make sure the switch or router has power. For a wireless connection, check that Wi-Fi is turned on, that you are in range and that nothing is interfering.</p>
<p>Your operating system can also tell you what it sees.</p>
<p>On Windows:</p>
<pre><code class="language-powershell">Get-NetAdapter
</code></pre>
<p>This lists the network adapters with their status and link speed.</p>
<p>On Linux:</p>
<pre><code class="language-bash">ip link show
</code></pre>
<p>This shows the network interfaces and their current state. Don't rely on the word UP alone, because an interface can be switched on even when no cable is plugged in. The flag <code>NO-CARRIER</code> means no physical link is detected, and <code>LOWER_UP</code> means one is.</p>
<p>Keep in mind that these commands only show what the operating system reports about the interface. They can't prove that every cable and component is working. A link light also only tells you that two devices detected each other, not that communication works all the way through. A cable tester is what you would use to check the cable itself.</p>
<h2>The Physical Layer and cybersecurity</h2>
<p>It's easy to think of cybersecurity as protecting software and data, but the physical side of a network matters too. An attacker does not always need to exploit software. Sometimes physical access to equipment or cabling is enough.</p>
<p><strong>Cable tapping.</strong> Someone with physical access to a cable may try to intercept the signals passing through it. If the data isn't encrypted, sensitive information could be exposed.</p>
<p><strong>Wireless eavesdropping.</strong> Wireless signals travel through the air and can be received by any device in range. An attacker nearby may try to capture the traffic, which is why proper wireless security and encryption matter.</p>
<p><strong>Signal jamming.</strong> An attacker can transmit interference on the frequencies a wireless network uses and stop legitimate devices from communicating. This is mainly an attack on availability.</p>
<p><strong>Unauthorized connections.</strong> If an Ethernet port in an office is open to anyone, an attacker could plug in their own device and potentially reach the internal network, especially when there are no access controls in place.</p>
<p><strong>Physical damage.</strong> Cutting a cable, disconnecting equipment or damaging hardware can take network services down.</p>
<p>The defences are mostly basic physical security. Organizations restrict access to server rooms and network equipment, protect exposed cables, disable unused network ports and monitor physical access with CCTV and access logs. Encryption adds another layer, because it keeps data protected even if the traffic is intercepted.</p>
<p>This matters for SOC analysts too. If a computer suddenly loses its network connection, it is not always a software problem. A damaged cable, a faulty port or deliberate physical interference could be the cause, and understanding Layer 1 helps an analyst consider those possibilities when investigating.</p>
<h2>Wrapping up</h2>
<p>Computers work with bits, but bits can't travel on their own. The Physical Layer turns them into electrical signals, light or radio waves, sends them through a cable or the air, and lets the receiving device recover the same bits at the other end. Every other layer depends on that happening correctly.</p>
<h2>References</h2>
<ul>
<li><a href="https://standards.ieee.org/ieee/802.3/10422/">IEEE 802.3 – Ethernet Standards</a></li>
<li><a href="https://www.itu.int/en/mediacentre/backgrounders/pages/submarine-cable-resilience.aspx">ITU – Submarine Cable Resilience</a></li>
<li><a href="https://science.nasa.gov/ems/06_microwaves/">NASA – The Electromagnetic Spectrum: Microwaves</a></li>
</ul>
]]></content:encoded></item><item><title><![CDATA[OSI Model (Open Systems Interconnection Model)]]></title><description><![CDATA[A beginner-friendly guide to the seven layers of network communication and why they matter in cybersecurity.]]></description><link>https://cipherveilx.hashnode.dev/osi-model-open-systems-interconnection-model</link><guid isPermaLink="true">https://cipherveilx.hashnode.dev/osi-model-open-systems-interconnection-model</guid><category><![CDATA[cybersecurity]]></category><category><![CDATA[networking]]></category><category><![CDATA[OSI Model]]></category><category><![CDATA[beginnersguide]]></category><category><![CDATA[computer networking]]></category><dc:creator><![CDATA[Fathima Mapasa]]></dc:creator><pubDate>Sun, 15 Nov 2026 06:38:36 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af84f691afc6c818c63e3f3/0cadfd52-5585-4a94-ad7b-2ca955baf21d.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<img src="https://cdn.hashnode.com/uploads/covers/6af84f691afc6c818c63e3f3/2dc80490-030a-4ed9-b26c-3f1fc4887053.png" alt="Diagram of the seven layers of the OSI Model, from Application (Layer 7) to Physical (Layer 1)" style="display:block;margin:0 auto" />

<h2>What is the OSI Model?</h2>
<p><strong>Full form:</strong> Open Systems Interconnection Model.</p>
<p>The OSI Model is a conceptual reference model developed by the International Organization for Standardization (ISO). It standardizes and describes how different systems communicate over a network. It divides network communication into seven distinct layers, and each layer represents a specific set of networking functions.</p>
<p>Here's what that means in practice. Imagine you have a computer in Sri Lanka and you want to send a message to a friend who has a computer in the United States. Both computers may use different hardware, operating systems, and network technologies, but they still need a common way to communicate.</p>
<p>The OSI Model gives us a structured way to understand how this communication takes place. It breaks the complex process of network communication into seven organized layers. You can think of it as a framework that helps us understand how network communication works.</p>
<h2>Why was the OSI Model developed?</h2>
<p>Before standardized networking approaches became widespread, different manufacturers developed their own networking technologies and systems. This created interoperability problems:</p>
<ul>
<li>Different manufacturers used different networking technologies.</li>
<li>Systems did not always communicate easily with one another.</li>
<li>Networking implementations lacked a common reference framework.</li>
<li>Troubleshooting complex communication problems was difficult.</li>
</ul>
<p>The OSI Model was developed to provide a standardized reference framework for understanding and designing network communication. Its purpose was to help different systems communicate through standardized networking concepts and protocols.</p>
<blockquote>
<p><strong>Important:</strong> The OSI Model is a reference model. It is not a networking protocol itself, and real-world networking does not require every system to implement seven separate OSI layers exactly as described.</p>
</blockquote>
<h2>Who developed the OSI Model?</h2>
<ul>
<li><strong>Organization:</strong> International Organization for Standardization (ISO)</li>
<li><strong>Development:</strong> Work began in the late 1970s</li>
<li><strong>Standard:</strong> ISO 7498</li>
<li><strong>Publication:</strong> The original standard was published in 1984</li>
</ul>
<p>The model was developed to establish a common reference for open systems interconnection.</p>
<h2>Why is the OSI Model important?</h2>
<p>There are four particularly important reasons.</p>
<h3>1. Understanding network communication</h3>
<p>It helps us understand how data travels from one device to another.</p>
<h3>2. Standardization</h3>
<p>It provides a common reference framework for discussing networking functions and technologies.</p>
<h3>3. Interoperability</h3>
<p>It helps explain how different networking technologies and systems can work together.</p>
<h3>4. Troubleshooting</h3>
<p>It allows network engineers and cybersecurity professionals to investigate network problems systematically by considering different areas of communication. For example, if a computer cannot communicate with another computer, an engineer can use the OSI Model as a troubleshooting framework to narrow down where the problem might exist.</p>
<h2>What are the seven layers?</h2>
<p>The OSI Model consists of seven layers:</p>
<ul>
<li><strong>Layer 7:</strong> Application (top layer)</li>
<li><strong>Layer 6:</strong> Presentation</li>
<li><strong>Layer 5:</strong> Session</li>
<li><strong>Layer 4:</strong> Transport</li>
<li><strong>Layer 3:</strong> Network</li>
<li><strong>Layer 2:</strong> Data Link</li>
<li><strong>Layer 1:</strong> Physical (bottom layer)</li>
</ul>
<h2>How is the OSI Model used in cybersecurity?</h2>
<p>The OSI Model is particularly useful in cybersecurity because network communication is involved in many security incidents. For example:</p>
<ul>
<li>Network engineers use it to troubleshoot connectivity problems.</li>
<li>SOC analysts use it to understand network traffic and investigate suspicious communication.</li>
<li>Security engineers use it to understand where security controls operate.</li>
<li>Penetration testers use it to understand different networking technologies and potential attack surfaces.</li>
</ul>
<p>It provides a common technical language for understanding network communication.</p>
]]></content:encoded></item></channel></rss>