<?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 ChirchirMeshack on Medium]]></title>
        <description><![CDATA[Stories by ChirchirMeshack on Medium]]></description>
        <link>https://medium.com/@chirchirmeshack20?source=rss-9f38f88417d3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LHfFR_bPix6QxwC_</url>
            <title>Stories by ChirchirMeshack on Medium</title>
            <link>https://medium.com/@chirchirmeshack20?source=rss-9f38f88417d3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:18:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chirchirmeshack20/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[Logging in to root]]></title>
            <link>https://medium.com/@chirchirmeshack20/logging-in-to-root-6f598a95797a?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f598a95797a</guid>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Sun, 15 Mar 2026 21:31:42 GMT</pubDate>
            <atom:updated>2026-03-15T21:31:42.051Z</atom:updated>
            <content:encoded><![CDATA[<h3>🖥️ I Bought a VPS and Immediately Panicked (Part 1 of 3): Hardening a Fresh Contabo Ubuntu Server</h3><p><strong>By Meshack Kipchirchir</strong></p><p>Hey folks, Meshack here! 👋</p><p>Wow,it’s been a hot minute since I dusted off my Medium keyboard. My last pieces were about <a href="https://medium.com/@chirchirmeshack20/%EF%B8%8F-revolution-with-tech-how-civic-innovation-powered-kenyas-june-25-uprising-1fb31be379e4">civic tech and Kenya’s June 25 uprising</a> and <a href="https://medium.com/@chirchirmeshack20/how-i-deployed-and-tested-azure-firewall-and-didnt-break-the-internet-644f48349f6f">deploying Azure Firewall without breaking the internet</a>. That was fun, but life happened. I’ve been heads-down as a frontend developer at <strong>tunaresq.co.ke</strong>, and honestly, it was a different kind of education.The kind you only get from shipping real things for real users under real deadlines. Learnt a lot. Broke a few things. Fixed most of them. You know how it goes.</p><p>Now I’m channelling everything I picked up into my own project: <strong>ke-jani.com</strong> — a property management platform built for the Kenyan market. Think M-Pesa rent collection, automated demand letters, maintenance tickets, the whole nine yards. Big project. Very excited about it.</p><p>But before any of that could happen, I needed a server.</p><p>So I bought a <strong>Contabo Cloud VPS</strong> (4 vCPUs, 8GB RAM, 150GB SSD solid specs without breaking the bank) and stared at a blank terminal wondering where to start. This is Part 1 of a 3-part series documenting exactly what I did, why I did it, and what nearly went wrong along the way. If you’re a junior dev getting into VPS territory, this one’s for you.</p><p>Let’s get into it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3aVb_0eA0wP5f5bi3ZbAJA.png" /></figure><h3>🤔 Why a VPS Instead of Vercel/Railway?</h3><p>Fair question. Managed platforms like Vercel are genuinely great .I use Vercel alot and it’s brilliant for pure frontend projects. But for ke-jani.com, I needed full control: over the database configuration, background task workers (Celery), WebSockets, file storage, and custom server-level logic for things like payment callbacks. A VPS gives you all of that. It also force&#39;s you to actually understand what’s running underneath your app which I think every developer should experience at least once.</p><p>Contabo specifically? Great specs-to-price ratio. The catch is: <strong>they hand you a root login and wave goodbye.</strong> What you do with the server from that point is entirely on you.</p><p>Which is exactly why the first thing you do is <em>not</em> clone your repo. It’s lock the server down.</p><h3>🚪 Phase 1: First Login &amp; System Update</h3><p>After Contabo emails you your credentials, SSH in as root:</p><pre>ssh root@YOUR_SERVER_IP</pre><p>Then immediately update everything:</p><pre>apt update &amp;&amp; apt upgrade -y</pre><p>A fresh VPS that’s never been updated is already behind on security patches. Get that sorted first, before anything else.</p><h3>👤 Phase 2: Create a Non-Root User</h3><p>Running day-to-day as root is like driving with no seatbelt — one wrong move and it’s catastrophic. One typo in a command and you can wipe your entire filesystem with zero confirmation prompt. We create a dedicated user instead:</p><pre>adduser deploy<br>usermod -aG sudo deploy</pre><p>This creates a deploy user and adds them to the sudo group — they can run admin commands when explicitly needed, but aren&#39;t root all the time.</p><h3>🔑 Phase 3: SSH Key Authentication (This One Really Matters)</h3><p>Password-based SSH is a liability. Bots constantly scan the internet, hitting port 22 and trying common username/password combos. The fix is SSH key authentication — only someone with the private key file on their machine can get in.</p><p><strong>On your local machine</strong> (not the server):</p><pre>ssh-keygen -t ed25519 -C &quot;your@email.com&quot;<br>ssh-copy-id deploy@YOUR_SERVER_IP</pre><p>This generates a key pair and copies your public key to the server. Then on the server, harden the SSH config:</p><pre>sudo nano /etc/ssh/sshd_config</pre><p>Set these values:</p><pre>PermitRootLogin no<br>PasswordAuthentication no<br>PubkeyAuthentication yes<br>Port 2222<br>MaxAuthTries 3<br>LoginGraceTime 60<br>ClientAliveInterval 300<br>ClientAliveCountMax 2<br>X11Forwarding no<br>AllowTcpForwarding no</pre><p>A few things worth explaining:</p><ul><li><strong>PermitRootLogin no</strong> — Root simply can&#39;t SSH in. Attackers can&#39;t brute-force what doesn&#39;t exist as a login option.</li><li><strong>PasswordAuthentication no</strong> — Password login is gone entirely. Key only.</li><li><strong>Port 2222</strong> — Moving off the default port 22 dramatically reduces automated scanning noise. Bots hammer port 22 relentlessly; they pay far less attention to custom ports.</li><li><strong>X11Forwarding no</strong> — Disables GUI forwarding. We&#39;re running a headless server, we have zero use for this.</li></ul><blockquote><em>⚠️ </em><strong><em>Critical step:</em></strong><em> Before closing your current terminal, open a </em><strong><em>new terminal</em></strong><em> and test the new connection: </em><em>ssh -p 2222 deploy@YOUR_SERVER_IP. If something&#39;s misconfigured and you close your existing session first, you&#39;re locked out. If that ever happens, Contabo&#39;s VNC console in the control panel gives you direct terminal access to recover without needing SSH.</em></blockquote><p>One Ubuntu 24-specific thing: the correct restart command is:</p><pre>sudo systemctl daemon-reload<br>sudo systemctl restart ssh.socket</pre><p>Not systemctl restart sshd — Ubuntu 24 uses systemd socket activation, and restarting the old service won&#39;t apply port changes correctly.</p><p>After confirming the new connection works, add a shortcut to ~/.ssh/config on your <strong>local machine</strong> so you&#39;re not typing the full command every time:</p><pre>Host myapp<br>    HostName YOUR_SERVER_IP<br>    User deploy<br>    Port 2222<br>    IdentityFile ~/.ssh/id_ed25519</pre><p>Now instead of typing the full SSH command, you just do ssh myapp. Small thing, saves real time.</p><h3>🔥 Phase 4: Firewall with UFW</h3><p>UFW (Uncomplicated Firewall) lives up to its name. Deny everything by default, allow only what you actually need:</p><pre>sudo apt install ufw -y</pre><pre>sudo ufw default deny incoming<br>sudo ufw default allow outgoing<br>sudo ufw allow 2222/tcp    # SSH on our custom port<br>sudo ufw allow 80/tcp      # HTTP<br>sudo ufw allow 443/tcp     # HTTPS<br>sudo ufw enable</pre><p>Verify it’s running:</p><pre>sudo ufw status</pre><p>The server is now only reachable on three ports. Everything else gets silently dropped.</p><h3>🚫 Phase 5: Fail2Ban</h3><p>Even with key-based auth, it’s worth having something that auto-bans IPs that keep probing the server. Fail2Ban watches your logs and temporarily blocks IPs that fail authentication too many times:</p><pre>sudo apt install fail2ban -y<br>sudo systemctl enable fail2ban<br>sudo systemctl start fail2ban</pre><p>The defaults are sensible — ban after 5 failed attempts within 10 minutes. Works well out of the box.</p><h3>🔄 Phase 6: Automatic Security Updates</h3><p>Security patches come out regularly, and if you’re only SSHing in to deploy code, the OS itself can quietly fall behind. Fix that with unattended-upgrades:</p><pre>sudo apt install unattended-upgrades -y<br>sudo dpkg-reconfigure --priority=low unattended-upgrades</pre><p>Select “Yes” when prompted. The server now applies security updates automatically in the background. You still handle app updates manually — this just keeps the OS layer patched without you having to think about it.</p><h3>💾 Phase 7: Swap Space</h3><p>With 8GB RAM we’re comfortable, but npm run build on a Vite project can spike memory — especially if a build ever happens while the database is under load at the same time. Adding swap costs nothing on a 150GB disk:</p><pre>sudo fallocate -l 2G /swapfile<br>sudo chmod 600 /swapfile<br>sudo mkswap /swapfile<br>sudo swapon /swapfile<br>echo &#39;/swapfile none swap sw 0 0&#39; | sudo tee -a /etc/fstab</pre><p>That last line makes swap persist after reboots. Verify:</p><pre>free -h<br># Swap row should show 2.0G</pre><h3>📦 Phase 8: Install Dependencies</h3><p>For this first deployment phase, I needed:</p><pre>sudo apt install -y \<br>  nginx \<br>  build-essential \<br>  openssl \<br>  certbot python3-certbot-nginx \<br>  curl wget git nano</pre><p>Then Node.js 22:</p><pre>curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -<br>sudo apt install -y nodejs</pre><pre>node --version   # v22.x.x<br>npm --version</pre><p>I left the Python and PostgreSQL packages for later — no point installing things you’re not ready to use yet.</p><h3>🎯 Where We Are</h3><p>After all of this, the server is:</p><ul><li>✅ Updated with all security patches</li><li>✅ Root login disabled</li><li>✅ Key-only SSH, passwords completely off</li><li>✅ Running on a non-default SSH port</li><li>✅ Firewall active — only ports 2222, 80, 443 open</li><li>✅ Fail2Ban watching for probes</li><li>✅ Automatic security updates enabled</li><li>✅ Swap space configured</li><li>✅ Nginx and Node.js installed</li></ul><p>The server hasn’t done anything useful yet — no app, no domain, nothing the world can see. But it’s hardened, and that matters. A server you haven’t secured isn’t a server, it’s a liability waiting to become an incident.</p><p>In <strong>Part 2</strong>, we deploy the React Vite frontend, configure Nginx, point the domain, get our free SSL certificate, and wire up GitHub Actions so every push to main deploys automatically. By the end of Part 2, ke-jani.com is live on HTTPS with zero manual deployment steps.</p><p>See you there. 🚀</p><p><em>Follow me for Parts 2 and 3 — and if you’ve ever set up a VPS and have horror stories, drop them in the comments. I know I’m not the only one who’s stared at a blank terminal and felt the panic creep in.</em></p><p><strong>Meshack 🔐</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f598a95797a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[️ Revolution with Tech: How Civic Innovation Powered Kenya’s June 25 Uprising]]></title>
            <link>https://medium.com/@chirchirmeshack20/%EF%B8%8F-revolution-with-tech-how-civic-innovation-powered-kenyas-june-25-uprising-1fb31be379e4?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fb31be379e4</guid>
            <category><![CDATA[civictech]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Tue, 24 Jun 2025 12:26:09 GMT</pubDate>
            <atom:updated>2025-06-24T12:30:56.629Z</atom:updated>
            <content:encoded><![CDATA[<p>On <strong>June 25, 2024</strong>, Kenya witnessed one of the most powerful youth-led protest movements in years <strong>the storming of Parliament </strong>by a rising generation demanding accountability and justice. But behind the chants and crowds were digital warriors made up of developers, designers, and digital storytellers who armed protesters with tools, data, and bravery. Today, one year later, it’s critical to amplify their ingenuity, creativity, and courage.</p><h3>👨‍💻 1. Real-Time Documentation: From Phone to Forum</h3><p>Amid escalating tension, Kenyan developers secretly built secure c<strong>ivic-education tools</strong> and <strong>panic‑button apps</strong> that users could activate during arrests or violence. These apps:</p><ul><li><strong>Auto‑send live location</strong> and emergency alerts to trusted contacts.</li><li><strong>Record video/audio evidence</strong> instantly — bypassing attempts to seize phones or delete footage .</li></ul><p>Through these systems, every spark of harassment, tear gas, or brutality was <strong>captured and preserved</strong>, amplifying truth in real time.</p><h3>🔥 2. Decentralized Organizing: From Hashtags to Streets</h3><p>Kenyan youth turned digital spaces into organizing hubs:</p><ul><li><strong>#RejectFinanceBill2024</strong> were birthed on TikTok, Instagram, X, and WhatsApp.</li><li>Activists translated the Finance Bill into local languages, used <strong>AI chatbots</strong> — even ChatGPT — to decode legal jargon, and disseminated politicians’ phone numbers so citizens could flood representatives with demands for a better laws reflecting the common <em>mwananchi</em> to be passed.</li><li>Online calls to march on June 18 ignited nationwide mobilization, culminating in the storming of Parliament on June 25 when the Finance Bill was forcibly passed .</li></ul><p>This was a <strong>leaderless &amp; tribeless horizontal movement</strong> powered entirely by connective technology and it worked .</p><h3>🛡️ 3. Safety in Numbers: Civic Mapping &amp; Emergency Networks</h3><p>Using SMS hotlines, crowdsourced maps, and encrypted chats, communities:</p><ul><li><strong>Geotagged hotspots</strong> where police or counter‑protesters were reportedly gathering.</li><li>Coordinated volunteer medics and <strong>blood donation networks</strong> ensuring those injured in clashes received timely care .</li><li>Enabled <strong>peer-to-peer alerts</strong> to avoid dangerous zones and warn of detentions.</li></ul><p>These systems created a digital safety net because brave individuals were watching out for one another.</p><h3>🌟 4. Developers Behind the Scenes: Innovation with Heart</h3><p>Though unnamed, Kenya’s civic tech community deserves praise:</p><ul><li>Their apps sent <strong>panic alerts instantly</strong>, streaming voices and images into public view.</li><li>Their bots translated policy and organized mass communication — on a shoestring budget.</li><li>With creativity, they enabled <strong>crowd-calling for medical aid</strong>, monitoring the rights of protesters, and holding every actor accountable.</li></ul><p>They coded not just to build apps but to build empathy, solidarity, and dignity.</p><h3>🧠 5. Tech That’s More Than Code: Strategy &amp; Soul</h3><p>Their brilliance lay in merging <strong>expertise with empathy</strong>:</p><ul><li><strong>Human-centered</strong>: Tools were created in native languages, designed for low-bandwidth conditions and low-cost devices.</li><li><strong>Secure by design</strong>: Tools focused on encryption, anonymity, and resistance to phone confiscation.</li><li><strong>Offline-accessible</strong>: Some platforms worked via SMS to include all participants of the protest.</li><li><strong>Adaptable &amp; agile</strong>: When counter-protesters appeared or laws shifted, apps and bots evolved fast.</li></ul><p>This wasn’t just technological ingenuity .It was <strong>tactical civic tech</strong>, crafted for real-world struggle.</p><h3>🔭 6. The Road Ahead: Honoring Innovation &amp; Protecting Civic Space</h3><p>As Kenya marks one year since that defining day:</p><ul><li>We honor the <strong>coders, creatives, and civic visionaries</strong> whose hidden contributions saved lives and documented truth.</li><li>We push for <strong>digital infrastructure expansion</strong>, especially in rural counties that remain offline.</li><li>We champion <strong>laws safeguarding protest tech</strong>, protecting digital privacy, encryption, and civic innovation.</li><li>We support <strong>community-led tech</strong> — hackathons, incubators, and peer networks — because <strong>empathy-coded systems</strong> are the future of democracy.</li></ul><h3>🚀 In Conclusion: From Screens to Streets, Code to Change</h3><p>June 25 wasn’t just a protest ,it was a <strong>digital revolution disguised as civil action</strong>. It owed its power to the silent architects who built tools of resistance in basements and co-working spaces across Kenya. Their expertise, creativity, and courage helped transform public rebellion into a nationwide reckoning.</p><p>To those developers who chose <strong>impact over recognition</strong>, <strong>justice over profit</strong>, and <strong>community over spotlight </strong>Kenya sees you. You are the unsung heroes of a digital uprising fueled by compassion and code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fb31be379e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Deployed and Tested Azure Firewall (and Didn’t Break the Internet)]]></title>
            <link>https://medium.com/@chirchirmeshack20/how-i-deployed-and-tested-azure-firewall-and-didnt-break-the-internet-644f48349f6f?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/644f48349f6f</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[az-500]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Fri, 23 May 2025 09:27:28 GMT</pubDate>
            <atom:updated>2025-05-23T09:27:28.424Z</atom:updated>
            <content:encoded><![CDATA[<p>by Meshack Kipchirchir</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdspGoGXhxOjptEM-zxegw.png" /><figcaption>architecture diagram</figcaption></figure><p>If you’ve ever wondered how to lock down your Azure environment like a digital fortress without accidentally cutting off your own access — you’re in the right place. 😅</p><p>As part of the <strong>Microsoft ADC Cybersecurity Skilling Program</strong>, I tackled the <strong>Azure Firewall</strong> lab this week. It was all about setting up rules, routing traffic through a firewall, and verifying that only the good guys (like Bing!) could get out.</p><p>Let’s break it down.</p><h3>🧱 Setting Up the Playground</h3><p>The first step was deploying a virtual network with two subnets:</p><ul><li><strong>Jump-SN</strong>: The jump box subnet for remote access.</li><li><strong>Workload-SN</strong>: Where the actual server workload lives.</li></ul><p>Each subnet got its own VM. So far, so good.</p><p>To speed things up, I used an ARM template to deploy everything neatly into a resource group named AZ500LAB08. A few clicks later and I had two shiny new VMs up and running in the <strong>East US</strong> region.</p><h3>🔥 Deploying the Azure Firewall</h3><p>Next came the real star of the show: <strong>Azure Firewall</strong>.</p><p>I deployed a firewall named Test-FW01 with a public IP called TEST-FW-PIP, hooked it into the same virtual network (Test-FW-VN), and disabled the management NIC—because who needs extra complexity?</p><p>Once deployed, I jotted down the <strong>private IP address</strong> of the firewall. Trust me, this little detail becomes <em>very</em> important when routing traffic.</p><h3>🧭 Routing the Traffic</h3><p>This is where things started getting technical.</p><p>I created a <strong>route table</strong> called Firewall-route and associated it with the Workload-SN subnet. Then I added a route rule:</p><ul><li><strong>Destination:</strong> 0.0.0.0/0</li><li><strong>Next hop:</strong> The firewall’s private IP</li><li><strong>Next hop type:</strong> Virtual appliance</li></ul><p>Boom. All outbound traffic from the workload subnet now goes through the firewall. No exceptions.</p><h3>📜 Writing the Rules (No, Not Like That)</h3><h3>🔗 Application Rule</h3><p>I set up an <strong>application rule collection</strong> named App-Coll01 with just one friendly domain:</p><ul><li>✅ <a href="http://www.bing.com/">www.bing.com</a></li></ul><p>Only Bing gets to go out the door. Everyone else? Denied.</p><h3>🌐 Network Rule</h3><p>Then I added a <strong>network rule</strong> named Net-Coll01 to allow DNS traffic:</p><ul><li>Protocol: UDP</li><li>Destination: 209.244.0.3 and 209.244.0.4</li><li>Port: 53</li></ul><p>This ensures the VMs can resolve domain names — because even Bing needs DNS.</p><h3>🧪 Testing It All</h3><p>This is the fun part.</p><ol><li>I RDP’d into Srv-Jump, the jump VM.</li><li>From there, I remote’d into Srv-Work.</li><li>I disabled Internet Explorer’s Enhanced Security (yes, it’s still a thing 😅).</li><li>Visited <a href="https://www.bing.com/">https://www.bing.com</a> — success! 🎉</li><li>Tried visiting <a href="http://www.microsoft.com/">http://www.microsoft.com</a> — blocked, as expected. 🛑</li></ol><p>Firewall rules were working perfectly. Only Bing was allowed through, and the rest of the internet was given a hard “Nope.”</p><h3>🧹 Clean Up</h3><p>As always, cloud hygiene matters. I deleted everything using a quick PowerShell command:</p><pre>Remove-AzResourceGroup -Name &quot;AZ500LAB08&quot; -Force -AsJob</pre><p>Goodbye, firewall. You served your purpose.</p><h3>🎯 Final Thoughts</h3><p>This lab gave me real-world insight into:</p><ul><li>Designing secure routing paths</li><li>Writing precise firewall rules</li><li>Using Azure-native services to enforce least privilege access</li></ul><p>Azure Firewall is a powerful tool — and now that I’ve configured and tested it hands-on, I feel much more confident integrating it into future cloud architectures.</p><p>If you’re preparing for the <strong>AZ-500 exam</strong> or just want to learn how Azure handles traffic control like a boss, I highly recommend walking through this lab.</p><p>Got questions? Or maybe a firewall horror story? Drop it in the comments. Let’s talk cloud security!</p><p><strong>Follow me</strong> for more cloud labs, tech breakdowns, and tales from the trenches.</p><p>Stay secure,<br> <strong>Meshack 🔐</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=644f48349f6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Lab Chronicles: Locking Down Azure with NSGs and ASGs (a.k.a. Azure’s Bouncers)]]></title>
            <link>https://medium.com/@chirchirmeshack20/lab-chronicles-locking-down-azure-with-nsgs-and-asgs-a-k-a-azures-bouncers-b245b4bade1a?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b245b4bade1a</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[az-500]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Thu, 22 May 2025 09:16:28 GMT</pubDate>
            <atom:updated>2025-05-22T09:16:28.974Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey folks! 👋</p><p>So I recently got my hands dirty with the <strong>AZ-500 Network Security Groups and Application Security Groups</strong> lab as part of the Microsoft ADC Cybersecurity Skilling Program — and let me tell you, NSGs and ASGs are basically the nightclub bouncers of Azure. No ticket (or port rule), no entry. 💃🚫</p><p>Here’s how it all went down.</p><h3>🎯 Lab Goals</h3><ul><li>Set up a virtual network</li><li>Use <strong>Application Security Groups (ASGs)</strong> to group Web and Management servers</li><li>Use <strong>Network Security Groups (NSGs)</strong> to control traffic based on roles</li><li>Test if traffic filtering actually works (spoiler: it did 😎)</li></ul><h3>🛠️ Exercise 1: Build the Virtual Playground</h3><h3>🧱 Task 1: Create the Virtual Network</h3><p>Started off by creating a virtual network (myVirtualNetwork) in the East US region with an address space of 10.0.0.0/16. Subnet? 10.0.0.0/24. Classic. Clean. Ready for action.</p><h3>🧙‍♂️ Task 2: Summon ASGs</h3><p>Created two <strong>Application Security Groups</strong>:</p><ul><li>myAsgWebServers (for web VMs)</li><li>myAsgMgmtServers (for management VMs)</li></ul><p>Think of them as labels that Azure actually listens to.</p><h3>🛡️ Task 3: Deploy the NSG</h3><p>Spun up an NSG named myNsg and bound it to the default subnet. This guy’s job? Be the gatekeeper.</p><h3>🚦 Task 4: Inbound Rules Galore</h3><p>Added two key rules:</p><ul><li>Allow-Web-All: Let TCP traffic in on ports 80/443 to the Web ASG.</li><li>Allow-RDP-All: Open up TCP 3389 (RDP) to the Management ASG.</li></ul><p>Basically, Web VMs can be browsed, Management VMs can be RDP’d into — no mix-ups allowed.</p><h3>🤖 Exercise 2: Bring in the Machines</h3><h3>🧩 Task 1 &amp; 2: Create the VMs</h3><p>Created:</p><ul><li>myVmWeb: Windows Server 2022, no public inbound ports.</li><li>myVMMgmt: Same deal, but it’s the management machine.</li></ul><p>Both were launched without exposing themselves too much — good cloud manners.</p><h3>🔗 Task 3: Attach ASGs to NICs</h3><ul><li>myVmWeb → myAsgWebServers</li><li>myVMMgmt → myAsgMgmtServers</li></ul><p>This is where the magic happens. NSG rules now knew who’s who.</p><h3>🧪 Task 4: Time to Test</h3><p>✅ RDP’d into myVMMgmt without a hitch.</p><p>✅ Installed IIS on myVmWeb using:</p><pre>Install-WindowsFeature -name Web-Server -IncludeManagementTools</pre><p>✅ Visited the web server’s public IP and was greeted by the lovely blue IIS welcome screen. That’s victory, baby.</p><h3>🧹 Cleanup</h3><p>To avoid burning money while I sleep, I nuked the whole resource group from orbit using PowerShell. Because cleanliness is next to Azure-godliness.</p><h3>🤔 Final Thoughts</h3><p>This lab really cemented the idea that <strong>ASGs + NSGs = Azure network control done right</strong>.</p><ul><li>Want to restrict RDP to only certain VMs? ✅</li><li>Want to allow web traffic to just the web tier? ✅</li><li>Want to look smart during your next cloud security meeting? ✅✅</li></ul><p>I walked away from this lab feeling like I could secure a cloud environment with both finesse and firewalls. 🔥🛡️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b245b4bade1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[✅ I Passed the SC-900! Here’s Exactly What I Used to Crush the Microsoft Security Fundamentals Exam]]></title>
            <link>https://medium.com/@chirchirmeshack20/i-passed-the-sc-900-heres-exactly-what-i-used-to-crush-the-microsoft-security-fundamentals-exam-e9a170b04afb?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9a170b04afb</guid>
            <category><![CDATA[sc-900-exam]]></category>
            <category><![CDATA[revision]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Wed, 21 May 2025 19:02:32 GMT</pubDate>
            <atom:updated>2025-05-21T19:02:32.062Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By Meshack Kipchirchir Kimoloi</strong></p><p>Yooo! 🎉</p><p>I just passed the <strong>SC-900: Microsoft Security, Compliance, and Identity Fundamentals</strong> exam with a solid score, and I couldn’t wait to share the resources that helped me <em>actually understand</em> the content — and not just memorize buzzwords.</p><p>Whether you’re prepping for the exam or still wondering if you should take it, this blog has what you need: resources, tips, and a few “wish I knew that earlier” moments.</p><p>Let’s dive in 🏊‍♂️</p><h3>🔍 First Off — What Even Is SC-900?</h3><p>SC-900 is Microsoft’s entry-level certification for security, compliance, and identity. Don’t let the “fundamentals” label fool you — this exam will test how well you understand Azure AD, Zero Trust, Microsoft Defender, Purview, and more.</p><p>If you want to work in <strong>cybersecurity</strong>, <strong>cloud security</strong>, or <strong>compliance management</strong>, this is your foot in the (very secure) door. 🛡️</p><h3>🧠 My Study Game Plan</h3><p>Here’s the <strong>exact stack of resources</strong> I used to prepare, revise, and pass the exam:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aO4nlKL2q63t6cJxhTBfRg.png" /><figcaption>Study Stack</figcaption></figure><h3>🎓 1. Microsoft Learn Learning Paths</h3><p>👉 Start here. Seriously.</p><p>Microsoft has <em>official</em> learning paths that break the exam down into logical units:</p><ul><li><strong>Describe the concepts of security, compliance, and identity</strong></li><li><strong>Describe capabilities of Microsoft Entra, Microsoft Defender, and Purview</strong></li><li><strong>Understand compliance solutions</strong></li></ul><p>These are free, interactive, and cover the <strong>core SC-900 blueprint</strong>.</p><p>🔗 <a href="https://learn.microsoft.com/en-us/certifications/resources/sc-900">Microsoft Learn — SC-900 Learning Paths</a></p><h3>📺 2. Inside Cloud YouTube Channel</h3><p>YouTube can be a rabbit hole… but <strong>Inside Cloud</strong> is gold.</p><p>His videos are:</p><ul><li>Short and straight to the point</li><li>Great for visual learners</li><li>Full of real-world analogies that stick</li></ul><p>I binge-watched the entire SC-900 playlist the weekend before the exam. No regrets.</p><h3>🔥 3. John Savill’s SC-900 Study Cram</h3><p>This is the <strong>final boss of revision videos</strong>.</p><p>🧠 John Savill’s Study Cram is 1 hour of:</p><ul><li>Diagrams</li><li>Live demos</li><li>Concept breakdowns</li></ul><p>Perfect for cramming the night before your test (yes, I did that).<br> 🔗<a href="https://youtu.be/-FJqb60wPSY?si=PuVmvBNF9Ti9s3VS"> [Search “John Savill SC-900 cram” on YouTube — You’ll thank me later.]</a></p><h3>❓ 4. Microsoft Learn Assessment Questions</h3><p>After each learning module, don’t just scroll past the quizzes. These <strong>assessment questions</strong> were <em>eerily similar</em> to some of the exam questions.</p><p>✅ Tip: Take screenshots of questions you get wrong and review them later. It’ll help you identify blind spots.</p><h3>🧩 5. Practice Exam Questions</h3><p>I practiced using questions from trusted providers and free community sets. This helped me get used to:</p><ul><li>The style of Microsoft’s questions (tricky wording alert 🚨)</li><li>Scenario-based thinking</li><li>Eliminating wrong answers by understanding <em>why</em> they’re wrong</li></ul><h3>🧪 My Exam Experience</h3><ul><li>Format: Multiple choice and drag-and-drop questions</li><li>Time: 45 minutes</li><li>Pass mark: 700</li><li>My score: <strong>877/1000</strong> 🎯</li></ul><p>There were <strong>NO trick questions</strong>, but Microsoft loves asking, “Which is the BEST” even when multiple answers <em>seem</em> right. So understanding context is key.</p><h3>🙌 Key Takeaways</h3><ul><li>Don’t memorize — <strong>understand</strong> the WHY behind tools like Microsoft Entra ID, Defender, and Purview.</li><li><strong>Mix your learning</strong>: Videos for understanding, assessments for practice, and cram videos for revision.</li><li>Microsoft Learn isn’t just filler — it’s the <em>source of truth</em>.</li></ul><h3>🎤 Your Turn!</h3><p>If you’re studying for SC-900:</p><ul><li>Drop your questions in the comments — I’ll respond.</li><li>Already passed it? Share your favorite resource!</li><li>Need a cram partner? Let’s connect. 💬</li></ul><p>📣 <strong>Final Words</strong>: SC-900 is more than just a badge — it’s your starting point in cloud security. If I can pass it, <em>you absolutely can too.</em></p><p>Until next time,<br> <strong>Meshack 🔐💻</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9a170b04afb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ From Clicks to CLI: My Azure RBAC Adventure (AZ-500 Lab Recap)]]></title>
            <link>https://medium.com/@chirchirmeshack20/from-clicks-to-cli-my-azure-rbac-adventure-az-500-lab-recap-f6a6f27dd398?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6a6f27dd398</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[rbac]]></category>
            <category><![CDATA[az-500]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Wed, 21 May 2025 11:01:00 GMT</pubDate>
            <atom:updated>2025-05-21T11:01:00.357Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By Meshack Kipchirchir</strong></p><p>If you’re new to Azure’s Role-Based Access Control (RBAC), let me assure you — it’s a bit like setting up the security at a party. You decide who gets in, who’s managing the drinks, and who’s watching the door. Only, instead of guests, you’re wrangling user accounts, groups, and virtual machines. This week, I did just that as part of my AZ-500 training under the Cyber Shujaa — Cloud Security Specialist program.</p><h3>🧭 Lab 1: Clicking My Way to Admin Glory</h3><p>First up, I created a group called Senior Admins51071064 using the Azure Portal and added Joseph Price as both a member and an owner. It felt oddly ceremonial, like knighting a new sysadmin. This was a quick hands-on with UI-based group management—simple, visual, and great for those who enjoy seeing buttons change color.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*Kvovv-9yw4WB55nqXa0Rew.png" /><figcaption><em>📸 Screenshot</em></figcaption></figure><h3>⚡ Lab 2: PowerShell — Where Real Admins Wear Capes</h3><p>Next, I donned my PowerShell cape and created the Junior Admins51071064 group, adding Isabel Garcia to it. With a flurry of New-AzureADUser, Get-AzureADUser, and Add-AzADGroupMember commands, it almost felt like casting spells. PowerShell reminded me that the command line is still king when it comes to scale and speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*7TWr86N8M83QaTzAowqcCg.png" /><figcaption><em>📸 Screenshot</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*xcldeNnmq0GbAReokctJCQ.png" /><figcaption><em>📸 Screenshot</em></figcaption></figure><h3>🔧 Lab 3: Bashin’ It with Azure CLI</h3><p>Then came Azure CLI in Cloud Shell. Switching to Bash felt like teleporting between worlds. I set up the Service Desk51071064 group and added Dylan Williams with some CLI ninja moves (and a bit of jq wizardry). It’s wild how CLI makes you feel like a DevOps samurai slicing through IAM barriers.</p><h3>🎯 Lab 4: Let the Role Assignments Begin!</h3><p>Finally, the pièce de résistance: assigning the Virtual Machine Contributor role to the Service Desk group via the Azure portal. I also verified access for Dylan and Joseph just to make sure my RBAC party guests had the right VIP passes.</p><h3>🧹 Bonus Round: Clean-Up Crew Mode</h3><p>Finished strong with a cleanup via Remove-AzResourceGroup. Because we’re responsible cloud citizens and I don’t want surprise charges popping up like unwanted Windows updates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*EzIrEOHxpkL8cEZhh0gxMQ.png" /><figcaption><em>📸 Screenshot</em></figcaption></figure><h3>🎓 Lessons Learned</h3><p>This wasn’t just about creating users and clicking buttons. It was about mastering <strong>access control across multiple interfaces</strong>: the Portal, PowerShell, and CLI. The experience solidified the importance of role assignments, security scoping, and using the right tool for the right job.</p><p>RBAC isn’t just a technical necessity — it’s the backbone of modern cloud governance. And I’m officially more comfortable managing access in Azure than I am explaining to relatives what I do for a living.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6a6f27dd398" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Week in eDiscovery: A Hands-On Look  at Microsoft Purview]]></title>
            <link>https://medium.com/@chirchirmeshack20/my-week-in-ediscovery-a-hands-on-look-at-microsoft-purview-597020946a19?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/597020946a19</guid>
            <category><![CDATA[ediscovery]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[purview]]></category>
            <category><![CDATA[sc-900]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Sat, 10 May 2025 13:06:49 GMT</pubDate>
            <atom:updated>2025-05-10T13:06:49.259Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Week in eDiscovery: A Hands-On Look🔍 at Microsoft Purview</h3><p>From setting permissions to sniffing out “Sales” emails — my no-fluff guide to Microsoft’s compliance toolkit.</p><p>Ever wondered what it’s like to be part detective, part sysadmin, and a pinch of digital lawyer? That’s exactly what my Week 4 lab on Microsoft Compliance Solutions felt like. We strapped into Microsoft Purview and rolled up our sleeves to explore the marvels of <strong>eDiscovery (Standard)</strong> and Microsoft’s broader compliance ecosystem. Here’s a breakdown of the labs I completed, what I learned, and what stood out.</p><h3>🚦 Lab 1: Explore Microsoft Compliance Solutions</h3><p>This was our intro to the massive Microsoft compliance universe. Think of it like stepping into a security operations center where every dashboard screams, “Don’t let data leak!”</p><p>Key tools we peeked into:</p><ul><li><strong>Microsoft Purview Compliance Manager</strong>: For assessing risk and tracking compliance score.</li><li><strong>Microsoft Priva</strong>: Because privacy isn’t just a buzzword.</li><li><strong>Insider risk management</strong>: Catch those digital bad apples before they cause trouble.</li></ul><p>Takeaway: Microsoft isn’t playing when it comes to data governance.</p><h3>📊 Lab 2: Explore Microsoft Information Protection</h3><p>Here we focused on <strong>data classification</strong> and <strong>sensitivity labels</strong>.</p><p>I got to:</p><ul><li>Apply built-in labels to documents.</li><li>Simulate what would happen if an employee tried to send sensitive info via email (hint: not good).</li></ul><blockquote><em>Real-world relevance? Sky high. Every org needs this to stop accidental (or intentional) leaks.</em></blockquote><h3>🔐 Lab 3: Explore Data Loss Prevention (DLP)</h3><p>This one was spicy. We created DLP policies to block data exfiltration.</p><p>Stuff I did:</p><ul><li>Configured DLP for Exchange Online.</li><li>Simulated sensitive info leaving the company.</li></ul><p>The cool part? Microsoft lets you <strong>warn</strong>, <strong>block</strong>, or just <strong>audit</strong>. You can dial the sensitivity like a volume knob depending on your risk tolerance.</p><h3>🔍 Lab 4: Explore eDiscovery</h3><p>Now the main act: <strong>eDiscovery (Standard)</strong>. This lab was deep and practical.</p><h3>✅ Task 1: Role Setup</h3><p>I granted <strong>MOD Administrator</strong> the eDiscovery Manager and Admin roles. Can’t do much without the right roles.</p><h3>📂 Task 2: Create a Case</h3><p>Made a case named <strong>SC900 Test Case</strong>. This is your container for all future eDiscovery work.</p><h3>🔒 Task 3: Add a Hold</h3><p>Put Adele Vance’s Exchange mailbox on a legal hold. Locked it down completely to prevent deletion.</p><h3>🔍 Task 4: Search</h3><p>Created a keyword search for “Sales” content across held data. Got to review the stats, conditions, and search locations.</p><p>This lab alone taught me how Microsoft helps legal teams quickly find what matters in a sea of email and files.</p><h3>🎉 Final Thoughts</h3><p>Microsoft Compliance Solutions aren’t just for enterprise giants. Even mid-sized orgs need visibility, protection, and control over their data. These labs were a crash course in:</p><ul><li>Managing privacy.</li><li>Protecting information.</li><li>Preventing leaks.</li><li>Investigating incidents (before they become court cases).</li></ul><p>If you’re diving into compliance or working toward SC900, these labs are gold. And if you’re still manually trawling through shared drives looking for that one rogue spreadsheet… it’s time to level up.</p><p>Drop a comment below and share your biggest takeaway or a challenge you’ve faced in the realm of digital compliance! Let’s learn from each other.</p><p>Until next time, keep your data tight and your policies tighter. ✨</p><p><strong>#MicrosoftCompliance #SC900 #Cybersecurity #CloudSecurity #MicrosoftADC #Azure #Purview #Priva #HandsOnLearning #InfoSec #TechJourney #CyberShujaa</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=597020946a19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Leveling Up My Cyber Skills: Hands-On with Microsoft Security (SC-900 Labs, Week 3)]]></title>
            <link>https://medium.com/@chirchirmeshack20/leveling-up-my-cyber-skills-hands-on-with-microsoft-security-sc-900-labs-week-3-517845214594?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/517845214594</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[hands-on-learning]]></category>
            <category><![CDATA[defender-for-cloud]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[sentinel]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Thu, 24 Apr 2025 20:58:55 GMT</pubDate>
            <atom:updated>2025-05-10T12:42:16.066Z</atom:updated>
            <content:encoded><![CDATA[<h3>Leveling Up My Cyber Skills: Hands-On with Microsoft Security (SC-900 Labs)</h3><p><em>By Meshack Kipchirchir Kimoloi</em><br> <em>Cyber Shujaa Fellow | Cloud Security Specialist | Microsoft Security Enthusiast</em></p><p>Welcome to my journey through the <strong>Microsoft ADC Cybersecurity Skilling Program</strong>, where I’m diving deep into the <strong>SC-900: Microsoft Security, Compliance, and Identity Fundamentals</strong> course. This week was a game-changer — moving beyond theory to <em>hands-on labs</em> that brought Microsoft’s cloud security tools to life. There’s nothing like configuring real-world solutions to make concepts stick, and I’m excited to share my experience, insights, and a few “aha!” moments from six immersive labs.</p><p>These labs simulated enterprise-grade environments, giving me a front-row seat to Microsoft’s security ecosystem. From setting up a Microsoft 365 tenant to wielding the power of Microsoft Sentinel, here’s how I leveled up my cyber skills — and why it matters for anyone eyeing a career in cybersecurity.</p><h3>🧭 The Labs: A Week of Security Exploration</h3><p>I tackled six labs, each focusing on a cornerstone of Microsoft’s cloud-based security solutions:</p><ol><li><strong>Microsoft 365 Tenant Setup</strong></li><li><strong>Azure Network Security Groups (NSGs)</strong></li><li><strong>Microsoft Defender for Cloud</strong></li><li><strong>Microsoft Sentinel</strong></li><li><strong>Microsoft Defender for Cloud Apps</strong></li><li><strong>Microsoft Defender Portal</strong></li></ol><p>Each lab was a mini-adventure, blending practical configuration with real-world context. Let’s break them down!</p><h3>🛠️ Lab Breakdown: What I Did and What I Learned</h3><h3>Lab 1: Microsoft 365 Tenant Setup — Laying the Foundation</h3><p><em>What I Did:</em><br> I kicked things off by enabling auditing and file monitoring in Microsoft 365. Using the <strong>Microsoft 365 Admin Center</strong>, I turned on audit logs to track user actions. Then, I enabled file tracking via Information Protection, ensuring compliance and visibility into sensitive data.</p><p><em>Why It Matters:</em><br> Logging isn’t just a compliance checkbox — it’s your first line of defense for forensic analysis. Imagine catching a breach early because you had the right logs in place!</p><p><em>💡 Key Takeaway:</em> Proper logging sets the stage for proactive threat detection and compliance.</p><h3>Lab 2: Azure NSGs — Building Digital Guardrails</h3><p><em>What I Did:</em><br> I created an <strong>Azure Network Security Group (NSG)</strong> and applied it to a virtual machine’s network interface. Then, I configured custom rules to allow <strong>Remote Desktop Protocol (RDP)</strong> access while blocking outbound internet traffic. Testing these rules and seeing them enforce access control was incredibly satisfying.</p><p><em>Why It Matters:</em><br> NSGs are like digital bouncers, controlling traffic to and from your cloud resources. They’re a critical layer in enforcing <strong>least-privilege access</strong> in Azure.</p><p><em>💡 Key Takeaway:</em> NSGs combine network control with security, making them a must-know for cloud defenders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OOoN-jFHipgc3TVruRo5RA.png" /></figure><h3>Lab 3: Microsoft Defender for Cloud — Your Security Advisor</h3><p><em>What I Did:</em><br> I explored <strong>Microsoft Defender for Cloud</strong>, diving into its <strong>Secure Score</strong> dashboard, regulatory compliance views, and workload protection insights. I also activated advanced features like <strong>Defender for Servers</strong>, which provided tailored recommendations to harden my environment.</p><p><em>Why It Matters:</em><br> Defender for Cloud is like having a security consultant embedded in your Azure environment. The Secure Score gives you a real-time pulse on your security posture, while actionable insights help you prioritize fixes.</p><p><em>💡 Key Takeaway:</em> Visibility + proactive guidance = a stronger security posture.</p><h3>Lab 4: Microsoft Sentinel — Your Cloud-Native SOC</h3><p><em>What I Did:</em><br> I set up a <strong>Microsoft Sentinel</strong> instance, connected data sources (like Defender for Cloud), and explored its powerhouse features: <strong>MITRE ATT&amp;CK</strong> framework integration, analytics rules for threat detection, incident management, and automation playbooks. It felt like stepping into a security operations center (SOC)!</p><p><em>Why It Matters:</em><br> Sentinel isn’t just a SIEM — it’s a cloud-native SOC in a box, combining threat detection, investigation, and automated response. It’s a game-changer for modern security teams.</p><p><em>💡 Key Takeaway:</em> Sentinel turns raw data into actionable intelligence, streamlining incident response..</p><h3>Lab 5: Microsoft Defender for Cloud Apps — Taming Shadow IT</h3><p><em>What I Did:</em><br> I dove into <strong>Microsoft Defender for Cloud Apps</strong>, exploring the <strong>Cloud Discovery</strong> dashboard to uncover unsanctioned apps. I configured connectors for <strong>Office 365</strong> and <strong>Azure</strong>, browsed the Cloud App Catalog, and set policies to monitor risky user behaviors.</p><p><em>Why It Matters:</em><br> Shadow IT — unsanctioned apps used without IT’s knowledge — is a hidden risk. Defender for Cloud Apps brings visibility and control to the SaaS landscape, helping secure your cloud apps.</p><p><em>💡 Key Takeaway:</em> You can’t protect what you can’t see — Cloud Apps makes Shadow IT manageable.</p><h3>Lab 6: Microsoft Defender Portal — Unified Security Command</h3><p><em>What I Did:</em><br> I navigated the <strong>Microsoft Defender Portal</strong>, a centralized hub for managing security across <strong>Defender for Endpoint</strong>, <strong>Defender for Office 365</strong>, and <strong>Identity Protection</strong>. I reviewed threat summaries, revisited Secure Score, and explored alert management.</p><p><em>Why It Matters:</em><br> The Defender Portal simplifies security operations by bringing everything into one view, making it easier to respond to threats and align defenses.</p><p><em>💡 Key Takeaway:</em> A unified dashboard saves time and improves response accuracy.</p><h3>💡 Big-Picture Lessons Learned</h3><p>After a week of clicking, configuring, and exploring, here’s what stood out:</p><ul><li><strong>Secure Score is your security pulse.</strong> It’s a real-time metric that guides you to prioritize fixes and strengthen your environment.</li><li><strong>Automation in Sentinel is a lifesaver.</strong> Analytics rules and playbooks turn chaos into streamlined incident response.</li><li><strong>NSGs are more than network tools.</strong> They’re a security filter enforcing Zero Trust principles.</li><li><strong>Shadow IT isn’t invisible.</strong> With Defender for Cloud Apps, you can see and control it.</li><li><strong>Integration is Microsoft’s superpower.</strong> These tools work together seamlessly, from M365 logs feeding Sentinel to Defender for Cloud enhancing Secure Score.</li></ul><h3>🎓 Why This Matters for Cybersecurity Pros</h3><p>The SC-900 labs aren’t just about passing a certification — they’re about building skills that matter in <strong>cloud-first</strong> and <strong>hybrid environments</strong>. Microsoft’s security tools are industry-standard, powering enterprises worldwide. By mastering them, you’re equipping yourself to enforce <strong>Zero Trust</strong>, ensure <strong>compliance</strong>, and build <strong>proactive defenses</strong>.</p><p>Whether you’re a beginner or a seasoned pro, hands-on experience bridges the gap between theory and practice. These labs gave me confidence to navigate Microsoft’s ecosystem and tackle real-world security challenges.</p><h3>🔗 Ready to Dive In?</h3><p>I completed these labs ,part of Microsoft’s official SC-900 training curriculum. If you’re prepping for the SC-900 exam or want to boost your Microsoft security skills, I highly recommend getting hands-on with these tools. Trust me — clicking those buttons makes all the difference!</p><p><em>Pro Tip:</em> Check out Microsoft’s training resources at <a href="https://learn.microsoft.com/">learn.microsoft.com</a> or explore the ADC Cybersecurity Skilling Program for structured learning paths.</p><h3>🚀 What’s Next?</h3><p>Week 3 was a blast, but I’m just getting started! I’m excited to keep building on this foundation in the <strong>Microsoft ADC Program</strong> and share more insights from my cybersecurity journey. Got a favorite Microsoft security tool or learning tip? Drop it in the comments — I’d love to hear from you!</p><p><strong>#MicrosoftSecurity #SC900 #Cybersecurity #CloudSecurity #MicrosoftADC #Azure #Sentinel #Defender #HandsOnLearning #InfoSec #TechJourney #CyberShujaa</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=517845214594" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[‍ From Zero to Entra Hero: Dive Into Microsoft Identity Labs ]]></title>
            <link>https://medium.com/@chirchirmeshack20/from-zero-to-entra-hero-dive-into-microsoft-identity-labs-f5dbcb0f39a7?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5dbcb0f39a7</guid>
            <category><![CDATA[sc-900]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[entra-id]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Thu, 24 Apr 2025 20:33:09 GMT</pubDate>
            <atom:updated>2025-04-24T20:33:09.634Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>TL;DR:<em> I wrangled users, reset passwords, blocked myself from portals (intentionally), and flirted with elevated privileges — all in the name of learning Microsoft Entra ID during the SC-900 course. Here’s the behind-the-scenes scoop, what worked, what didn’t, and how I survived (with screenshots to prove it).</em></blockquote><h3>🧪 Lab 1: Exploring Microsoft Entra ID User Settings (aka making imaginary friends)</h3><p>This was where it all began. I created a lovely user named <strong>Sara Perez</strong> — she’s a digital native now. I set her usage location (Kenya), threw her into the <strong>Operations</strong> group, and handed her licenses for Power Apps and Power Automate (because we empower women in tech, even fictional ones).</p><p>Honestly, it felt like onboarding a new hire, minus the awkward small talk.</p><p><strong>🔧 Key Tasks:</strong></p><ul><li>Created a new user via Microsoft 365 and Entra admin centers</li><li>Assigned licenses and group memberships</li><li>Logged in as Sara to confirm she existed and didn’t rage-quit immediately</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-YuXPKyxsaEuX4mAa4zDAw.png" /><figcaption>📸 <em>Screenshot of Sara Perez profile setup</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*SxQCRZVOp5zO9NoD.gif" /><figcaption>Creating new users like…</figcaption></figure><h3>🔐 Lab 2: Enabling Self-Service Password Reset (SSPR) — Because Forgotten Passwords Are Inevitable</h3><p>Next up was configuring <strong>SSPR</strong> — Microsoft’s gentle way of saying “you’ve got this, user (but also prove it with MFA).” I added Sara to the SSPRSecurityGroupUsers group and then re-lived the password reset struggle from her perspective.</p><p>She set up MFA using the Authenticator app, got her methods verified, and then — I simulated a classic “oops I forgot my password” scenario. Spoiler: she remembered it the second time.</p><p><strong>🔧 Key Tasks:</strong></p><ul><li>Configured SSPR for a selected group</li><li>Registered recovery methods via Authenticator App</li><li>Simulated a password reset</li><li>Audited the logs like a security gremlins</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*Dug9fetRGQCqTIb_.gif" /><figcaption>Access Denied</figcaption></figure><h3>🛑 Lab 3: Conditional Access — Locking Yourself Out With Style</h3><p>In a moment of pure security engineer mischief, I created a Conditional Access policy named <strong>“Block admin portals”</strong> and aimed it squarely at our friend <strong>Debra Berger</strong>.</p><p>She could still access the Microsoft 365 portal… but Azure? Nope. Denied. 👋</p><p><strong>🔧 Key Tasks:</strong></p><ul><li>Reset Debra’s password for access simulation</li><li>Created Conditional Access targeting “Microsoft Admin Portals”</li><li>Blocked access while letting her use 365</li><li>Tested both portals to confirm it worked (it did, too well)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jfe_5IqwDxsSVA8wPK6pFA.png" /><figcaption>📸 <em>Screenshot of blocked access page (Azure Portal)</em></figcaption></figure><h3>👑 Lab 4: Privileged Identity Management (PIM) — Rise of Diego the Admin</h3><p>This lab made me feel like an undercover boss. I gave <strong>Diego Siciliani</strong> an <em>eligible</em> “User Administrator” role with a 2-hour limit. He had to activate it through PIM with proper justification and MFA (because we’re not just handing out keys to the kingdom).</p><p>Once he activated the role, he used his shiny new powers to add <strong>Bianca Pisani</strong> to the Mark 8 Project Team. Just-in-time access never looked this slick.</p><p><strong>🔧 Key Tasks:</strong></p><ul><li>Assigned role via PIM with time-bound eligibility</li><li>Activated role using MFA and reasoning</li><li>Completed a privileged task (group management)</li></ul><h3>🌟 Best Practices I Picked Up (The Hard Way)</h3><blockquote><em>💡 </em><strong><em>Pro Tip:</em></strong><em> These could save your future self a headache (or three).</em></blockquote><ol><li>✅ Assign a usage location <em>before</em> assigning licenses. Otherwise? 💥 Errors.</li><li>🧼 Configure SSPR using group targeting — it’s cleaner and more scalable.</li><li>🔐 Conditional Access is <strong>powerful</strong>. Always test with non-critical users first (sorry Debra).</li><li>⏳ Use PIM for all things admin. It’s like role-based caffeine — temporary but essential.</li><li>📝 Screenshot and document every login and role test. Trust me, debugging is easier when you’re not guessing.</li></ol><h3>💬 Final Thoughts</h3><p>These labs weren’t just checkbox exercises. Each one gave me hands-on insight into how <strong>Microsoft Entra ID</strong> handles security, identity, and governance in a real-world-ish environment.</p><p>Whether it was pretending to be Sara, locking out Debra, or empowering Diego, I saw how Microsoft’s identity ecosystem enforces the <strong>Zero Trust model</strong> — not with theory, but with buttons, policies, and just enough chaos to keep it interesting.</p><p>Identity is the front door to the cloud. I just made sure mine has a smart lock, motion sensors, and a slightly paranoid security system.</p><h3>🔗 Let’s Connect</h3><p>Wanna geek out over Conditional Access? Have a hot take on SSPR? I’m here for it:</p><ul><li>💼 <a href="https://www.linkedin.com/in/meshack-kipchirchir-5201252a9/">LinkedIn</a></li></ul><p>🌀 <em>Stay curious. Stay cloud-secure.</em> ☁️💥</p><p>#CloudSecurity, #MicrosoftEntra, #SC900, #IAM, #CyberShujaa #MicrosoftADC #Azure</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5dbcb0f39a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Security SOS: Lock Down IAM Before It’s Too Late!]]></title>
            <link>https://medium.com/@chirchirmeshack20/aws-security-sos-lock-down-iam-before-its-too-late-3525306022e6?source=rss-9f38f88417d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3525306022e6</guid>
            <category><![CDATA[aws-iam]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[ChirchirMeshack]]></dc:creator>
            <pubDate>Sat, 12 Apr 2025 10:24:45 GMT</pubDate>
            <atom:updated>2025-04-12T10:24:45.169Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s not sugarcoat it — your AWS root account is basically the nuclear codes And Identity and Access Management (IAM)? That’s your last line of defense against chaos, crypto miners, and those suspicious surprise bills from someone spinning up 47 EC2 instances in us-east-1.</p><p>I recently dove headfirst into IAM. Think of it as playing security architect, cloud cop, and paranoid over-prepper — all in one. Here’s what I learned, what I did, and why you should absolutely stop using the root account like it’s your daily driver.</p><h3>🚨 Step 1: Activate MFA on Your Root Account (Yes, Right Now)</h3><p>The AWS root user is powerful. Like, <em>delete-everything-with-one-click</em> powerful. Leaving it protected with just a password? That’s not brave. That’s a horror movie waiting to happen.</p><p>Here’s how I (finally) locked it down:</p><ol><li><strong>Logged in as Root</strong> — The AWS Management Console was waiting. I answered the call.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4LXbt62mFPiqqji0fS39Zw.png" /><figcaption>📸 <em>[Screenshot: AWS login page]</em></figcaption></figure><p><strong>2. Security Credentials &gt; MFA</strong> — The magical place where we add that sweet second layer of protection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQQpMJmZwPmwuNysy41QWg.jpeg" /><figcaption>📸 <em>[Screenshot: Security credentials tab with MFA section]</em></figcaption></figure><p><strong>3. Picked Virtual MFA</strong> — Because who has hardware tokens lying around? Google Authenticator or Authy works just fine.<br> 📸 <em>[Screenshot: MFA device selection screen]</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQQpMJmZwPmwuNysy41QWg.jpeg" /></figure><p><strong>4. Scanned That QR Code Like a Pro</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6jsAQWYpN-Z2zW6PDngY-Q.jpeg" /><figcaption>📸 <em>[Screenshot: MFA QR code screen]</em></figcaption></figure><p><strong>5. Entered Two Consecutive Codes</strong> — Boom. Synced.</p><p><strong>6. Victory</strong> — My root account is now behind MFA. Sleep comes easier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*khBQLAdrFm4UhcBRBpMfXw.jpeg" /><figcaption>📸 <em>[Screenshot: “MFA device successfully assigned” confirmation]</em></figcaption></figure><h3>🙅‍♂️ Step 2: Create IAM Users (and STOP Using Root)</h3><p>Using your root user for daily tasks is like using a chainsaw to butter toast. Not smart. So I created dedicated IAM users with the <em>exact</em> permissions needed — and nothing more.</p><p><strong>Here’s how I did it:</strong></p><ol><li><strong>IAM Dashboard &gt; Users</strong> — The real place to manage your team.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6eUfgNbvDcSJRcKnM6hXuw.jpeg" /><figcaption>📸 <em>[Screenshot: IAM dashboard with ‘Users’ selected]</em></figcaption></figure><p><strong>2. Create User</strong> — Gave each user console access, with auto-generated passwords and a friendly nudge to change them at first login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nU7v3T5_ckVh-X9NCv2O5A.jpeg" /><figcaption>📸 <em>[Screenshot: Create user screen]</em></figcaption></figure><p><strong>3. Permissions via Groups</strong> — Created groups like Admins, DevOps, ReadOnly, and attached policies to the group. Users go into groups = clean &amp; scalable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JR0opY7VOz_i7aZ-ES9COA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N-QhxzfDR1Kb5in_wWhytA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9aQVX3vJP8Y8qIYZ3Ro8uQ.jpeg" /><figcaption>📸 <em>[Screenshot: Group creation and policy attachment]</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EncwKhb5H4ySzMIn8qnV0A.jpeg" /><figcaption>📸 <em>[Screenshot: Group creation and policy attachment]</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ujJiRb1T6i8oQn3UjUYeA.jpeg" /><figcaption>📸 <em>[Screenshot: Group creation and policy attachment]</em></figcaption></figure><p><strong>4. Reviewed &amp; Created</strong> — Triple-checked everything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nU7v3T5_ckVh-X9NCv2O5A.jpeg" /><figcaption>📸 <em>[Screenshot: Review screen]</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E-ic-r96ed3rRYFAJ2_F_A.jpeg" /><figcaption>📸 <em>[Screenshot: Create screen]</em></figcaption></figure><p><strong>5. Downloaded Credentials CSV</strong> — Stored safely. Do NOT lose this. AWS doesn’t send it twice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbUzdRAwhnphV3ozRcxuUA.jpeg" /></figure><h3>⚙️ Real-World Example: IAM Roles + Least Privilege for EC2</h3><p>Let’s say your EC2 instance needs to:</p><ul><li>Read configs from my-app-configs S3 bucket.</li><li>Push performance metrics to CloudWatch.</li></ul><p><strong>The old way:</strong> Generate access keys and embed them in the app code.<br> <strong>The new way (aka “the right way”):</strong> Create a role with exactly what’s needed.</p><h3>Step-by-Step:</h3><ol><li><strong>Custom IAM Policy:</strong></li></ol><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Sid&quot;: &quot;AllowS3ReadAccess&quot;,<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Action&quot;: [&quot;s3:GetObject&quot;, &quot;s3:ListBucket&quot;],<br>      &quot;Resource&quot;: [<br>        &quot;arn:aws:s3:::my-app-configs&quot;,<br>        &quot;arn:aws:s3:::my-app-configs/*&quot;<br>      ]<br>    },<br>    {<br>      &quot;Sid&quot;: &quot;AllowCloudWatchMetrics&quot;,<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Action&quot;: &quot;cloudwatch:PutMetricData&quot;,<br>      &quot;Resource&quot;: &quot;*&quot;<br>    }<br>  ]<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7KkOvbre1VDSQz0ISQmU9Q.png" /></figure><ol><li><strong>Create Role for EC2</strong></li></ol><ul><li>Trusted entity: EC2</li><li>Attach the custom policy above</li></ul><figure><img alt="📸 [Screenshot: Role creation wizard with EC2 selected]" src="https://cdn-images-1.medium.com/max/1024/1*LH7UpekBy6rPXQgsS-qdiA.png" /><figcaption>📸 <em>[Screenshot: Role creation wizard with EC2 selected]</em></figcaption></figure><ol><li><strong>Assign Role to EC2 Instance</strong></li></ol><ul><li>You can do this during launch or modify an existing instance.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D4c_S0-uL5fbgIdnUYTOjQ.png" /><figcaption>📸 <em>[Screenshot: IAM role assignment on EC2]</em></figcaption></figure><p>Boom. The EC2 instance gets temporary creds, with <em>only</em> the permissions it needs. No hardcoded keys. No stress.</p><h3>🧠 IAM Best Practices I Swear By</h3><p>Burn these into your brain (and your runbooks):</p><ol><li>🔐 <strong>Lock down your root account</strong> with MFA. Use it sparingly.</li><li>🧱 <strong>Least privilege</strong>: Give users/services only what they need. Nothing more.</li><li>👥 <strong>Use groups for people</strong>, <strong>roles for services</strong>.</li><li>🔁 <strong>Rotate access keys regularly</strong> (or better yet, stop using them).</li><li>🧪 <strong>Monitor activity</strong> via CloudTrail.</li><li>🗑️ <strong>Remove unused users/keys</strong> faster than you remove your ex’s number.</li><li>🔐 <strong>Enforce MFA and strong password policies</strong>.</li></ol><h3>Final Thoughts: From Chaos to Clarity</h3><p>IAM isn’t glamorous. It’s not going to win design awards. But it <em>is</em> foundational to everything you do in the cloud. Get it wrong, and you’re in for a world of pain. Get it right, and your AWS environment becomes a secure, well-oiled machine.</p><p>Take it from someone who’s wrestled with policies at 2 a.m. <a href="https://medium.com/u/39ae9f2eadc5">Evan Selunani</a> and I, wondering why our EC2 couldn’t access an S3 bucket (spoiler: it was the policy syntax). IAM teaches patience, precision, and paranoia in equal parts.</p><p>But once you get it? Oh, it feels powerful.</p><p>So go. Lock down your cloud. Set up those MFA devices. Embrace the IAM life.</p><p>Your future self (and your AWS bill) will thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3525306022e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>