<?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 Hrishidev K V on Medium]]></title>
        <description><![CDATA[Stories by Hrishidev K V on Medium]]></description>
        <link>https://medium.com/@hrishidevdarsan?source=rss-66f399bd7e3c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*FuFrr18iXjxwXKPB</url>
            <title>Stories by Hrishidev K V on Medium</title>
            <link>https://medium.com/@hrishidevdarsan?source=rss-66f399bd7e3c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:59:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hrishidevdarsan/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[Positive vs Negative Security Model: Which One Actually Scales in 2026?]]></title>
            <link>https://medium.com/@hrishidevdarsan/positive-vs-negative-security-model-which-one-actually-scales-in-2026-23d3735f438e?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/23d3735f438e</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 19:41:20 GMT</pubDate>
            <atom:updated>2026-03-23T19:41:20.177Z</atom:updated>
            <content:encoded><![CDATA[<h4>Aligning your architecture — from payment gateways to public clouds — with the default-deny and default-allow realities of 2026.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mJfi78YII3tUVlThGdJHsg.png" /></figure><p>If you’re building a modern digital architecture, you’ve likely hit the classic crossroads: <strong>Positive vs Negative security.</strong> It’s the age-old debate of “Allow by Exception” versus “Block by Exception.”</p><p>But let’s be real — in a world of 3 a.m. deployments and AI-driven bots, the “textbook” answer usually fails. Here’s how these models actually play out when the coffee runs out, and the logs start screaming.</p><h3>1. Positive Security Model (Deny-by-Default)</h3><p>Think of Positive Security like a high-end private club. If your name isn’t on the guest list, you aren’t getting past the velvet rope.</p><ul><li><strong>The Mechanics:</strong> This is a <strong>whitelisting</strong> model. You define exactly what “good” looks like — authorized IP addresses, specific user behaviors, known-safe URL patterns — and everything else is automatically dropped.</li><li><strong>Why ?:</strong> It drastically shrinks your attack surface. Since you aren’t waiting to recognize a “bad” signature, you’re naturally protected against Zero-Day exploits.</li><li><strong>The Implications:</strong> It’s high-maintenance. If your developers push a new feature that changes how data flows, the security wall might break it immediately. This leads to false positives — legitimate customers getting blocked during the checkout process.</li></ul><h3>2. Negative Security Model (Allow-by-Default)</h3><p>Negative Security is more like a public mall with a “Wanted” poster at the entrance. Everyone is free to roam unless they match the face of a known shoplifter.</p><ul><li><strong>The Mechanics:</strong> This relies on blacklisting. It uses signature-based detection to scan for known threats like SQL injections or Cross-Site Scripting (XSS).</li><li><strong>Why ?:</strong> It’s incredibly flexible and “low friction.” It allows for rapid deployment because you don’t have to pre-approve every new behavior.</li><li><strong>The Implications:</strong> It’s reactive. If a hacker uses a brand-new, never-before-seen attack pattern, your system won’t have a “signature” for it yet. This results in false negatives, where threats slip through unnoticed.</li></ul><h3>Real-World Case Study: The “Holiday Code Freeze” Disaster</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hQNThACievy7Et6C" /></figure><p>To understand why this choice matters, let’s look at a scenario involving a mid-sized E-commerce platform during Black Friday.</p><p><strong>The Setup:</strong> The company used a Negative Security model for their API gateway because they wanted to ensure no legitimate customer ever saw a “403 Forbidden” error. They relied on a standard Web Application Firewall (WAF) with updated signatures.</p><p><strong>The Incident:</strong> An attacker used a “Slow-Rate” credential stuffing attack. Because the attack didn’t match any known “malicious signature” (the packets looked like standard login attempts, just very slow), the Negative Security model let them right through the front door. By the time the SecOps team noticed the spike in account takeovers, 5,000 accounts had been compromised.</p><p><strong>Post-incident:</strong> They switched to a Positive Security model for the login endpoint. They defined exactly what a login request should look like: <em>Must come from a recognized browser header, must not exceed X requests per minute, and must follow a specific JSON schema.</em></p><h3>The AI Paradox: A 2026 Warning</h3><p>As we enable AI engines to process security data, we run into a new problem. If your ML models are misconfigured, the data trends might <em>look</em> perfect even while the underlying logic is flawed.</p><p>Managing false positives (Positive Security) versus false negatives (Negative Security) is the ultimate SecOps headache. Legacy firewalls often become unmanageable nightmares with ACL lists thousands of lines long. Conversely, “lightweight” security leads to breaches with zero analytics to show what actually happened.</p><h3><strong>Before you pick a side, ask yourself:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*MjqHuoWzfXWooPZJb6UlgA.png" /></figure><h3>Who wins?</h3><ul><li><strong>Go Positive if:</strong> You’re running Agile CI/CD. If your team can bake WAF rule adjustments directly into the same sprint as their code changes, the “Default Deny” model is your best friend. It’s more work, but it’s a fortress.</li><li><strong>Go Negative if:</strong> You need ultra-rapid deployment and have short change-control windows. It’s better suited to environments where availability is valued over a strict lockdown.</li></ul><p><strong>The Modern Standard:</strong> Most 2026 enterprises are moving toward a <strong>Hybrid Model</strong> — using Positive security for their “crown jewel” data (Logins, Payments, PII) and Negative security for the more public-facing, high-velocity content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*W0V3VLU1L3ZIenbD.jpeg" /></figure><p>Feel Free to connect with me on LinkedIn:<br><a href="https://www.linkedin.com/in/hrishidev-k-v-210766247/"><strong>IntruderC64</strong></a><br>:-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23d3735f438e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the Cyber Kill Chain: A Complete Guide to Preventing Attacks]]></title>
            <link>https://medium.com/@hrishidevdarsan/understanding-the-cyber-kill-chain-a-complete-guide-to-preventing-attacks-6ab07404bd7d?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ab07404bd7d</guid>
            <category><![CDATA[defensive-security]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 17:22:41 GMT</pubDate>
            <atom:updated>2025-08-05T17:22:41.216Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>The Cyber Kill Chain is a seven-step framework developed by Lockheed Martin that breaks down cyberattacks into stages to help organizations detect, respond to, and mitigate threats early.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*EPADM15yVvEP-EioMgKR1A.png" /></figure><h3>Introduction to the Cyber Kill Chain</h3><p>The <strong>Cyber Kill Chain</strong> is a cybersecurity framework developed by Lockheed Martin in 2011. It is designed to model the stages of a cyberattack and provide organizations with a structured method for detecting, preventing, and responding to threats at each phase of the attack lifecycle. By visualizing how an attacker operates, defenders can anticipate and disrupt malicious activities more effectively.</p><p>This model is especially useful for Security Operations Centers (SOCs) and Blue Teams, as it guides them in identifying the early indicators of compromise and deploying countermeasures on time.</p><h3><strong>The 7 Stages of the Cyber Kill Chain Explained</strong></h3><p>Each step in the kill chain represents a stage that an attacker must complete to achieve their goal. Understanding these phases gives organizations an edge in building resilient defenses.</p><h3>Stage 1: Reconnaissance</h3><p><strong>Passive Reconnaissance</strong><br> Attackers silently gather information about their target from publicly available sources like social media, company websites, domain records, and open-source intelligence (OSINT) tools. The goal is to avoid detection while building a profile of the target’s infrastructure.</p><p><strong>Active Reconnaissance</strong><br> This method involves direct interaction with the target, using tools like Nmap to scan ports or perform DNS lookups. While this yields more detailed data, it increases the risk of detection.</p><p><strong>Defensive Actions:</strong></p><ul><li>Monitor public digital footprints.</li><li>Use honeypots to mislead active recon efforts.</li><li>Perform regular external threat assessments</li></ul><h3>Stage 2: Weaponization</h3><p>Here, attackers use data from reconnaissance to tailor their malicious tools. They create malware payloads or craft phishing documents embedded with exploit code.</p><p><strong>Common Techniques:</strong></p><ul><li>Creating a remote access trojan (RAT)</li><li>Developing phishing emails with infected attachments</li><li>Building malware that exploits a known vulnerability</li></ul><p><strong>Defensive Actions:</strong></p><ul><li>Patch and update software regularly</li><li>Employ email filtering and sandboxing tools</li><li>Train staff on phishing recognition</li></ul><h3>Stage 3: Delivery</h3><p>This phase involves delivering the malicious payload to the victim, typically via:</p><ul><li>Phishing emails</li><li>Malicious websites</li><li>USB devices or infected apps</li></ul><p><strong>Defensive Actions:</strong></p><ul><li>Enforce email security protocols like SPF/DKIM/DMARC</li><li>Train users not to click on unknown links or attachments</li><li>Continuously monitor endpoint behaviors</li></ul><h3>Stage 4: Exploitation</h3><p>Once the delivery is successful, the malicious code is triggered, exploiting a vulnerability in the target system. This could be a buffer overflow, cross-site scripting, or privilege escalation attack.</p><p><strong>Defensive Actions:</strong></p><ul><li>Employ endpoint detection and response (EDR) solutions</li><li>Regularly conduct penetration testing</li><li>Train developers on secure coding practices</li></ul><h3>Stage 5: Installation</h3><p>Now, the attacker installs a backdoor or malware to maintain access. Persistence is crucial, so they may deploy a rootkit or create a hidden scheduled task.</p><p><strong>Common Tactics:</strong></p><ul><li>Installing spyware or keyloggers</li><li>Modifying registry settings</li><li>Creating hidden users</li></ul><p><strong>Defensive Actions:</strong></p><ul><li>Only allow signed software to run</li><li>Monitor system changes and startup programs</li><li>Deploy intrusion detection systems (IDS)</li></ul><h3>Stage 6: Command and Control (C2)</h3><p>With malware installed, the attacker communicates with the compromised system using a <strong>Command and Control server</strong>. They manage the attack remotely, giving commands to the malware.</p><p><strong>Defensive Actions:</strong></p><ul><li>Monitor for suspicious outbound connections</li><li>Use firewall rules to block known C2 IPs</li><li>Employ threat intelligence feeds for active blocking</li></ul><h3>Stage 7: Actions on Objectives</h3><p>In this final phase, the attacker achieves their intended goal. This may include:</p><ul><li>Data theft or exfiltration</li><li>Deploying ransomware</li><li>Disrupting business operations</li><li>Deleting sensitive files</li></ul><p><strong>Defensive Actions:</strong></p><ul><li>Use DLP tools to monitor data flow</li><li>Enforce strict access controls and logging</li><li>Disable unused admin privileges and review permissions regularly</li></ul><h3>Defensive Strategies Across the Kill Chain</h3><p>Security teams must treat the kill chain as a blueprint for building proactive defenses. From perimeter protection to internal segmentation, every phase requires tailored controls.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*SGYbA35Lqx46nMaQQToYfQ.png" /></figure><h3>Benefits of Using the Cyber Kill Chain Framework</h3><ul><li>Visualizes the attack lifecycle for better preparedness</li><li>Helps map out detection and prevention strategies</li><li>Aids in training SOC analysts with a structured methodology</li><li>Supports red team/blue team exercises and simulations</li></ul><h3><strong>Cyber Kill Chain vs MITRE ATT&amp;CK</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*zeLWAPoEaK14vHeO8JnteA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*TiWSfXE5gcYLDMl8x-pfnA.png" /></figure><h3>Conclusion</h3><p>The <strong>Cyber Kill Chain</strong> is an essential tool for understanding and countering cyber threats. By breaking down attacks into seven distinct stages, it enables security teams to respond proactively rather than reactively. When combined with modern tools and frameworks, the Cyber Kill Chain remains a powerful defense strategy for any organization facing today’s ever-evolving threat landscape.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ab07404bd7d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intro to Threat Profiling: Backbone of Proactive Cyber Defense]]></title>
            <link>https://medium.com/@hrishidevdarsan/intro-to-threat-profiling-backbone-of-proactive-cyber-defense-80ca40b2cdbf?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/80ca40b2cdbf</guid>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[threat-detection]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Sat, 05 Jul 2025 17:10:34 GMT</pubDate>
            <atom:updated>2025-07-05T17:10:34.529Z</atom:updated>
            <content:encoded><![CDATA[<p>Intro to Threat Profiling explains how organizations can identify, analyze, and respond to cyber threats more effectively through structured threat actor insights and behavioral analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*YNH47V2qSEsADScgz5Vwmg.png" /></figure><h3><strong>What is Threat Profiling?</strong></h3><p><strong>Threat profiling</strong> is the process of identifying, categorizing, and analyzing potential cyber threats based on threat actor behaviors, intentions, and capabilities. By developing detailed threat profiles, organizations gain insight into who might target them, how they might attack, and what assets are at risk.</p><p>At its core, a threat profile contains:</p><ul><li>The identity or classification of the threat actor</li><li>Their known tactics, techniques, and procedures (TTPs)</li><li>Motivations (financial, political, ideological)</li><li>Historical activity and targeting preferences</li></ul><h3><strong>Core Elements of a Threat Profile</strong></h3><p>A well-developed threat profile typically includes the following components:</p><ol><li><strong>Threat Actor Identification:</strong> Details about the attacker, including affiliations (e.g., APT groups), historical campaigns, and origin.</li><li><strong>Tactics, Techniques, and Procedures (TTPs):</strong> The specific methods they use to carry out attacks.</li><li><strong>Motivations and Goals:</strong> Understanding the “why” behind attacks — financial gain, espionage, activism, or sabotage.</li><li><strong>Target Preferences:</strong> Industry sectors, technologies, and systems commonly targeted.</li></ol><h3>Types of Threat Actors</h3><p>Understanding who the adversaries are is key to creating effective threat profiles:</p><ul><li><strong>Nation-State Actors:</strong> Backed by governments, these attackers conduct cyber-espionage, sabotage, and intelligence gathering.</li><li><strong>Cybercriminals:</strong> Motivated by profit, they deploy ransomware, steal data, or conduct fraud.</li><li><strong>Hacktivists:</strong> Driven by ideology or social causes, often target governments and corporations for protest.</li><li><strong>Insider Threats:</strong> Employees or contractors who misuse access, whether maliciously or unintentionally.</li></ul><h3>Threat Profiling vs Threat Intelligence</h3><p>While often used interchangeably, these two concepts are distinct yet complementary:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*iWU9k1CxnDIEl0P6KipoSA.png" /></figure><h3>Threat Profiling Process: Step-by-Step</h3><p>Developing a threat profile involves several structured steps:</p><h4>Step 1: Data Collection</h4><p>Collect threat data from:</p><ul><li>Open Source Intelligence (OSINT)</li><li>Dark web forums</li><li>Threat intelligence platforms</li><li>Internal logs and incident reports</li></ul><h4>Step 2: Threat Actor Analysis</h4><p>Analyze:</p><ul><li>Known <strong>TTPs</strong> using frameworks like MITRE ATT&amp;CK</li><li>Common malware or toolsets</li><li>Behavioral trends and patterns</li></ul><h4>Step 3: Risk Assessment</h4><p>Link threat actors to:</p><ul><li>Vulnerable assets</li><li>Organizational risk tolerance</li><li>Likely attack scenarios</li></ul><h4>Step 4: Threat Modeling and Mapping</h4><p>Use visual aids and threat modeling tools to:</p><ul><li>Map potential attack paths</li><li>Simulate attack scenarios</li><li>Predict how adversaries may act under different conditions</li></ul><h3><strong>Tools and Frameworks Used in Threat Profiling</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*W0xxWe2FpvVpa4cEgw12bQ.png" /></figure><h4><strong>How Threat Profiling Improves Incident Response</strong></h4><p>By knowing the likely attacker and their tactics, incident response teams can:</p><ul><li>Detect threats faster based on behavioral indicators</li><li>Implement tailored containment and eradication procedures</li><li>Prioritize response based on threat actor capabilities and motivations</li></ul><h3>Challenges in Threat Profiling</h3><p>Despite its advantages, threat profiling is not without challenges:</p><ul><li><strong>Data Overload:</strong> Filtering out noise from meaningful intelligence.</li><li><strong>Attribution Difficulties:</strong> Determining who’s behind an attack is often speculative.</li><li><strong>Rapid Evolution:</strong> Threat actors constantly change tactics to avoid detection.</li></ul><h3>Best Practices for Effective Threat Profiling</h3><ul><li><strong>Update Profiles Regularly:</strong> Keep intelligence current with new TTPs and campaigns.</li><li><strong>Foster Team Collaboration:</strong> Involve threat analysts, SOC, and risk management.</li><li><strong>Automate Where Possible:</strong> Use AI and machine learning for faster pattern detection.</li><li><strong>Cross-Reference Multiple Sources:</strong> Validate findings across different feeds.</li></ul><h3>The Future of Threat Profiling in Cybersecurity</h3><p>As cyber threats become more sophisticated, the future of threat profiling lies in:</p><ul><li><strong>AI-Powered Threat Prediction:</strong> Identifying patterns humans might miss</li><li><strong>Behavioral Analytics:</strong> Profiling not just attackers but users and systems</li><li><strong>Global Threat Intelligence Sharing:</strong> Real-time collaboration between industries and nations</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*aT5kuSFkcX3CzMbt6KOV7w.png" /></figure><h3>Conclusion</h3><p>This <strong>Intro to Threat Profiling</strong> outlines why it’s one of the most critical strategies for modern cybersecurity. By understanding who might attack, how they operate, and what they’re after, organizations can shift from reactive defense to proactive protection. In an age of persistent digital threats, knowledge of your adversary is the first and most vital line of defense.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80ca40b2cdbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Depths of OT Security: My Journey Through HackTheBox’s Alchemy Pro Lab]]></title>
            <link>https://medium.com/@hrishidevdarsan/exploring-the-depths-of-ot-security-my-journey-through-hacktheboxs-alchemy-pro-lab-5ce95999f896?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ce95999f896</guid>
            <category><![CDATA[ot-security]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[scada-training]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Sat, 16 Nov 2024 13:03:30 GMT</pubDate>
            <atom:updated>2024-11-16T13:03:30.255Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ifvXQUpBXGRhDuVypUUtGQ.png" /></figure><p>As a security researcher, I’m always on the lookout for challenges that push my boundaries. Recently, I completed the <em>Alchemy</em> Pro Lab on HackTheBox — a deep dive into OT/SCADA security. This experience was a game-changer, not just for my technical growth but also for my perspective on securing industrial environments.</p><h3>What is the Alchemy Pro Lab?</h3><p><em>Alchemy</em> is not your typical penetration testing lab. It’s an immersive environment that simulates real-world OT/SCADA systems. With 21 flags to capture, this lab challenges participants to navigate complex networks, understand industrial protocols, and exploit vulnerabilities to gain access to critical systems.</p><p>The lab is a treasure trove for anyone interested in operational technology (OT) security, especially those focusing on industrial control systems (ICS) like SCADA.</p><h3>The Journey</h3><p>My adventure began with reconnaissance, understanding the lab environment, and identifying key ICS components. From network mapping to exploiting industrial protocols, each step was an opportunity to learn something new.</p><p>Here’s a glimpse into the journey:</p><h4>Protocols Explored</h4><p>Working in an OT environment means dealing with unique protocols that are not part of traditional IT systems. In <em>Alchemy</em>, I interacted with protocols like:</p><ul><li><strong>Modbus</strong>: A communication standard widely used in industrial environments. Understanding how to intercept and manipulate its traffic was crucial.</li><li><strong>DNP3</strong>: Vital in SCADA systems for transmitting data between components.</li><li><strong>OPC UA</strong>: A protocol designed for secure communication in industrial automation. Exploiting it required a mix of patience and technical finesse.</li></ul><h4>Exploitation Techniques</h4><p>The lab demanded creativity and persistence. Some highlights include:</p><ul><li><strong>Reconnaissance</strong>: Enumerating networks to locate PLCs (Programmable Logic Controllers) and RTUs (Remote Terminal Units).</li><li><strong>Protocol Manipulation</strong>: Using tools and scripts to send crafted packets to disrupt or control industrial processes.</li><li><strong>Pivoting</strong>: Moving laterally across network segments to access hidden components.</li></ul><h4>Coding for Exploits</h4><p>One of the most rewarding aspects was developing custom scripts to breach and manipulate the OT environment. These coding challenges tested my programming skills and taught me to think like an attacker targeting industrial systems.</p><h3>The Team That Made It Possible</h3><p>A special shoutout to <strong>Krishnadas</strong> and <strong>Umar</strong>, whose guidance was invaluable throughout the journey. Collaboration is key in challenges like this, and their expertise helped me overcome roadblocks and push forward.</p><h3>Key Takeaways</h3><ol><li><strong>The Gap Between IT and OT Security</strong>: OT systems often lack the robust security controls seen in IT. This lab reinforced the importance of securing these environments against modern threats.</li><li><strong>Hands-On Experience is Irreplaceable</strong>: The theoretical knowledge of ICS/SCADA protocols is one thing, but working in a simulated environment brings invaluable practical insights.</li><li><strong>Never Stop Learning</strong>: Each challenge, even the seemingly impossible ones, contributes to your growth as a security professional.</li></ol><h3>What’s Next?</h3><p>Having completed <em>Alchemy</em>, I’m more motivated than ever to delve deeper into OT security. I’m also preparing a session on <strong>SCADA/ICS security</strong> to share my insights with the broader community. My goal is to contribute to the growing field of industrial cybersecurity and help bridge the gap between IT and OT security.</p><h3>Final Thoughts</h3><p>HackTheBox’s <em>Alchemy</em> Pro Lab is a must-try for anyone passionate about OT/SCADA security. It’s not just a test of technical skills but a journey that sharpens your analytical thinking and problem-solving abilities.</p><p>If you’re considering diving into the world of OT security, <em>Alchemy</em> is the perfect place to start.</p><blockquote>Feel Free to connect us on LinkedIN:<br><a href="https://www.linkedin.com/in/krishnadas-p-v/"><strong>LooPs3c</strong></a><br><a href="https://www.linkedin.com/in/ummer-mukthar-c-n-7b900521a/"><strong>Retr0</strong></a><br><a href="https://www.linkedin.com/in/hrishidev-k-v-210766247/"><strong>IntruderC64</strong></a><br>:-)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ce95999f896" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering SOC Strategies: Insights from the Experts]]></title>
            <link>https://medium.com/@hrishidevdarsan/mastering-soc-strategies-insights-from-the-experts-d96a0fa9ad56?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d96a0fa9ad56</guid>
            <category><![CDATA[sessions]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blackhat]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Sat, 31 Aug 2024 13:44:22 GMT</pubDate>
            <atom:updated>2024-08-31T13:44:22.312Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wrkerM4AW9Os8Zl-cToS_g.jpeg" /></figure><p>Hi everyone! Today, I’m excited to share my experience attending the session titled “Optimizing Incident Response for an Advanced and Matured SOC Team,” presented by <a href="https://www.linkedin.com/in/sumeshsundar/">Sumesh Sundaranachari</a> and <a href="https://www.linkedin.com/in/nesooh/">Nesooh A</a>, both seasoned SOC engineers. The session was held at the Ehackify Cybersecurity Research &amp; Training Center in Calicut. I’ll walk you through the key insights I gained from interacting with these experts and cover the diverse topics we explored throughout the day.</p><h3><strong>Session Breakdown</strong></h3><ol><li><strong>SOC Basics and Environment Creation</strong></li></ol><p>The session began with a solid introduction to the fundamentals of SOC. Sumesh and Nesooh explained the critical components required to set up a SOC environment, including the necessary tools and technologies. They emphasized the importance of creating a robust SOC infrastructure as the foundation for effective cybersecurity operations.</p><p>2. <strong>Real-Time Attack Response</strong></p><p>Moving beyond the basics, the speakers shared real-world tactics and techniques they employed to counter an actual cyber attack at their organization. This segment was particularly insightful as it provided a glimpse into the practical challenges and solutions that SOC teams face in a live environment.</p><p>3. <strong>Roles and Responsibilities within SOC</strong></p><p>We then explored the various roles and responsibilities within a SOC team. The discussion covered everything from incident responders to threat hunters, highlighting how each role contributes to the overall security posture of an organization.</p><p>4. <strong>EDR and Log Collection Agents</strong></p><p>The session continued with an in-depth look at Endpoint Detection and Response (EDR) tools and log collection agents. The speakers detailed how these tools are integrated into a SOC to enhance threat detection and response capabilities. They also shared best practices for optimizing SOC infrastructure to better defend against external threats.</p><p>5. <strong>CTF Challenges: SOC, Forensics, and Threat Hunting</strong></p><p>One of the most engaging parts of the session was the Capture The Flag (CTF) challenges. We were given scenarios related to SOC operations, forensics, and threat hunting, which provided hands-on experience and helped reinforce the concepts we had learned. These challenges were both educational and fun, allowing us to apply our knowledge in real-world-like scenarios.</p><p>6. <strong>Advanced SOC Strategies and Simulations</strong></p><p>After a well-deserved lunch break, we dove into more advanced topics. The speakers introduced us to the idea of creating a mature SOC by implementing enhanced tactics and techniques. They demonstrated the process using Atomic Red Team simulations within the LimaCharlie EDR platform, showcasing how to test and improve SOC efficiency by simulating various attack methods.</p><p>7. <strong>Purple Teaming</strong></p><p>One of the most exciting parts of the session was diving into the concept of purple teaming, which is gaining momentum in the cybersecurity world. Traditionally, cybersecurity teams have been split into two groups: red teams, who play the role of attackers to uncover weaknesses, and blue teams, who focus on defending against these attacks and securing assets. Each team has its role, but purple teaming is all about bringing them together to work more effectively.</p><p>Sumesh and Nesooh broke it down for us, explaining that purple teaming integrates the strengths of both red and blue teams to create a stronger, more unified defense strategy. Instead of working separately, as red teams find vulnerabilities and exploit them, blue teams are right there working to detect and respond to these attacks in real time. It’s a continuous loop of feedback and improvement, where both teams learn from each other and build a more robust security posture.</p><p>They pointed out that purple teaming is especially valuable for advanced and mature SOC environments. It’s not just about defending against known threats but also about staying ahead of emerging ones. By continuously testing and refining defensive strategies, purple teaming helps organizations keep their security measures sharp and adaptable. Plus, it fosters a culture of ongoing improvement and learning, which is essential in today’s rapidly changing threat landscape.</p><p><strong>8. SOC Implementation in SCADA/ICS Environments</strong></p><p>The session also touched on the unique challenges of implementing SOC strategies in SCADA/ICS environments. Given the critical nature of industrial control systems, this discussion was particularly relevant for anyone interested in securing operational technology.</p><p>9. <strong>Q&amp;A and Final Thoughts</strong></p><p>The session concluded with an interactive Q&amp;A segment, where participants had the opportunity to ask questions and clarify doubts. The experts were generous with their knowledge, providing clear and practical answers that added even more value to the day’s learnings.</p><h3>Conclusion</h3><p>Overall, the session was an eye-opener that really enriched my understanding of SOC operations. It wasn’t just about the theory; the practical exercises made the learning experience engaging and hands-on. The CTF challenges were a real highlight — they were not only fun but also a great way to put our new knowledge into practice.</p><p>The discussions on purple teaming and applying SOC strategies to SCADA/ICS environments were particularly fascinating. These areas are becoming increasingly important in the cybersecurity field, and the session drove home just how crucial a well-rounded, mature SOC is for staying ahead of evolving cyber threats.</p><p>In a nutshell, this experience reinforced how vital it is to keep learning and adapting to cybersecurity. As threats get more sophisticated, our defenses need to evolve just as quickly. I’m excited to take what I’ve learned and use it to grow further in my cybersecurity journey.</p><p>Feel free to reach me out on <a href="https://www.linkedin.com/in/hrishidev-k-v-210766247/">LinkedIN</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d96a0fa9ad56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Sneak Peek into ICS || Exploring the World of SCADA]]></title>
            <link>https://medium.com/@hrishidevdarsan/a-sneak-peek-into-ics-exploring-the-world-of-scada-346353a070c7?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/346353a070c7</guid>
            <category><![CDATA[blackhat]]></category>
            <category><![CDATA[scada]]></category>
            <category><![CDATA[hardware-security]]></category>
            <category><![CDATA[ot-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Fri, 30 Aug 2024 21:55:57 GMT</pubDate>
            <atom:updated>2024-08-30T21:55:57.698Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*q1RQcpLD49IbBJDMp1-x8w.jpeg" /></figure><h3>What are <strong>SCADA </strong>systems?</h3><p>Supervisory Control and Data Acquisition (SCADA) systems are essential tools used to monitor and control industrial processes in real-time. By collecting data from remote locations, SCADA helps organizations manage equipment and conditions efficiently, making it a key player in many industrial environments.</p><p>A SCADA system is made up of both software and hardware that work together to keep track of and control industrial devices and processes. For example, it allows companies to manage sites like wind farms remotely, where they can monitor turbine data and control operations without being on-site.</p><p>With SCADA, industrial organizations can:</p><ul><li>Control and monitor processes both locally and remotely</li><li>Collect and process real-time data</li><li>Interact directly with devices like sensors, valves, pumps, and motors through user-friendly software interfaces</li><li>Keep records of events for analysis</li></ul><p>SCADA systems are crucial because they help maintain efficiency, support smarter decision-making, and quickly identify issues to reduce downtime. Their role in industrial operations is vital for smooth and reliable performance.</p><h3><strong>Why and Where is SCADA Used?</strong></h3><p>SCADA systems are vital for monitoring and controlling industrial equipment across various sectors. They are widely used in industries like manufacturing, water management, energy, oil and gas, and transportation. By providing real-time data, SCADA helps improve plant performance, track efficiency, and reduce downtime, making it essential for modern industrial operations.</p><p>These systems connect to various equipment, from sensors and pumps to power units and motors, depending on the specific needs of the industry. SCADA is commonly used in:</p><ul><li><strong>Energy:</strong> Power generation and distribution</li><li><strong>Oil and Gas:</strong> Refining processes</li><li><strong>Telecommunications:</strong> Infrastructure management</li><li><strong>Transportation:</strong> Shipping and transit systems</li><li><strong>Manufacturing:</strong> Industrial processing</li><li><strong>Utilities:</strong> Water and wastewater control</li></ul><p>SCADA automates and manages complex processes, especially those requiring remote monitoring and control, improving efficiency and reducing waste. As the backbone of many industries, SCADA ensures smooth and efficient operations, whether in small setups or large-scale installations.</p><h3><strong>Components of SCADA</strong></h3><p>SCADA systems are made up of several crucial components that work together to gather, process, and manage real-time data, facilitating industrial automation and control. The primary components include:</p><ul><li><strong>Sensors and Actuators: </strong>These are the frontline devices deployed in the field. Sensors monitor various physical conditions such as temperature, pressure, or flow rate, while actuators execute control commands, such as opening a valve or adjusting a motor’s speed. Together, they play a key role in collecting the raw data needed for process control.</li><li><strong>SCADA Field Controllers:</strong> Also known as Remote Terminal Units (RTUs) or Programmable Logic Controllers (PLCs), these controllers gather data from the sensors and transmit it to the supervisory system. They can also send commands from the central SCADA system to the actuators, allowing for real-time control of industrial processes.</li><li><strong>SCADA Supervisory Computers:</strong> These are the centralized servers that receive, process, and store data from the field controllers. The supervisory computers are responsible for analyzing the data, executing control logic, and providing operators with the information they need to make informed decisions. They are often the backbone of the SCADA system, enabling high-level process management.</li><li><strong>HMI Software:</strong> The Human-Machine Interface (HMI) software is the user interface that allows operators to interact with the SCADA system. Through HMI, operators can visualize data, monitor system performance, and issue control commands. It provides a graphical representation of the industrial processes, making it easier for operators to oversee and manage complex operations.</li><li><strong>Communication Infrastructure:</strong> This includes the network components and communication protocols that link all the SCADA components together. The communication infrastructure ensures that data flows seamlessly between sensors, controllers, supervisory computers, and HMIs. It often includes wired and wireless networks, as well as specialized communication protocols tailored for industrial environments.</li></ul><h3>OT, ICS &amp; SCADA — How are they related?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*XY6gkETSyjmwKU0iQLI-Hw.png" /></figure><p><strong>Operational Technology (OT)</strong> refers to the hardware and software used to monitor and control physical processes in industries such as manufacturing, energy, and utilities. OT encompasses all the technology that interacts directly with the physical world, including sensors, actuators, and control systems.</p><p><strong>Industrial Control Systems (ICS)</strong> are a subset of OT. ICS includes various control systems used to manage and automate industrial processes. This category includes systems like Distributed Control Systems (DCS), Programmable Logic Controllers (PLC), and Supervisory Control and Data Acquisition (SCADA) systems.</p><p><strong>SCADA (Supervisory Control and Data Acquisition)</strong> is a specific type of ICS. It focuses on providing centralized control and monitoring of industrial processes by collecting real-time data from remote locations. SCADA systems are designed to give operators a comprehensive view of operations, enabling remote management and efficient decision-making.</p><h3>Conclusion</h3><p>As we’ve seen, Operational Technology (OT), Industrial Control Systems (ICS), and SCADA systems play crucial roles in managing and automating industrial processes. With the growing importance and complexity of these systems, there’s a rising need for experts who can safeguard them against cyber threats. This opens up a range of exciting career opportunities in OT and ICS/SCADA security.</p><p>In future blogs, we’ll dive into these career paths, discuss the skills you’ll need, and offer tips on how to break into this dynamic field. Stay tuned for more insights and practical advice on how you can make a difference in OT and ICS/SCADA security!</p><p>Feel free to connect with me on <a href="https://www.linkedin.com/in/hrishidev-k-v-210766247/">LinkedIn</a> :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=346353a070c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cyber Security Interview Questions || Every Freshers Should Know]]></title>
            <link>https://medium.com/@hrishidevdarsan/cyber-security-interview-questions-every-freshers-should-know-c72d873a28fc?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c72d873a28fc</guid>
            <category><![CDATA[fresher-jobs]]></category>
            <category><![CDATA[freshers]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Tue, 27 Aug 2024 07:36:46 GMT</pubDate>
            <atom:updated>2024-08-27T07:41:33.802Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey folks!🙌<br>Entering the cybersecurity field can be both exciting and challenging, especially for freshers eager to land their first job. Preparing for interviews is crucial, as employers often seek candidates with a strong foundation in core concepts. In this blog, we’ve compiled a list of essential cybersecurity interview questions that every fresher should know. Whether you’re aiming to become a security analyst, network defender, or ethical hacker, these questions will help you confidently navigate your interview and secure your spot in the cybersecurity industry.</p><h3>Network-Based Questions</h3><ol><li>What is a Network?</li><li>Types of Networks?</li><li>What are Network Topologies?</li><li>What is Router, Hub, and Switch?</li><li>What is an IP address?</li><li>What is a MAC address?</li><li>Difference between IPv4 and IPv6</li><li>Difference between Public IP and Private IP</li><li>Difference between Subnetting and Segmentation</li><li>What services run through these ports: 21, 22, 23, 25, 53, 80, 110, 123, 161, 443, 445, 67, 68, 3306, 389, and 3389.</li><li>What is IDS?</li><li>What is IPS?</li><li>What is a Firewall? Give an example.</li><li>Define the OSI Model and explain its layers.</li></ol><h3>Web Based Questions</h3><ol><li>OWASP Top 10 and Explain all of the vulnerabilities and their mitigations.</li><li>Types of Injection attacks. (XXE, SQLi, Command Injection, XSS)</li><li>What is IDOR?</li><li>What is an MITM attack?</li><li>SSTI attacks and their types?</li><li>Learn at least 2 payloads each for every injection attack.</li><li>What is LFI &amp; RFI Vulnerabilities?</li><li>Explain CSRF.</li><li>What is CRLF?</li><li>How does RCE work?</li><li>Explain HTTP Methods.</li><li>HTTP Request Smuggling.</li><li>HTTP Cache poisoning.</li><li>What is Deserialization?</li><li>What is a Demilitarized Zone?</li><li>Difference between Token and Cookie.</li><li>What is a proxy?</li><li>What is Cache?</li><li>What is SSL/TLS encryption?</li></ol><h3>Some Random Questions</h3><ol><li>What is Nmap?</li><li>Nmap switch used for UDP scanning.</li><li>Nmap switch used for Firewall evasion.</li><li>What is Burpsuite?</li><li>How to use Burpsuite for Brute force attack?</li><li>What is a Brute force attack and its types?</li><li>What is Wireshark?</li><li>What are the automatic vulnerability scanning tools you’ve used?</li><li>What is OSINT?</li><li>What is Impersonation?</li><li>Phishing and its types.</li></ol><h3>Don’t skip this 🙂👇👇</h3><p>In conclusion, these are some of the basic cybersecurity interview questions that every fresher should know, based on my experience. Remember to thoroughly understand whatever you’ve listed on your resume — interviewers often dive into those specifics. Try to approach your interview as a casual yet confident conversation, which can help ease nerves and make a great impression. If you’re asked about any vulnerabilities, frame your answers with scenario-based examples to demonstrate your practical understanding.</p><p>I’ll be updating this blog regularly in case I’ve missed any important questions, so feel free to check back for more insights. Best of luck on your journey into the cybersecurity field!</p><p>Catch you later! If you need any more help, just give me a shout. Happy blogging! 😊</p><p>Feel free to connect with me on <a href="https://www.linkedin.com/in/hrishidev-k-v-210766247/"><strong>LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c72d873a28fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Architecture||Simplified Short Note]]></title>
            <link>https://medium.com/@hrishidevdarsan/android-architecture-simplified-short-note-ed87b1361854?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed87b1361854</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-pentesting]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Mon, 10 Jun 2024 13:42:13 GMT</pubDate>
            <atom:updated>2024-06-10T13:42:13.536Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*ob07Nkwz4L8kWnegj3rkVQ.png" /></figure><p>Android architecture is the core structure of the Android operating system, consisting of multiple components and layers that collaborate to meet the requirements of any Android device. This architecture outlines the organization and interaction of these components within the system, ensuring smooth and efficient operation and user experience.</p><h3>Components of Android Architecture</h3><p>1. Application<br>2. Application framework<br>3. Android runtime<br>4. native libraries<br>5. Hardware Abstraction layer<br>6. Linux kernel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*sp36G8avFmFeJERy7S_6MQ.png" /></figure><h4>Application</h4><ul><li>Applications are the top layer of the Android architecture.</li><li>Includes pre-installed native apps like Home, Contacts, Camera, and Gallery.</li><li>Includes third-party apps from the Play Store, such as chat apps and games.</li><li>Applications run within the Android runtime.</li><li>Utilize classes and services provided by the application framework.</li></ul><h4>Application Framework</h4><ul><li>The Application Framework layer is essential for building Android applications.</li><li>Offers essential classes and services for application development.</li><li>Provides an abstraction for hardware access.</li><li>Manages the user interface with application resources.</li></ul><p><strong>Key components:</strong></p><ul><li>Activity Manager: Manages activity lifecycles.</li><li>Notification Manager</li><li>View System</li><li>Package Manager</li><li>Resource Manager: Handles resources like layouts and strings.</li><li>Content Provider: Enables data sharing between apps.</li><li>Facilitates interaction with other apps, UI control, and hardware access.</li><li>Sits above the Java API Framework.</li><li>Includes API interfaces and various manager modules such as:</li><li>Activity Manager</li><li>Location Manager</li><li>Telephony Manager</li><li>Package Manager</li></ul><h4>Android runtime</h4><ul><li>Android Runtime (ART) is the managed runtime environment for applications and some system services on Android.(A runtime environment provides the necessary infrastructure to execute applications, including code, libraries, and services needed during execution.)</li></ul><p><strong>Android Runtime consists of two components:</strong></p><ul><li>Core libraries: Contain Java and other necessary libraries needed to run applications.</li><li>DVM (Dalvik Virtual Machine): A runtime environment for Android designed to run apps in a more memory-efficient manner on mobile devices.</li></ul><h4>Native Libraries</h4><ul><li>Native libraries are on top of the Linux kernel.</li><li>Include libc, WebKit, OpenGL, FreeType, SQLite, Media, and C runtime library.</li><li>WebKit library: Responsible for browser support.</li><li>SQLite: Used for database management.</li><li>FreeType: Provides font support.</li><li>Media: Handles playing and recording audio and video formats.</li><li>Native libraries in the Android framework are precompiled code written in C or C++.<br>( Precompiled code: Compiled into machine-readable format (binary) before execution, not at runtime.)</li></ul><p><strong>Provide low-level system functionality, such as:</strong></p><ul><li>libc (standard C library)</li><li>OpenGL (graphics)</li><li>SQLite (database)</li></ul><h4>Hardware Abstraction Layer</h4><ul><li>The Hardware Abstraction Layer (HAL) in the Android framework is an interface for communication between the Android operating system and device hardware.</li><li>Provides a consistent API for hardware interaction.</li><li>Ensures consistent hardware functionality regardless of the underlying hardware implementation.</li></ul><h4>Linux Kernel</h4><ul><li>The Linux kernel in Android architecture is the core layer that manages hardware resources.</li><li>Handles system services such as:</li><li>Security</li><li>Memory management</li><li>Process management</li><li>Provides an abstraction layer between the hardware and the rest of the software stack.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*lvheu-eXHDimPoa6IP-JYQ.png" /></figure><p>Thank you for joining me on this journey through the essentials of Android architecture. I’ve aimed to make these concepts as simple and clear as possible, and I hope this guide has been helpful to you. Understanding these fundamentals is key to building great Android apps, and I’m excited to continue learning and sharing with you. Stay tuned for my next blog, and see you soon!!! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed87b1361854" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kerberos Authentication|| A Detailed Simplification]]></title>
            <link>https://medium.com/@hrishidevdarsan/kerberos-authentication-a-detailed-simplification-ba974a7ca71f?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba974a7ca71f</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[kerberos]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Wed, 01 May 2024 13:10:07 GMT</pubDate>
            <atom:updated>2024-05-01T13:11:27.555Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*WlTAsofqaXyPqjQ48f04Nw.png" /></figure><p>Welcome, fellow digital explorers! Today, we’re diving headfirst into the fascinating world of Kerberos authentication — a bit like unlocking the secrets of a mythical three-headed dog guarding our digital gates. You see, Kerberos isn’t just your run-of-the-mill network protocol; it’s more like your tech-savvy best friend, ensuring only the right folks get access to the good stuff in our online playground.</p><p>Think of it this way: Kerberos is the bouncer at the coolest club in town, making sure only VIPs (Very Important Persons) get past the velvet rope. Developed back in the ’80s at MIT, it’s been polished up over the years, kind of like a timeless classic that never goes out of style.</p><p>So, grab your favorite beverage, cozy up, and let’s embark on this journey together. We’ll unravel the mysteries of Kerberos, chat about its inner workings, and why it’s the go-to guardian for our digital domains. Ready? Let’s roll! 🚀</p><h3><strong>Essential Kerberos Terminologies: Understanding the ABCs of Authentication</strong></h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><ol><li><strong>KDC (Key Distribution Center)</strong>: Central component in Kerberos authentication responsible for issuing and managing cryptographic keys.</li><li><strong>AS (Authentication Server)</strong>: Initial authentication service in Kerberos that verifies user identities and issues TGTs.</li><li><strong>TGT</strong> (Ticket Granting Ticket): Ticket issued by the AS upon successful authentication, allowing users to request service tickets.</li><li><strong>krbtgt (Kerberos Service Account)</strong>: Special account used by the KDC to encrypt TGTs for secure transmission.</li><li><strong>TGS (Ticket Granting Service)</strong>: Component in Kerberos responsible for validating TGTs and issuing service tickets.</li><li><strong>ST (Service Ticket)</strong>: Ticket issued by the TGS, granting authenticated users access to specific network services.</li><li><strong>PAC (Privilege Attribute Certificate): </strong>Data structure containing user attributes and permissions, included in the user’s TGT for authorization purposes.</li><li><strong>Timestamp</strong>: A timestamp is a piece of data that represents the time at which a particular event occurred.</li><li><strong>User’s secret key</strong>: NTLM hash of the user.</li><li><strong>Service’s secret key</strong>: NTLM hash of the service.</li></ol><h3>Short version</h3><p>— — — — — — — — — —</p><ol><li>User initiates access to a service within the Active Directory by sending an encrypted message to the authentication server, requesting access and verification.</li><li>Authentication server verifies the request’s legitimacy and generates a Ticket Granting Ticket (TGT).</li><li>TGT is sent to the user.</li><li>User crafts a new message and sends it, along with the TGT, to the Ticket Granting Server (TGS).</li><li>TGS decrypts the TGT and conducts validation.</li><li>TGS generates a Service Ticket (ST).</li><li>ST is sent back to the user, along with another message.</li><li>User decrypts the message.</li><li>User creates an Authenticator message, including the ST, and sends it to the service.</li><li>The service conducts validation and grants the user access to the service.</li></ol><h3>Diving into Detailed Explanation</h3><p>— — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>STEP-1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*LeCH31IYfHlVPxnf2TsXhA.png" /></figure><p>The user starts by sending a request to the Authentication Server (AS) located within the Key Distribution Center (KDC). This request, encrypted with the user’s secret key, which is the user’s NTLM hash, contains the user’s username, their IP address, and a timestamp.</p><p>When the Authentication Server (AS) gets the request, it simply decrypts the message using the user’s secret key.</p><p><strong>STEP-2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*_QlgIPTM9ie-00lohRXuuA.png" /></figure><p>Next, the Authentication Server (AS) crafts two messages. The first one is the Ticket Granting Ticket (TGT), packed with the user’s username, IP address, Ticket Granting Service (TGS) name, timestamp, and TGS session key. It’s encrypted with the KRGTGT secret key. The second message from the AS includes the TGS name, timestamp, and TGS session key, encrypted with the user’s secret key. Both messages are then sent over to the user.</p><p>Upon receiving the message from the AS, the user decrypts the message encrypted with their secret key, retrieving the “TGS session key.” However, the user cannot decrypt the TGT because it’s encrypted with the KRBTGT secret key.</p><p><strong>STEP-3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*w1kK5O9Be8Qey3ajpHPqHA.png" /></figure><p>Now, the user crafts a user authenticator message, packing in the username, timestamp, service name, and desired ticket lifetime. This message is then encrypted with the TGS session key. Afterward, the user sends this message, along with the previously received TGT, over to the TGS (Ticket Granting Server).</p><p>Upon receiving the message, the TGS decrypts the TGT using the KRBTGT secret key to retrieve the TGS session key. With this key, it decrypts the user authenticator message, which was encrypted using the TGS session key.</p><p><strong>STEP-4</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*R-bcKy1TGhOy19l7BIRMxA.png" /></figure><p>The TGS generates a Service Ticket to grant access to the specific service that the user intends to access. This ticket includes the username, user IP, service ID, timestamp, and service session key. It’s then encrypted with the specific secret key of the service. Additionally, the TGS crafts another message containing the service name, timestamp, ticket lifetime, and service session key which is encrypted with TGS session key. Both the message and the Service Ticket are sent to the user.</p><p>Upon receiving the message, the user decrypts it using the TGS session key, thereby obtaining the service session key. However, the user is unable to decrypt the Service Ticket as it’s encrypted with the service’s secret key.</p><p><strong>STEP-5</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*9A5ZV9mVFaWgCESFClHWfg.png" /></figure><p>When the service receives the message from the user, it decrypts the service ticket using its secret key, thus obtaining the service session key. Using this key, it decrypts the user authenticator message. Afterward, the service verifies the information provided in both the Service Ticket and the user authenticator message to ensure integrity.</p><p><strong>STEP-6</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*vYJPxP22WqQpdA2nymbfCQ.png" /></figure><p>Then, the service promptly sends a PAC (Privilege Attribute Certificate) request message to the KDC to verify the user’s access privileges for the service. Subsequently, the KDC responds by sending back the PAC verification request to the service, detailing the specific user’s privileges.</p><p><strong>STEP-7</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*CZ5GV8AePkeRrp5Dm0xvSQ.png" /></figure><p>Then, the service dispatches a service authenticator message containing the service name and timestamp, encrypted with the service’s session key.</p><p>Upon receiving the service authenticator message, the user decrypts it using the service’s session key. The user then verifies that it’s indeed the intended service, and consequently gains access to the service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*TdUNsw7leqjKHAqIyqs9MQ.png" /></figure><p>In conclusion, our journey through Kerberos authentication has illuminated the intricate process of securing access to network services. From the initial request to the final verification, each step plays a crucial role in ensuring the confidentiality and integrity of our interactions. We hope this exploration has provided valuable insights into the workings of Kerberos and its importance in safeguarding digital environments. As we wrap up, I invite you to reflect on the significance of authentication protocols like Kerberos in maintaining the security of our interconnected world. Thank you for joining me on this journey, and I hope you found it both enlightening and enjoyable. Stay secure, and happy exploring!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba974a7ca71f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AD Authentication: A Brief Overview]]></title>
            <link>https://medium.com/@hrishidevdarsan/ad-authentication-a-brief-overview-03a55728fecb?source=rss-66f399bd7e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/03a55728fecb</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[kerberos]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[red-teaming]]></category>
            <dc:creator><![CDATA[Hrishidev K V]]></dc:creator>
            <pubDate>Tue, 16 Apr 2024 12:57:54 GMT</pubDate>
            <atom:updated>2024-04-16T13:30:39.091Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*LWxnCHVjSC2puioEhmwSGQ.png" /></figure><p>Hey folks! Before we get started, just a heads up — this isn’t going to be a deep dive into the technical nitty-gritty of AD authentication. Nope, we’re keeping it light and breezy! So, if you’re looking for a quick overview and don’t want to drown in the details, you’re in the right place.</p><p>Today, we’re going to talk about AD authentication — what it is, how it works, and the different flavors it comes in. We’ll touch on the basics of single sign-on and breeze through the two main types: Kerberos and LDAP. Oh, and don’t worry, we won’t leave our buddy Kerberos hanging — we’ll give it a quick high-five and move on.</p><p>By the end of this chat, you’ll have a good grasp of what AD authentication is all about, without feeling like you’ve been hit with a tech manual. So, grab a seat and let’s dive in!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*aw1nxT607m6y7M6FR2lTyQ.png" /></figure><p>So, you know how when you’re trying to log in to a bunch of different stuff at work, it’s like a never-ending game of password whack-a-mole? Well, that’s where AD authentication swoops in like a superhero for Tech teams. It’s the clever setup in Windows that basically decides who gets access to what in your company’s network. No more juggling a gazillion passwords; just one login, and you’re off to the races, wandering through the network like you own the place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*jp33OChWdERQghunCTldNg.png" /></figure><p>Before AD authentication came along, there were these old-timers called LAN Manager and NT LAN Manager, or “LM” and “NTLM” for short. Let’s just say they were about as secure as a cardboard fort in a rainstorm. AD authentication was like, “Hold my coffee,” and swooped in to save the day, kicking those old methods to the sidelines back in the Windows 2000 days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*Z-Eohr8m5RXc-HMw__UQCA.png" /></figure><p>Now, AD authentication has two main types: Kerberos and LDAP. Kerberos is like your VIP pass to the network; it hands you this special key that lets you casually walk in and out without constantly proving who you are. And it’s not just any key; it’s like a magic key that only works for you and knows exactly where you’re allowed to go. LDAP, on the other hand, is like the basic membership. You still get in, but you might have to flash your ID a few more times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*sG79Z_H3cndOitlvo4lzsg.png" /></figure><p>But wait, there’s more! For all those Linux and Mac users out there, AD authentication hasn’t forgotten about you. Linux folks can choose between LDAP or Samba, which is like the mediator between Linux and Windows, smoothing out any awkward interactions. And for Mac users, there’s this fancy connector thing that makes sure your Mac plays nice with the AD infrastructure. Just be warned, though, if you’ve got a fancy new Mac, it might get upset unless your AD domain is in top shape.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*yE4QCDmVkjhV55l2cm_gaQ.png" /></figure><p>Now, here’s the plot twist: while AD is all comfortable with Windows, it’s not exactly BFFs with other operating systems and cloud-based setups. Trying to make them all get along is like guiding the cats — messy and exhausting for IT folks. So, instead of one big happy authentication family, you end up with a bunch of little circles, which just makes everything more complicated.</p><p>So, there you have it, folks — AD authentication: the hero we need, but maybe not the one we deserve. But hey, at least it’s keeping our networks safe-ish and our IT teams on their toes!</p><p>Now then, let’s make a brief overview of Kerberos Authentication. But before that, I have to introduce you to the heart of Active Directory, “Key Distribution Center” (KDC).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*-mhXOZo3HOj3ZzAlKBmisA.png" /></figure><p>The KDC in Active Directory plays a central role in the Kerberos authentication process by providing initial authentication and issuing tickets that allow clients to access resources securely within the domain.<br>The KDC serves two main purposes within Kerberos authentication:<br>* Authentication Server<br>* Ticket Granting Server</p><h3>Kerberos Authentication in a Brief</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*HXgGAJio_U3rvi6EyTUaNg.png" /></figure><p>Alright, let’s break down Kerberos authentication into bite-sized bits! Here’s the scoop:</p><p><strong>Step 1: </strong>Picture this — you’re a user itching to access a service in Active Directory. So, what’s the first move? You shoot off a message to the authentication server, basically saying, “Hey, I need to access something here!”</p><p><strong>Step 2:</strong> The authentication server swings into action, analyzing your message to make sure you’re legit. Once it gives you the green light, it whips up a special ticket granting ticket (TGT) just for you.</p><p><strong>Step 3: </strong>Now, this TGT gets sent back to you, all wrapped up with another message, encrypted with your secret key. When it lands in your hands, you whip out that secret key and decrypt the message faster than you can say “password.”</p><p><strong>Step 4: </strong>Next up, you’re off to the ticket granting server, TGT in hand. You shoot over a new message, along with your shiny TGT, and the ticket granting server gets to work. It decrypts your TGT, does some fancy validation dances, and voila! It hands you a service ticket on a silver platter.</p><p><strong>Step 5:</strong> That service ticket makes its way back to you, bundled up with yet another message. You know the drill — decrypt that message like a pro.</p><p><strong>Step 6: </strong>Last but not least, you whip up an authenticator message, toss in your service ticket, and send it off to the service. And just like that, you’re in! Access granted, mission accomplished.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*a-KVNNPUImMsL0rP-q5S4A.png" /></figure><p>Okay everyone, we’re wrapping things up! Just a quick reminder — the goal of this article was to give you a sneak peek into the wild world of AD authentication without bogging you down with too much techy stuff. Hopefully, you’ve got the gist of it!</p><p>But hey, I get it — you might be itching to dive even deeper, maybe even dip your toes into the waters of AD pentesting. Well, fear not! We’ve got big plans brewing for our next adventure. Yep, you guessed it — we’ll be taking a deep dive into the ocean of Kerberos authentication in our upcoming article.</p><p>So, stay tuned and keep those eyes peeled for more juicy details! Until next time, folks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03a55728fecb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>