<?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[ByteByByte Security]]></title><description><![CDATA[ByteByByte Security]]></description><link>https://ankitsec.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/69c56fe810e664c5da08639e/3beaf2f1-ca59-4991-878e-1949fd8c65f5.gif</url><title>ByteByByte Security</title><link>https://ankitsec.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Tue, 29 Sep 2026 11:57:27 GMT</lastBuildDate><atom:link href="https://ankitsec.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Level 0 Complete: Automating System Health and Security Tooling]]></title><description><![CDATA[A few months ago, I stepped back from public posting. If I am being entirely honest, I got distracted. I fell into the trap of chasing a social media streak rather than focusing on actual engineering.]]></description><link>https://ankitsec.hashnode.dev/level-0-complete-automating-system-health-and-security-tooling</link><guid isPermaLink="true">https://ankitsec.hashnode.dev/level-0-complete-automating-system-health-and-security-tooling</guid><category><![CDATA[Python]]></category><category><![CDATA[Linux]]></category><category><![CDATA[Roadmap]]></category><category><![CDATA[networking]]></category><category><![CDATA[cybersecurity]]></category><dc:creator><![CDATA[ankito]]></dc:creator><pubDate>Fri, 25 Sep 2026 13:23:34 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/69c56fe810e664c5da08639e/718b1b69-3e53-4d1b-9b2f-3887221d2555.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A few months ago, I stepped back from public posting. If I am being entirely honest, I got distracted. I fell into the trap of chasing a social media streak rather than focusing on actual engineering.</p>
<p>I realized I needed a reset. I stopped writing code for the timeline and started writing it for myself.</p>
<p>Before diving into AWS and Cloud Security, I knew I needed to establish a rock-solid foundation. You cannot secure a cloud environment if you don't understand the underlying operating system and networking primitives. This is the breakdown of my "Level 0" phase: building a systems substrate with Networking, Linux, and Python.</p>
<h3>1. Networking Primitives</h3>
<p>Networking concepts initially felt straightforward, but memorizing port numbers and protocols required some repetition. The biggest takeaway was understanding how strictly the OSI model dictates traffic.</p>
<p>Every layer has a highly specific role. For instance, at Layer 4 (Transport), knowing exactly how TCP operates and understanding that protocols bind to specific ports—like HTTP on port 80 or HTTPS on port 443—is critical baseline knowledge for any security architecture.</p>
<h3>2. The Linux CLI Shift</h3>
<p>As a lifelong Windows user, transitioning to Linux was a shock to the system. I was used to navigating with a mouse; suddenly, I had to do everything via the command line.</p>
<p>I spent this phase mastering core commands (<code>cd</code>, <code>pwd</code>, <code>mkdir</code>, <code>cat</code>) and understanding the sheer power of <code>sudo</code>. Running scripts with root privileges means you can automate massive system-wide tasks instantly—but it also means you can break things just as fast.</p>
<p>I also dove heavily into permissions using <code>chmod</code>, learning how to restrict and grant access across users, groups, and others. The biggest lesson? <strong>Precision.</strong> A single spelling mistake in a shell script is incredibly frustrating to debug. Editing files directly in the terminal forces you to slow down and write code attentively.</p>
<h3>3. Python Security Tooling</h3>
<p>With the basics out of the way, I applied Python to fundamental security tasks. Because my syntax fundamentals were clear, building the Level 0 Python scripts felt relatively smooth.</p>
<p>However, this was just the warm-up. These foundational scripts are setting the stage for much heavier logic in Level 1.</p>
<h3>The Proof of Work</h3>
<p>I am officially moving past the basics. I have consolidated my deliverables—including <code>log_</code><a href="http://parser.py"><code>parser.py</code></a>, <code>port_</code><a href="http://scanner.py"><code>scanner.py</code></a>, and <code>system_</code><a href="http://health.sh"><code>health.sh</code></a>—into a single repository.</p>
<p>🔗<a href="https://github.com/ankito13/Cybersecurity-Engineering-Roadmap/tree/main/level-0">GitHub Repository</a></p>
<p><strong>What’s Next?</strong> Level 1 is already underway. I am pushing deeper into advanced scripting and security mechanics.</p>
<p>I will be dropping my Level 1 Build Log right here on <strong>November 1st</strong>.</p>
<p>If you are also building in the cloud or platform security space, let's connect:</p>
<p><a href="https://www.linkedin.com/in/ankito13/">🔗 LinkedIn Profile</a></p>
<hr />
]]></content:encoded></item><item><title><![CDATA[🚀 Week 2/52 — Python Foundations + Linux Deep Dive (Progress, Bugs, and Real Learning)]]></title><description><![CDATA[Not everything went as planned this week. I completed some tasks, left others unfinished, and spent most of my time debugging things that should have worked. Frustrating as it was, this messy process ]]></description><link>https://ankitsec.hashnode.dev/week-2-52-python-foundations-linux-deep-dive-progress-bugs-and-real-learning</link><guid isPermaLink="true">https://ankitsec.hashnode.dev/week-2-52-python-foundations-linux-deep-dive-progress-bugs-and-real-learning</guid><dc:creator><![CDATA[ankito]]></dc:creator><pubDate>Thu, 02 Apr 2026 21:44:09 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/69c56fe810e664c5da08639e/95215b90-045e-4259-ba6e-41fa39a83d71.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em><strong>Not everything went as planned this week. I completed some tasks, left others unfinished, and spent most of my time debugging things that should have worked. Frustrating as it was, this messy process is exactly what real learning looks like</strong></em><em>.</em></p>
<p>🐍 Python Basics — More About Thinking Than Coding</p>
<p>I recently completed Python basics.</p>
<p>At first, I thought Python would be about syntax — variables, loops, conditions.</p>
<p>But very quickly, I realized:</p>
<p>Python is less about syntax and more about how you think through problems.</p>
<p>📚 Learning Approach</p>
<p>I used:</p>
<p>Apna College Python playlist ChatGPT for debugging and hints</p>
<p>But the biggest difference came from changing my approach:</p>
<p>Instead of copying code, I tried to:</p>
<p>think through the problem first write logic in plain English then convert it into code</p>
<p>This slowed me down, but improved understanding significantly.</p>
<p>🧠 Key Areas I Covered Variables &amp; data types Conditionals (if-else) Loops (for vs while) Strings (iteration, patterns) Lists (basic data handling) 🔍 Where Things Broke (and Why)</p>
<p>Most of my issues weren’t syntax errors — they were logic errors.</p>
<p>Examples:</p>
<p>loops not terminating → condition never updated wrong output → print statements inside loops confusion between for and while → unclear control flow</p>
<p>One small but important mistake:</p>
<p>new_list = new_list.append(i)</p>
<p>This failed because:</p>
<p>append() mutates the list — it does not return it</p>
<p>This kind of issue highlights a bigger point:</p>
<p>Understanding behavior is more important than memorizing syntax.</p>
<p>🛠 Practical Output</p>
<p>By the end of this phase, I could solve:</p>
<p>string reversal vowel counting palindrome checking list operations (max, sum, duplicates)</p>
<p>These are simple problems, but they helped build logic confidence.</p>
<p>🐧 Linux Deep Dive — Where Systems Start Fighting Back</p>
<p>Alongside Python, I focused on Linux and Bash.</p>
<p>This felt very different.</p>
<p>If Python is forgiving, Linux is strict and unforgiving.</p>
<p>✅ Day 8 — Text Editors (vim, nano)</p>
<p>Vim initially felt unusable.</p>
<p>After going through vimtutor, I started understanding:</p>
<p>modes navigation editing workflow</p>
<p>This wasn’t just about editing text — it was about learning how tools expect you to think.</p>
<p>✅ Day 9 — Bash Scripting</p>
<p>I learned:</p>
<p>variables conditionals loops</p>
<p>Then tried building a backup script.</p>
<p>💥 Where Things Broke</p>
<p>Most errors came from small details:</p>
<p>missing spaces in [ ] incorrect variable usage (\(file vs "file") argument handling (\)1) path issues file system assumptions</p>
<p>Errors like:</p>
<p>missing ']' No such file or directory</p>
<p>This led to an important realization:</p>
<p>In Bash, small syntax mistakes don’t degrade gracefully — they break execution completely.</p>
<p>⚠️ Incomplete Work (Carrying Forward) Backup script → partially working, still debugging Log analysis (Day 10) → not started</p>
<p>Instead of rushing, I’m moving these into the next week.</p>
<p>💡 Key Technical Insights from This Week</p>
<ol>
<li>Strict Systems Expose Weak Thinking</li>
</ol>
<p>Linux doesn’t “adjust” to your mistakes. It forces you to be precise.</p>
<ol>
<li>Debugging Is the Core Skill</li>
</ol>
<p>Most time is not spent writing code — it’s spent fixing it.</p>
<ol>
<li>Small Errors Have Large Impact</li>
</ol>
<p>A missing space or wrong path can completely break execution.</p>
<ol>
<li>Learning Slower Can Be Better</li>
</ol>
<p>Rushing leads to shallow understanding. Struggling leads to retention.</p>
<p>🔥 Shift in Perspective</p>
<p>Earlier, I thought:</p>
<p>Coding = writing code</p>
<p>Now it feels like:</p>
<p>Coding = understanding why things fail, and fixing them step by step</p>
<p>🎯 What’s Next (Week 3) Complete backup script Start log analysis (/var/log, grep, etc.) Improve Bash debugging Continue Python problem solving 🧠 Final Thought</p>
<p>This week wasn’t clean or complete.</p>
<p>But it was real.</p>
<p>And more importantly, it was useful.</p>
<p>💬 Open to Feedback How did you get better at Bash scripting? Any structured way to improve debugging?</p>
<p>Would love to learn from people ahead in this field.</p>
]]></content:encoded></item><item><title><![CDATA[Week 1/52 - Setting Up My Cybersecurity Lab & Learning Linux Fundamentals ]]></title><description><![CDATA[hola, i m a first year B.Tech CSE student and I have strted documenting my joureny into cybersec.
instead of just studying theory. i deciced to focus on hands on learning by buiding projects.
this is ]]></description><link>https://ankitsec.hashnode.dev/week-1-52-setting-up-my-cybersecurity-lab-learning-linux-fundamentals</link><guid isPermaLink="true">https://ankitsec.hashnode.dev/week-1-52-setting-up-my-cybersecurity-lab-learning-linux-fundamentals</guid><dc:creator><![CDATA[ankito]]></dc:creator><pubDate>Thu, 26 Mar 2026 18:09:12 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/69c56fe810e664c5da08639e/b1c9e380-5bd5-44a4-9c38-34c435749f58.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>hola, i m a first year <a href="http://B.tech">B.</a>Tech CSE student and I have strted documenting my joureny into cybersec.</p>
<p>instead of just studying theory. i deciced to focus on hands on learning by buiding projects.</p>
<p>this is week 1/52.</p>
<h2>🖥️ Setting Up My Lab (Ubuntu on VirtualBox)</h2>
<p>This week started with setting up my cybersecurity lab using VirtualBox.</p>
<p>Since I had already installed Kali Linux before, I thought it would be quick.</p>
<p>It wasn’t 😅</p>
<h3>What went wrong:</h3>
<ul>
<li><p>VirtualBox didn’t ask for storage/memory like I expected</p>
</li>
<li><p>Faced <strong>graphics errors during boot</strong></p>
</li>
<li><p>Ubuntu sometimes switched to safe graphics automatically</p>
</li>
<li><p>Guest Additions caused more confusion than help</p>
</li>
<li><p>ISO mounting issues during restart</p>
</li>
</ul>
<p>At one point, the system just wouldn’t boot properly.</p>
<p>After multiple restarts, tweaks, and trying different settings, I finally got it working.</p>
<h3>What I learned:</h3>
<blockquote>
<p>Setting up the environment is not a side task — it <em>is</em> part of cybersecurity learning.</p>
</blockquote>
<hr />
<h2>⚙️ Initial System Setup</h2>
<p>Once Ubuntu was running, I started with basic setup:</p>
<pre><code class="language-plaintext">sudo apt update
sudo apt upgrade -y
sudo apt clean
</code></pre>
<p>Then installed essential tools:</p>
<pre><code class="language-plaintext">sudo apt install git curl wget net-tools htop -y
</code></pre>
<p>And build tools for future work:</p>
<pre><code class="language-plaintext">sudo apt install build-essential dkms linux-headers-$(uname -r) -y
</code></pre>
<hr />
<h2>🧠 Learning Linux Fundamentals</h2>
<p>After setup, I focused on Linux basics — the foundation of cybersecurity.</p>
<hr />
<h3>📁 File Navigation &amp; Management</h3>
<p>I practiced:</p>
<ul>
<li><p><code>pwd</code>, <code>ls</code>, <code>cd</code>  </p>
</li>
<li><p><code>mkdir</code>, <code>cp</code>, <code>mv</code>, <code>rm</code></p>
</li>
</ul>
<h3>Insight:</h3>
<p>Understanding <strong>where you are in the system</strong> (paths) is more important than memorizing commands.</p>
<hr />
<h3>🔍 File Viewing &amp; Editing</h3>
<ul>
<li><p><code>cat</code>, <code>less</code>  </p>
</li>
<li><p><code>echo "text" &gt; file.txt</code></p>
</li>
</ul>
<p>Also learned this the hard way:</p>
<blockquote>
<p>One missing quote can break your command 😅</p>
</blockquote>
<hr />
<h3>🔐 File Permissions (Most Important Part)</h3>
<p>Using:</p>
<pre><code class="language-plaintext">ls -l
</code></pre>
<p>I started understanding permissions like:</p>
<pre><code class="language-plaintext">-rw-r--r--
</code></pre>
<p>Then practiced:</p>
<pre><code class="language-plaintext">chmod 644 file.txt
chmod 755 script.sh
chmod 600 secret.txt
</code></pre>
<h3>What clicked:</h3>
<ul>
<li><p>4 = read</p>
</li>
<li><p>2 = write</p>
</li>
<li><p>1 = execute</p>
</li>
</ul>
<h3>Real insight:</h3>
<p>Permissions aren’t just syntax — they control <strong>who can access what</strong>.</p>
<hr />
<h3>⚠️ Security Insight</h3>
<ul>
<li><p><code>777</code> → dangerous</p>
</li>
<li><p><code>600</code> → private files</p>
</li>
<li><p><code>755</code> → executable scripts</p>
</li>
</ul>
<blockquote>
<p>Misconfigured permissions = real vulnerability</p>
</blockquote>
<hr />
<h3>👤 Users &amp; Ownership</h3>
<p>Commands I used:</p>
<pre><code class="language-plaintext">sudo adduser testuser
sudo chown testuser file.txt
sudo deluser --remove-home testuser
</code></pre>
<h3>Important realization:</h3>
<p>Deleting a user doesn’t delete all their files.</p>
<p>Only files inside <code>/home/testuser</code> are removed.</p>
<p>This introduced me to:</p>
<blockquote>
<p><strong>Orphaned files</strong> — leftover files without a user  </p>
<p>(which can be a real security risk)</p>
</blockquote>
<hr />
<h3>🧠 Process Management</h3>
<p>I learned how to monitor and control processes:</p>
<ul>
<li><p><code>ps</code>, <code>ps aux</code></p>
</li>
<li><p><code>top</code></p>
</li>
<li><p><code>kill</code>, <code>kill -9</code></p>
</li>
</ul>
<h3>Practice:</h3>
<ul>
<li><p>Ran <code>sleep</code> in background</p>
</li>
<li><p>Found it using <code>ps</code></p>
</li>
<li><p>Killed it manually</p>
</li>
</ul>
<p>This felt like real system control.</p>
<hr />
<h3>📦 Package Management</h3>
<p>Learned how software is installed in Linux:</p>
<pre><code class="language-plaintext">sudo apt update
sudo apt install htop
sudo apt remove htop
sudo apt clean
</code></pre>
<p>Also understood:</p>
<ul>
<li><p>update vs upgrade</p>
</li>
<li><p>install vs remove vs purge</p>
</li>
</ul>
<h2>🧠 Key Takeaways from Week 1</h2>
<ul>
<li><p>Linux is not just commands — it’s <strong>how systems behave</strong></p>
</li>
<li><p>Permissions are the foundation of security</p>
</li>
<li><p>Debugging teaches more than tutorials</p>
</li>
<li><p>Mistakes are part of the process</p>
</li>
<li><p>Setting up your lab is real learning</p>
</li>
</ul>
<hr />
<h2>⚡ Challenges I Faced</h2>
<ul>
<li><p>VirtualBox graphics issues</p>
</li>
<li><p>Storage limitations</p>
</li>
<li><p>Permission confusion</p>
</li>
<li><p>User deletion behavior</p>
</li>
<li><p>File ownership problems</p>
</li>
</ul>
<hr />
<h2>🔥 Let’s connect</h2>
<p>If you’re on a similar path or already working in cybersecurity, I’d love to learn from you.</p>
]]></content:encoded></item></channel></rss>