<?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[Om's Cyber Space]]></title><description><![CDATA[Om's Cyber Space]]></description><link>https://h3isenburg.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6462434e7ffd2bd3573f4e1d/07186b2d-bb29-463e-847f-1b302fd5c659.png</url><title>Om&apos;s Cyber Space</title><link>https://h3isenburg.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 09:08:22 GMT</lastBuildDate><atom:link href="https://h3isenburg.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[What Is :// Actually Doing in a URL?]]></title><description><![CDATA[A subtle yet interesting fact about URL]]></description><link>https://h3isenburg.hashnode.dev/misc-web-urls</link><guid isPermaLink="true">https://h3isenburg.hashnode.dev/misc-web-urls</guid><category><![CDATA[cybersecurity]]></category><category><![CDATA[penetration testing]]></category><category><![CDATA[vapt]]></category><category><![CDATA[Web Basics]]></category><category><![CDATA[urls]]></category><category><![CDATA[browser security]]></category><dc:creator><![CDATA[Om Pant]]></dc:creator><pubDate>Tue, 24 Nov 2026 12:31:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6462434e7ffd2bd3573f4e1d/cd9b938b-cf4d-45c9-b375-50b17004345e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>We all look at and deal with URLs every day. Whenever I am investigating a target, debugging an application, or running a security assessment, I naturally focus on the big pieces first: the protocol, the hostname, the path, or the query parameters.</p>
<p>But have you ever stopped to wonder what that <code>://</code> in the middle is actually doing?</p>
<p>Like most people, I always treated <code>://</code> as a single symbol, just a separator sitting between the protocol and the hostname. That changed while I was digging into web security concepts and realized it is not even one symbol. It is a combination of two distinct parts:</p>
<ul>
<li>The colon (<code>:</code>) separates the protocol or scheme from everything that follows.</li>
<li>The double slash (<code>//</code>) signals that you are dealing with a network or remote location, meaning the next part points to a remote host or address rather than a local path.</li>
</ul>
<h3>Why Is It Even Required?</h3>
<p>Honestly, it is not actually required from a pure design standpoint. Even Tim Berners-Lee, the inventor of the web, has pointed out that those slashes were unnecessary. They stuck around as part of early conventions, and because of backward compatibility, we still follow them today.</p>
<p>Those conventions come from early Unix and other networked operating systems, where a single slash (<code>/</code>) represented a local folder or path, while double slashes (<code>//</code>) were used to point to a remote or network location.</p>
<h3>Why <code>file:///</code> Uses Three Slashes</h3>
<p>Once you see <code>//</code> as the marker for the network or remote host section, <code>file:///&lt;somename&gt;</code> makes complete sense:</p>
<ol>
<li><code>file:</code> specifies the scheme.</li>
<li><code>//</code> opens the remote or network location section, which stays blank because there is no remote host here.</li>
<li>The third <code>/</code> starts the local root or directory path, telling the system to look locally instead of over a network (for example, <code>file:///etc/passwd</code> or <code>file:///C:/folder/file</code>).</li>
</ol>
<p>It is a small detail in URL structure, yet understanding how parsers split these components is super helpful when you look closely at web security and how applications process resources.</p>
]]></content:encoded></item><item><title><![CDATA[Understanding eBPF: How Linux Became Programmable Without Changing a Single Line of Kernel Code]]></title><description><![CDATA[So recently I was exploring Shirudo ( which is basically an Open Source Linux runtime which allows AI agents to keep system secure without downtime.]]></description><link>https://h3isenburg.hashnode.dev/understanding-ebpf</link><guid isPermaLink="true">https://h3isenburg.hashnode.dev/understanding-ebpf</guid><category><![CDATA[cybersecurity]]></category><category><![CDATA[operating system]]></category><category><![CDATA[Linux]]></category><category><![CDATA[advance linux]]></category><category><![CDATA[eBPF]]></category><dc:creator><![CDATA[Om Pant]]></dc:creator><pubDate>Tue, 24 Nov 2026 10:58:08 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6462434e7ffd2bd3573f4e1d/a24b9642-dbab-4450-8a96-284b241c384b.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>So recently I was exploring Shirudo (<a href="https://shirudo.dev/">https://shirudo.dev/</a>) which is basically an Open Source Linux runtime which allows AI agents to keep system secure without downtime.</p>
<p>What it does basically - It lets agents write dynamic eBPF controls to shield systems from exploits, giving defenders more time to test and roll out patches.</p>
<p>But I didn't have any idea what this eBPF was, so I researched on it, to know what it is and what it does in short. but after learning about it I got suprised and interested about it and what are the possibilities it can open. So Like me if u also didn't knew what eBPF was, here's what I understood.</p>
<h2>What is eBPF ?</h2>
<p>eBPF (extended Berkeley Packet Filter) is a technology that allows us to run sandboxed, custom programs inside the Linux kernel dynamically, without changing kernel source code or loading risky kernel modules.</p>
<p>To understand why this is a big deal, we first need to look at how Linux is divided and why modifying the kernel used to be so painful.</p>
<h2>The Divide: User Space vs. Kernel Space</h2>
<p>Every Linux system splits its memory and execution into two distinct privileges:</p>
<ol>
<li><strong>User Space:</strong> Where our everyday applications run - web servers, databases, Python scripts, and CLI tools. Code here is isolated; if an application crashes, the rest of the system survives. To talk to hardware, read a file, or open a network socket, user-space programs must ask the kernel for permission via <strong>System Calls (syscalls)</strong>.</li>
<li><strong>Kernel Space:</strong> The privileged core of the operating system. It manages CPU scheduling, memory, storage, and networking. Because it has unrestricted access to hardware, a single bug, infinite loop, or null-pointer dereference in kernel space brings down the entire machine with a <strong>Kernel Panic</strong>.</li>
</ol>
<img src="https://cdn.hashnode.com/uploads/covers/6462434e7ffd2bd3573f4e1d/eda48c4d-ab42-4adb-b183-0789f536a9c5.png" alt="User Vs Kernel Space (gemini made)" style="display:block;margin:0 auto" />

<p>Earlier, if we wanted to add anything in kernel like deep observability, custom packet filtering, or security enforcement, we had only two choices:</p>
<ul>
<li><strong>Modify the kernel source code directly</strong> and wait years for our changes to be reviewed, merged upstream, and adopted by enterprise Linux distributions.</li>
<li><strong>Write a Loadable Kernel Module (LKM)</strong>, which runs with full kernel privileges meaning a single memory bug in our module could crash the whole server or introduce a severe privilege-escalation vulnerability.</li>
</ul>
<p>eBPF solves this problem by giving us/developers a safe, fast, and dynamic way to extend kernel behavior on the fly.</p>
<h3>How eBPF Works Under the Hood</h3>
<p>eBPF programs are <strong>event-driven</strong>. Rather than running continuously like a background daemon, an eBPF program sits dormant until a specific event occurs in the kernel - such as a network packet arriving at the network interface card (NIC), a process invoking <code>execve()</code> to launch a binary, or a function executing inside a user-space application.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6462434e7ffd2bd3573f4e1d/e758bdbd-60e0-4d8c-83d8-70e37849cd04.png" alt="" style="display:block;margin:0 auto" />

<p>Here is the lifecycle of an eBPF program from code to execution:</p>
<ol>
<li><strong>Write and Compile to Bytecode:</strong> we as devs write our logic in a restricted subset of C (or Rust), and compile it using LLVM/Clang into <strong>eBPF bytecode</strong> - a universal, architecture-independent instruction set.</li>
<li><strong>Load via the</strong> <code>bpf()</code> <strong>Syscall:</strong> A user-space loader program (using libraries like <code>libbpf</code>, Cilium's <code>ebpf-go</code>, or Python's <code>BCC</code>) passes this bytecode into the kernel using the <code>bpf()</code> system call.</li>
<li><strong>The eBPF Verifier (The Safety Gatekeeper):</strong> Before the kernel accepts a single instruction, the <strong>Verifier</strong> performs static analysis on the entire program. It walks every possible execution path to guarantee that:<ul>
<li>The program will always terminate (no unbounded loops that could hang the CPU).</li>
<li>It never dereferences invalid pointers or reads out-of-bounds kernel memory.</li>
<li>It does not exceed stack limits (512 bytes) or maximum instruction counts. If any check fails, the kernel flatly rejects the program.</li>
</ul>
</li>
<li><strong>JIT Compilation:</strong> Once verified, the <strong>Just-In-Time (JIT) compiler</strong> translates the generic eBPF bytecode into native machine instructions (x86_64, ARM64, etc.). This ensures eBPF runs at near-native kernel speed, with virtually zero interpretation overhead.</li>
<li><strong>Attach to a Hook:</strong> The compiled program is attached to a specific kernel <strong>hook</strong> which is an event-driven insertion point inside the kernel execution path. When the kernel encounters a hook, it pauses its normal execution briefly, runs our attached eBPF program, and then resumes.</li>
<li><strong>Communicate via eBPF Maps:</strong> Because eBPF programs are stateless between invocations, they store state and share data with user space using <strong>eBPF Maps</strong>. eBPF Maps are efficient key-value data structures (hash tables, ring buffers, LRU caches) residing in kernel memory that both the eBPF program and user-space applications can read and write concurrently.</li>
</ol>
<p>So this was the basic explaination about eBPF, if u want to explore more, u can visit their website (<a href="https://ebpf.io/">https://ebpf.io/</a>).</p>
<p>If you liked the explaination, please leave a comment. Follow for more !!</p>
]]></content:encoded></item></channel></rss>