<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BLZR</title><link>https://blzr.sbs/</link><description>Recent content on BLZR</description><generator>Hugo</generator><language>en</language><copyright>This work is licensed under Attribution-NonCommercial-ShareAlike 4.0 International [CC BY-NC-SA 4.0]</copyright><lastBuildDate>Sat, 20 Apr 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://blzr.sbs/index.xml" rel="self" type="application/rss+xml"/><item><title>Kubernetes Quick Guide</title><link>https://blzr.sbs/posts/kubernetes-quick-guide/</link><pubDate>Mon, 20 Jan 2025 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/kubernetes-quick-guide/</guid><description>&lt;h2 id="kubernetes-architecture">Kubernetes Architecture&lt;/h2>
&lt;ol>
&lt;li>Master
&lt;ul>
&lt;li>&lt;code>Api Server&lt;/code>: Gateway to the cluster. Also acts as a gatekeeper for authentication (to make sure that only authorized requests get through the cluster)&lt;/li>
&lt;li>&lt;code>Cloud Controller Manager&lt;/code>: Connects on-premise cluster to cloud&lt;/li>
&lt;li>&lt;code>Controller Manager&lt;/code>: detects cluster state changes &amp;amp; recovers cluster state ASAP.&lt;/li>
&lt;li>&lt;code>Scheduler&lt;/code>: Selects appropriate node to create the pod. Note here that Scheduler just decides on which node to schedule. It is &lt;strong>kubelet&lt;/strong> that starts the pod.&lt;/li>
&lt;li>&lt;code>ETCD&lt;/code>: Cluster Database (the cluster state that Controller manager checks &amp;amp; resources that Scheduler decides based on them are all stored in etcd)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Worker
&lt;ul>
&lt;li>&lt;code>kubelet&lt;/code>: used to deploy and start an object (like pod) on local nodes.&lt;/li>
&lt;li>&lt;code>kube-proxy&lt;/code>: forwards requests from services to pods.
&lt;strong>request&lt;/strong> → &lt;strong>service&lt;/strong> → &lt;strong>kube-proxy&lt;/strong> → &lt;strong>pod&lt;/strong>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ol>
&lt;h3 id="terminology">Terminology&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Node&lt;/strong> : Hosts that run Kubernetes applications&lt;/li>
&lt;li>&lt;strong>Containers&lt;/strong> : Units of packaging&lt;/li>
&lt;li>&lt;strong>Pods&lt;/strong> : Containers are not managed individually; instead, they are part of a larger object called a Pod. A Pod consists of one or more containers which share an IP address, access to storage and namespace.&lt;/li>
&lt;li>&lt;strong>Namespace&lt;/strong> : Kubernetes uses namespaces to keep objects distinct from each other, for resource control and multitenant considerations.&lt;/li>
&lt;li>&lt;strong>Service&lt;/strong> : Collection of pods exposed as an endpoint&lt;/li>
&lt;li>&lt;strong>Deployment&lt;/strong> : a deployment file can define the number of copies (or replicas, as they’re known in Kubernetes) of a given pod. Or a deployment can upgrade an existing pod to a new application version by updating the base container image.&lt;/li>
&lt;li>&lt;strong>CRI&lt;/strong> (Container Runtime Interface): CRI is an interface that k8s uses to talk to different container runtimes (docker, containerd, cri-o, &amp;hellip;). CRI is a set of tools that define what container runtime must implement &amp;amp; how it should be implemented to be pluggable to kubernetes as a container runtime.&lt;/li>
&lt;/ul>
&lt;pre tabindex="0">&lt;code>Kubelet --&amp;gt; CRI --&amp;gt; Container Runtime
&lt;/code>&lt;/pre>&lt;p>Docker did not implement CRI rules. K8s added dockershim layer to support docker:&lt;/p></description></item><item><title>Windows Event Log Analysis</title><link>https://blzr.sbs/posts/windows-event-log-analysis/</link><pubDate>Sat, 15 Jun 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/windows-event-log-analysis/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Microsoft has gradually increased the efficiency and effectiveness of its auditing facilities over the years.&lt;/p>
&lt;p>Modern Windows systems can log vast amounts of information with minimal system impact. With the corresponding decrease in the price of storage media, excuses to not enable and retain these critical pieces of evidence simply don’t stand up to scrutiny. Configuring adequate logging on Windows systems, and ideally aggregating those logs into a SIEM or other log aggregator, is a critical step toward ensuring that your environment is able to support an effective incident response.&lt;/p></description></item><item><title>Azure DevOps Security CheckList</title><link>https://blzr.sbs/posts/azure-dev-ops-security-check-list/</link><pubDate>Fri, 10 May 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/azure-dev-ops-security-check-list/</guid><description>&lt;p>This Azure DevOps Security Guide, provides acomprehensive framework for ensuring a secure and compliant Azure DevOps environment.&lt;/p>
&lt;p>The guide covers various aspects of security, including access control, network security,code security, and continuous monitoring.&lt;/p>
&lt;p>Key points addressed in this guide include:&lt;/p>
&lt;ul>
&lt;li>Managing users and groups using Role-Based Access Control (RBAC) to define and enforce granular permissions.&lt;/li>
&lt;li>Applying the principle of least privilege for granting permissions to minimize potential risks.&lt;/li>
&lt;li>Regularly reviewing user accounts and disabling unnecessary accounts to reduce the attack surface.&lt;/li>
&lt;li>Implementing strong authentication with Multi-Factor Authentication (MFA) to protect against unauthorized access.&lt;/li>
&lt;li>Integrating centralized identity management using Single Sign-On (SSO) and Azure Active Directory.&lt;/li>
&lt;li>Reducing authentication risks using risk-based policies and Azure AD Identity Protection integration.&lt;/li>
&lt;li>Restricting access with IP-based network security groups and private networks.&lt;/li>
&lt;li>Establishing secure communication with on-premises systems using VPN or ExpressRoute.&lt;/li>
&lt;li>Protecting and routing network traffic with Azure DDoS Protection and Azure Firewall.&lt;/li>
&lt;li>Applying code review processes and utilizing static and dynamic code analysis toolsfor vulnerability detection.&lt;/li>
&lt;li>Establishing secure coding standards and ensuring dependency security.&lt;/li>
&lt;li>Incorporating security controls and automated tests in Build and Release pipelines.&lt;/li>
&lt;li>Securing agents with trusted agent pools and implementing Git branch policies and pull request reviews for code security.&lt;/li>
&lt;li>Storing credentials, certificates, and access keys securely in Azure Key Vault and configuring access for Azure DevOps pipelines.&lt;/li>
&lt;li>Monitoring changes using Azure DevOps audit logs for security, compliance, and operational awareness.&lt;/li>
&lt;li>Continuously tracking and improving security posture with Azure Policy and Azure Security Center.&lt;/li>
&lt;li>Conducting internal and external security audits and penetration tests for evaluationand continuous improvement.&lt;/li>
&lt;li>Regularly review and update the security configurations of your Azure DevOps services, resources, and tools.&lt;/li>
&lt;li>Implement secure baselines for your Azure resources and enforce them consistently across your environment.&lt;/li>
&lt;li>Use Azure Policy to define and enforce security configurations across your Azure resources.&lt;/li>
&lt;li>Continuously monitor configuration changes and assess their impact on your security posture.&lt;/li>
&lt;li>Implement a robust backup and recovery strategy for your critical data, including source code, artifacts, and configuration data.&lt;/li>
&lt;li>Use Azure Backup and Azure Site Recovery to protect your data and applications.&lt;/li>
&lt;li>Regularly test your data recovery processes to ensure they are effective and up to date.&lt;/li>
&lt;li>Establish a disaster recovery plan to minimize downtime and data loss in case of a security breach or system failure.&lt;/li>
&lt;li>Maintain an up-to-date inventory of all Azure DevOps resources, including repositories, pipelines, environments, and tools.&lt;/li>
&lt;li>Use Azure Resource Manager (ARM) templates to manage your Azure resources in a consistent and automated manner.&lt;/li>
&lt;li>Implement tagging strategies to categorize your Azure resources based on project, team, or other relevant attributes.&lt;/li>
&lt;li>Continuously monitor your inventory and resources for any unauthorized changes or access.&lt;/li>
&lt;/ul>
&lt;p>This summary highlights the main topics covered in the guide, providing a holistic approachto Azure DevOps security, aimed at fostering a culture of continuous improvement and collaboration between developers, security teams, and other stakeholders. Implementing these best practices will contribute to the ongoing success of your DevOps projects and helpprotect your organization&amp;rsquo;s critical assets.&lt;/p></description></item><item><title>The Complete Active Directory Security Handbook (Part-2)</title><link>https://blzr.sbs/posts/complete-active-directory-security-handbook-2/</link><pubDate>Sat, 20 Apr 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/complete-active-directory-security-handbook-2/</guid><description>&lt;h2 id="previous-part">Previous Part&lt;/h2>
&lt;p>&lt;a href="https://blzr.sbs/posts/complete-active-directory-security-handbook-1/">The Complete Active Directory Security Handbook (Part-1)&lt;/a>&lt;/p>
&lt;h2 id="dcshadow-attack">DCShadow Attack&lt;/h2>
&lt;p>A DC Shadow attack involves compromising the Active Directory environment by introducinga rogue domain controller (DC) into the network and then replicating changes from thelegitimate domain controllers to the rogue one. The attack consists of six steps.&lt;/p>
&lt;p>A DC Shadow attack is a type of attack on an Active Directory environment where an attackerintroduces a rogue domain controller (DC) into the network and replicates changes fromlegitimate domain controllers to it. The attacker first creates changes in the environment,such as adding new objects or modifying existing ones, and then waits for the changes to bereplicated to the legitimate domain controllers. They then register service principal names(SPNs) for the rogue DC and register it in the configuration namespace, allowing it toauthenticate and communicate with other domain controllers. The attacker triggers replication of the changes they made to the rogue DC, which replicates them, allowing thechanges to persist in the environment. Finally, the attacker deletes the SPNs and the rogue DC, covering their tracks and leaving the environment in a compromised state. This type ofattack allows the attacker to persist and control the network by making changes that arereplicated to other domain controllers.&lt;/p></description></item><item><title>The Complete Active Directory Security Handbook (Part-1)</title><link>https://blzr.sbs/posts/complete-active-directory-security-handbook-1/</link><pubDate>Mon, 15 Apr 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/complete-active-directory-security-handbook-1/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Active Directory (AD), introduced with Windows 2000 &lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>, has become an integral part of modern organizations, serving as the backbone of identity infrastructure for 90% of Fortune 1000 companies &lt;sup id="fnref:2">&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref">2&lt;/a>&lt;/sup>. Active Directory is widely used by organizations for its simplicity and centralized management approach. It is an attractive solution for businesses as it makes it easier for employees to access resources and applications with a single set of credentials, which increases productivity and efficiency &lt;sup id="fnref:3">&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref">3&lt;/a>&lt;/sup>. Additionally, its centralized management structure provides a single point of control for IT administrators, allowing them to manage users, computers, and access to resources in one place &lt;sup id="fnref:4">&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref">4&lt;/a>&lt;/sup>.&lt;/p></description></item><item><title>Redhat Practice</title><link>https://blzr.sbs/posts/redhat-practice/</link><pubDate>Mon, 01 Apr 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/redhat-practice/</guid><description>&lt;h3 id="question-1">QUESTION 1&lt;/h3>
&lt;p>Configure your Host Name, IP Address, Gateway and DNS.&lt;/p>
&lt;p>Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway:172.24.40.1
DNS:172.24.40.1&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>cd /etc/syscofig/network-scripts/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ls
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>vim ifcfg-eth0 &lt;span style="color:#75715e">#(Configure IP Address, Gateway and DNS) &lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	IPADDR&lt;span style="color:#f92672">=&lt;/span>172.24.40.40
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	GATEWAY&lt;span style="color:#f92672">=&lt;/span>172.24.40.1
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	DNS1&lt;span style="color:#f92672">=&lt;/span>172.24.40.1
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>vim /etc/sysconfig/network &lt;span style="color:#75715e">#(Configure Host Name)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	HOSTNAME&lt;span style="color:#f92672">=&lt;/span> station.domain40.example.com
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="question-2">QUESTION 2&lt;/h3>
&lt;p>Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group.
The user: tom&amp;rsquo;s login shell should be non-interactive.&lt;/p></description></item><item><title>18 Money Rules</title><link>https://blzr.sbs/posts/18-money-rules/</link><pubDate>Wed, 20 Mar 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/18-money-rules/</guid><description>&lt;ol>
&lt;li>Pay yourself first. As soon as you get paid, put money into savings. Automating this is even better.&lt;/li>
&lt;li>Keep a 6-month emergency fund.&lt;/li>
&lt;/ol>
&lt;blockquote>
&lt;p>If you have multiple streams of income, you can go as low as 3 months. If starting out on your own, you could need as much as 12 months.&lt;/p>
&lt;/blockquote>
&lt;ol start="3">
&lt;li>Budget using the &lt;code>50/30/20&lt;/code> rule.
&lt;ul>
&lt;li>50% for needs&lt;/li>
&lt;li>30% for wants&lt;/li>
&lt;li>20% towards saving /investing&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ol>
&lt;blockquote>
&lt;p>This is the bare minimum!&lt;/p></description></item><item><title>The Most Powerful Ideas</title><link>https://blzr.sbs/posts/most-powerful-ideas/</link><pubDate>Fri, 15 Mar 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/most-powerful-ideas/</guid><description>&lt;h3 id="cunninghams-law">Cunningham&amp;rsquo;s Law:&lt;/h3>
&lt;p>The best way to find the right answer on the internet is not to ask the right question, but to post the wrong answer.&lt;/p>
&lt;p>Why? Because people are more interested in criticizing others than helping them.&lt;/p>
&lt;h3 id="the-streisand-effect">The Streisand Effect:&lt;/h3>
&lt;p>In some cases, an effort to kill an idea can lead to it becoming more popular instead.&lt;/p>
&lt;p>Banned books and music albums that end up becoming popular precisely because they were banned are the most famous examples of this effect.&lt;/p></description></item><item><title>Things I wish I knew at 21</title><link>https://blzr.sbs/posts/things-i-wish-i-knew-at-21/</link><pubDate>Fri, 01 Mar 2024 00:00:00 +0000</pubDate><guid>https://blzr.sbs/posts/things-i-wish-i-knew-at-21/</guid><description>&lt;h3 id="the-biggest-difference-between-success--failure-is-getting-started">The biggest difference between success &amp;amp; failure is getting started:&lt;/h3>
&lt;p>The majority of people I know fantasize about things that actually can be accomplished. They just never get started.&lt;/p>
&lt;p>If you get started and play the long game, you have a great chance of winning.&lt;/p>
&lt;h3 id="the-2nd-biggest-difference-between-success--failure-is-persistence">The 2nd biggest difference between success &amp;amp; failure is persistence:&lt;/h3>
&lt;p>Successful friends &amp;amp; peers of mine have almost always been doing their &amp;ldquo;thing&amp;rdquo; for decades. Not years.&lt;/p></description></item><item><title>Forms in Hugo - Frontend stuff</title><link>https://blzr.sbs/posts/forms-in-hugo-frontend/</link><pubDate>Thu, 01 Feb 2024 01:01:24 +0530</pubDate><guid>https://blzr.sbs/posts/forms-in-hugo-frontend/</guid><description>&lt;aside class="admonition note">
 &lt;div class="admonition-title">
 &lt;div class="icon">&lt;svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
 stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2">
 &lt;path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z">&lt;/path>
 &lt;/svg>&lt;/div>&lt;b>A Recap&lt;/b>
 &lt;/div>
 &lt;div class="admonition-content">&lt;blockquote>
&lt;p>This article is long as it is. We will look into what should you do in Hugo itself to make contact form actually work. That part will be easy, I promise.&lt;/p>
&lt;/blockquote>
&lt;p>&amp;ndash; &lt;a href="https://blzr.sbs/posts/forms-in-hugo-backend/">Forms in Hugo - Backend stuff&lt;/a>&lt;/p>
&lt;/div>
 &lt;/aside>
&lt;p>That day is upon us folks. It&amp;rsquo;s finally time to discuss on the Frontend part for creating forms in your Hugo Webpage.&lt;/p></description></item></channel></rss>