<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rishi Kumavat</title>
    <description>The latest articles on DEV Community by Rishi Kumavat (@r15h1-201).</description>
    <link>https://dev.to/r15h1-201</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3715301%2F19e18a9d-2774-4c96-b963-0a110f6f6eec.jpg</url>
      <title>DEV Community: Rishi Kumavat</title>
      <link>https://dev.to/r15h1-201</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/r15h1-201"/>
    <language>en</language>
    <item>
      <title>I Built a File Integrity Checker Using Python and HMAC</title>
      <dc:creator>Rishi Kumavat</dc:creator>
      <pubDate>Thu, 26 Nov 2026 15:47:20 +0000</pubDate>
      <link>https://dev.to/r15h1-201/i-built-a-file-integrity-checker-using-python-and-hmac-596m</link>
      <guid>https://dev.to/r15h1-201/i-built-a-file-integrity-checker-using-python-and-hmac-596m</guid>
      <description>&lt;p&gt;As someone learning cybersecurity, I believe the best way to understand security concepts is to implement them through practical projects.&lt;/p&gt;

&lt;p&gt;Recently, I completed a project called &lt;strong&gt;File Integrity Checker&lt;/strong&gt;, based on the File Integrity Checker challenge from roadmap.sh.&lt;/p&gt;

&lt;p&gt;The idea behind this project is simple: detect whether monitored log files have been modified, deleted, or newly added.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does it do?
&lt;/h2&gt;

&lt;p&gt;The File Integrity Checker is a Python-based command-line tool that monitors &lt;code&gt;.log&lt;/code&gt; files and checks whether their contents have changed since the trusted baseline was created.&lt;/p&gt;

&lt;p&gt;It can identify:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;UNMODIFIED:&lt;/strong&gt; The file content has not changed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MODIFIED:&lt;/strong&gt; The file content has been changed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MISSING:&lt;/strong&gt; A previously monitored file has been deleted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NEW:&lt;/strong&gt; A new log file has been detected.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NOT_MONITORED:&lt;/strong&gt; The specified file is not part of the baseline.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Technologies used
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;SHA-256 hashing&lt;/li&gt;
&lt;li&gt;HMAC-SHA256 authentication&lt;/li&gt;
&lt;li&gt;JSON for baseline storage&lt;/li&gt;
&lt;li&gt;Argparse for the command-line interface&lt;/li&gt;
&lt;li&gt;Unittest for automated testing&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How does it work?
&lt;/h2&gt;

&lt;p&gt;When initializing the tool, it scans the target directory and calculates the SHA-256 hash of each log file.&lt;/p&gt;

&lt;p&gt;These hashes are stored in a baseline JSON file. To protect the baseline from unauthorized modification, I implemented HMAC-SHA256 authentication using a separate secret key.&lt;/p&gt;

&lt;p&gt;During an integrity check, the tool calculates the current file hashes and compares them with the trusted baseline.&lt;/p&gt;

&lt;p&gt;If a file has changed, the tool reports it.&lt;/p&gt;

&lt;p&gt;I also implemented protection against missing authentication keys and tampered baseline data.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;This project helped me understand several important cybersecurity concepts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How SHA-256 hashing works in file integrity monitoring.&lt;/li&gt;
&lt;li&gt;Why cryptographic hashes are useful for detecting file modifications.&lt;/li&gt;
&lt;li&gt;How HMAC can authenticate stored data.&lt;/li&gt;
&lt;li&gt;Why secret keys should be stored separately from the data they protect.&lt;/li&gt;
&lt;li&gt;How to organize a Python project into separate modules.&lt;/li&gt;
&lt;li&gt;How to write automated tests using Python's &lt;code&gt;unittest&lt;/code&gt; framework.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also tested the project with different scenarios, including modified files, deleted files, new files, and baseline tampering. The automated test suite passed all 9 tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project submission
&lt;/h2&gt;

&lt;p&gt;I have submitted my implementation to the roadmap.sh File Integrity Checker project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you find my implementation interesting, I'd really appreciate your support. Please visit the solution page and give it a vote!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;Vote for my solution:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://roadmap.sh/projects/file-integrity-checker/solutions?u=6b03f1a3f666a02b517172f2" rel="noopener noreferrer"&gt;https://roadmap.sh/projects/file-integrity-checker/solutions?u=6b03f1a3f666a02b517172f2&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;This was a good opportunity to move beyond just reading about cybersecurity concepts and actually implement them.&lt;/p&gt;

&lt;p&gt;I'm continuing to build practical projects, improve my Python skills, and explore more areas of cybersecurity.&lt;/p&gt;

&lt;p&gt;Feedback and suggestions are always welcome!&lt;/p&gt;

</description>
      <category>python</category>
      <category>cybersecurity</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>What Happens When Cloud Servers Start Failing One by One?</title>
      <dc:creator>Rishi Kumavat</dc:creator>
      <pubDate>Sun, 15 Nov 2026 16:11:43 +0000</pubDate>
      <link>https://dev.to/r15h1-201/what-happens-when-cloud-servers-start-failing-one-by-one-19i3</link>
      <guid>https://dev.to/r15h1-201/what-happens-when-cloud-servers-start-failing-one-by-one-19i3</guid>
      <description>&lt;p&gt;We've all experienced a website that refuses to load.&lt;/p&gt;

&lt;p&gt;But have you ever wondered what happens behind the scenes when an entire cloud platform experiences an outage?&lt;/p&gt;

&lt;p&gt;The November 12–14 Microsoft 365 outage got me thinking about this.&lt;/p&gt;

&lt;p&gt;As someone learning cybersecurity and computer networks, I wanted to break down the engineering concepts behind such incidents in a way that's easy for students and beginners to understand.&lt;/p&gt;

&lt;p&gt;In my latest article, I explain five interesting concepts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The CIA Triad&lt;br&gt;
Why Availability matters just as much as Confidentiality and Integrity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Load Balancing&lt;br&gt;
How multiple servers share incoming requests, just like checkout counters in a supermarket.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cascading Failures&lt;br&gt;
How losing multiple servers can overload the remaining infrastructure and trigger additional failures.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Retry Storms&lt;br&gt;
Why millions of applications retrying failed requests can make an already difficult recovery even harder.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Practical Engineering Lessons&lt;br&gt;
Exponential backoff, fault tolerance, and rolling out infrastructure changes in smaller batches.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;My goal was to understand the incident beyond the headlines and connect it with concepts we study in cybersecurity and networking.&lt;/p&gt;

&lt;p&gt;I also created a visual illustration to explain the cascading server failure scenario.&lt;/p&gt;

&lt;p&gt;Read the complete article: &lt;a href="https://medium.com/@rishikumavat12/microsoft-365-went-down-for-24-hours-was-it-a-cyberattack-or-a-server-side-disaster-bd806f03464a?sharedUserId=rishikumavat12" rel="noopener noreferrer"&gt;Read Here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to know what you think.&lt;/p&gt;

&lt;p&gt;Have you ever experienced a major cloud service outage while working on something important?&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>cloudcomputing</category>
      <category>networking</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
