<?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 Nizam Guliyev on Medium]]></title>
        <description><![CDATA[Stories by Nizam Guliyev on Medium]]></description>
        <link>https://medium.com/@NizamGuliyev?source=rss-fdd3cfd32286------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6h920eRoHP2ZwVOn</url>
            <title>Stories by Nizam Guliyev on Medium</title>
            <link>https://medium.com/@NizamGuliyev?source=rss-fdd3cfd32286------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 07:32:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@NizamGuliyev/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[Responsible Disclosure: A Practical Plan]]></title>
            <link>https://medium.com/@NizamGuliyev/responsible-disclosure-a-practical-plan-e0cde94db0a4?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0cde94db0a4</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Wed, 19 Aug 2026 11:13:37 GMT</pubDate>
            <atom:updated>2026-08-19T11:13:37.063Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Ethical Considerations</h3><p>The core tension here is a triangle of obligations that don’t always point the same direction: protecting your organization’s customers <em>now</em>, protecting the vendor’s <em>other</em> customers (who you have no direct relationship with but who share your exposure), and not creating a roadmap for attackers in the process of doing either.</p><p><strong>Key principles at play:</strong></p><ul><li><strong>Public safety / harm minimization</strong> — This is the trump card in most professional codes (ISC², SANS, CERT/CC guidelines). Customer data protection outweighs vendor convenience or relationship preservation.</li><li><strong>Proportionate transparency</strong> — You owe the vendor a real chance to fix the issue before details become public, but “real chance” isn’t “unlimited chance.” A vendor’s slow history doesn’t justify skipping disclosure, but it does justify planning for the scenario where they stall.</li><li><strong>Non-maleficence</strong> — Don’t do anything that increases risk while you’re trying to reduce it: no public proof-of-concept before a fix exists, no discussing exploit specifics outside a tight need-to-know circle.</li><li><strong>Professional accountability</strong> — Your actions need to be defensible after the fact, to your employer, to the vendor, and potentially to regulators. This means documentation isn’t paperwork, it’s your evidence trail.</li><li><strong>Honesty about uncertainty</strong> — If you’re not 100% sure of severity or exploitability, say so rather than overstating (which burns credibility) or understating (which delays urgency).</li></ul><p><strong>The real trade-off:</strong> a cooperative, patient approach protects the vendor relationship and avoids “burning” a contact you may need again, but patience has a cost measured in customer risk-days. The way to resolve this isn’t picking one side, it’s using a <em>time-boxed</em> process, so patience has a hard limit and everyone knows it going in.</p><h3>2. Responsible Disclosure Strategy</h3><p><strong>Step 1 — Verify and scope internally, before any outside contact.</strong><br> Confirm the vulnerability is real and understand its severity (CVSS scoring helps standardize this) and blast radius: what data, what systems, what’s the realistic exploit difficulty. Don’t contact the vendor with a hunch.</p><p><strong>Step 2 — Initial vendor contact.</strong><br> Reach out through the vendor’s formal security channel (security.txt, PSIRT email, bug bounty program if one exists) rather than general support, which routes reports to the wrong queue. Send a high-level description sufficient to convey severity, but withhold exploit-level detail until you’ve confirmed you’re talking to the right people through an encrypted channel (PGP, a secure portal).</p><p><strong>Step 3 — Set explicit timelines up front.</strong><br> Standard industry norms: 90 days is the common default (Google Project Zero’s baseline), often compressed to 7–14 days if there’s evidence of active exploitation. Given this vendor’s slow history, state the timeline explicitly in writing in the first message, not as an ultimatum, but as a professional norm: “Per standard responsible disclosure practice, we plan to work with you toward a coordinated fix, with public disclosure at day X absent an agreed extension.” This sets expectations before the relationship can become adversarial.</p><p><strong>Step 4 — Structured follow-up cadence.</strong><br> Don’t just wait silently. Check in at defined intervals (e.g., day 14, day 30, day 60), and if the vendor goes dark, escalate: try a different contact path, involve a coordinating body like CERT/CC, which has leverage and relationships many vendors respect more than an individual reporter.</p><p><strong>Step 5 — Negotiate extensions in good faith, not indefinitely.</strong><br> If the vendor shows genuine progress (a patch is in QA, a date is committed), a short extension is reasonable. If they stall with no evidence of movement, the original timeline should hold. This is where having a stated deadline from Step 3 protects you: it wasn’t invented after the fact, it was agreed at the outset.</p><p><strong>Step 6 — Coordinated public disclosure.</strong><br> If the deadline passes with no fix, disclose, but even then, keep exploit detail minimal (enough for other defenders to protect themselves, not enough to hand attackers a working exploit). Where possible, still notify the vendor of the exact disclosure date shortly before it happens, so it’s not a surprise.</p><p><strong>Documentation throughout:</strong> every email, call, and internal decision timestamped and stored, this protects you if things go sideways, and demonstrates good faith if a regulator or the public later asks why you handled it the way you did.</p><h3>3. Immediate Internal Mitigation Steps</h3><p>While the vendor process plays out, your own organization isn’t defenseless:</p><ul><li><strong>Notify internal stakeholders on a need-to-know basis</strong> — security leadership, legal, and possibly compliance/privacy teams if customer PII is in scope. Keep the circle tight; this isn’t a general company announcement yet.</li><li><strong>Deploy compensating controls</strong> — depending on the vulnerability class, this might mean WAF rules, network segmentation, disabling a vulnerable feature/module, tightening access controls, or increased logging/monitoring specifically tuned to detect exploitation attempts against this flaw.</li><li><strong>Increase monitoring</strong> — put heightened detection in place (IDS signatures, log alerts) so that if someone <em>does</em> exploit this before a patch lands, you know immediately rather than finding out weeks later.</li><li><strong>Assess third-party/regulatory exposure</strong> — determine if this triggers breach-notification obligations (e.g., GDPR, state data-breach laws) if exploited, and loop in legal early so you’re not scrambling under a deadline later.</li><li><strong>Build a contingency communication plan</strong> — draft (but don’t send) customer/public messaging in advance, so that if public disclosure or an actual incident happens, you’re not writing from scratch under pressure.</li><li><strong>Consider a compensating architecture change</strong> — if feasible, reduce reliance on the vulnerable component or isolate it until patched.</li></ul><p>The throughline across all three sections: assume the vendor might not move quickly, and design a process that doesn’t depend on them moving quickly for your customers to stay protected.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0cde94db0a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mitigate CSRF: Defending Against Cross-Site Request Forgery]]></title>
            <link>https://medium.com/@NizamGuliyev/mitigate-csrf-defending-against-cross-site-request-forgery-f506a31231d7?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/f506a31231d7</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 20:41:05 GMT</pubDate>
            <atom:updated>2026-08-06T20:41:05.131Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 4 of the series on core cybersecurity concepts</em></p><p>We’ve covered injection — attacks that exploit an application’s confusion between data and code. This time we’re looking at a different kind of trick entirely: one that doesn’t attack the application’s code at all, but abuses the trust a browser places in an authenticated user.</p><h3>Introduction to CSRF</h3><p>Cross-Site Request Forgery works by hijacking something you’d never think to question: your own browser’s habit of automatically attaching your session cookies to every request it sends to a site you’re logged into. Imagine you’re logged into your bank’s website in one tab, and in another tab you visit a malicious page. That page contains a hidden form or image tag pointing to your bank’s “transfer funds” endpoint — and because your browser dutifully includes your session cookie with that request, the bank’s server has no way to tell it apart from a request you meant to make yourself. The attacker never sees your password, never steals your session token — they simply forge a request and let your own authenticated session carry it out.</p><p>This is what makes CSRF so insidious: it doesn’t exploit a bug in the traditional sense. It exploits a <em>design assumption</em> — that a request arriving with valid session credentials was intentionally initiated by the user. CSRF proves that assumption false, and it can be devastating precisely because it operates entirely within the bounds of “normal” authenticated behavior, making it invisible to defenses that only check whether a user is logged in.</p><h3>Historical Context</h3><p>CSRF isn’t new — security researchers were describing “session riding” attacks as early as the late 1990s and early 2000s, but for years it remained poorly understood and rarely taken seriously compared to more visible threats like SQL injection or XSS. That began to change in the mid-2000s as researchers and practitioners — notably through OWASP’s early advocacy — demonstrated real-world CSRF exploits against major websites, showing that attackers could force actions like changing account email addresses or making purchases without ever compromising credentials directly. CSRF earned a spot on the OWASP Top 10 by 2007, cementing it as a recognized, named threat rather than an obscure edge case. Early web applications had essentially no defense against it, since HTTP requests carried no built-in concept of “did the user really mean to send this.” Defenses matured gradually: first through ad hoc token schemes built by individual applications, later through standardized frameworks-level protections, and eventually through browser-level changes like the SameSite cookie attribute, which shifted some of the burden of defense from the application to the platform itself.</p><h3>Impact of CSRF Attacks</h3><p>The consequences of CSRF scale with whatever authenticated action the forged request can trigger. At the lower end, that might mean an unwanted setting change or a forced social media post. At the higher end, it can mean unauthorized fund transfers, password or email changes that lock the real user out of their own account, or administrative actions performed against a system by tricking a logged-in administrator into visiting a malicious page. Because the victim’s own valid session is doing the “talking,” these actions often bypass the kind of logging and anomaly detection that would flag a stolen-credential attack, making CSRF incidents harder to trace back to their true origin. For any web application handling money, personal data, or account settings, an unpatched CSRF vulnerability is a direct path to unauthorized action taken in a real user’s name.</p><h3>Mitigation Strategies</h3><p>The most established defense is the <strong>anti-CSRF token</strong> — a unique, unpredictable value generated per session (or even per request) and embedded in forms or requests. The server checks that this token accompanies any state-changing request, and since an attacker’s malicious page has no way to read or guess that token, a forged request fails validation even though the browser still attaches the session cookie automatically.</p><p><strong>The SameSite cookie attribute</strong> tackles the problem at the browser level: setting a cookie’s SameSite attribute to Strict or Lax tells the browser not to send that cookie along with requests originating from a different site, cutting off the core mechanism CSRF depends on without requiring any application-level token logic at all.</p><p><strong>Request validation</strong> through custom headers offers another layer — since cross-origin form submissions and image tags can’t set custom HTTP headers, requiring a header like X-Requested-With on state-changing requests filters out naive forgery attempts (though this shouldn&#39;t be relied on alone).</p><p><strong>Checking the Origin and Referer headers</strong> lets a server verify that a request actually originated from its own domain rather than an external page, serving as a useful secondary check.</p><p>Finally, sound practice dictates that <strong>state-changing actions should never be triggered by simple GET requests</strong> — reserving GET for safe, idempotent operations and requiring POST (paired with the protections above) for anything that modifies data removes an entire class of trivially forgeable attacks, like those hidden in a simple image tag.</p><h3>Conclusion</h3><p>CSRF is a reminder that not every vulnerability lives in a line of broken code — some live in the gap between what a system assumes and what it can actually verify. Combining anti-CSRF tokens, SameSite cookies, and proper request validation closes that gap effectively, but only if applied consistently across every state-changing endpoint. If you haven’t audited your own applications for CSRF protection recently, now is the time — it’s a well-understood, well-solved problem, but only for the applications that actually implement the fix.</p><p><strong>Next in this series:</strong> we’ll turn to broken authentication and session management — how attackers exploit weak login and session handling to impersonate legitimate users, and what it takes to lock that door properly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f506a31231d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prevent Injection: Understanding and Mitigating Injection Attacks]]></title>
            <link>https://medium.com/@NizamGuliyev/prevent-injection-understanding-and-mitigating-injection-attacks-29255f1b8f86?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/29255f1b8f86</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 20:40:19 GMT</pubDate>
            <atom:updated>2026-08-06T20:40:19.476Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 3 of the series on core cybersecurity concepts</em></p><p>We’ve covered what vulnerabilities are and the tools used to hunt them down. Now let’s zoom in on one of the most consistently dangerous vulnerability classes in software security: injection.</p><h3>Introduction to Injection Attacks</h3><p>Injection attacks happen when an application takes untrusted input and treats it as executable code or commands instead of as plain data. The application essentially loses track of the boundary between “what the user typed” and “what the system should execute” — and an attacker exploits that confusion to manipulate a database, an operating system, or another interpreter into doing something it was never meant to do. For years, injection sat at or near the top of the OWASP Top 10 list of critical web application risks, and it remains one of the most exploited flaws in production systems today, precisely because the underlying mistake — mixing data and code — is so easy to make and so easy to overlook.</p><p><strong>SQL injection</strong> is the most well-known form. If an application builds a database query by directly concatenating user input into a SQL string, an attacker can insert their own SQL logic — for example, entering input designed to always evaluate as true, bypassing a login check entirely, or appending commands that dump an entire user table. The 2017 breach of a major British telecom, and countless smaller incidents since, trace back to exactly this pattern.</p><p><strong>Command injection</strong> occurs when an application passes user input to a system shell. A file-upload feature that shells out to an image-conversion utility using the uploaded filename, without sanitizing it, can let an attacker embed shell metacharacters that execute arbitrary commands on the server.</p><p><strong>Cross-site scripting (XSS)</strong> is a close cousin, injecting malicious script into a webpage that then executes in other users’ browsers — stealing session cookies, hijacking accounts, or defacing content.</p><p><strong>LDAP injection, XML injection (XXE), and NoSQL injection</strong> follow the same underlying pattern applied to different interpreters — directory services, XML parsers, and document databases respectively — proving that injection isn’t a single bug type so much as a recurring failure mode that shows up anywhere untrusted input meets an interpreter.</p><h3>Preventing Injection Attacks</h3><p>The single most effective defense against injection is <strong>parameterization</strong> — also called prepared statements. Instead of building a query by gluing strings together, the application defines the query structure separately from the data, and the underlying engine treats user input strictly as data, never as executable syntax. This one practice eliminates the vast majority of SQL injection risk, and virtually every modern database driver supports it natively.</p><p><strong>Input validation</strong> adds a second layer, checking that input conforms to an expected format — an email field should look like an email, a numeric ID should contain only digits — using allowlists (defining what’s permitted) rather than denylists (trying to block what’s dangerous), since attackers are consistently better at finding creative bypasses than defenders are at anticipating every malicious pattern.</p><p><strong>Output encoding</strong> addresses XSS specifically, ensuring that any user-supplied content rendered in a browser is encoded so it displays as text rather than executes as script.</p><p><strong>Least privilege</strong> limits the blast radius when prevention fails: a database account used by a web application should never have permissions to drop tables or read unrelated schemas, so that even a successful injection is contained.</p><p>Beyond these core practices, modern teams lean on tooling to catch what manual review misses: the SAST and DAST tools we covered in the last post are particularly good at flagging injection-prone patterns and confirming exploitability, web application firewalls (WAFs) can filter known injection signatures at the network edge, and ORM (object-relational mapping) frameworks — when used correctly — abstract away raw query construction entirely, removing the opportunity for the mistake in the first place.</p><h3>Conclusion</h3><p>Injection attacks endure because the mistake behind them is so simple to make and so easy to miss in review: letting untrusted input blur the line between data and executable code. But the fix is equally well understood — parameterized queries, strict input validation, proper output encoding, and least-privilege access, backed by the analysis tools that catch what human reviewers overlook. For any technology-driven organization handling user input at scale, treating injection prevention as a baseline requirement rather than an afterthought is one of the highest-leverage security investments available.</p><p><strong>Next in this series:</strong> we’ll look at broken authentication and session management — how attackers exploit weak login and session handling to impersonate legitimate users, and what it takes to lock that door properly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29255f1b8f86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Kernel Vulnerability Trends: My 2026 NVD Analysis]]></title>
            <link>https://medium.com/@NizamGuliyev/linux-kernel-vulnerability-trends-my-2026-nvd-analysis-568b7714bc19?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/568b7714bc19</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 17:41:02 GMT</pubDate>
            <atom:updated>2026-08-01T17:41:02.134Z</atom:updated>
            <content:encoded><![CDATA[<h4>Methodology</h4><p>I used the NVD search interface, filtering by the keyword “Linux kernel” and narrowing results to CVEs published in 2026. I then broke the data down by quarter to look for patterns in disclosure volume, severity, and pace of new vulnerabilities.</p><h4>Overall 2026 Volume So Far</h4><p>The Linux kernel led all vendors in CVE disclosures for the first half of 2026, with over 2,300 CVEs disclosed — more than Google, Microsoft, and every other major vendor tracked. That works out to roughly 385 CVEs per month on average across Q1 and Q2 combined.</p><p>For context on the trend leading into this year, Linux kernel CVE disclosures reached around 5,500 in 2025, a 28% increase over the previous year, averaging 8–9 new kernel CVEs per day. The pace so far in 2026 — roughly 385/month, or about 12–13/day — shows the acceleration continuing on top of an already elevated 2025 baseline.</p><h4>Recent Monthly Pace</h4><p>Looking at the most recent 30-day window I checked, there were 898 new Linux kernel CVEs published, including 94 rated Critical and 393 rated High severity. That’s a sharp jump above the earlier-year average, which tells me disclosure volume has been increasing as the year progresses rather than staying flat — Q2 looks noticeably busier than Q1 based on this.</p><h4>Severity Mix</h4><p>Within that 30-day sample, roughly 44% were rated High and about 10% Critical, with the rest falling into Medium or Low. This lines up closely with what I saw in prior years — High-severity vulnerabilities made up around 42% of all Linux kernel CVEs in 2024, with Critical making up a smaller but still meaningful chunk.</p><h4>Why the Numbers Look So High</h4><p>One thing worth noting is why Linux consistently tops these charts — it’s not necessarily that the code is getting less secure. From what I found, major vendors like Apple and Microsoft tend to only report the issues they classify as “high” impact, while open-source projects like the Linux kernel report nearly everything, since they can’t predict every possible downstream use case. So part of the year-over-year increase reflects more complete and disciplined CVE reporting practices by the kernel security team, not purely a rise in actual risk.</p><h4>Notable Patterns</h4><ul><li><strong>Sustained upward trend, not a one-time spike.</strong> Going from around 1,700 CVEs in 2023 to over 3,100 in 2024, then roughly 5,500 in 2025, and now averaging well over 2,300 in just the first half of 2026 shows a clear multi-year acceleration in disclosure volume.</li><li><strong>Recency skew.</strong> The most recent 30-day window I looked at (898 CVEs) is running noticeably hotter than the H1 2026 monthly average (~385/month), which suggests later months in the year are seeing higher output than Q1 — possibly from reporting backlogs being cleared or increased triage activity.</li><li><strong>Severity mix has stayed fairly stable.</strong> Even with rising raw volume, the proportion of High and Critical findings (roughly half of all disclosures) hasn’t shifted dramatically — the rate of serious findings seems to be scaling with total volume rather than getting disproportionately worse.</li></ul><h4>Conclusion</h4><p>Based on what I found, the Linux kernel’s CVE disclosure volume has grown substantially year over year, and 2026 looks on pace to meet or exceed 2025’s total. I don’t think this is primarily a sign of the kernel becoming less secure — it largely reflects the kernel security team’s shift toward comprehensive CVE registration for even minor fixes. Still, the sheer scale — hundreds of new CVEs monthly, with roughly half rated High or Critical — reinforces to me why organizations running Linux at scale need automated, continuous vulnerability scanning rather than periodic manual review. Manually triaging this volume of disclosures just isn’t realistic without tooling built directly into the patch management pipeline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=568b7714bc19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding CVE-2021–34527: “PrintNightmare”]]></title>
            <link>https://medium.com/@NizamGuliyev/understanding-cve-2021-34527-printnightmare-469559a45b40?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/469559a45b40</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 17:39:20 GMT</pubDate>
            <atom:updated>2026-08-01T17:39:20.962Z</atom:updated>
            <content:encoded><![CDATA[<h4>Vulnerability Overview</h4><p><strong>CVE-2021–34527</strong>, widely known by its nickname <strong>PrintNightmare</strong>, is a remote code execution vulnerability in the <strong>Windows Print Spooler service</strong> — the built-in Windows component responsible for managing print jobs. According to the description, the vulnerability exists because the Print Spooler service improperly performs privileged file operations, and a successful exploit lets an attacker run arbitrary code with SYSTEM privileges. SYSTEM is the highest privilege level on a Windows machine, so this isn’t a minor foothold — it’s effectively full control. <a href="https://www.tenable.com/cve/CVE-2021-34527">Tenable</a></p><p>Once exploited, an attacker could install programs, view, change, or delete data, or create new accounts with full user rights — meaning they could persist on the machine indefinitely even after any single access point is closed. <a href="https://www.tenable.com/cve/CVE-2021-34527">Tenable</a></p><h4>Severity Rating</h4><p>Under CVSS v3.1, NVD/vendor data rates this vulnerability as: Severity HIGH, CVSS Score 8.8, with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. <a href="https://www.sentinelone.com/vulnerability-database/cve-2021-34527/">SentinelOne</a></p><p>Breaking that vector down:</p><ul><li><strong>Attack Vector: Network</strong> — exploitable remotely</li><li><strong>Attack Complexity: Low</strong> — no special conditions needed</li><li><strong>Privileges Required: Low</strong> — the attacker needs <em>some</em> level of authenticated access (this is what keeps it at 8.8 rather than the 9.8+ of a fully unauthenticated RCE), which in the original Print Spooler context often meant a standard domain user account</li><li><strong>User Interaction: None</strong></li><li><strong>Impact:</strong> High confidentiality, high integrity, high availability impact</li></ul><p>Critically, this CVE is listed in CISA’s Known Exploited Vulnerabilities (KEV) catalog, confirming it has been actively exploited in the wild — not just theoretical. <a href="https://www.sentinelone.com/vulnerability-database/cve-2021-34527/">SentinelOne</a></p><h4>Affected Systems</h4><p>The vulnerability is part of the broader PrintNightmare disclosure and affects Microsoft Windows 7, 8, 8.1, 10, and 11, as well as Windows Server 2008, 2012, 2012 R2, 2016, 2019, and 2022 — essentially the entire supported Windows ecosystem at the time, plus some end-of-life versions. It was discovered by Sangfor and patched by Microsoft on July 6, 2021, via an emergency out-of-band update — issued outside Microsoft’s normal monthly patch cycle due to the severity and active exploitation. <a href="https://en.wikipedia.org/wiki/PrintNightmare">WikipediaWikipedia</a></p><h4>Recommended Remediation Steps</h4><ol><li><strong>Apply Microsoft’s security update immediately.</strong> Security updates for Windows Server 2012, Windows Server 2016, and Windows 10 Version 1607 were released, and Microsoft recommended installing them immediately — this remains the primary fix across all affected versions. <a href="https://www.tenable.com/cve/CVE-2021-34527">Tenable</a></li><li><strong>If patching isn’t immediately possible, apply registry-based mitigations.</strong> Microsoft directed admins to confirm specific registry settings are set to 0 or left undefined as a stopgap — these settings control whether the Print Spooler will install drivers from untrusted sources (the “Point and Print” restrictions). <a href="https://www.tenable.com/cve/CVE-2021-34527">Tenable</a></li><li><strong>Disable the Print Spooler service on systems that don’t need printing</strong> — particularly domain controllers and servers, which are high-value targets and rarely need print functionality.</li><li><strong>Restrict inbound remote printing traffic</strong> at the firewall level for systems where the service must stay enabled but doesn’t need to accept spooling requests from arbitrary hosts.</li><li><strong>Monitor for exploitation indicators</strong>, since this CVE is confirmed to be actively exploited (per CISA KEV) — organizations should check event logs for suspicious Print Spooler activity, especially unexpected DLL loads or driver installations.</li></ol><h4>Why This Case Matters</h4><p>PrintNightmare is a strong real-world illustration of how the CVE/CWE/CVSS ecosystem functions together: a specific flaw got a CVE ID, was scored 8.8/High under CVSS to signal urgency, was confirmed as actively exploited (triggering CISA KEV listing and an emergency out-of-band patch), and prompted both a permanent fix (patch) and interim compensating controls (registry hardening, service restriction) — exactly the layered response model that severity-driven vulnerability management is built around.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=469559a45b40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How CVE Severity Shapes Security Prioritization]]></title>
            <link>https://medium.com/@NizamGuliyev/how-cve-severity-shapes-security-prioritization-4df7833b6692?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/4df7833b6692</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Thu, 30 Jul 2026 11:33:47 GMT</pubDate>
            <atom:updated>2026-07-30T11:33:47.592Z</atom:updated>
            <content:encoded><![CDATA[<p>A CVE identifier tells you <em>what</em> the vulnerability is — but on its own, it doesn’t tell you how urgently to act. That’s where severity ratings come in. Severity — most commonly expressed through CVSS (Common Vulnerability Scoring System) scores, which the NVD attaches to each CVE — is what turns a list of thousands of vulnerabilities into an actionable priority queue.</p><p>No organization has the time or resources to patch every vulnerability the moment it’s disclosed. Severity is the filter that decides what gets fixed today, what gets scheduled for next sprint, and what can reasonably wait.</p><h4>Why Severity Drives Prioritization</h4><p>CVSS scores (ranging 0.0–10.0) roll up several factors — how easy the flaw is to exploit, whether it requires user interaction or authentication, and how much damage it can cause (to confidentiality, integrity, or availability) — into a single number and a qualitative rating: <strong>Low, Medium, High, or Critical.</strong></p><p>This matters because real-world security teams operate under constraint: limited patching windows, limited staff, and systems that can’t always be taken offline on demand. Severity gives teams a defensible, standardized way to answer “what do we fix first?” instead of relying on gut feeling or whoever’s shouting loudest.</p><h4>How Different Severity Levels Influence Response</h4><p><strong>Critical (9.0–10.0)</strong><br> Typically means remote, unauthenticated exploitation with severe impact — think full system compromise or remote code execution with no user interaction required.<br> <em>Response:</em> Emergency patching, often within hours to a day. May trigger out-of-band (unscheduled) patch deployment, temporary system isolation, or emergency change-approval processes that bypass normal release cycles.</p><p><strong>High (7.0–8.9)</strong><br> Serious impact, but usually requires some precondition — like local access, specific configurations, or limited user interaction.<br> <em>Response:</em> Fast-tracked into the next patch cycle, often within days. Security teams may deploy compensating controls (firewall rules, WAF signatures) as a stopgap while the official patch is tested and rolled out.</p><p><strong>Medium (4.0–6.9)</strong><br> Meaningful risk, but exploitation is harder, impact is limited, or both.<br> <em>Response:</em> Scheduled into regular maintenance windows — weeks, not days. Often bundled with other updates rather than deployed standalone.</p><p><strong>Low (0.1–3.9)</strong><br> Minimal real-world impact, often requiring extensive prerequisites (physical access, highly specific configs) or resulting in minor information disclosure.<br> <em>Response:</em> Tracked and addressed during routine patch cycles, sometimes deprioritized indefinitely if the affected system is low-value or the fix carries operational risk.</p><h4>Beyond the Score: Context Still Matters</h4><p>Severity ratings are a starting point, not the whole story. A “Medium” CVE affecting a system exposed directly to the internet, or one with a known public exploit already circulating, often gets escalated above its base score — this is where frameworks like CVSS temporal and environmental metrics, or threat intelligence on active exploitation, come into play. Mature security programs combine CVE severity with asset criticality (is this a production database or a test VM?) and exploit availability to build a true risk-based prioritization model, rather than patching purely by CVSS number.</p><h4>In Short</h4><p>Severity is what makes CVE data operational. Without it, security teams would be stuck treating every vulnerability as equally urgent — an impossible standard. With it, organizations can allocate limited patching resources where they matter most: closing the doors attackers are most likely, and most able, to walk through first.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4df7833b6692" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is CVE and Why Does It Matter?]]></title>
            <link>https://medium.com/@NizamGuliyev/what-is-cve-and-why-does-it-matter-809445c6c83a?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/809445c6c83a</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Thu, 30 Jul 2026 11:26:07 GMT</pubDate>
            <atom:updated>2026-07-30T11:26:07.334Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine two security teams at different companies find the same flaw in a piece of software — but each gives it a different internal name. One calls it “the login bypass bug,” the other calls it “auth-issue-42.” When a patch comes out, or threat intel starts circulating about active exploitation, nobody can easily tell they’re talking about the same issue. This is exactly the problem CVE was built to solve.</p><p><strong>CVE stands for Common Vulnerabilities and Exposures.</strong> It’s a publicly available, standardized catalog of known cybersecurity vulnerabilities, maintained under the CVE Program (originally launched by MITRE, now coordinated with CISA and a global network of partners). Every entry gets a unique identifier — something like CVE-2024-1234 — along with a brief description and references to more detailed technical write-ups.</p><h4>The Core Purpose of CVE</h4><p>CVE’s job isn’t to tell you how severe a vulnerability is, or how to fix it — that’s what CWE and the NVD are for. CVE’s purpose is simpler and more foundational: <strong>give every known vulnerability one universal, unambiguous name.</strong></p><p>That sounds small, but it’s what makes the entire vulnerability management ecosystem function. As the CVE Program’s own tagline puts it: <em>you cannot patch what you cannot name.</em></p><h4>How CVE Contributes to Vulnerability Management and Information Sharing</h4><ol><li><strong>A common language across tools and teams.</strong> Vendors, researchers, pentesters, scanners, SIEMs, and threat intel feeds all reference vulnerabilities by their CVE ID, so a scanner alert, a vendor advisory, and a news article about active exploitation can all point to the exact same issue.</li><li><strong>Faster, coordinated response.</strong> A CVE ID becomes a rallying point. Teams can track one identifier across patch notes, exploit databases, and intel sources, instead of piecing together inconsistently-named reports.</li><li><strong>Enables automation.</strong> Because CVE IDs are structured, they can be ingested programmatically — vulnerability scanners and patch management systems automatically cross-reference software inventories against CVE lists to flag exposure.</li><li><strong>A foundation for enrichment.</strong> CVE entries are intentionally minimal — just enough to identify the vulnerability. CWE classifies <em>what kind</em> of weakness caused it, and the NVD enriches it further with CVSS severity scores, affected configurations, and impact data. None of that would be possible without the shared CVE ID tying it together.</li><li><strong>Industry-wide trust.</strong> CVE assignment follows a defined process — vulnerabilities are reported, reviewed, and issued IDs by CVE Numbering Authorities (CNAs), which include major vendors like Microsoft, Google, and Red Hat. That gives the catalog global trust and adoption.</li></ol><h4>In Short</h4><p>CVE is the naming convention underpinning the entire vulnerability disclosure and management pipeline. It doesn’t measure severity or fix anything — but without it, there’d be no reliable way to talk about vulnerabilities at all, let alone track, prioritize, and remediate them at scale.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=809445c6c83a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The illusion of the locked door: a final word on security through obscurity]]></title>
            <link>https://medium.com/@NizamGuliyev/the-illusion-of-the-locked-door-a-final-word-on-security-through-obscurity-4f78fb21aa8b?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f78fb21aa8b</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Sat, 23 May 2026 11:17:36 GMT</pubDate>
            <atom:updated>2026-05-23T11:17:36.241Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Security Fundamentals Series · 11 min read · Cybersecurity</em> <em>Concludes the series — see Parts 0–3 for Defense in Depth, Least Privilege, Separation of Duties, and Secure by Design</em></p><p>We’ve spent four posts building a picture of what good security looks like: layered, minimal, divided, and designed in from the start. For this final installment, I want to examine a principle that sits uncomfortably alongside all of those — one that security professionals argue about more than almost any other.</p><p>Security through obscurity is the idea that hiding information about a system — its design, its implementation, its configuration — adds to its security. It’s a principle with genuine defenders and fierce critics. Both sides have a point. The problem is that organizations almost never implement it correctly.</p><blockquote>“A system should not depend on the secrecy of its mechanism for its security. But that doesn’t mean secrecy has no role at all.”</blockquote><h3>What security through obscurity actually means</h3><p>At its narrowest, security through obscurity means: keeping details of your system secret in order to make it harder to attack. This sounds reasonable. It’s what you’re doing when you remove server version banners from HTTP headers, when you rename your admin panel from /admin to something less obvious, when you don&#39;t publish your internal network topology.</p><p>At its broadest — and most dangerous — it means: relying on secrecy as your primary or sole defense. Using a custom encryption algorithm because “attackers won’t know how it works.” Storing passwords with a home-grown hashing scheme and calling it secure. Patching vulnerabilities silently and hoping no one noticed the original flaw.</p><p>The gap between these two versions is where most of the debate lives. Critics attack the broad version — correctly. Defenders argue for the narrow version — also correctly. The confusion happens when an organization thinks it’s doing the narrow version while actually doing the broad one.</p><h3>The principle behind the debate: Kerckhoffs’s law</h3><p>In 1883, Auguste Kerckhoffs articulated a principle that has guided cryptographic thinking ever since: a cryptographic system should be secure even if everything about the system, except the key, is public knowledge.</p><p>Claude Shannon restated this more memorably as: “the enemy knows the system.”</p><p>This isn’t an abstract philosophical position. It’s a practical engineering discipline. When you design a system assuming the attacker knows your architecture, your algorithms, and your code — but not your keys, credentials, and secrets — you build something genuinely secure. When you design assuming the attacker doesn’t know how your system works, you build something that fails catastrophically the moment they find out. And they usually find out.</p><p>The history of cryptography is littered with proprietary algorithms that were broken shortly after being reverse-engineered: CSS (DVD encryption), A5/1 (early GSM), MIFARE Classic (transit cards used in millions of cities). Each was defended partly on the grounds that the algorithm was secret. Each fell when the secrecy failed.</p><h3>Where obscurity genuinely helps</h3><p>This is the part of the debate that critics of the principle often skip. Obscurity, as a supplementary layer, has real and documented value.</p><p><strong>Reducing automated attack surface.</strong> Changing your SSH port from 22 to a non-standard port won’t stop a determined attacker. But it will eliminate roughly 95% of automated scanning noise — bots that only check standard ports. That’s not security, but it’s a meaningful reduction in log pollution and a slight increase in the work required to target you specifically.</p><p><strong>Slowing reconnaissance.</strong> Removing software version banners, error messages that expose stack traces, and directory listings doesn’t prevent exploitation — but it forces attackers to do more work to identify which exploits to try. In a world where attackers operate at scale, anything that increases per-target cost has value.</p><p><strong>Code obfuscation as IP protection.</strong> Commercial software vendors routinely obfuscate client-side code — not to secure it, but to protect intellectual property and slow reverse engineering. This is a legitimate use of obscurity that isn’t really about security at all. Conflating the two leads to confusion.</p><p><strong>Honeypots and deception.</strong> Deliberately leaving fake credentials, directories, or endpoints that look attractive but are actually monitored is a form of applied obscurity. An attacker who walks into your honeypot has revealed themselves before reaching anything real. This is obscurity used offensively as a detection mechanism — one of its more sophisticated and legitimate applications.</p><p><strong>Non-standard configurations as noise.</strong> An organization that runs its infrastructure on unusual technology stacks — not because the stacks are better, but incidentally — benefits from lower attack volume. Most attack tooling is optimized for the most common targets. This isn’t security planning, but it’s a real side effect.</p><p>The thread connecting all of these: obscurity is adding friction, buying time, reducing noise, or enabling detection. In every case, it is supplementing real controls — not replacing them.</p><h3>Where obscurity catastrophically fails</h3><p>The failure modes of obscurity-as-primary-defense are so well-documented that they’ve become cautionary tales in security curricula.</p><p><strong>The Enigma problem.</strong> The German military’s Enigma cipher during World War II was defended partly on the premise that its operation would remain secret. When the British obtained machines and decoded the operating procedures, the entire edifice collapsed. The lesson — that “the enemy will not capture our machine” is not a security assumption — is as applicable to a cloud misconfiguration as it was to a wartime cipher.</p><p><strong>Security by obscurity invites complacency.</strong> Organizations that believe their systems are protected by secrecy stop looking for underlying vulnerabilities. When the secrecy fails — through a disgruntled employee, a reverse-engineered binary, or an accidental leak — there is nothing beneath it. This is the most dangerous failure mode: not that obscurity doesn’t work, but that it crowds out the real work.</p><p><strong>Secrets have a half-life.</strong> Source code gets leaked. Employees leave and talk. Vulnerabilities get independently discovered. Configurations are reverse-engineered. The longer a system exists, the more likely its “hidden” details are known to someone outside the organization. A security model that depends on a secret remaining secret indefinitely is a security model on a countdown timer.</p><p><strong>Obscurity compounds breach severity.</strong> When an organization discovers a vulnerability in a public, open system, they patch it. When they discover one in a secret, proprietary system, there is often pressure to patch quietly and hope nobody noticed. This suppresses the public disclosure that would have allowed other organizations to protect themselves. Obscurity, at scale, makes the entire ecosystem less secure.</p><h3>Pros and cons: the honest accounting</h3><p><strong>What obscurity legitimately contributes:</strong></p><ul><li>Reduces automated scan volume and opportunistic attack noise</li><li>Forces attackers to invest more time in reconnaissance, increasing the probability of detection</li><li>Slows exploitation of known vulnerabilities in the window before patching</li><li>Supports deception-based detection strategies (honeypots, canary tokens)</li><li>Reduces the value of leaked information to an attacker who doesn’t also have the keys</li></ul><p><strong>What obscurity does not contribute:</strong></p><ul><li>Protection against a motivated, resourced attacker with time</li><li>A substitute for patching, authentication, encryption, or access controls</li><li>Long-term security — secrets decay, systems get reverse-engineered</li><li>Resilience — when obscurity fails, it fails completely, with no fallback</li><li>Auditability — systems defended by obscurity are harder to audit, which means vulnerabilities go undetected longer</li></ul><p><strong>The honest summary:</strong> obscurity is a legitimate supplement that becomes a dangerous liability the moment it’s treated as a foundation.</p><h3>Balancing obscurity with transparency</h3><p>The natural counterweight to obscurity is openness — and here the security community has accumulated substantial evidence. Open-source cryptographic algorithms (AES, RSA, Curve25519) are trusted precisely because they have been publicly scrutinized for years. Proprietary algorithms with equivalent key lengths are not, because the same scrutiny hasn’t occurred.</p><p>This maps directly to the earlier posts in this series. Defense in Depth (Part 0) argues that security comes from layered controls, not from any single barrier — including the barrier of secrecy. Secure by Design (Part 3) argues that systems should be secure assuming the attacker knows everything about the design except the credentials.</p><p>The practical synthesis: use transparency for mechanisms, and secrecy for secrets.</p><p>Your encryption algorithm should be public and peer-reviewed. Your encryption key should be secret and rotated. Your authentication protocol should be published. Your authentication tokens should be ephemeral and unguessable. Your network architecture design can be documented internally. Your network credentials must not be.</p><p>This is how well-run organizations actually operate. They publish their security architecture on their engineering blogs. They open-source their internal tooling. They participate in bug bounty programs that invite external scrutiny. And they keep their key material, credentials, and private data tightly controlled. The transparency reinforces the secrecy by ensuring the only remaining secrets are the ones that actually need protecting.</p><h3>Where to use obscurity, and where not to</h3><p><strong>Use it as a supplementary layer — never as a foundation:</strong></p><ul><li>Remove version banners and verbose error messages from public-facing systems</li><li>Use non-default ports for administrative services, combined with firewall rules and strong authentication</li><li>Deploy honeypots and canary tokens as early-warning detection mechanisms</li><li>Obfuscate client-side code to protect intellectual property — but not to protect security logic</li><li>Vary infrastructure configuration to reduce targeted attack tooling effectiveness</li></ul><p><strong>Never use it as a primary control:</strong></p><ul><li>Do not use proprietary or home-grown cryptographic algorithms</li><li>Do not store credentials in obfuscated config files without encryption</li><li>Do not rely on hidden API endpoints as the access control mechanism</li><li>Do not patch vulnerabilities silently and assume attackers didn’t notice</li><li>Do not treat internal-only documentation as a substitute for access controls on sensitive systems</li></ul><p>The test is simple: if an attacker learned this secret tomorrow, would the system still be secure? If the answer is no, you have a problem that obscurity alone cannot solve.</p><h3>The ethical dimension</h3><p>Security through obscurity raises questions that go beyond the technical.</p><p>When an organization suppresses vulnerability disclosure to protect its reputation, it leaves other organizations and users exposed to the same flaw. When vendors ship products with hidden security mechanisms that fail on inspection, users cannot make informed risk decisions. When governments classify security research as sensitive — obscuring both vulnerabilities and the fact that they’ve been exploited — democratic accountability is compromised.</p><p>The security community has largely converged on coordinated disclosure as the ethical framework: report vulnerabilities privately to vendors, give them a fixed window to patch (typically 90 days), then disclose publicly regardless. This framework is itself a rejection of pure obscurity as an ethical matter — it treats the public’s right to know about risks in widely-used software as something that eventually outweighs a vendor’s desire to manage its reputation.</p><p>As a security practitioner, the question worth sitting with is: is my use of obscurity protecting the people who use my system, or is it protecting my organization from scrutiny? The former is a legitimate engineering decision. The latter is a different thing entirely.</p><h3>A holistic view: where obscurity fits in the complete picture</h3><p>Looking back across this series, each principle has addressed a different dimension of the same problem — how do you build systems that remain secure under adversarial conditions?</p><p>Defense in Depth answered: assume each layer fails; build so the next layer catches what the previous one missed. Least Privilege answered: minimize the damage any single compromise can do. Separation of Duties answered: ensure no single actor can complete a damaging action alone. Secure by Design answered: eliminate vulnerabilities structurally rather than patching them reactively.</p><p>Security through obscurity fits — carefully — as a friction layer within a defense-in-depth posture. It slows attackers. It reduces noise. It enables detection through deception. What it cannot do is substitute for any of the above. An organization that has done the hard work — threat modeling, access controls, least privilege, SoD, encrypted everything, CI/CD security gates — can afford to add some obscurity on top. An organization that relies on obscurity instead of doing that work has built something that looks secure and isn’t.</p><blockquote>“Obscurity buys time. Time only matters if you’ve built something worth protecting behind it.”</blockquote><h3>Practical closing recommendations</h3><ol><li>Audit what you’re currently treating as security-by-obscurity. For each instance, ask: what is the underlying control if this secret is exposed? If there isn’t one, that’s a vulnerability.</li><li>Apply obscurity deliberately, with a clear rationale. “We renamed the admin endpoint” is fine. “We rely on attackers not knowing the admin endpoint exists” is not.</li><li>Embrace public scrutiny for mechanisms. Bug bounty programs, published architecture docs, and open-source tooling make your real secrets more defensible by reducing the attack surface around them.</li><li>Document your obscurity decisions. If you’re relying on non-default configurations, renamed endpoints, or removed banners as part of your posture, write it down. That way when those things change — and they will — someone knows there was a reason.</li><li>Never suppress vulnerability disclosure to preserve obscurity. When a flaw is found, patch and disclose. The short-term reputational cost of disclosure is always lower than the long-term cost of a breach that exploited something you knew about.</li></ol><h3>Closing thought</h3><p>This series began with the premise that security is never a single wall. It ends with a reminder that even the most sophisticated multi-layered posture can be undermined by the tempting shortcut of “nobody knows this is here.”</p><p>The organizations that build genuinely resilient security programs are the ones that treat uncertainty as a design constraint rather than a marketing problem. They assume the attacker knows how their system works. They build so that knowing the architecture isn’t enough. And when someone finds a flaw, they thank them, patch it, and tell the world.</p><p>That is not just good security practice. In an industry that touches nearly every aspect of modern life, it is a form of professional ethics.</p><p>The door should be strong because it is well-built — not merely because it is hard to find.</p><p><em>This concludes the Security Fundamentals series. Parts 0–4 covered: Defense in Depth, Least Privilege, Separation of Duties, Secure by Design, and Security Through Obscurity. Each post is available on this blog.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f78fb21aa8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop patching the cracks. Build walls that don’t crack.]]></title>
            <link>https://medium.com/@NizamGuliyev/stop-patching-the-cracks-build-walls-that-dont-crack-28f1b72bdcda?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/28f1b72bdcda</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Sat, 23 May 2026 11:14:22 GMT</pubDate>
            <atom:updated>2026-05-23T11:14:22.475Z</atom:updated>
            <content:encoded><![CDATA[<p>Layered security isn’t paranoia — it’s engineering. In the first installment of this series, we unpack the principle that every mature cybersecurity strategy is quietly built on.</p><p><em>Security Fundamentals Series · 12 min read · Cybersecurity</em> <em>Continues from: Separation of Duties (Part 2)</em></p><p>There’s a telling pattern in post-incident reviews: the vulnerability was introduced at design time. A database that shouldn’t have been publicly accessible. An API that accepted unsigned tokens because “we’ll add auth later.” A logging system that captured plaintext passwords because no one thought to ask what it was logging.</p><p>These weren’t coding mistakes. They were design mistakes — made weeks or months before a single line of production code was written. And they’re exactly the class of mistake that Secure by Design exists to eliminate.</p><blockquote>“Security is not a feature you can bolt on afterward. It is a property of the architecture itself — present from the first design decision, or absent from all of them.”</blockquote><h3>Reactive vs. proactive: a fundamental shift</h3><p>The traditional security model is fundamentally reactive. You build the system, then you test it for vulnerabilities, then you patch what you find. You run penetration tests before launch. You apply CVE patches when they’re published. You investigate breaches after they happen.</p><p>This model has a structural problem: the cost of fixing a security flaw compounds with every phase it survives. A flaw caught in design costs an afternoon of rethinking. The same flaw caught in code review costs a refactor. In QA, a sprint. In production, a breach notification and legal review.</p><p><strong>Reactive (traditional):</strong> Security tested after build. Vulnerabilities discovered in penetration tests or — worse — in production. Patches applied to live systems under time pressure. Security team seen as a gate that slows delivery.</p><p><strong>Secure by Design (proactive):</strong> Security requirements defined before architecture is chosen. Threat models reviewed before code is written. Automated security gates in CI/CD catch issues at commit time. Security team embedded in product planning.</p><p><strong>By the numbers:</strong></p><ul><li>15× — Cost multiplier of fixing a security flaw in production vs. at design time (IBM Systems Sciences)</li><li>91% — Of vulnerabilities are introduced during design and architecture phases, not during coding</li><li>$4.88M — Average cost of a data breach in 2024, a record high (IBM Cost of a Data Breach Report)</li></ul><h3>The six core elements</h3><p><strong>1. Threat modeling</strong> Before writing code, ask: who attacks this, from where, and for what? STRIDE and PASTA frameworks systematically surface threats at design time, when they’re cheapest to eliminate.</p><p><strong>2. Secure defaults</strong> Systems should be secure in their default configuration. Encryption on by default. Ports closed by default. Authentication required by default. Insecurity should require deliberate action to enable.</p><p><strong>3. Attack surface minimization</strong> Every API endpoint, open port, and enabled feature is potential attack surface. Minimize what is exposed. Services that don’t need to communicate shouldn’t be able to. Interfaces that don’t need to exist shouldn’t.</p><p><strong>4. Compartmentalization</strong> Design systems so that a breach of one component doesn’t cascade. Microservices with explicit trust boundaries. Data stores scoped to their service. Networks segmented by function. Blast radius by design.</p><p><strong>5. Fail securely</strong> When something fails — a service is down, a validation throws, a timeout fires — the system should fail into a secure state. Not “deny-unless-explicitly-allowed” falls through to “allow-everything.”</p><p><strong>6. Security transparency</strong> Security shouldn’t rely on secrecy of design. Open standards, published protocols, and auditable implementations are stronger than “security through obscurity.” Kerckhoffs’s principle, applied to software.</p><h3>The secure SDLC: where security lives in the lifecycle</h3><p>Security activities belong at every phase of development, not just at the end.</p><p><strong>Requirements:</strong> Security requirements, abuse cases, compliance mapping, data classification.</p><p><strong>Design:</strong> Threat modeling, architecture review, cryptography selection, secure defaults definition.</p><p><strong>Develop:</strong> SAST scanning, secrets detection, dependency auditing, secure code review.</p><p><strong>Test:</strong> DAST scanning, fuzzing, penetration testing, security regression tests.</p><p><strong>Release:</strong> SBOM generation, artifact signing, change approval, canary deployment.</p><p><strong>Operate:</strong> Runtime monitoring, patch management, incident response, vulnerability management.</p><p>Three structural elements run across all phases: automated security gates in the CI/CD pipeline that fail builds and block merges; security champions embedded in each team rather than centralized gatekeepers; and a shared security backlog tracked and prioritized as product work, not technical debt.</p><h3>Industry examples: where design choices prevented disasters</h3><p><strong>Google’s BeyondCorp eliminated perimeter dependency</strong></p><p>In 2011, following the Operation Aurora breach, Google didn’t patch their perimeter — they eliminated the concept of it. BeyondCorp was the result: a zero-trust architecture designed from scratch around the assumption that no network, internal or external, should be trusted by default. Every access request is authenticated, authorized, and encrypted regardless of where it originates.</p><p>The design principle — not the threat response — is what made the system durable. When the COVID-19 pandemic required sudden global remote work, organizations that had patched their VPNs scrambled. Google’s engineers had been working “remotely” on the same zero-trust architecture for nearly a decade. Secure by Design meant the system worked the same from a Tokyo café as from a Mountain View office.</p><p><strong>OpenSSF Scorecard: baking security metrics into the build</strong></p><p>The Open Source Security Foundation’s Scorecard project is Secure by Design applied to open-source ecosystems. Instead of scanning for known vulnerabilities after the fact, Scorecard evaluates the security practices baked into a project: are branch protections enabled? Are dependencies pinned? Is there a vulnerability disclosure policy? Are CI checks signed?</p><p>The score isn’t about what has gone wrong — it’s about whether the design of the project’s development process makes future incidents more or less likely. It’s the difference between building a house with a smoke detector and building a house that’s harder to catch fire.</p><p><strong>Microsoft’s SDL reducing CVEs at scale</strong></p><p>After years of high-profile vulnerabilities, Microsoft introduced the Security Development Lifecycle (SDL) in 2004 — a mandatory set of Secure by Design practices across all product teams. SDL included threat modeling as a required design activity, security training for all engineers, banned dangerous APIs with compiler-enforced alternatives, mandatory security reviews before release, and a penetration testing requirement.</p><p>The results: Windows Vista, the first product built entirely under SDL, had measurably fewer critical vulnerabilities post-launch than Windows XP. SQL Server 2005 had 91% fewer vulnerabilities in its first year than SQL Server 2002. Order-of-magnitude reductions achieved by shifting security left into design, not by testing harder at the end.</p><h3>The challenges — and what to do about them</h3><p><strong>“We don’t have time”</strong> Teams under delivery pressure treat threat modeling as a luxury. Security becomes “we’ll add it in the next sprint.” The response: threat modeling doesn’t require days. A 90-minute session with STRIDE cards before architecture is finalized catches 80% of structural risks. Time spent here is negative time spent on incident response later.</p><p><strong>Security expertise is siloed</strong> Security teams are gatekeepers at the end of the pipeline, not embedded partners. The response: security champions programs place one trained volunteer per squad who bridges the gap. Combined with self-service tooling — SAST in the IDE, threat modeling templates, pre-approved secure patterns — security knowledge becomes distributed.</p><p><strong>Legacy systems resist redesign</strong> Secure by Design is straightforward for greenfield systems. Organizations running decade-old monoliths face a harder problem. The response: apply SbD incrementally. New services built to SbD standards. Wrappers and API gateways enforce secure defaults in front of legacy systems. Don’t let perfection block progress.</p><p><strong>No clear ownership</strong> “Security is everyone’s responsibility” becomes “security is no one’s priority.” The response: assign a named security owner per product area with explicit OKRs. Security review gates enforced by tooling, not willpower. Security KPIs appear in quarterly planning, not just post-incidents.</p><h3>Implementation: where to start</h3><ol><li>Run a threat modeling session on your most critical system. Use the STRIDE framework to systematically enumerate threats. You don’t need a tool — a whiteboard and a 90-minute meeting are enough to start.</li><li>Audit your default configurations. For every system, service, and library you deploy: what is the out-of-the-box security posture? Make a list and systematically harden insecure defaults. Treat them as bugs.</li><li>Embed SAST and dependency scanning in every pull request. Tools like Semgrep, Snyk, Dependabot, and CodeQL are free for open-source and fast to integrate. Developers get security feedback at commit time, not weeks later from a pen test report.</li><li>Formalize a security requirements phase in your product planning. Before technical design begins, define: what data is sensitive, what are the trust boundaries, who are the adversaries. Add it as a standing section in your architecture decision records.</li><li>Establish a security champions program. One engineer per team, trained in threat modeling and secure development, with dedicated time to engage with your security team. Not gatekeepers — translators.</li><li>Track security debt explicitly. Every known risk accepted, every threat not yet mitigated, belongs in your backlog with a severity and an owner. Invisible security debt grows silently. Visible security debt gets prioritized and paid down.</li></ol><h3>A call to action for every builder</h3><p>Secure by Design is ultimately a statement about professional standards. Civil engineers don’t design buildings and hope they’re structurally sound. They apply loads, calculate tolerances, and build in redundancy before the first brick is laid. The software industry is still learning to hold itself to an equivalent standard.</p><p>The regulatory environment is accelerating this shift. The EU’s Cyber Resilience Act, CISA’s Secure by Design guidance, and the SEC’s cybersecurity disclosure rules all signal the same thing: “we tested it and found no issues” is no longer an acceptable security posture.</p><p>The organizations that build this capability now won’t just avoid future breaches. They’ll build faster — because their engineers aren’t interrupted by incident response, their release cycles aren’t blocked by last-minute security reviews, and their customers trust them with more.</p><blockquote>“The question is not whether you can afford to build security in from the start. It’s whether you can afford to keep retrofitting it after the fact.”</blockquote><p><em>Next in the series — Part 4: Zero Trust Architecture. Never trust, always verify — why the traditional network perimeter is dead, and what building a technology company on the assumption of a hostile network actually looks like.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28f1b72bdcda" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Security Foundations · Part 1 of 8]]></title>
            <link>https://medium.com/@NizamGuliyev/security-foundations-part-1-of-8-4fce50a1fbe0?source=rss-fdd3cfd32286------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fce50a1fbe0</guid>
            <dc:creator><![CDATA[Nizam Guliyev]]></dc:creator>
            <pubDate>Thu, 21 May 2026 18:18:43 GMT</pubDate>
            <atom:updated>2026-05-21T18:18:43.512Z</atom:updated>
            <content:encoded><![CDATA[<p>The principle of least privilege: give nothing away for free</p><p>Every excess permission is a loaded gun left on the table. In this installment, we explore why minimizing access rights is one of the highest-leverage security decisions a technology company can make.</p><p>SG</p><p>Security Fundamentals Series</p><p>10 min read · Cybersecurity</p><p>Continues from: Defense in Depth (Part 0)</p><p>In Part 0, we established that security is never a single wall — it’s a system of overlapping layers. Now we zoom into one of the most impactful principles that runs through every layer: the idea that every person, process, and service should have access to exactly what it needs, and nothing more.</p><p>This sounds obvious. It rarely gets implemented correctly. And the gap between “sounds obvious” and “actually done” is where most privilege-based breaches live.</p><p>“A developer who can read the production database to debug should not be able to delete it. An API that writes to a queue should not be able to read from it.”</p><h3>What least privilege actually means</h3><p>The Principle of Least Privilege (PoLP) — sometimes called the Principle of Minimal Privilege — states that any user, application, process, or system component should operate using the minimum set of permissions required to perform its intended function.</p><p>It applies universally. An intern shouldn’t have admin access to your cloud environment because it’s “easier to set up.” A microservice that reads from a database shouldn’t have write permissions because no one thought to restrict it. A CI/CD pipeline that deploys to staging shouldn’t have credentials that also touch production.</p><p>Core principle</p><p>Least privilege isn’t about distrust — it’s about limiting the blast radius of any single compromise. When a credential, token, or account is inevitably misused, stolen, or misconfigured, the damage is contained to exactly what that identity was allowed to do. No more.</p><h3>Why it matters: when privilege goes wrong</h3><p>Abstract principles become visceral when you look at what happens in their absence. Click any case below to see how excess privilege turned a small misconfiguration into a large catastrophe.</p><p>Case studyThe SolarWinds supply chain attack (2020)</p><p>Case studyCapital One cloud misconfiguration (2019)</p><p>Near-miss patternDeveloper laptops with production database access</p><p>74%Of organizations say privileged access misuse is their top security threat (Centrify, 2022)</p><p>80%Of data breaches involve compromised privileged credentials (Forrester)</p><p>5.9×Average cost multiplier when an admin account is involved in a breach vs. a standard account</p><h3>Access levels at a glance</h3><p>The diagram below maps how access should be structured across a typical technology organization — from read-only for the broadest group, to privileged admin access for the smallest. The key insight: the pyramid should be narrow at the top and very wide at the bottom.</p><p>Privileged adminRoot, cloud admin, DBAElevated accessDeploy, config change, secrets readStandard userApp access, own-team dataRead-only / limitedDashboards, logs, public dataFewest usersMost usersprivilege level</p><h3>Application across domains</h3><p>Least privilege is not a single setting — it’s a design principle that must be applied independently across every domain in your stack.</p><h4>Cloud IAM</h4><p>Use service-account-per-workload. No wildcard actions (*) in production IAM policies. Enforce SCPs at the org level. Rotate access keys; use instance roles instead.</p><h4>Databases</h4><p>Application accounts get SELECT on only the tables they read, INSERT on only what they write. No app account has DROP or TRUNCATE. Separate accounts for migrations and analytics.</p><h4>Operating systems</h4><p>Processes run as unprivileged users. No service runs as root unless unavoidable. sudo policies are per-command, not blanket. Use mandatory access control (SELinux/AppArmor).</p><h4>APIs &amp; microservices</h4><p>Service-to-service calls use short-lived tokens scoped to the caller’s needs. No service holds credentials for another service’s database. Mutual TLS for internal communication.</p><h4>CI/CD pipelines</h4><p>Deploy credentials are environment-specific and short-lived. Staging pipelines cannot touch production. Secret injection happens at runtime via vault, not at build time.</p><h4>Human access</h4><p>No standing production access for engineers. Just-in-time (JIT) elevated access with time limits and approval workflows. Every privileged session is recorded and auditable.</p><h3>The challenges — and how to beat them</h3><p>Challenge 1: The “just in case” instinct</p><p>Teams often grant broad permissions because it’s faster than figuring out the minimal set. This is technical debt that accrues silently. Solution: Adopt a deny-by-default posture. Start from no access and add only what’s needed, rather than starting from full access and revoking.</p><p>Challenge 2: Privilege creep over time</p><p>A developer joins a project, needs elevated access for a sprint, and never has it revoked. Multiply by 50 engineers over 3 years and you have a landscape of ghost permissions. Solution: Quarterly access reviews, automated deprovisioning when team membership changes, and time-bounded access grants enforced by PAM tooling.</p><p>Challenge 3: Shared service accounts</p><p>Shared credentials are unauditable — you can’t know who used the “deploy-user” account last Tuesday at 3am. Solution: One service account per workload, per environment. Use identity federation (OIDC, AWS IAM Roles Anywhere) so humans never touch static long-lived credentials.</p><p>Challenge 4: Developer friction</p><p>If least privilege makes debugging painful, engineers will route around it. Solution: Invest in developer-friendly tooling — a self-service JIT access portal, anonymized read replicas for debugging, and clear runbooks for requesting elevated access. Friction should be low, not zero.</p><h3>Implementation: where to start</h3><p>The following steps are prioritized by impact. Organizations that have done none of this should start at step 1; those with mature IAM programs might jump to step 4.</p><ul><li>1Conduct an access audit. Export all IAM policies, database grants, and group memberships. For each: ask “does this entity actually use this permission?” AWS IAM Access Analyzer, GCP Policy Analyzer, and tools like Cloudtrail + Athena make this tractable.</li><li>2Implement RBAC everywhere. Define roles based on job function, not individuals. “Senior backend engineer on team payments” gets a well-defined role that can be assigned and revoked cleanly. Never assign permissions directly to individual users.</li><li>3Eliminate standing privileged access for humans. No engineer should have a persistent admin account into production. Deploy a PAM tool (CyberArk, HashiCorp Boundary, AWS IAM Identity Center) to broker time-limited, just-in-time access with full session recording.</li><li>4Automate provisioning and deprovisioning. Connect your IdP (Okta, Azure AD, Google Workspace) to downstream systems via SCIM. When someone’s role changes or they leave the company, access revocation should be automatic, not a checklist item.</li><li>5Apply least privilege to non-human identities. CI/CD service accounts, Lambda execution roles, and container runtime permissions are often far more overprivileged than human accounts — and they’re harder to audit manually. Use infrastructure-as-code (Terraform, CDK) to enforce minimal permissions at the point of creation.</li><li>6Set up continuous monitoring for privilege anomalies. SIEM rules that alert on unusual resource access patterns (an account accessing S3 buckets it’s never touched, a service calling an API it’s never used) are an effective compensating control when perfect PoLP enforcement is impractical.</li></ul><h3>Closing thought</h3><p>The Principle of Least Privilege is one of those ideas that gets widespread intellectual agreement and inconsistent practical application. Every engineer knows it’s correct. Most organizations have dozens of accounts that violate it.</p><p>The gap usually isn’t ignorance — it’s inertia, friction, and the compounding effect of small shortcuts taken at speed. The fix isn’t a single audit; it’s building systems and culture where least privilege is the path of least resistance, not the path of most effort.</p><p>Done well, least privilege doesn’t slow your team down. It makes the blast radius of every incident smaller, the audit trail clearer, and the compliance conversation much shorter.</p><p>“Unused permissions aren’t harmless. They’re attack surface, patiently waiting.”</p><p>Least privilege is one of those principles that reveals organizational culture as much as technical maturity. We’d love to hear your experience — click a question below to continue the conversation:</p><p>What PAM tools work best for a startup starting out? ↗How does least privilege apply in Kubernetes environments? ↗What are the most common RBAC implementation mistakes? ↗How do you build the business case for PAM tooling? ↗</p><p>Next in the series · Part 2</p><h3>Zero Trust Architecture →</h3><p>Never trust, always verify — why the traditional network perimeter is dead and what replaces it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fce50a1fbe0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>