<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AppSec · Brennenstuhl on Security</title><link>https://www.janbrennenstuhl.eu/topics/application-security/</link><description>Secure defaults, platform-level controls and the attacks they have to hold against, from phishing to supply chains.</description><language>en-GB</language><copyright>Original writing CC BY 4.0, Jan Brennenstuhl</copyright><atom:link href="https://www.janbrennenstuhl.eu/topics/application-security/index.xml" rel="self" type="application/rss+xml"/><item><title>AppSec in the Age of Agentic Engineering</title><link>https://www.janbrennenstuhl.eu/talks/htw-berlin-agentic-appsec/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/talks/htw-berlin-agentic-appsec/</guid><pubDate>Fri, 03 Jul 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;Guest lecture by Jan Brennenstuhl for the cybersecurity course at Hochschule für Technik und Wirtschaft Berlin (HTW), summer term 2026.&lt;/p&gt;
&lt;h2 id="materials"&gt;Materials &lt;a class="heading-anchor" href="#materials" aria-label="Link to section: Materials"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/new-appsec-operating-model/htw-berlin-agentic-appsec-slides.pdf"&gt;Slides (PDF)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/new-appsec-operating-model/"&gt;Supporting essay: Guest Lecture at HTW Berlin: AppSec in the Age of Agentic Engineering&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="reading-companion"&gt;Reading companion &lt;a class="heading-anchor" href="#reading-companion" aria-label="Link to section: Reading companion"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Coding agents write a growing share of production code, so security feedback that arrives after the code exists cannot keep up. The lecture argues that AppSec teams get the most leverage from the harness the agent runs in: the rules, tools, sandboxes and credentials around the model, not the model itself. Three practices follow: deliver security findings while the task is still in the agent&amp;rsquo;s context, run agent tasks in disposable sandboxes with short-lived task-scoped credentials, and measure risk per change instead of per release.&lt;/p&gt;
&lt;p&gt;This is a short reading companion, not a transcript. The supporting essay is the condensed lecture with context and references in accessible HTML.&lt;/p&gt;</description></item><item><title>Guest Lecture at HTW Berlin: AppSec in the Age of Agentic Engineering</title><link>https://www.janbrennenstuhl.eu/new-appsec-operating-model/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/new-appsec-operating-model/</guid><pubDate>Fri, 03 Jul 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;I recently gave a guest lecture to the cybersecurity course at Hochschule für Technik und Wirtschaft Berlin (HTW). The topic was application security (AppSec) in the age of agentic engineering, and how coding agents change the daily work of developers and AppSec teams.&lt;/p&gt;
&lt;p&gt;My central argument: AppSec teams have to move from finding problems after code is written to shaping the systems that coding agents write code inside. Agentic engineering makes weak defaults, slow handoffs, and local exceptions more expensive, so the biggest wins now come from the harness, the platform, and the risk model.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://www.janbrennenstuhl.eu/new-appsec-operating-model/htw-berlin-agentic-appsec-slides.pdf" title="Application Security in the Age of Agentic Engineering"&gt;full slide deck&lt;/a&gt; contains the key points, examples, and references from the session. Below is a condensed version of the lecture with some additional context and links.&lt;/p&gt;
&lt;h2 id="fixing-findings-is-the-new-bottleneck"&gt;Fixing Findings Is the New Bottleneck &lt;a class="heading-anchor" href="#fixing-findings-is-the-new-bottleneck" aria-label="Link to section: Fixing Findings Is the New Bottleneck"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The adoption numbers make this hard to dismiss. &lt;a href="https://www.kaggle.com/whitepaper-the-new-SDLC-with-vibe-coding" title="The New SDLC With Vibe Coding" class="ext"&gt;Google&amp;rsquo;s New SDLC whitepaper&lt;/a&gt; estimates that as of early 2026, 85% of professional developers use AI coding agents regularly, 51% use them daily, and roughly 41% of new code is AI-generated. Addy Osmani, one of the authors, wrote a &lt;a href="https://addyosmani.com/blog/new-sdlc-vibe-coding/" title="The New Software Lifecycle" class="ext"&gt;readable summary&lt;/a&gt; if you don&amp;rsquo;t want to read the whole paper.&lt;/p&gt;
&lt;p&gt;Coding agents don&amp;rsquo;t write one function and wait for review. They write, test, read the failures, rewrite, and verify, often several times per hour. Security scanners can keep up with that loop. The old queue of triage, ticketing, and human remediation can&amp;rsquo;t. At that speed, an AppSec team has plenty of findings and lacks a fast way to turn them into fixes.&lt;/p&gt;
&lt;p&gt;The way to close that gap is to return security feedback while the agent still holds the task in its context, so it can repair the problem in the same session. I&amp;rsquo;d reserve tickets for 2 cases: the in-session loop failed, or new findings surface in artifacts that are already deployed.&lt;/p&gt;
&lt;p&gt;Remediation also changes shape at fleet scale. Instead of hunting down individual findings, the AppSec team designs the fix for a whole vulnerability class, and agents apply it to every affected service. I describe this model in more detail in &lt;a href="https://www.janbrennenstuhl.eu/appsec-agentic-engineering/" title="AppSec in the Age of Agentic Engineering"&gt;AppSec in the Age of Agentic Engineering&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="the-harness-is-the-control-plane"&gt;The Harness Is the Control Plane &lt;a class="heading-anchor" href="#the-harness-is-the-control-plane" aria-label="Link to section: The Harness Is the Control Plane"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The whitepaper offers a useful mental model: an agent is a model plus a harness. The harness is everything around the model: instructions and rule files, tools and Model Context Protocol (MCP) servers, guardrails, sandboxes, orchestration, and observability. The authors estimate the split at roughly 10% model and 90% harness. Osmani gives a public example in his summary: on Terminal Bench 2.0, 1 team moved a coding agent from outside the top 30 into the top 5 by changing only the harness and keeping the same model underneath.&lt;/p&gt;
&lt;p&gt;The harness is also where an AppSec team has the most control. A stronger model helps, but it won&amp;rsquo;t fix unsafe access defaults, missing tests, or an insecure tool configuration on its own. So I&amp;rsquo;d ship security skills, local scanning, and review feedback into the harness, where agents can check and improve their own work before a pull request exists.&lt;/p&gt;
&lt;h2 id="shift-security-down-into-the-platform"&gt;Shift Security Down into the Platform &lt;a class="heading-anchor" href="#shift-security-down-into-the-platform" aria-label="Link to section: Shift Security Down into the Platform"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Shift-left still catches mistakes early, but it doesn&amp;rsquo;t remove the security decisions that every team and every agent has to make. At agent speed, each local workaround becomes a reusable pattern, and architectural drift compounds across the fleet.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s why I argued for &lt;a href="https://github.com/kubernetes/sig-security/blob/main/sig-security-docs/papers/shift-down/shift-down-security.md" title="Kubernetes SIG Security: Shifting Down Security" class="ext"&gt;shift-down security&lt;/a&gt;. Instead of asking whether a team implemented authentication correctly, ask why the team needs to implement authentication at all. A mature platform makes that question unnecessary: it exposes APIs with authentication built in, gives workloads scoped identity, and offers a deployment path that is secure by default.&lt;/p&gt;
&lt;p&gt;Hardened base images, service templates, platform-owned delivery pipelines, and workload identity remove whole categories of errors and make the secure path the easy path. In my experience, agents follow it. These constraints move undifferentiated choices into a maintained platform, and teams keep the engineering decisions that make their product different. &lt;a href="https://www.janbrennenstuhl.eu/shift-down-appsec/" title="Shift Down: Why Agentic Engineering Demands Platform-Level Security"&gt;Shift Down: Why Agentic Engineering Demands Platform-Level Security&lt;/a&gt; explains this platform role in more detail.&lt;/p&gt;
&lt;h2 id="give-risk-an-operational-budget"&gt;Give Risk an Operational Budget &lt;a class="heading-anchor" href="#give-risk-an-operational-budget" aria-label="Link to section: Give Risk an Operational Budget"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Agentic engineering also needs security decisions that work at machine speed. Blocking every finding doesn&amp;rsquo;t scale, and neither does ignoring them. I suggested borrowing the &lt;a href="https://sre.google/sre-book/embracing-risk/" title="Embracing Risk" class="ext"&gt;error-budget model&lt;/a&gt; from site reliability engineering (SRE) and applying it to security exposure.&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;risk budget&lt;/strong&gt; caps how long a high-risk, reachable vulnerability may stay in production. Reachability analysis turns raw findings into business exposure: a known vulnerability (CVE) in dead code doesn&amp;rsquo;t consume the same budget as the same CVE behind a public API. The budget gives people and agents a clear decision rule: fix what burns the budget, defer what doesn&amp;rsquo;t.&lt;/p&gt;
&lt;p&gt;Security then becomes a shared operating concern with an accountable number attached. Instead of an impossible demand (fix every finding), the team decides on an exposure window and defends it.&lt;/p&gt;
&lt;h2 id="the-coding-agent-is-an-attack-surface"&gt;The Coding Agent Is an Attack Surface &lt;a class="heading-anchor" href="#the-coding-agent-is-an-attack-surface" aria-label="Link to section: The Coding Agent Is an Attack Surface"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The agent itself belongs in the threat model. Each task is an untrusted workload: it executes arbitrary code and reads dependency metadata, issue descriptions, pull-request comments, and documentation. That creates a large internal code-execution surface and exposes the agent to &lt;a href="https://owasp.org/www-project-top-10-for-large-language-model-applications/" title="OWASP Top 10 for Large Language Model Applications" class="ext"&gt;prompt injection and excessive agency&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A warning in a rule file won&amp;rsquo;t protect against that. Run agent tasks in disposable cages, such as &lt;a href="https://nono.sh/" class="ext"&gt;nono&lt;/a&gt; OS-level sandboxes or &lt;a href="https://firecracker-microvm.github.io/" title="Firecracker" class="ext"&gt;Firecracker microVMs&lt;/a&gt;, and issue short-lived, task-scoped credentials through an identity broker. Persistent roles and long-lived API keys don&amp;rsquo;t belong in an agent context.&lt;/p&gt;
&lt;h2 id="what-i-asked-the-students-to-learn"&gt;What I Asked the Students to Learn &lt;a class="heading-anchor" href="#what-i-asked-the-students-to-learn" aria-label="Link to section: What I Asked the Students to Learn"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I closed the session with direct advice: learn software engineering deeply, and learn to think in platforms. Get comfortable with distributed systems, identity and access management (IAM), observability, infrastructure as code, and the economics of risk.&lt;/p&gt;
&lt;p&gt;Agentic engineering makes AppSec more structural and more software-heavy. The next generation of AppSec engineers will still understand attacks and secure coding, but their biggest impact will come from building paved roads (maintained, secure defaults that teams use without asking), hardening harnesses, and designing systems where insecure choices are rare.&lt;/p&gt;</description></item><item><title>Shift Down: Why Agentic Engineering Demands Platform-Level Security</title><link>https://www.janbrennenstuhl.eu/shift-down-appsec/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/shift-down-appsec/</guid><pubDate>Sun, 14 Jun 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;An organization with 500 engineering teams rarely has a single way to build, deploy, and operate services. It has a preferred path, a few tolerated exceptions, and a long tail of custom setups. Over time, local optimizations pile up on top of historical accidents. Now give every engineer multiple coding agents that produce code at machine speed. The inconsistency does not grow linearly. It compounds.&lt;/p&gt;
&lt;p&gt;This is the core tension of &lt;a href="https://www.janbrennenstuhl.eu/appsec-agentic-engineering/" title="AppSec in the Age of Agentic Engineering"&gt;agentic engineering for AppSec&lt;/a&gt;: Agents amplify whatever patterns exist. Good patterns scale. Bad patterns scale faster. The response most organizations reach for is shift-left: More scanning, earlier detection, faster feedback loops. That helps. But it treats symptoms. The structural answer is &lt;strong&gt;shift-down&lt;/strong&gt;: Embedding security into the platform layer so that insecure choices become difficult or impossible, rather than merely detectable.&lt;/p&gt;
&lt;h2 id="shift-left-distributes-responsibility-shift-down-removes-decisions"&gt;Shift-Left Distributes Responsibility. Shift-Down Removes Decisions. &lt;a class="heading-anchor" href="#shift-left-distributes-responsibility-shift-down-removes-decisions" aria-label="Link to section: Shift-Left Distributes Responsibility. Shift-Down Removes Decisions."&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Shift-left answered the question: &lt;em&gt;Who should own security?&lt;/em&gt; The answer was everyone. Development teams run their own SAST, manage their own dependencies, configure their own infrastructure. The intent was sound. The result, in many organizations, was that hundreds of teams now make thousands of security-relevant decisions independently, with varying expertise and attention.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://cloud.google.com/blog/products/application-development/richard-seroter-on-shifting-down-vs-shifting-left" title="Richard Seroter on Shifting Down vs. Shifting Left" class="ext"&gt;Shift-down asks a different question&lt;/a&gt;: &lt;em&gt;Which security decisions should exist at all?&lt;/em&gt; Instead of teaching every team to build a secure CI/CD pipeline, the platform ships one standard pipeline that verifies, tests, scans, signs, and deploys by default. Instead of auditing IAM policies across services, the platform binds short-lived credentials to Kubernetes workloads automatically. Instead of reviewing pod security settings and container hardening across the fleet, a platform-owned &lt;code&gt;WebService&lt;/code&gt; resource deploys on a managed base image with secure defaults.&lt;/p&gt;
&lt;p&gt;The Kubernetes Security SIG formalized this distinction in their &lt;a href="https://github.com/kubernetes/sig-security/blob/main/sig-security-docs/papers/shift-down/shift-down-security.md" title="Kubernetes SIG Security: Shifting Down Security" class="ext"&gt;shift-down security paper&lt;/a&gt;: Security outcomes improve when platforms absorb complexity that individual teams previously handled alone. The two approaches are complementary. Shift-left catches what slips through. Shift-down reduces what can slip through in the first place.&lt;/p&gt;
&lt;h2 id="agentic-engineering-makes-this-urgent"&gt;Agentic Engineering Makes This Urgent &lt;a class="heading-anchor" href="#agentic-engineering-makes-this-urgent" aria-label="Link to section: Agentic Engineering Makes This Urgent"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Human engineers introduce inconsistency slowly. A team picks a non-standard auth library. Another team forks a deployment template. Over months, drift accumulates. Organizations notice, create governance processes, schedule remediation campaigns.&lt;/p&gt;
&lt;p&gt;Coding agents reproduce inconsistency at machine speed. Every non-standard pattern in the codebase becomes context for generation. Every local workaround becomes a template. Every exception becomes &lt;a href="https://www.devprojournal.com/software-development-trends/devops/in-2024-prepare-to-shift-down-not-left/" title="In 2024, Prepare to Shift Down, Not Left" class="ext"&gt;infinitely scalable&lt;/a&gt;. The risk is not that agents produce insecure code in isolation. It is that they rapidly multiply architectural entropy across the fleet.&lt;/p&gt;
&lt;p&gt;Shift-left tooling (scanners, gates, review agents) catches individual instances after they appear. That was viable when inconsistency grew at human speed. At agent speed, the detection-and-remediation loop cannot keep up. You cannot scan your way out of a problem that regenerates faster than you fix it. The leverage is upstream: Make the inconsistency impossible to produce.&lt;/p&gt;
&lt;h2 id="platforms-as-security-architecture"&gt;Platforms as Security Architecture &lt;a class="heading-anchor" href="#platforms-as-security-architecture" aria-label="Link to section: Platforms as Security Architecture"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Good platforms are opinionated. They encode architectural preferences and reject alternatives. This is not bureaucracy. It is &lt;a href="https://medium.com/google-cloud/shifting-security-down-early-1a42169d05a5" title="Shifting Security Down Early" class="ext"&gt;engineering leverage&lt;/a&gt;: Every abstraction that removes a choice also removes an opportunity for mistakes.&lt;/p&gt;
&lt;p&gt;Base images, Dockerfiles, CI/CD pipelines, pod security contexts: These are platform concerns, not product concerns. When organizations treat them as team responsibilities, they get 500 variations of the same solved problem, each with its own security gaps. The alternative: Product teams declare &lt;em&gt;what&lt;/em&gt; they need, and the platform handles &lt;em&gt;how&lt;/em&gt; it runs securely.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Custom platform resources&lt;/strong&gt; (Kubernetes CRDs, internal service APIs) abstract entire categories of security decisions. A team declares a &lt;code&gt;WebService&lt;/code&gt; resource. The platform operator provisions a hardened container from a managed base image, injects mTLS sidecars, attaches scoped credentials via workload identity, configures egress policies, and wires observability. No Dockerfile. No pipeline YAML. No security context to misconfigure.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Managed identity services&lt;/strong&gt; issue short-lived, scoped credentials automatically. Teams do not configure service accounts or rotate secrets. They annotate their workload, and the platform binds identity at deploy time.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Platform-owned build and delivery pipelines&lt;/strong&gt; compile, test, scan, verify, sign, and deploy artifacts without team-maintained configuration. Security scanning is not opt-in. It is invisible. Teams push code. The platform does the rest.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Each of these shifts security from &amp;ldquo;a thing teams do&amp;rdquo; to &amp;ldquo;a property teams cannot opt out of&amp;rdquo;. Agents, which follow the path of least resistance by design, naturally produce code that fits within platform constraints rather than working around them.&lt;/p&gt;
&lt;h2 id="appsec-moves-from-enforcement-to-architecture"&gt;AppSec Moves from Enforcement to Architecture &lt;a class="heading-anchor" href="#appsec-moves-from-enforcement-to-architecture" aria-label="Link to section: AppSec Moves from Enforcement to Architecture"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Traditional AppSec reviews decisions made elsewhere. Shift-down AppSec decides which decisions should exist. Instead of asking &lt;em&gt;&amp;ldquo;did this team implement authentication correctly?&amp;rdquo;&lt;/em&gt;, the question becomes &lt;em&gt;&amp;ldquo;why are teams implementing authentication themselves?&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This reframes the operating model:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;From policy documents to platform primitives.&lt;/strong&gt; The 50-page security standard becomes a set of platform defaults, service templates, and &lt;a href="https://www.openpolicyagent.org/" title="Open Policy Agent" class="ext"&gt;policy-as-code&lt;/a&gt; rules. Coding agents (usually) do not read PDFs. They consume MCPs, CLIs and constraints.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;From reviewing PRs to designing abstractions.&lt;/strong&gt; The highest-leverage work is not catching a broken IAM policy in review. It is designing the identity service so that broken IAM policies cannot be expressed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;From remediation campaigns to platform upgrades.&lt;/strong&gt; When security lives in the platform, fixing a vulnerability class means upgrading the platform once instead of patching hundreds of services individually. The fleet inherits the fix.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This does not eliminate the need for detection. Edge cases exist. Custom integrations break assumptions. New vulnerability classes appear. But detection becomes the fallback, not the primary mechanism.&lt;/p&gt;
&lt;h2 id="the-paradox-less-freedom-more-productivity"&gt;The Paradox: Less Freedom, More Productivity &lt;a class="heading-anchor" href="#the-paradox-less-freedom-more-productivity" aria-label="Link to section: The Paradox: Less Freedom, More Productivity"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Engineers often interpret constraints as a lack of trust. The evidence points the other direction.&lt;/p&gt;
&lt;p&gt;Modern cloud engineers have far less infrastructure freedom than system administrators twenty years ago. They cannot choose their hypervisor, their network stack, or their storage firmware. Yet they are dramatically more productive. Few miss managing physical servers. The same applies to security constraints. Every hour spent on container configuration or pipeline maintenance is an hour not spent on the problem the product engineering team exists to solve. Constraints do not limit productivity. They redirect it toward differentiation.&lt;/p&gt;
&lt;h2 id="where-this-leaves-appsec-teams"&gt;Where This Leaves AppSec Teams &lt;a class="heading-anchor" href="#where-this-leaves-appsec-teams" aria-label="Link to section: Where This Leaves AppSec Teams"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Earlier this year, I argued that &lt;a href="https://www.janbrennenstuhl.eu/appsec-agentic-engineering/" title="AppSec in the Age of Agentic Engineering"&gt;AppSec must become an engineering discipline&lt;/a&gt;: building tooling, shipping remediation at scale, treating risk quantitatively. Shift-down refines the target. The tooling AppSec builds is not primarily scanners and gates. It is platform primitives, secure defaults, and opinionated abstractions that make insecure choices structurally difficult.&lt;/p&gt;
&lt;p&gt;This requires a different skill set. AppSec engineers become platform engineers who specialize in security properties. They design APIs and MCPs, build service templates, contribute to infrastructure abstractions, and maintain (or support) the paved roads that the rest of engineering (and their agents) follow.&lt;/p&gt;
&lt;p&gt;The organizations that will thrive in an agentic world are not those that allow infinite flexibility. They are those that carefully decide where flexibility should exist and where it should not. Shift-left taught us that everyone owns security. Shift-down teaches us that not everything should remain a choice. The future belongs to teams that understand the difference.&lt;/p&gt;</description></item><item><title>Dependency Updates: latest Is Not a Security Strategy</title><link>https://www.janbrennenstuhl.eu/dependency-updates/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/dependency-updates/</guid><pubDate>Fri, 15 May 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;On March 31, 2026, &lt;a href="https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/" title="Microsoft: Mitigating the Axios npm supply chain compromise" class="ext"&gt;North Korean state actors compromised Axios&lt;/a&gt;, an npm package with over 70 million weekly downloads. Any project declaring &lt;code&gt;axios@^1.14.0&lt;/code&gt; connected to attacker C2 infrastructure the next time &lt;code&gt;npm update&lt;/code&gt; ran. Six weeks later, a &lt;a href="https://snyk.io/blog/tanstack-npm-packages-compromised/" title="Snyk: TanStack npm packages compromised" class="ext"&gt;self-propagating worm hit 42 TanStack packages&lt;/a&gt;. It reached Mistral AI, UiPath, and &lt;a href="https://thehackernews.com/2026/05/tanstack-supply-chain-attack-hits-two.html" title="The Hacker News: TanStack Supply Chain Attack Hits Two OpenAI Employee Devices" class="ext"&gt;OpenAI&lt;/a&gt; within hours. It also carried valid &lt;a href="https://slsa.dev/spec/v1.0/levels" title="SLSA security levels" class="ext"&gt;SLSA provenance&lt;/a&gt; attestations, signed by the legitimate build pipeline.&lt;/p&gt;
&lt;p&gt;The same infrastructure that helps us stay current also amplified these attacks. Automated dependency updates pushed the compromised packages into production builds faster than any human could react.&lt;/p&gt;
&lt;p&gt;We learned that outdated dependencies are dangerous. That is true. But many teams have flipped the lesson around. &lt;em&gt;Newer&lt;/em&gt; is treated as &lt;em&gt;safer&lt;/em&gt;. It is not.&lt;/p&gt;
&lt;h2 id="the-trust-problem"&gt;The Trust Problem &lt;a class="heading-anchor" href="#the-trust-problem" aria-label="Link to section: The Trust Problem"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Modern package managers are not static library linkers. They are code execution pipelines. A single &lt;code&gt;npm install&lt;/code&gt; can run &lt;a href="https://docs.npmjs.com/cli/v11/using-npm/scripts" title="npm scripts documentation" class="ext"&gt;arbitrary install scripts&lt;/a&gt;, read credentials, and run with full CI permissions. It does this across hundreds of transitive packages that nobody on the team has reviewed. Every dependency expands your &lt;a href="https://en.wikipedia.org/wiki/Trusted_computing_base" title="Trusted Computing Base" class="ext"&gt;trusted computing base&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote class="quote"&gt;It&amp;rsquo;s not every dependency you add that&amp;rsquo;s a problem; it&amp;rsquo;s every dependency you update.&lt;footer&gt;Ben Hoyt, &lt;a href="https://benhoyt.com/writings/dependencies/"&gt;&lt;cite&gt;Every dependency you add is a supply chain attack waiting to happen&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;Two problems arise here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Version ranges like &lt;code&gt;^1.14.0&lt;/code&gt; do not mean &lt;em&gt;&amp;ldquo;I trust version 1.14.0&amp;rdquo;&lt;/em&gt;. They mean &lt;em&gt;&amp;ldquo;I trust every future release that matches this constraint&amp;rdquo;&lt;/em&gt;. That is a large, open-ended trust delegation. The Axios attackers used exactly that. Version &lt;code&gt;1.14.1&lt;/code&gt; was a &lt;a href="https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/" title="Microsoft: Mitigating the Axios npm supply chain compromise" class="ext"&gt;manifest-only change&lt;/a&gt; that added a malicious dependency while leaving the Axios source code untouched. &lt;a href="https://semver.org/" title="Semantic Versioning Specification" class="ext"&gt;Semantic versioning&lt;/a&gt; signals maintainer intent, not trustworthiness. The same applies to &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Docker_Security_Cheat_Sheet.html" title="OWASP Docker Security Cheat Sheet" class="ext"&gt;floating Docker tags&lt;/a&gt;, &lt;a href="https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions" title="GitHub: Security hardening for GitHub Actions" class="ext"&gt;unpinned GitHub Actions&lt;/a&gt;, and &lt;code&gt;latest&lt;/code&gt; tags everywhere.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tools like &lt;a href="https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/dependabot-quickstart-guide" class="ext"&gt;Dependabot&lt;/a&gt; and &lt;a href="https://docs.renovatebot.com/" class="ext"&gt;Renovate&lt;/a&gt; normalized constant dependency updates. At scale, they improve visibility and shorten the window for known CVEs. But they also changed how we consume trust. Security automation quietly became trust automation. Dependency update PRs receive less review than internal code, even though they run with the same or higher privilege. The volume is overwhelming and eventually the workflow shrinks to: CI passes → vulnerability score drops → merge. That creates a dangerous illusion. &lt;em&gt;&amp;ldquo;No known CVEs&amp;rdquo;&lt;/em&gt; does not mean &lt;em&gt;&amp;ldquo;safe&amp;rdquo;&lt;/em&gt;. Supply-chain attacks are newly published, initially undetected, semantically valid, and technically &lt;em&gt;&amp;ldquo;up to date&amp;rdquo;&lt;/em&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote class="quote"&gt;False positive alerts are not only a waste of time, they also reduce security by causing alert fatigue and making proper triage impractical.&lt;footer&gt;Filippo Valsorda, &lt;a href="https://words.filippo.io/dependabot/"&gt;&lt;cite&gt;Turn Dependabot Off&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;The &lt;a href="https://en.wikipedia.org/wiki/XZ_Utils_backdoor" title="XZ Utils backdoor" class="ext"&gt;XZ Utils backdoor&lt;/a&gt; in 2024 showed how long-running social engineering can compromise critical infrastructure. The &lt;a href="https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack" title="Wiz: Shai-Hulud 2.0 Supply Chain Attack" class="ext"&gt;Mini Shai-Hulud&lt;/a&gt; incidents in 2025 and the ongoing supply chain attacks show that the attack surface extends well beyond maintainer compromise. It reaches into version ranges, build pipelines, provenance systems, and the update automation that ties them together. These are not theoretical risks. They are documented, attributed attacks against the most popular packages in the ecosystem.&lt;/p&gt;
&lt;h2 id="what-controlled-trust-looks-like"&gt;What Controlled Trust Looks Like &lt;a class="heading-anchor" href="#what-controlled-trust-looks-like" aria-label="Link to section: What Controlled Trust Looks Like"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;There is no perfect fix for supply-chain risk. There are practical ways to replace blind trust with controlled trust:&lt;/p&gt;
&lt;h3 id="pin-versions"&gt;Pin Versions &lt;a class="heading-anchor" href="#pin-versions" aria-label="Link to section: Pin Versions"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Remove &lt;code&gt;^&lt;/code&gt; and &lt;code&gt;~&lt;/code&gt; from &lt;code&gt;package.json&lt;/code&gt; or whatever dependency manifest you use. Use exact versions. For transitive dependencies, force the version with &lt;a href="https://docs.npmjs.com/cli/v11/configuring-npm/package-json#overrides" title="npm overrides" class="ext"&gt;overrides&lt;/a&gt;:&lt;/p&gt;
&lt;figure class="code" data-lang="json"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" aria-label="Code (json)" class="chroma"&gt;&lt;code data-lang="json"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;dependencies&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nt"&gt;&amp;#34;axios&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;1.14.0&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;overrides&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nt"&gt;&amp;#34;axios&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;1.14.0&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Lockfiles like &lt;code&gt;package-lock.json&lt;/code&gt;, &lt;code&gt;pnpm-lock.yaml&lt;/code&gt;, &lt;code&gt;Cargo.lock&lt;/code&gt;, and &lt;code&gt;poetry.lock&lt;/code&gt; do not make dependencies safe. They make dependency state reproducible. You cannot investigate what you cannot reproduce.&lt;/p&gt;
&lt;h3 id="enforce-release-age-cooldowns"&gt;Enforce Release-Age Cooldowns &lt;a class="heading-anchor" href="#enforce-release-age-cooldowns" aria-label="Link to section: Enforce Release-Age Cooldowns"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Supply-chain attacks have a short half-life. The compromised TanStack versions lasted about three hours before someone caught them. A &lt;a href="https://nesbitt.io/2026/03/04/package-managers-need-to-cool-down.html" title="Package Managers Need to Cool Down" class="ext"&gt;release-age cooldown&lt;/a&gt; rejects packages younger than a threshold. That gives the community time to spot compromises before they reach your builds:&lt;/p&gt;
&lt;figure class="code" data-lang="ini"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" aria-label="Code (ini)" class="chroma"&gt;&lt;code data-lang="ini"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# ~/.npmrc&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;min-release-age&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;7&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# pnpm-workspace.yaml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;minimumReleaseAge: 1440&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# ~/.bunfig.toml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;[install]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;minimumReleaseAge&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;604800&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# ~/.config/uv/uv.toml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;exclude-newer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;7 days&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;A seven-day cooldown &lt;a href="https://www.wiz.io/blog/practical-package-security-the-unofficial-guide" title="Wiz: Practical Package Security - The Unofficial Guide" class="ext"&gt;covers 90% or more of recent supply chain incidents&lt;/a&gt;. It would have prevented both the Axios and TanStack compromises.&lt;/p&gt;
&lt;h3 id="control-upgrade-cadence"&gt;Control Upgrade Cadence &lt;a class="heading-anchor" href="#control-upgrade-cadence" aria-label="Link to section: Control Upgrade Cadence"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Filippo Valsorda &lt;a href="https://words.filippo.io/dependabot/#test-against-latest-instead-of-updating" title="Test against latest instead of updating" class="ext"&gt;recommends a better model&lt;/a&gt; than auto-updating: Run your test suite against the latest dependency versions daily in a sandboxed CI job. You get early warning of breakage without pulling untrusted code into production. You still update. You do it on your schedule, after review, when you are ready.&lt;/p&gt;
&lt;h3 id="verify-provenance-but-do-not-trust-it-alone"&gt;Verify Provenance, But Do Not Trust It Alone &lt;a class="heading-anchor" href="#verify-provenance-but-do-not-trust-it-alone" aria-label="Link to section: Verify Provenance, But Do Not Trust It Alone"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The TanStack attack is the first documented case of malicious npm packages carrying valid &lt;a href="https://slsa.dev/spec/v1.0/levels#build-l3" title="SLSA Build Level 3" class="ext"&gt;SLSA Build Level 3&lt;/a&gt; attestations. Provenance verification is necessary but not sufficient. Pair it for instance with &lt;a href="https://socket.dev" title="Socket: Supply Chain Security" class="ext"&gt;deep package inspection&lt;/a&gt; to catch suspicious network calls, filesystem access, and hidden scripts before they run.&lt;/p&gt;
&lt;h3 id="deploy-repository-proxies"&gt;Deploy Repository Proxies &lt;a class="heading-anchor" href="#deploy-repository-proxies" aria-label="Link to section: Deploy Repository Proxies"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Place package managers behind a properly configured repository proxy like &lt;a href="https://www.sonatype.com/products/sonatype-nexus-repository" class="ext"&gt;Sonatype Nexus&lt;/a&gt;, &lt;a href="https://jfrog.com/artifactory/" class="ext"&gt;JFrog Artifactory&lt;/a&gt;, or an internal mirror. These proxies should be configured not only to mirror (ideally approved) dependencies, but also quarantine suspicious releases and scan for known malware. But keep in mind that most scanners only detect known threats. Sophisticated attacks are novel by design. Proxy scanning is one layer, not a replacement for version pinning and controlled upgrades.&lt;/p&gt;
&lt;h3 id="use-reachability-aware-scanning"&gt;Use Reachability-Aware Scanning &lt;a class="heading-anchor" href="#use-reachability-aware-scanning" aria-label="Link to section: Use Reachability-Aware Scanning"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Not every CVE in your dependency tree matters. A vulnerability in a function you never call does not deserve the same urgency as one that is on your hot path. Go&amp;rsquo;s &lt;a href="https://go.dev/doc/tutorial/govulncheck" title="Go Vulnerability Checking" class="ext"&gt;govulncheck&lt;/a&gt; traces your actual call graph and filters out findings in code your application never reaches. Other ecosystems are catching up. At a minimum, make sure your scanner can tell whether a vulnerable package is actually used. The best scanners go further and trace the call graph down to the specific vulnerable function.&lt;/p&gt;
&lt;h3 id="reduce-dependency-surface-area"&gt;Reduce Dependency Surface Area &lt;a class="heading-anchor" href="#reduce-dependency-surface-area" aria-label="Link to section: Reduce Dependency Surface Area"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;blockquote class="quote"&gt;A little copying is better than a little dependency.&lt;footer&gt;&lt;a href="https://go-proverbs.github.io/"&gt;&lt;cite&gt;Go Proverbs&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;Every package adds code, maintainers, credentials, infrastructure, and trust assumptions. Modern ecosystems normalize &lt;a href="https://research.swtch.com/deps" title="Russ Cox: Our Software Dependency Problem" class="ext"&gt;absurd dependency depth&lt;/a&gt;. Before adding a package, ask: can we write this in 30 lines? If yes, write it. A &lt;a href="https://www.janbrennenstuhl.eu/topics/agentic-engineering/"&gt;coding agent&lt;/a&gt; can do most of the work for you.&lt;/p&gt;
&lt;h2 id="controlled-trust-not-blind-trust"&gt;Controlled Trust, Not Blind Trust &lt;a class="heading-anchor" href="#controlled-trust-not-blind-trust" aria-label="Link to section: Controlled Trust, Not Blind Trust"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The lesson from 2025 and 2026 supply-chain attacks is not &lt;em&gt;&amp;ldquo;never update&amp;rdquo;&lt;/em&gt;. Stale dependencies become liabilities too. The lesson is that &lt;strong&gt;blind trust does not become safer just because it is automated&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Secure software supply chains are built on controlled trust: Pinned versions. Enforced cooldowns. Verified provenance. Proxy repository managers. Reachability-aware scanning. A small dependency surface. The fastest update is not always the safest. Sometimes the safest thing to do is wait.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Updated on May 17th: Referenced THN report on &amp;ldquo;the TanStack supply chain attack hitting two OpenAI employee devices&amp;rdquo; and the &amp;ldquo;Practical Package Security&amp;rdquo; guide by Wiz.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>AppSec in the Age of Agentic Engineering</title><link>https://www.janbrennenstuhl.eu/appsec-agentic-engineering/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/appsec-agentic-engineering/</guid><pubDate>Thu, 14 May 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;In agentic engineering, engineers hand tasks to coding agents that write code, run it, and fix their own mistakes in fast loops. Bartosz Ocytko recently mapped &lt;a href="https://ocytko.net/posts/quo-vadis-agentic-engineering/" title="Quo Vadis, Agentic Engineering?" class="ext"&gt;where agentic engineering is heading&lt;/a&gt;, from a surge of commits on GitHub to bottlenecks in verification, open source, and compute. Most security tooling and processes weren&amp;rsquo;t built for that volume of change. While reading his piece, I kept coming back to 1 question: what does this shift mean for application security (AppSec)?&lt;/p&gt;
&lt;p&gt;Ocytko argues that agentic engineering &lt;a href="https://www.linkedin.com/posts/bartoszocytko_agentic-engineering-relocates-engineering-share-7455367680225677313-04IU" title="Bartosz Ocytko via LinkedIn" class="ext"&gt;will reward organizations with strong engineering foundations&lt;/a&gt;: those that can verify, coordinate, and safely absorb machine-generated change. I think AppSec is part of that foundation. AppSec teams that already build tooling, run large-scale remediation, and treat risk quantitatively are well placed to make agentic engineering safe at scale. Attackers raise the stakes for strong security engineering, too: &lt;a href="https://cloud.google.com/blog/topics/threat-intelligence/ai-vulnerability-exploitation-initial-access" title="Adversaries Leverage AI for Vulnerability Exploitation, Augmented Operations, and Initial Access" class="ext"&gt;Google&amp;rsquo;s Threat Intelligence Group reports&lt;/a&gt; that AI models lower the barrier for adversaries to develop exploits. In May 2026, the group reported the first threat actor it believes used a zero-day exploit developed with AI.&lt;/p&gt;
&lt;p&gt;The same agents that create the volume can also help with problems that AppSec teams couldn&amp;rsquo;t solve at human scale: too many findings, too few security engineers, and feedback that arrived long after the code was written. I see 3 shifts that decide which AppSec teams keep up:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;From detection to mitigation: prevent findings inside the agent&amp;rsquo;s loop and fix the backlog at fleet scale.&lt;/li&gt;
&lt;li&gt;From writing policies to building tools: ship security tooling into the context that coding agents work in.&lt;/li&gt;
&lt;li&gt;From gatekeeping to partnership: manage security risk together with site reliability engineering (SRE), platform, and cloud engineering teams, the way they already manage reliability.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="findings-pile-up-faster-than-teams-fix-them"&gt;Findings Pile Up Faster Than Teams Fix Them &lt;a class="heading-anchor" href="#findings-pile-up-faster-than-teams-fix-them" aria-label="Link to section: Findings Pile Up Faster Than Teams Fix Them"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Most mature organizations already have good visibility into known vulnerability classes. Their scanners cover infrastructure, cloud platforms, application code, and continuous integration and delivery (CI/CD) pipelines. AI adds even more findings: HackerOne argues that &lt;a href="https://www.hackerone.com/blog/ai-vulnerability-discovery-remediation-gap" title="Finding Fast, Fixing Slow: The Crisis of Asymmetric Remediation" class="ext"&gt;AI-powered vulnerability discovery has improved by an order of magnitude&lt;/a&gt;, while remediation hasn&amp;rsquo;t kept up.&lt;/p&gt;
&lt;p&gt;Backlog data shows how far remediation lags behind. Edgescan, a vulnerability management vendor, analyzed its 2024 scanning and penetration testing results in its &lt;a href="https://info.edgescan.com/hubfs/23DOWNLOADABLE%20CONTENT/Vulnerability%20Statistics%20Reports/Edgescan_VulnerabilityStatsReport_2025.pdf" title="Edgescan Vulnerability Statistics Report 2025" class="ext"&gt;Vulnerability Statistics Report 2025&lt;/a&gt;. At enterprises with more than 1,000 employees, 45.4% of the vulnerabilities discovered within 12 months were still open. High and critical findings with the highest predicted exploit probability (an Exploit Prediction Scoring System score above 0.7) took 115.7 days on average to fix, slightly longer than the 109.4 days for those least likely to be exploited. Every finding that nobody fixes grows the backlog and extends the exposure window, the time during which an attacker can exploit the vulnerability in production.&lt;/p&gt;
&lt;p&gt;Coding agents make this worse. They generate code at machine speed, so new findings appear faster. Lars Janssen calls the growing gap between how fast teams generate code and how fast they can check it &lt;a href="https://fazy.medium.com/agentic-coding-ais-adolescence-b0d13452f981" title="Verification debt: the hidden cost of AI-generated code" class="ext"&gt;verification debt&lt;/a&gt;. If remediation still depends on engineers picking up tickets between feature work, the backlog keeps growing. Risk only goes down when teams fix findings faster than scanners discover new ones.&lt;/p&gt;
&lt;p&gt;That requires AppSec teams to move from &lt;em&gt;&amp;ldquo;we found it, you fix it&amp;rdquo;&lt;/em&gt; to &lt;em&gt;&amp;ldquo;we prevent it, and we fix what slips through&amp;rdquo;&lt;/em&gt;.&lt;/p&gt;
&lt;h2 id="move-security-feedback-into-the-agent-loop"&gt;Move Security Feedback Into the Agent Loop &lt;a class="heading-anchor" href="#move-security-feedback-into-the-agent-loop" aria-label="Link to section: Move Security Feedback Into the Agent Loop"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In the traditional loop, a scanner reports an issue in the pipeline, someone files a ticket, and an engineer fixes it when there&amp;rsquo;s time. In the agentic loop, the scan results go straight back to the coding agent, which rewrites the code in the same session until the checks pass. Many findings never reach a ticket because the agent fixes them before anyone commits the code. GitHub&amp;rsquo;s &lt;a href="https://github.blog/news-insights/product-news/secure-code-more-than-three-times-faster-with-copilot-autofix/" title="Secure code more than three times faster with Copilot Autofix" class="ext"&gt;Copilot Autofix&lt;/a&gt; suggests fixes directly in the pull request, which comes close to this loop. During its 2024 public beta, developers fixed new code scanning alerts in pull requests in a median of 28 minutes, compared with 1.5 hours without Autofix.&lt;/p&gt;
&lt;p&gt;Today&amp;rsquo;s security gates weren&amp;rsquo;t built for this loop. When a coding agent opens a pull request (PR) in seconds, a security gate that takes minutes becomes the slowest step. Binary gates also break down at this volume: &lt;em&gt;&amp;ldquo;block on medium severity&amp;rdquo;&lt;/em&gt; blocks everything, and &lt;em&gt;&amp;ldquo;ignore everything below critical&amp;rdquo;&lt;/em&gt; leaves real risks open. The risk budgets I describe further down give teams a better decision rule.&lt;/p&gt;
&lt;p&gt;Some findings will still slip through, and most organizations already carry a large backlog. Fixing them 1 ticket at a time doesn&amp;rsquo;t scale. In campaign-based remediation, AppSec targets a whole vulnerability class at once, such as an outdated dependency, an infrastructure as code (IaC) misconfiguration, or an insecure pattern repeated across hundreds of services.&lt;/p&gt;
&lt;p&gt;Spotify&amp;rsquo;s &lt;a href="https://engineering.atspotify.com/2023/05/fleet-management-at-spotify-part-3-fleet-wide-refactoring/" title="Fleet Management at Spotify (Part 3): Fleet-wide Refactoring" class="ext"&gt;fleetshift&lt;/a&gt; is a good mental model: it makes fleet-wide code changes by running a Docker image against each repository. Spotify reports that fleetshift created more than 270,000 PRs in 2022 and merged 77% of them automatically, and that it patched 80% of its production backend services within 9 hours of the Log4j disclosure.&lt;/p&gt;
&lt;p&gt;With coding agents, the AppSec team designs the campaign, and agents open, test, and verify the remediation PRs across the fleet. GitHub already supports part of this: in &lt;a href="https://docs.github.com/en/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns" title="About security campaigns" class="ext"&gt;security campaigns&lt;/a&gt;, teams can assign alerts to the Copilot cloud agent, which opens pull requests with fixes.&lt;/p&gt;
&lt;h2 id="build-and-ship-security-tooling"&gt;Build and Ship Security Tooling &lt;a class="heading-anchor" href="#build-and-ship-security-tooling" aria-label="Link to section: Build and Ship Security Tooling"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In this model, AppSec engineers build and ship security tooling and contribute remediation code directly. Their goal is infrastructure that makes coding agents produce secure code by default.&lt;/p&gt;
&lt;h3 id="security-skills-and-machine-readable-policy"&gt;Security Skills and Machine-Readable Policy &lt;a class="heading-anchor" href="#security-skills-and-machine-readable-policy" aria-label="Link to section: Security Skills and Machine-Readable Policy"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Skills are packaged instructions that coding agents load when a task needs them, and they follow an &lt;a href="https://agentskills.io/specification" title="Agent Skills Specification" class="ext"&gt;open specification&lt;/a&gt;. &lt;a href="https://github.com/cosai-oasis/project-codeguard" class="ext"&gt;Project CodeGuard&lt;/a&gt; from the Coalition for Secure AI (CoSAI) publishes general security skills for cryptography, input validation, authentication and authorization, and supply chain security. Organization-specific skills go further and encode internal policies (&lt;em&gt;&amp;ldquo;use the central auth SDK, not raw JWT handling&amp;rdquo;&lt;/em&gt;), approved libraries, and deployment constraints. If the organization distributes skills centrally, AppSec can publish a skill update when a new vulnerability class appears, and every agent in the organization has it the same day.&lt;/p&gt;
&lt;p&gt;The security policy itself needs the same treatment, because a coding agent can&amp;rsquo;t do much with a 50-page PDF. AppSec teams can turn it into agent instructions, a searchable vector database, or &lt;a href="https://www.openpolicyagent.org/" class="ext"&gt;policy-as-code&lt;/a&gt; rules that agents check while they work. The agent then verifies compliance mid-task without waiting for a human reviewer, and AppSec&amp;rsquo;s work moves from reviewing individual changes to maintaining the policies and risk models that agents enforce.&lt;/p&gt;
&lt;h3 id="local-scanners-and-review-agents"&gt;Local Scanners and Review Agents &lt;a class="heading-anchor" href="#local-scanners-and-review-agents" aria-label="Link to section: Local Scanners and Review Agents"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Security scanning can&amp;rsquo;t live only in version control platforms and CI pipelines anymore. Coding agents need static application security testing (SAST), dynamic application security testing (DAST), and reviewers based on large language models (LLMs) on the engineer&amp;rsquo;s machine, so they can check their own output before they push. AppSec teams package these tools as command-line interfaces (CLIs) or &lt;a href="https://modelcontextprotocol.io/" class="ext"&gt;Model Context Protocol (MCP)&lt;/a&gt; servers and manage their configuration and policies centrally. MCP gives agents a standard way to call tools. Engineering teams then get scanning that works without setup.&lt;/p&gt;
&lt;p&gt;Dedicated review agents combine security skills with local tooling. They check code against organization-specific policies and report issues in a form the coding agent can act on directly. &lt;a href="https://www.roborev.io/" class="ext"&gt;roborev&lt;/a&gt; points in this direction: it&amp;rsquo;s a local daemon that reviews each commit in the background through a git hook and &lt;a href="https://www.roborev.io/docs/guides/reviewing-code/" title="roborev: Reviewing code" class="ext"&gt;reports every finding&lt;/a&gt; with a severity and a file and line location before the code reaches a PR.&lt;/p&gt;
&lt;p&gt;A shared review ledger ties these checks together. Every source, whether static analyzer, dynamic scanner, or LLM-based reviewer, writes to the same structured log, typically in the &lt;a href="https://sarifweb.azurewebsites.net/" class="ext"&gt;Static Analysis Results Interchange Format (SARIF)&lt;/a&gt;. The coding agent reads the ledger after each iteration and knows which checks passed, which failed, and what to fix next. LLM-based reviewers can catch context-dependent issues that rule-based scanners miss, but they don&amp;rsquo;t return the same result on every run, so the ledger needs both.&lt;/p&gt;
&lt;h3 id="sandboxes-and-short-lived-credentials"&gt;Sandboxes and Short-Lived Credentials &lt;a class="heading-anchor" href="#sandboxes-and-short-lived-credentials" aria-label="Link to section: Sandboxes and Short-Lived Credentials"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Coding agents are most useful when they can run the code they write: they implement a change, run the tests, read the failure, and try again. That makes every agent task an untrusted workload running arbitrary code, often on an engineer&amp;rsquo;s laptop. For AppSec, this adds up to a large internal remote code execution (RCE) surface, and securing it touches workstation setup as well as engineering practice.&lt;/p&gt;
&lt;p&gt;Sandboxing and prompt injection defense go together. A coding agent reads external input such as dependency metadata, issue descriptions, PR comments, and documentation, and each of these can carry a &lt;a href="https://genai.owasp.org/llmrisk/llm01-prompt-injection/" title="OWASP LLM01:2025 Prompt Injection" class="ext"&gt;prompt injection&lt;/a&gt; that tells the agent to do something else. A sandbox limits the damage when that happens, and the common options differ in isolation strength and cost:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lightweight virtual machines (micro-VMs) such as &lt;a href="https://firecracker-microvm.github.io/" class="ext"&gt;Firecracker&lt;/a&gt; and &lt;a href="https://docs.docker.com/ai/sandboxes/get-started/" title="Docker Sandboxes" class="ext"&gt;Docker Sandboxes&lt;/a&gt; give each task a disposable environment with its own kernel.&lt;/li&gt;
&lt;li&gt;OS-level sandboxes are lighter. &lt;a href="https://nono.sh/os-sandbox" class="ext"&gt;nono&lt;/a&gt; applies irrevocable, kernel-enforced filesystem allow-lists through Landlock on Linux and Seatbelt on macOS, and &lt;a href="https://github.com/webcoyote/sandvault" class="ext"&gt;Sandvault&lt;/a&gt; runs agents as a separate macOS user inside &lt;code&gt;sandbox-exec&lt;/code&gt;. The nono authors point out that OS-level sandboxing doesn&amp;rsquo;t give the memory isolation of a virtual machine.&lt;/li&gt;
&lt;li&gt;Containers share the host kernel, so &lt;a href="https://mrinal.com/articles/agent-sandboxes/" title="Agent Sandboxes: how to create millions of them" class="ext"&gt;escaping 1 container puts the attacker on the host&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;AppSec picks the isolation boundary that fits each workload&amp;rsquo;s trust level and, together with platform teams, ships the sandbox setup as the default configuration engineers get out of the box.&lt;/p&gt;
&lt;p&gt;Credentials need the same care. Coding agents should never hold persistent identity and access management (IAM) roles or long-lived API keys. An identity broker issues short-lived, task-scoped credentials on demand and revokes them when the task completes. AppSec can build the broker together with platform and IAM teams and hide it behind the agent&amp;rsquo;s tooling, so agents exchange tokens automatically and never fall back on whatever credential is at hand.&lt;/p&gt;
&lt;p&gt;Beyond internal credentials, agents increasingly act on behalf of users in third-party services. That needs &lt;a href="https://oauth.net/2.1/" class="ext"&gt;delegation and consent&lt;/a&gt; infrastructure with narrow, time-limited permissions the user can revoke at any moment. Without it, teams end up storing tokens in agent contexts or hard-coding service accounts, and both fail as soon as an attacker compromises an agent or the agent misreads a prompt.&lt;/p&gt;
&lt;h3 id="threat-modeling-and-offensive-testing"&gt;Threat Modeling and Offensive Testing &lt;a class="heading-anchor" href="#threat-modeling-and-offensive-testing" aria-label="Link to section: Threat Modeling and Offensive Testing"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Traditional scanners catch known vulnerabilities listed as Common Vulnerabilities and Exposures (CVEs), common misconfigurations, and obvious injection points. They miss logic flaws such as broken access control across multi-step workflows, business logic bypasses, and race conditions. To catch design-level flaws, AppSec teams have to encode their domain knowledge into agents.&lt;/p&gt;
&lt;p&gt;Threat modeling, where a team maps how an attacker could abuse a system&amp;rsquo;s design, usually happens in periodic workshops. Jack Naglieri &lt;a href="https://www.detectionatscale.com/p/threat-modeling-ai-agents-mcp" title="Building Threat Models with MCP and AI Agents" class="ext"&gt;built threat models with AI agents and MCP&lt;/a&gt; and argues that agents remove the weeks of meetings and documentation review that kept threat modeling a once-a-year exercise. Naglieri&amp;rsquo;s example comes from detection engineering, but the approach carries over to applications. AppSec teams can build agent setups that regularly review applications and repositories, analyze access control patterns, data flow boundaries, and trust assumptions, and report drift from the organization&amp;rsquo;s security posture.&lt;/p&gt;
&lt;p&gt;Agentic penetration testing (pentesting) complements this, and AppSec can offer it to engineering teams as an internal service. These agents explore the application&amp;rsquo;s business logic and look for the flaws a human pentester would target: authorization boundaries, multi-step attack paths, and privilege escalation. To build them, AppSec teams turn their offensive expertise into repeatable attack strategies. Public setups today still keep a human in the loop. In &lt;a href="https://labs.secengai.com/p/ai-assisted-web-pentesting-using-claude-code-burp-mcp" title="AI-assisted Web Pentesting Using Claude Code &amp;#43; Burp MCP" class="ext"&gt;AI-assisted web pentesting with Claude Code and Burp MCP&lt;/a&gt;, for example, the agent suggests the next test and the pentester decides whether to run it.&lt;/p&gt;
&lt;h2 id="partner-with-sre-and-platform-teams"&gt;Partner With SRE and Platform Teams &lt;a class="heading-anchor" href="#partner-with-sre-and-platform-teams" aria-label="Link to section: Partner With SRE and Platform Teams"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote class="quote"&gt;Can a system ever truly be considered reliable if it isn&amp;rsquo;t fundamentally secure? Or can it be considered secure if it&amp;rsquo;s unreliable?&lt;footer&gt;&lt;a href="https://google.github.io/building-secure-and-reliable-systems/raw/pr01.html"&gt;&lt;cite&gt;Building Secure and Reliable Systems&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;In SRE, the product owner sets a &lt;a href="https://sre.google/sre-book/service-level-objectives/" title="Google SRE Book: Service Level Objectives" class="ext"&gt;service level objective (SLO)&lt;/a&gt; such as 99.9% availability, and the remaining 0.1% becomes the service&amp;rsquo;s &lt;a href="https://sre.google/sre-book/embracing-risk/" title="Google SRE Book: Embracing Risk" class="ext"&gt;error budget&lt;/a&gt;, which the team can spend on outages and risky releases. AppSec can join that model with a &lt;strong&gt;risk budget&lt;/strong&gt;. The risk budget sets how long a high-risk, reachable vulnerability may stay open in production before it burns error budget, just like downtime does. AppSec provides the framework and the tooling, and the product owner sets the target, just as for the SLO.&lt;/p&gt;
&lt;p&gt;A risk budget helps with a problem that agentic engineering makes worse. Coding agents generate change faster than people can triage the findings, and without a quantitative target every finding competes for the same attention. With a risk budget, teams fix what burns the budget and defer what doesn&amp;rsquo;t. The conversation moves from &lt;em&gt;&amp;ldquo;fix all the bugs&amp;rdquo;&lt;/em&gt; to &lt;em&gt;&amp;ldquo;manage the exposure window&amp;rdquo;&lt;/em&gt;, and security becomes an operational concern that AppSec shares with the teams running the service.&lt;/p&gt;
&lt;p&gt;Teams can only use a risk budget if they can tell real exposure from noise, and that requires &lt;strong&gt;reachability analysis&lt;/strong&gt;: tracing the call graph from the vulnerable code to the application&amp;rsquo;s entry points. A CVE in dead code doesn&amp;rsquo;t burn budget, but the same CVE behind a public API does. At the CI gate, teams then block only changes that introduce &lt;em&gt;reachable&lt;/em&gt; risk and stop failing builds on raw finding counts. In production, a monitoring layer tracks how long reachable findings stay open and burns error budget accordingly.&lt;/p&gt;
&lt;p&gt;Platform and cloud engineering teams already ship the paved roads that engineering teams build on: base images, service templates, IaC modules, identity primitives, and networking defaults. AppSec teams get the most reach by building security into those &lt;a href="https://www.redhat.com/en/topics/platform-engineering/golden-paths" title="What is a Golden Path for software development?" class="ext"&gt;golden paths&lt;/a&gt;. A hardened base image or a secure-by-default service template then carries security to every service that uses it, including the code that agents write. Platform engineering owns the templates and modules, and AppSec owns the security defaults inside them. I cover this model in more detail in &lt;a href="https://www.janbrennenstuhl.eu/shift-down-appsec/" title="Shift Down: Why Agentic Engineering Demands Platform-Level Security"&gt;Shift Down&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="where-to-start"&gt;Where to Start &lt;a class="heading-anchor" href="#where-to-start" aria-label="Link to section: Where to Start"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;None of this has to happen at once. A team that wants to start can work through these steps in order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Sandbox the coding agents that engineers already run, and replace their long-lived credentials with short-lived, task-scoped ones.&lt;/li&gt;
&lt;li&gt;Package the existing scanners as CLIs or MCP servers with central configuration, and make them write SARIF.&lt;/li&gt;
&lt;li&gt;Publish an organization-specific security skill that encodes the internal policies that matter most.&lt;/li&gt;
&lt;li&gt;Pick 1 vulnerability class from the backlog and fix it across the fleet as a campaign.&lt;/li&gt;
&lt;li&gt;Agree on a risk budget for reachable vulnerabilities with 1 service owner and their SRE team.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The sandbox comes first because the exposure exists as soon as an engineer runs an agent with access to their machine.&lt;/p&gt;</description></item><item><title>Bunny Shield Review: 3 Things Need Improvement</title><link>https://www.janbrennenstuhl.eu/bunny-shield-review/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/bunny-shield-review/</guid><pubDate>Sat, 07 Jun 2025 00:00:00 +0200</pubDate><description>&lt;p&gt;Bunny.net launched the &lt;strong&gt;Bunny Shield Preview&lt;/strong&gt; earlier this year. It&amp;rsquo;s an integrated Web Application Firewall (WAF), DDoS mitigation and rate-limiting controls solution all bundled into their Content Delivery Network (CDN) platform. I&amp;rsquo;ve been testing it on a few real-world projects over the last few weeks to see how ready it is and how easy it is to use.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;b&gt;Spoiler:&lt;/b&gt; Bunny Shield is straightforward to use and makes the most of your first experience. It&amp;rsquo;s a solid start for an accessible WAF, but there are a few key improvements needed to make it a production-ready web security product.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s a quick rundown of the things I noticed and the problems I came across. It&amp;rsquo;s meant to show what&amp;rsquo;s working well now and where Bunny.net could improve their security tooling before it leaves the &amp;ldquo;Preview&amp;rdquo; stage.&lt;/p&gt;
&lt;h2 id="what-bunny-shield-gets-right"&gt;What Bunny Shield Gets Right &lt;a class="heading-anchor" href="#what-bunny-shield-gets-right" aria-label="Link to section: What Bunny Shield Gets Right"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="initial-user-experience--setup-simplicity"&gt;Initial User Experience &amp;amp; Setup Simplicity &lt;a class="heading-anchor" href="#initial-user-experience--setup-simplicity" aria-label="Link to section: Initial User Experience &amp;amp; Setup Simplicity"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Bunny Shield carries on the tradition of Bunny.net of offering clean and usable interfaces. As always, you only need to do the bare minimum to get things done. It was easy enough to enable the service and set up firewall or rate limit rules. For smaller sites and teams without dedicated security personnel, this kind of usability is invaluable.&lt;/p&gt;
&lt;h3 id="default-security-coverage"&gt;Default Security Coverage &lt;a class="heading-anchor" href="#default-security-coverage" aria-label="Link to section: Default Security Coverage"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The out-of-the-box rules catalogue seems pretty reasonable to me, catching common threats without overwhelming users with complex tuning. For most users, this makes Bunny Shield a no-brainer for &lt;strong&gt;basic web protection&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="what-bunny-shield-needs-to-improve"&gt;What Bunny Shield Needs to Improve &lt;a class="heading-anchor" href="#what-bunny-shield-needs-to-improve" aria-label="Link to section: What Bunny Shield Needs to Improve"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="certificate-renewal-blocked-by-waf"&gt;Certificate Renewal Blocked by WAF &lt;a class="heading-anchor" href="#certificate-renewal-blocked-by-waf" aria-label="Link to section: Certificate Renewal Blocked by WAF"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;One of the most critical issues I encountered was Bunny Shield &lt;strong&gt;blocking HTTP-01 challenges from Let&amp;rsquo;s Encrypt&lt;/strong&gt;. This sometimes seems to stop the automatic TLS certificate renewals through Bunny&amp;rsquo;s own certificate mechanism, which could cause service disruptions if not caught in time.&lt;/p&gt;
&lt;p&gt;The good news is that Bunny&amp;rsquo;s support team have already said they know about the problem and are working on a fix. For now, users relying on &lt;a href="https://letsencrypt.org/docs/challenge-types/" title="Let&amp;#39;s Encrypt Challenge Types" class="ext"&gt;HTTP-01 validation&lt;/a&gt; (e.g. by using the built-in Bunny CDN certificate management) should proceed with caution or disable the WAF.&lt;/p&gt;
&lt;h3 id="no-bot-allowlisting-for-good-bots-like-ahrefs-or-semrush"&gt;No Bot Allowlisting for Good Bots like Ahrefs or Semrush &lt;a class="heading-anchor" href="#no-bot-allowlisting-for-good-bots-like-ahrefs-or-semrush" aria-label="Link to section: No Bot Allowlisting for Good Bots like Ahrefs or Semrush"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Currently, Bunny Shield doesn&amp;rsquo;t offer any particular bot management solution. This means there&amp;rsquo;s no way to tell the difference between &lt;strong&gt;harmful bots and legit crawlers&lt;/strong&gt; (like Ahrefs, Semrush, and other SEO tools). I saw this causing these &amp;ldquo;good bots&amp;rdquo; to be blocked, which harmed my SEO audits and (potentially) visibility.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;d be great to add a bot management layer or at least some simple allow listing functionality for expected crawlers. The opposite is also true: I&amp;rsquo;m sure some people would love to trap rogue or misbehaving &lt;a href="https://zadzmo.org/code/nepenthes/" title="Nepenthes: A web crawler tarpit" class="ext"&gt;AI scraper bots in a maze&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Overall, I&amp;rsquo;d love to see Bunny hop on board with the &lt;a href="https://blog.cloudflare.com/web-bot-auth/" title="Forget IPs: using cryptography to verify bot and agent traffic" class="ext"&gt;HTTP Message Signatures&lt;/a&gt; bandwagon that Cloudflare recently kicked off.&lt;/p&gt;
&lt;h3 id="limited-logging-and-visibility-into-waf-events"&gt;Limited Logging and Visibility into WAF Events &lt;a class="heading-anchor" href="#limited-logging-and-visibility-into-waf-events" aria-label="Link to section: Limited Logging and Visibility into WAF Events"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;There&amp;rsquo;s a clear difference between the 403 traffic logs and the WAF event logs. I can see that requests were blocked, but there&amp;rsquo;s &lt;strong&gt;no clear traceability&lt;/strong&gt; to what specific WAF rule was triggered and why. This makes it tricky to debug false positives or fine-tune firewall behaviour, especially when you&amp;rsquo;re dealing with a lot of data.&lt;/p&gt;
&lt;h3 id="missing-waf-error-code-lookup-tool"&gt;Missing WAF Error Code Lookup Tool &lt;a class="heading-anchor" href="#missing-waf-error-code-lookup-tool" aria-label="Link to section: Missing WAF Error Code Lookup Tool"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;When Bunny Shield blocks a request, it returns a 403 with a &lt;strong&gt;unique deny code&lt;/strong&gt; (e.g. &lt;code&gt;WAF403-XXXX&lt;/code&gt;). Unfortunately, there doesn&amp;rsquo;t seem to be a lookup tool for these codes at the moment. If we could get a dashboard-integrated lookup, that&amp;rsquo;d make a big difference to &lt;strong&gt;WAF rule debugging&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="final-thoughts-promising-foundations-but-still-in-beta"&gt;Final Thoughts: Promising Foundations, But Still in Beta &lt;a class="heading-anchor" href="#final-thoughts-promising-foundations-but-still-in-beta" aria-label="Link to section: Final Thoughts: Promising Foundations, But Still in Beta"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;All in all, the Bunny Shield Preview is doing really well, especially when it comes to how easy it is to use. It&amp;rsquo;s accessible, integrated tightly into the Bunny.net platform, and it&amp;rsquo;s already solving basic security needs for many developers.&lt;/p&gt;
&lt;p&gt;That said, there are a few key things that need to be sorted for Bunny Shield to become a great product. For example, observability, bot management and configurability need to be improved.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m excited to see how this product develops, and I&amp;rsquo;ll definitely be keeping an eye on the next updates.&lt;/p&gt;
&lt;h2 id="got-feedback-or-similar-experiences"&gt;Got Feedback or Similar Experiences? &lt;a class="heading-anchor" href="#got-feedback-or-similar-experiences" aria-label="Link to section: Got Feedback or Similar Experiences?"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Have you had a chance to try out Bunny Shield yet? Did you encounter similar issues? Found any workarounds yet? I&amp;rsquo;d love to hear about your experience – just send me a message on &lt;a href="https://bsky.app/profile/janbrennenstuhl.eu" title="Jan Brennenstuhl on Bluesky" class="ext"&gt;Bluesky&lt;/a&gt; or &lt;a href="https://infosec.exchange/@jbspeakr" title="Jan Brennenstuhl on Mastodon" class="ext"&gt;Mastodon&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s help make Bunny Shield a secure, modern WAF that everyone can use.&lt;/p&gt;</description></item><item><title>What is Whaling Cyber Awareness? Prevention Tips &amp; Training</title><link>https://www.janbrennenstuhl.eu/whaling-awareness/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/whaling-awareness/</guid><pubDate>Tue, 23 May 2023 00:00:00 +0200</pubDate><description>&lt;p&gt;&lt;mark&gt;&lt;em&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; This article involved collaboration with a GenAI tool for personal research. All content was reviewed and edited by myself. Feel free to report inaccuracies. Thanks.&lt;/em&gt;&lt;/mark&gt;&lt;/p&gt;
&lt;h2 id="what-is-whaling-cyber-awareness"&gt;What is Whaling Cyber Awareness? &lt;a class="heading-anchor" href="#what-is-whaling-cyber-awareness" aria-label="Link to section: What is Whaling Cyber Awareness?"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Cyber security is an ever-evolving challenge requiring constant attention and effort to stay ahead of the game. One of the most significant threats companies face today is &lt;strong&gt;whaling cyber attacks&lt;/strong&gt;, a social engineering approach targeting high-level executives and other individuals with access to &lt;strong&gt;sensitive information&lt;/strong&gt;. Profound cybersecurity awareness is essential for businesses to protect themselves from these threats.&lt;/p&gt;
&lt;p&gt;Whaling cyber awareness refers to the knowledge and skills necessary to identify and prevent whaling cyber attacks, also known as whale phishing. The goal is to educate employees, especially those in leadership positions, on how these attacks work and how they can be prevented. This type of training plays a critical role, especially because whaling emails are often successful due to their sophisticated nature, making them difficult to detect. Whales, or high-profile individuals, are often targeted in these attacks, which can lead to data breaches because of their exposure to relevant information or business processes. It’s important not to confuse whale phishing with ordinary phishing, as the former targets essential individuals.&lt;/p&gt;
&lt;h3 id="security-awareness-why-it-matters"&gt;Security Awareness: Why It Matters &lt;a class="heading-anchor" href="#security-awareness-why-it-matters" aria-label="Link to section: Security Awareness: Why It Matters"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The challenge with security awareness for whaling is that these phishing attacks are highly targeted and personalized, making them very difficult to spot. Attackers use &lt;strong&gt;social engineering tactics&lt;/strong&gt; such as impersonation or pretexting to trick their victims into divulging sensitive information or transferring funds. Spoofed emails and business email compromise (BEC) are also commonly used to impersonate trusted business contact. Additionally, smishing attacks target mobile devices via text messages. These attacks can cause significant financial losses and damage a company’s reputation.&lt;/p&gt;
&lt;p&gt;To combat the threat of cyber attacks such as whaling, businesses must take immediate action and implement a comprehensive whaling awareness program that includes training and education for top-level executives, &lt;strong&gt;simulation exercises&lt;/strong&gt; to prepare for social engineering tactics, &lt;strong&gt;continuous monitoring and response&lt;/strong&gt; capabilities, and building a corporate security culture.&lt;/p&gt;
&lt;p&gt;Training and education are essential components of every effective cybersecurity program, especially in the business world, where social engineering attacks are becoming more prevalent. Employees need regular training on how to recognize phishing emails or suspicious requests for information, as well as how to handle sensitive data securely. This is particularly important for top-level executives who may be prime targets for sophisticated social engineering attacks. They should also be taught where to report suspected cases to ensure the safety of the entire organization.&lt;/p&gt;
&lt;p&gt;Regular security awareness programs should also include simulation exercises to prepare employees for potential cyber-attacks through social engineering tactics. These allow employees to practice recognizing potential threats in a safe environment without risking real-world consequences. Whaling simulations help reinforce the importance of being vigilant regarding digital communication, phishing, and sharing confidential information.&lt;/p&gt;
&lt;p&gt;Continuous monitoring and response capabilities are crucial for businesses to enhance their cyber awareness and detect potential threats, such as phishing attacks or whaling emails, early on before they can cause damage. Companies should have systems like &lt;strong&gt;secure email gateways&lt;/strong&gt; that monitor communications for signs of unusual behavior or suspicious activity.&lt;/p&gt;
&lt;p&gt;Building a security-minded corporate culture involves creating an environment where cybersecurity is ubiquitous and a top priority. This means promoting a culture of awareness and responsibility, where employees understand the importance of cybersecurity and take an active role in protecting company assets.&lt;/p&gt;
&lt;h2 id="technologies-and-strategies-for-whaling-prevention"&gt;Technologies and Strategies for Whaling Prevention &lt;a class="heading-anchor" href="#technologies-and-strategies-for-whaling-prevention" aria-label="Link to section: Technologies and Strategies for Whaling Prevention"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="defensive-technologies-anti-spoofing-secure-email-gateways-and-ai-based-solutions"&gt;Defensive Technologies: Anti-Spoofing, Secure Email Gateways, and AI-based Solutions &lt;a class="heading-anchor" href="#defensive-technologies-anti-spoofing-secure-email-gateways-and-ai-based-solutions" aria-label="Link to section: Defensive Technologies: Anti-Spoofing, Secure Email Gateways, and AI-based Solutions"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Whaling emails are becoming more sophisticated, and organizations must employ defensive technologies to protect themselves. &lt;strong&gt;Anti-spoofing techniques&lt;/strong&gt; such as Sender Policy Framework (SPF), DomainKeys Identified Mail (DKIM), and Domain-based Message Authentication, Reporting &amp;amp; Conformance (DMARC) can prevent email spoofing. SPF validates the sending server&amp;rsquo;s IP address against the domain&amp;rsquo;s DNS record to ensure that it is authorized to email on behalf of that domain. DKIM adds a digital signature to an email message header to verify its authenticity. DMARC combines SPF and DKIM to protect against spoofed email whale phishing. These email authentication policies are considered fundamental anti-phishing basics.&lt;/p&gt;
&lt;p&gt;Secure email gateways can also help defend against whaling phishing attacks by filtering out malicious emails before they even reach users&amp;rsquo; inboxes. These gateways often use advanced threat intelligence and can leverage machine learning algorithms to detect phishing attempts and other cyber threats. These AI-based solutions analyze patterns in user behavior, match against common attack patterns, and identify potential phishing attacks. They can also scan incoming emails for suspicious content or attachments, making them very useful for phishing prevention.&lt;/p&gt;
&lt;h3 id="proactive-measures-two-factor-authentication-secure-communication-channels"&gt;Proactive Measures: Two-Factor Authentication, Secure Communication Channels &lt;a class="heading-anchor" href="#proactive-measures-two-factor-authentication-secure-communication-channels" aria-label="Link to section: Proactive Measures: Two-Factor Authentication, Secure Communication Channels"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In addition to defensive technologies, information security departments should take proactive measures, to prevent or at least mitigate whaling attacks. Two-factor authentication (2FA) for email accounts is one such measure that can significantly reduce the risk of a successful attack. 2FA requires users to provide two forms of identification before accessing their accounts, making it much harder for attackers to gain unauthorized access.&lt;/p&gt;
&lt;p&gt;Secure communication channels such as cryptographic security infrastructure for emails and forward secrecy for messaging apps can also help prevent spear phishing and related threats by ensuring the integrity and authenticity of data transmitted securely between parties.&lt;/p&gt;
&lt;h3 id="incident-response-planning-preparation-for-whaling-attacks"&gt;Incident Response Planning: Preparation for Whaling Attacks &lt;a class="heading-anchor" href="#incident-response-planning-preparation-for-whaling-attacks" aria-label="Link to section: Incident Response Planning: Preparation for Whaling Attacks"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Despite the best efforts at prevention, businesses must still prepare for the possibility of a successful whaling attack. Incident response planning involves developing procedures for detecting, containing, and mitigating the impact of a cyber-attack. This includes identifying key personnel responsible for responding to an attack, establishing communication protocols, and regularly testing incident response plans to ensure their effectiveness.&lt;/p&gt;
&lt;h3 id="make-dmarc-a-part-of-your-whaling-cyber-awareness-agenda"&gt;Make DMARC a part of your Whaling Cyber Awareness Agenda &lt;a class="heading-anchor" href="#make-dmarc-a-part-of-your-whaling-cyber-awareness-agenda" aria-label="Link to section: Make DMARC a part of your Whaling Cyber Awareness Agenda"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;DMARC is a critical component of any whaling prevention strategy. By restricting messages from a company domain that don’t comply with the established DMARC policy, domain-based message authentication prevents email spoofing and results in fraudulent emails not being delivered to users’ inboxes. By implementing DMARC policies, organizations can protect their employees from falling victim to the most common forms of spear phishing scams.&lt;/p&gt;
&lt;h3 id="robust-compliance-policies"&gt;Robust Compliance Policies &lt;a class="heading-anchor" href="#robust-compliance-policies" aria-label="Link to section: Robust Compliance Policies"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Corporate policies that, for example, mandate verification of financial transactions or sharing sensitive information can also be beneficial in protecting against whaling attacks. Such a policy might require that all financial requests, including those received through whaling emails, be confirmed through a second, independent means of communication, like a phone call or face-to-face meeting. Consider modifying your organization&amp;rsquo;s policies so that two people, rather than one, must sign off on payments.&lt;/p&gt;
&lt;p&gt;Additionally, regular reviews and adjustments of permissions and access rights help to ensure the least privileged access principles by enforcing that employees only have access to information they need for their job. This can minimize potential damage if a whaling attempt is successful. Mitigating whaling attacks is a continuous process, demanding constant vigilance, regular updates to defense strategies, and a proactive approach to cybersecurity.&lt;/p&gt;
&lt;h2 id="defense-strategies-for-individuals"&gt;Defense Strategies for Individuals &lt;a class="heading-anchor" href="#defense-strategies-for-individuals" aria-label="Link to section: Defense Strategies for Individuals"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;As an individual, defending against whaling attacks primarily involves fostering a vigilant mindset and adopting practical measures that enhance your cybersecurity hygiene. Here are some strategies that can help:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Maintain Awareness:&lt;/strong&gt; Keep up-to-date with the latest cybersecurity threats and trends, including understanding whaling and how social engineering functions. This knowledge can help you identify potential risks before they can cause harm.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Verify Requests:&lt;/strong&gt; If you receive an unusual request involving sensitive information or money, always verify it through a separate communication channel. This could be a direct phone call or a face-to-face meeting with the person making the request.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Be Cautious with Links and Attachments:&lt;/strong&gt; Be extremely wary of clicking links and opening attachments in &lt;a href="https://www.fbi.gov/news/pressrel/press-releases/internet-alert-scammers-sending-fake-fbi-e-mails-seeking-personal-information" title="Scammers Sending Fake FBI E-Mails Seeking Personal Information" class="ext"&gt;unsolicited or suspicious emails&lt;/a&gt;. They could lead to fraudulent websites or download malicious software onto your device.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Secure Your Personal Information:&lt;/strong&gt; The less publicly available your personal information is, the harder it is for cybercriminals to target you. Be cautious about what information you publish online, particularly on social media.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enable Two-Factor Authentication (2FA):&lt;/strong&gt; Use two-factor authentication for your accounts whenever possible. This adds an extra layer of security, protecting you even if your password is compromised.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Check Email Sender Details:&lt;/strong&gt; Always scrutinize the sender&amp;rsquo;s email address in any suspicious email. Look for discrepancies in the email address or domain name that may reveal a phishing attempt.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Invest in Security Software:&lt;/strong&gt; Reliable antivirus and anti-malware software can add an extra layer of defense by detecting and blocking malicious content.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By combining these defense strategies with a general culture of cybersecurity awareness, individuals can significantly reduce their vulnerability to whaling attacks.&lt;/p&gt;
&lt;h2 id="the-future-of-whaling-and-cyber-awareness"&gt;The Future of Whaling and Cyber Awareness &lt;a class="heading-anchor" href="#the-future-of-whaling-and-cyber-awareness" aria-label="Link to section: The Future of Whaling and Cyber Awareness"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="predicting-future-trends-in-whaling-the-changing-landscape"&gt;Predicting Future Trends in Whaling: The Changing Landscape &lt;a class="heading-anchor" href="#predicting-future-trends-in-whaling-the-changing-landscape" aria-label="Link to section: Predicting Future Trends in Whaling: The Changing Landscape"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;As we move towards 2024 and beyond, the landscape of whaling cyber attacks is changing rapidly. Malicious actors are becoming more sophisticated, and their phishing attack methods are evolving by incorporating new technologies. One major trend we can expect is an increase in targeted &lt;strong&gt;spear phishing attacks&lt;/strong&gt; on high-level executives and other key individuals.&lt;/p&gt;
&lt;p&gt;Deepfakes will play a significant role in the impersonation of trusted sources. Deepfake technology, &lt;a href="https://www.sciencedaily.com/releases/2020/08/200804085908.htm" title="Deepfakes ranked as most serious AI crime threat" class="ext"&gt;according to researchers&lt;/a&gt;, is the most concerning use of artificial intelligence, with essential ramifications in cybercrime and terrorism.&lt;/p&gt;
&lt;p&gt;To combat this rising threat, it will be essential for companies to invest in advanced whaling defense strategies. This may include implementing &lt;strong&gt;AI and machine learning&lt;/strong&gt; (ML) mechanisms that detect suspicious activity before it leads to a successful attack. Companies must provide ongoing cybersecurity training and education for all employees, especially those at the executive level.&lt;/p&gt;
&lt;h3 id="the-role-of-ai-and-machine-learning-in-whaling-defense"&gt;The Role of AI and Machine Learning in Whaling Defense &lt;a class="heading-anchor" href="#the-role-of-ai-and-machine-learning-in-whaling-defense" aria-label="Link to section: The Role of AI and Machine Learning in Whaling Defense"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;AI and machine learning already play a significant role in whaling defense today, but as we look toward the future, these technologies will become even more critical. By analyzing vast amounts of data from email communications, these tools can assist employees in identifying patterns that indicate phishing attempts or other malicious activity.&lt;/p&gt;
&lt;p&gt;One exciting development in this area is using machine learning algorithms to analyze employee behavior patterns over time. By understanding how individuals typically interact with emails and other digital communications, these algorithms can detect anomalies that may indicate an attempted whaling attack.&lt;/p&gt;
&lt;p&gt;Some companies are exploring using chatbots powered by AI technology to provide real-time support for employees who may be targeted by phishing attacks. These chatbots can guide how to spot and avoid these threats, reducing the risk of a successful attack.&lt;/p&gt;
&lt;h3 id="a-machine-learning-approach-to-phishing-detection-and-defense"&gt;A Machine-Learning Approach to Phishing Detection and Defense &lt;a class="heading-anchor" href="#a-machine-learning-approach-to-phishing-detection-and-defense" aria-label="Link to section: A Machine-Learning Approach to Phishing Detection and Defense"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Phishing attacks remain common cyber threats organizations face today. Ordinary phishing, however, will likely become a daemon of the past. With advancements in AI and machine learning technology, we can expect to see more elaborate and highly personalized phishing attacks but also significant improvements in abilities to detect and defend against these attacks.&lt;/p&gt;
&lt;p&gt;One promising approach involves using machine learning algorithms to analyze email content for signs of phishing attempts, including whaling attacks. These algorithms can learn from past examples of successful phishing emails and use this knowledge to identify new threats as they emerge.&lt;/p&gt;
&lt;h3 id="the-importance-of-ongoing-cyber-awareness-training-and-education"&gt;The Importance of Ongoing Cyber Awareness Training and Education &lt;a class="heading-anchor" href="#the-importance-of-ongoing-cyber-awareness-training-and-education" aria-label="Link to section: The Importance of Ongoing Cyber Awareness Training and Education"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;While AI- and ML-based phishing prevention technologies are critical components of any effective whaling defense strategy, ongoing cyber security training, and employee education should be the focus. Companies can significantly reduce their risk of a successful attack by teaching individuals how to identify potential threats and providing them with the knowledge they need to protect themselves. This training should cover various topics, including best practices for email security, password management, and safe browsing habits. Companies may consider implementing regular simulated phishing tests to help employees stay vigilant against these attacks.&lt;/p&gt;
&lt;h3 id="ai-driven-cybersecurity"&gt;AI-driven Cybersecurity &lt;a class="heading-anchor" href="#ai-driven-cybersecurity" aria-label="Link to section: AI-driven Cybersecurity"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;As we move into the future, it’s clear that AI-driven cybersecurity will play an increasingly important role in protecting organizations from whaling cyber attacks. By analyzing vast amounts of data in (near) real-time, these tools can detect suspicious activity before it leads to a successful attack.&lt;/p&gt;
&lt;p&gt;However, it’s important to remember that these technologies are not (yet?) foolproof. To protect against whaling attacks, companies must take a multi-layered approach, including ongoing employee education, training, and advanced technological solutions like AI and machine learning.&lt;/p&gt;
&lt;h2 id="frequently-asked-questions-faqs"&gt;Frequently Asked Questions (FAQs) &lt;a class="heading-anchor" href="#frequently-asked-questions-faqs" aria-label="Link to section: Frequently Asked Questions (FAQs)"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;What is whaling cyber awareness?&lt;/strong&gt; Whaling cyber awareness refers to understanding and knowing how to prevent and detect targeted phishing attacks aimed at high-level executives or individuals with access to sensitive information.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How can I protect myself from whaling attacks?&lt;/strong&gt; You can implement several strategies to protect yourself from whaling attacks, including being cautious of suspicious emails, verifying requests for sensitive information through a separate communication channel, and regularly updating your security software.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What technologies can be used for whaling prevention?&lt;/strong&gt; Email filters, multi-factor authentication, and encryption can be used for whaling prevention. Employee training and education on identifying and reporting suspicious activity can also be practical.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What does the future of whaling and cyber awareness look like?&lt;/strong&gt; As technology continues to advance, whaling attacks will likely become more sophisticated. However, there is also an increased focus on cybersecurity awareness and prevention measures. Individuals and organizations must stay informed and proactive in their approach to cyber security.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Whaling Phishing: Definition and Prevention Strategies</title><link>https://www.janbrennenstuhl.eu/whaling-phishing/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/whaling-phishing/</guid><pubDate>Thu, 18 May 2023 00:00:00 +0200</pubDate><description>&lt;p&gt;&lt;mark&gt;&lt;em&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; This article involved collaboration with a GenAI tool for personal research. All content was reviewed and edited by myself. Feel free to report inaccuracies. Thanks.&lt;/em&gt;&lt;/mark&gt;&lt;/p&gt;
&lt;p&gt;Whaling phishing is a cyber attack that targets high-profile individuals and key organizational staff. Attackers use &lt;strong&gt;social engineering tactics&lt;/strong&gt; to trick victims into executing actions or disclosing confidential information, posing a severe cybersecurity threat. These attacks aim to gain access to sensitive information or steal money through fraudulent wire transfers for malicious purposes. Organizations can utilize threat intelligence to stay informed and prepared to prevent such attacks.&lt;/p&gt;
&lt;p&gt;Highly context-aware spear &lt;a href="https://apwg.org/trendsreports/" class="ext"&gt;phishing attacks&lt;/a&gt; in the form of whaling emails are one of the most common forms of &lt;strong&gt;whaling attacks&lt;/strong&gt;. These phishing emails are composed to look like legitimate messages from trusted sources, such as banks, financial institutions, or other companies that the victim may do business with.&lt;/p&gt;
&lt;p&gt;Also, phone calls and text messages are standard for attackers to carry out whale phishing cyber attacks. In these cases, the attacker will pose as someone from a trusted source and try to convince the victim to provide confidential data over the phone.&lt;/p&gt;
&lt;p&gt;To protect against whale phishing attacks, organizations should implement proper &lt;a href="https://www.janbrennenstuhl.eu/whaling-awareness/" title="What is Whaling Cyber Awareness? Prevention Tips &amp;amp; Training"&gt;whaling cyber awareness training&lt;/a&gt;, educating staff on identifying and avoiding suspicious emails and phone calls. Standard technical security measures such as passwordless authentication or encryption for sensitive data are not enough to cope with a whaling attack. Best practices include implementing processes to regularly update and reinforce employee knowledge of the latest whale phishing tactics based on real-life examples.&lt;/p&gt;
&lt;h2 id="spear-phishing-vs-whaling-attacks-in-cybersecurity"&gt;Spear Phishing vs Whaling Attacks in Cybersecurity &lt;a class="heading-anchor" href="#spear-phishing-vs-whaling-attacks-in-cybersecurity" aria-label="Link to section: Spear Phishing vs Whaling Attacks in Cybersecurity"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Spear phishing attacks&lt;/strong&gt;, including whaling attacks, are responsible for over 90% of successful data breaches. While traditional phishing attacks target basically anyone with an email address, whaling is a spear phishing attack targeting a very selected audience.&lt;/p&gt;
&lt;h3 id="whale-phishing-a-personalized-approach-to-spear-phishing"&gt;Whale Phishing: A Personalized Approach to Spear Phishing &lt;a class="heading-anchor" href="#whale-phishing-a-personalized-approach-to-spear-phishing" aria-label="Link to section: Whale Phishing: A Personalized Approach to Spear Phishing"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Whale phishing, or &amp;ldquo;whaling,&amp;rdquo; is a &lt;strong&gt;highly personalized&lt;/strong&gt; spear phishing that &lt;strong&gt;targets high-value individuals&lt;/strong&gt; such as CEOs, financial officers, or other top executives in a company&amp;rsquo;s management team. Unlike traditional phishing attempts that cast a wide net in hopes of catching any unsuspecting victim, whale phishers take a more targeted approach by &lt;strong&gt;researching their victims&amp;rsquo; interests&lt;/strong&gt;, habits, and contacts before launching an attack.&lt;/p&gt;
&lt;p&gt;Often malicious actors incorporate &lt;strong&gt;social engineering strategies&lt;/strong&gt; to trick their targets into divulging sensitive information or clicking on malicious attachments or links, which can compromise data privacy. For example, they may send whaling emails that appear to come from trusted sources (like the CEO&amp;rsquo;s assistant) requesting confidential information or asking the recipient to click on a malware link for malicious purposes.&lt;/p&gt;
&lt;p&gt;While whale phishers may go to great lengths to make their phishing email appear legitimate, there are often subtle clues that can help recipients identify them as fraudulent and prevent whaling. For example, they may use slightly different spelling or suspicious grammar. They may also include urgent language designed to create anxiety or fear in the recipient.&lt;/p&gt;
&lt;h3 id="the-risks-of-spear-phishing-attacks"&gt;The Risks of Spear Phishing Attacks &lt;a class="heading-anchor" href="#the-risks-of-spear-phishing-attacks" aria-label="Link to section: The Risks of Spear Phishing Attacks"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;A spear-phishing attack, especially whaling, poses significant risks to businesses and organizations of all sizes. By targeting senior executives with access to confidential data and financial resources, attackers can access critical systems, trigger fraudulent processes and wreak havoc on an organization&amp;rsquo;s operations.&lt;/p&gt;
&lt;p&gt;To prevent whaling attacks, educating employees at all levels about spear phishing and whaling risks and providing training on identifying and responding (or instead not responding) to suspicious emails is essential. Regular training and simulated phishing exercises can strengthen this awareness and foster a security-conscious culture.&lt;/p&gt;
&lt;h2 id="how-whaling-works"&gt;How Whaling Works &lt;a class="heading-anchor" href="#how-whaling-works" aria-label="Link to section: How Whaling Works"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="targeting-the-top"&gt;Targeting the Top &lt;a class="heading-anchor" href="#targeting-the-top" aria-label="Link to section: Targeting the Top"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Whaling phishing attacks are cyber attacks that explicitly target senior executives and decision-makers within an organization. Social media platforms, professional networks, and company websites are rich in information and serve as excellent hunting grounds for malicious actors. This section looks closely at critical concepts used in whaling phishing scams.&lt;/p&gt;
&lt;h3 id="social-engineering-tactics"&gt;Social Engineering Tactics &lt;a class="heading-anchor" href="#social-engineering-tactics" aria-label="Link to section: Social Engineering Tactics"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;A whaling attack often works by applying social engineering strategies. Social engineering is a term that describes psychological manipulation to trick people into exposing sensitive information or performing actions that are not in their best interest.&lt;/p&gt;
&lt;p&gt;Whaling is, at its core, an abuse of trust or authority. It can be counted into the class of social engineering attacks as it primarily focuses on obedience psychology, either playing on employees&amp;rsquo; inherent desire to follow orders from their superiors or exploiting their personal trust boundaries.&lt;/p&gt;
&lt;p&gt;By targeting the human element (the weakest link in any security chain), whaling often successfully circumvents routine technological precautions, making it a particularly troubling type of cyber threat. Attackers can deceive their target individuals into bypassing classical security controls and handing over the keys to the kingdom by playing on trust, authority, or fear. In essence, whaling serves as a sobering reminder that the most severe cybersecurity threats frequently arise not from flaws in our technology but from vulnerabilities within ourselves.&lt;/p&gt;
&lt;h3 id="impersonation"&gt;Impersonation &lt;a class="heading-anchor" href="#impersonation" aria-label="Link to section: Impersonation"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Cybercriminals regularly use a sophisticated blend of persuasion, deception, and influence rather than brute force or advanced hacking techniques to make their move. They extensively research their high-level targets and study their routines, communication styles, and professional ties. They may utilize this information to impersonate a valued colleague or business partner, creating plausible circumstances that put the target under pressure to act quickly.&lt;/p&gt;
&lt;h2 id="whaling-attack-examples"&gt;Whaling Attack Examples &lt;a class="heading-anchor" href="#whaling-attack-examples" aria-label="Link to section: Whaling Attack Examples"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Whaling attacks are phishing scams aimed at the organization&amp;rsquo;s senior management team and decision-makers. This section will discuss some examples of whaling attacks and their impact on businesses.&lt;/p&gt;
&lt;h3 id="ceo-fraud"&gt;CEO Fraud &lt;a class="heading-anchor" href="#ceo-fraud" aria-label="Link to section: CEO Fraud"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;One typical example of a whaling attack is CEO fraud or &amp;ldquo;business email compromise&amp;rdquo; (BEC). In this attack, cybercriminals impersonate a high-level executive or CEO and send fraudulent emails to employees requesting sensitive information or money transfers. The email may appear legitimate, using the CEO&amp;rsquo;s name and address, but it comes from an external source. According to the &lt;a href="https://www.ic3.gov/Media/PDF/AnnualReport/2021_IC3Report.pdf" class="ext"&gt;FBI&amp;rsquo;s Internet Crime Complaint Center (IC3)&lt;/a&gt;, CEO fraud resulted in over $2.4 billion in business losses in 2021 alone.&lt;/p&gt;
&lt;h3 id="high-profile-whaling-attacks"&gt;High-Profile Whaling Attacks &lt;a class="heading-anchor" href="#high-profile-whaling-attacks" aria-label="Link to section: High-Profile Whaling Attacks"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The following are three famous examples of whaling campaigns. Of course, these are only the tip of the iceberg…&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Ubiquiti Networks Inc.&lt;/strong&gt; – In 2015, a special whaling attack occurred when Ubiquiti Networks Inc., a network technology company, fell victim to a whaling attack, which resulted in a $47 million loss. Cybercriminals pretended to be executives from the management team to persuade key finance department staff to initiate wire transfers to foreign accounts. The damage had already been done by the time the deception was detected. It&amp;rsquo;s a great example that emphasizes the value of company-internal communication culture.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;FACC Operations GmbH&lt;/strong&gt; – A whaling scam cost FACC Operations GmbH, an Austrian company producing aviation parts, €52 million (about $56 million). A phishing email posing as coming from the CEO requesting a money transfer for a purported &amp;ldquo;acquisition project&amp;rdquo; tricked a financial officer in the finance department, who then authorized a corresponding wire transfer. The importance of verifying any unexpected cash demands, especially those that appear to emanate from the top brass, is highlighted by this example.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Snapchat&lt;/strong&gt; – Even the tech industry&amp;rsquo;s behemoths are not immune to elaborate phishing practices. In 2016, a whaling attack on Snapchat was executed successfully when a high-profile target employee was duped by a whaling email claiming to be from the CEO. The employee responded to the email&amp;rsquo;s request for payroll information by providing it without further verification. Fortunately, there was no direct monetary loss. Nevertheless, the phish resulted in a significant data breach incident. It is a somber reminder that hackers aren&amp;rsquo;t always directly for money; sometimes, they&amp;rsquo;re after data.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="strategies-for-preventing-whaling-cyber-attacks"&gt;Strategies for Preventing Whaling Cyber Attacks &lt;a class="heading-anchor" href="#strategies-for-preventing-whaling-cyber-attacks" aria-label="Link to section: Strategies for Preventing Whaling Cyber Attacks"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;To prevent a whaling phishing attack, it&amp;rsquo;s crucial to implement effective strategies that can protect against social engineering tactics used by cybercriminals.&lt;/p&gt;
&lt;h3 id="implement-employee-training-programs"&gt;Implement Employee Training Programs &lt;a class="heading-anchor" href="#implement-employee-training-programs" aria-label="Link to section: Implement Employee Training Programs"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;A way to prevent whaling is through threat intelligence and training programs for regular employees and the senior management team. These programs should educate employees on social engineering approaches to phishing attacks and provide them with the knowledge required to identify and avoid potential threats.&lt;/p&gt;
&lt;p&gt;However, understanding whaling is only the first step toward effective prevention. It is vital to cultivate a security-centric culture within the organization, along with regular security awareness training focusing on the telltale signals of a whaling attack. Employees who receive regular training can spot and report potential whaling efforts.&lt;/p&gt;
&lt;h3 id="establish-best-practices-for-email-communication"&gt;Establish Best Practices for Email Communication &lt;a class="heading-anchor" href="#establish-best-practices-for-email-communication" aria-label="Link to section: Establish Best Practices for Email Communication"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Another strategy for preventing whaling phishing attacks is establishing best practices, dedicated security protocols, and safeguarding policies for email communication. This includes requiring multi-factor authentication for email accounts and verifying the sender&amp;rsquo;s identity before responding to requests or inquiries. Unusual requests should always get verified through a separate communication channel like a phone call. Secure email gateways with robust spam filters must be implemented and maintained.&lt;/p&gt;
&lt;h3 id="profile-target-audiences"&gt;Profile Target Audiences &lt;a class="heading-anchor" href="#profile-target-audiences" aria-label="Link to section: Profile Target Audiences"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;To effectively mitigate a whaling phishing attack, it&amp;rsquo;s essential to profile target audiences and identify potential vulnerabilities. By understanding the behavior patterns of high-profile individuals and other likely target individuals, businesses and their information security departments can tailor their prevention programs and awareness campaigns accordingly. For example, if a senior executive is known for traveling frequently, they may be more vulnerable to targeted phishing attempts while on the go.&lt;/p&gt;
&lt;h3 id="protecting-against-whaling-phishing-attacks"&gt;Protecting Against Whaling Phishing Attacks &lt;a class="heading-anchor" href="#protecting-against-whaling-phishing-attacks" aria-label="Link to section: Protecting Against Whaling Phishing Attacks"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;There are many different steps organizations can take to protect against whaling phishing attacks:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Employee Training: One crucial step is establishing mandatory employee security awareness training on identifying whaling emails and mitigating social engineering. All key personnel should know how to recognize a fishy domain name, identify the suspicious sender, and call out uncommon business practices.&lt;/li&gt;
&lt;li&gt;Two-Factor Authentication: Implementing two-factor or &lt;a href="https://www.janbrennenstuhl.eu/passwordless-authentication/" title="Passwordless Authentication: The Future of Cybersecurity"&gt;passwordless authentication&lt;/a&gt; for all authentication processes can help prevent unauthorized access even if an attacker has already obtained login credentials.&lt;/li&gt;
&lt;li&gt;Strong Password Policies: Organizations should implement &lt;a href="https://www.janbrennenstuhl.eu/password-policy/" title="How to Design a Strong &amp;amp; Usable Password Policy"&gt;strong password policies&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Email Filters: Strong email filters can help prevent phishing emails from reaching employees&amp;rsquo; inboxes.&lt;/li&gt;
&lt;li&gt;Regular Testing: Regularly testing employees&amp;rsquo; awareness of social engineering and conducting simulated phishing attacks can help identify areas for improvement.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="potential-impact-of-whaling-phishing-on-organizations"&gt;Potential Impact of Whaling Phishing on Organizations &lt;a class="heading-anchor" href="#potential-impact-of-whaling-phishing-on-organizations" aria-label="Link to section: Potential Impact of Whaling Phishing on Organizations"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="financial-losses"&gt;Financial Losses &lt;a class="heading-anchor" href="#financial-losses" aria-label="Link to section: Financial Losses"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Successful whaling phishing attacks&lt;/strong&gt; can lead to &lt;strong&gt;significant financial losses&lt;/strong&gt; for businesses. The game is usually over once cybercriminals trick high-level executives and employees into authorizing a &lt;strong&gt;fraudulent wire transfer&lt;/strong&gt;. These attacks can be devastating. Small and medium-sized companies may need more financial resources to recover from such losses.&lt;/p&gt;
&lt;h3 id="reputational-damage"&gt;Reputational Damage &lt;a class="heading-anchor" href="#reputational-damage" aria-label="Link to section: Reputational Damage"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Like many other security incidents, successful whaling attacks can cause &lt;strong&gt;reputational damage to brands&lt;/strong&gt;. If an organization falls victim to a phishing attack, it may lose the trust of its customers and partners, who may question its ability to protect data and prevent fraud. It can take years for organizations to rebuild their reputation after a successful phish, which can have long-term financial consequences.&lt;/p&gt;
&lt;h3 id="compromised-sensitive-data"&gt;Compromised Sensitive Data &lt;a class="heading-anchor" href="#compromised-sensitive-data" aria-label="Link to section: Compromised Sensitive Data"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;A whaling phishing attack can severely impact data privacy by compromising confidential data, personally identifiable information (PII), or organizations&amp;rsquo; intellectual property. Cybercriminals may use stolen credentials or access gained through these attacks to steal personal information such as trade secrets, customer data, and financial records. This data type is valuable on the black market and can be used for identity theft, subsequent attacks, or sold to competitors or malicious actors.&lt;/p&gt;
&lt;h2 id="conclusion-understanding-the-risks-of-whaling-phishing-attacks"&gt;Conclusion: Understanding the Risks of Whaling Phishing Attacks &lt;a class="heading-anchor" href="#conclusion-understanding-the-risks-of-whaling-phishing-attacks" aria-label="Link to section: Conclusion: Understanding the Risks of Whaling Phishing Attacks"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Cyber threats will become more sophisticated and targeted. State-of-the-art AI tooling will make it even easier for malicious actors to social engineer their way into many people. &lt;strong&gt;Whaling is a severe threat&lt;/strong&gt; that must be addressed head-on. Businesses can protect their sensitive data, retain their reputation, and secure financial stability by understanding the psychology behind these attacks and establishing effective preventative and reactionary measures.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Preventing whaling phishing attacks requires a multi-layered defensive approach&lt;/strong&gt; that includes employee training, robust security protocols, and continuous monitoring and awareness programs. Employee training is essential in raising consciousness about these types of scams. It helps to share best practices, so employees know what red flags to look for when receiving suspicious emails or inquiries.&lt;/p&gt;
&lt;p&gt;Regular security assessments should be conducted by third-party experts who can identify vulnerabilities in an organization&amp;rsquo;s systems and recommend remediation measures. Finally, having a comprehensive incident response plan will help organizations respond quickly and effectively if they fall victim to a whaling phishing attack.&lt;/p&gt;
&lt;h2 id="frequently-asked-questions-faqs"&gt;Frequently Asked Questions (FAQs) &lt;a class="heading-anchor" href="#frequently-asked-questions-faqs" aria-label="Link to section: Frequently Asked Questions (FAQs)"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;What distinguishes whaling from phishing?&lt;/strong&gt; While both whaling and phishing are deceptive methods aimed at duping people into providing sensitive information, whaling is primarily designed to target high-ranking members of an organization. It&amp;rsquo;s like comparing a shark to a whale; both are dangerous, but one is unquestionably bigger and capable of causing more damage.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What kind of information do whalers typically target?&lt;/strong&gt; Whalers often seek sensitive information that will provide them access to an organization&amp;rsquo;s secure data or financial assets. This could contain login credentials, financial information, or information that could be used to infiltrate an organization&amp;rsquo;s network.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How can an organization protect itself from whaling attacks?&lt;/strong&gt; The first line of protection is awareness. Regular cybersecurity awareness training, concentrating on whaling, can assist employees in recognizing and reporting such attacks. Furthermore, technical safeguards such as powerful spam filters, secure email gateways, and regular software updates should be implemented.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How can I identify a whaling attack?&lt;/strong&gt; Whaling emails are frequently from reputable sources, such as high-ranking CEOs or well-known organizations. However, warning indicators can include strange requests, inappropriate language, or minor differences in email addresses. When in doubt, it&amp;rsquo;s best to double-check through another channel before moving on.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How prevalent are whaling attacks?&lt;/strong&gt; While less common than classical phishing attacks, whaling is gaining appeal among cybercriminals due to its vast potential returns. As cyber risks grow, it is critical to be cautious and aware.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What should I do if I suspect a whaling attempt?&lt;/strong&gt; First and foremost, do not respond or click on any links. Inform your organization&amp;rsquo;s IT or security department about the questionable activities. They can evaluate possible threats and take suitable actions.&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Step-Up Authentication: Elevating Security with OpenID Connect (OIDC)</title><link>https://www.janbrennenstuhl.eu/step-up-authentication/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/step-up-authentication/</guid><pubDate>Sun, 14 May 2023 00:00:00 +0200</pubDate><description>&lt;p&gt;Security measures are effective when they cause the least friction while providing the highest level of security necessary for the targeted, user-friendly business process. Asking for too little gives users (or whoever is posing as them) too much freedom, but asking for too much, especially up front, generates obtrusive friction.&lt;/p&gt;
&lt;p&gt;Minimal friction is essential to success, especially in conversion-sensitive flows like sales funnels. Services or apps are meant to be simple to access, and customers who want to utilize a product or purchase within as little time as possible may do so with as little friction. Making authentication even slightly more complicated risks alienating prospective customers.&lt;/p&gt;
&lt;h2 id="what-is-step-up-authentication"&gt;What is Step-Up Authentication? &lt;a class="heading-anchor" href="#what-is-step-up-authentication" aria-label="Link to section: What is Step-Up Authentication?"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Step-up authentication is one way of balancing friction and security that has received much attention and application in recent years. Step-up authentication ensures that users can access specific resources or execute the most typical actions with a single set of credentials. Users will be prompted for additional authentication factors when requesting to access sensitive resources or initiating privileged operations.&lt;/p&gt;
&lt;h3 id="the-rationale-behind-step-up-authentication"&gt;The Rationale Behind Step-Up Authentication &lt;a class="heading-anchor" href="#the-rationale-behind-step-up-authentication" aria-label="Link to section: The Rationale Behind Step-Up Authentication"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Step-up authentication aims to tailor identity requests to the value of the resource and the local risk level and anticipated impact if it is compromised. By enabling risk-based authentication, step-up authentication allows organizations to provide easy access to one tier of non-critical resources while providing secure access to another.&lt;/p&gt;
&lt;p&gt;As a result, security stays out of the way most of the time and only intervenes when further proofs of authenticity are absolutely required. This makes authentication work for both organizations and customers since both can be certain that their most sensitive resources are safe and secure.&lt;/p&gt;
&lt;p&gt;It also opens new ways to conduct authorization by allowing organizations to privilege access for paying users.&lt;/p&gt;
&lt;h3 id="step-up-authentication-vs-single-factor-authentication"&gt;Step-Up Authentication vs Single-Factor Authentication &lt;a class="heading-anchor" href="#step-up-authentication-vs-single-factor-authentication" aria-label="Link to section: Step-Up Authentication vs Single-Factor Authentication"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Although ubiquitous, single-factor authentication (SFA) frequently falls short of offering adequate security against common identity attacks. This traditional approach, which usually requires only a username and password, is widely regarded as insufficient due to its susceptibility to breaches ranging from brute-force attacks like &lt;a href="https://www.janbrennenstuhl.eu/password-spraying/" title="What is Password Spraying, How It Works &amp;amp; How to Prevent It"&gt;password spaying&lt;/a&gt; to phishing schemes.&lt;/p&gt;
&lt;p&gt;In contrast, step-up authentication provides a more dynamic and context-sensitive security barrier. Instead of depending on a single, static layer of protection, it adjusts to changing risk levels by providing additional verification steps as needed. Step-up authentication provides a more sophisticated and scalable approach to security, delivering a higher level of protection without losing user convenience under normal conditions.&lt;/p&gt;
&lt;h3 id="step-up-authentication-vs-multi-factor-authentication"&gt;Step-Up Authentication vs Multi-Factor Authentication &lt;a class="heading-anchor" href="#step-up-authentication-vs-multi-factor-authentication" aria-label="Link to section: Step-Up Authentication vs Multi-Factor Authentication"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In many security-conscious environments, multi-factor authentication (MFA) has become the gold standard, requiring users to present a second factor (or multiple authentication factors) to access their online accounts. While MFA considerably improves security over single-factor authentication, it may cause user annoyance, particularly if additional verification steps are required for every login or transaction, regardless of the associated risk.&lt;/p&gt;
&lt;p&gt;Step-up authentication is a flexible form of multifactor authentication, adding additional security layers only when necessary, such as during high-risk transactions or unusual account activity. This method ensures essential security requirements and improves the user experience by reducing unnecessary disruptions.&lt;/p&gt;
&lt;h3 id="step-up-authentication-vs-adaptive-authentication"&gt;Step-Up Authentication vs Adaptive Authentication &lt;a class="heading-anchor" href="#step-up-authentication-vs-adaptive-authentication" aria-label="Link to section: Step-Up Authentication vs Adaptive Authentication"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Adaptive authentication, like step-up authentication, is a more intelligent, context-aware approach to account security. It dynamically increases the level of necessary user authentication based on a risk assessment of each individual login or access attempt, considering parameters like geolocation (e.g., impossible travel), &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/reinforced-authentication/" title="Reinforced Authentication: Studies Redefine Account Security"&gt;IP reputation, device characteristics, and behavior patterns&lt;/a&gt;, or user&amp;rsquo;s risk profile.&lt;/p&gt;
&lt;p&gt;However, there is a subtle distinction between the two. While responding to perceived risks, step-up authentication often initiates additional authentication processes in predetermined conditions and based on static risk assessments, such as when a user attempts a high-value transaction.&lt;/p&gt;
&lt;p&gt;In contrast, adaptive authentication uses advanced risk analysis algorithms, sometimes powered by artificial intelligence or machine learning, to assess the need for extra real-time authentication steps. While both give a more personalized and responsive approach to security compared to previous static techniques, Adaptive Authentication provides a more granular and automated risk assessment, possibly providing a higher level of protection and user experience when applied successfully.&lt;/p&gt;
&lt;h2 id="how-step-up-authentication-works"&gt;How Step-Up Authentication Works &lt;a class="heading-anchor" href="#how-step-up-authentication-works" aria-label="Link to section: How Step-Up Authentication Works"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Step-up authentication generally requires multiple stages of verification. When a user initiates an action that requires enhanced security, such as accessing confidential documents or conducting financial transactions, the system prompts the user for multi-factor authentication. This step up can manifest itself in a variety of ways, including, but not limited to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Two-Factor Authentication (2FA)&lt;/strong&gt; – To verify a user&amp;rsquo;s authenticity, this method combines something the user knows (e.g., a password) with something the user owns (possession factor), such as a unique code generated by a mobile app.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Biometric Authentication&lt;/strong&gt; – Biometric authentication delivers high security and convenience for users by using unique biological traits (inherence factor) such as fingerprints, facial recognition, or iris scans.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="implementing-step-up-authentication"&gt;Implementing Step-Up Authentication &lt;a class="heading-anchor" href="#implementing-step-up-authentication" aria-label="Link to section: Implementing Step-Up Authentication"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In traditional authentication systems, step-up authentication was handled by integrating the relevant business logic within the web applications. Custom engineering efforts and heterogeneous implementations could have used more resources by neglecting to reuse well-tested code and incurring ongoing maintenance costs. Still, they also increased the possibility of security flaws.&lt;/p&gt;
&lt;p&gt;Since federation protocols like OpenID Connect (OIDC) are becoming increasingly popular for modern applications that want to improve security by relying on a reliable identity provider, there are also better, standardized options for implementing step-up authentication.&lt;/p&gt;
&lt;h3 id="step-up-authentication-with-openid-connect"&gt;Step-up Authentication with OpenID Connect &lt;a class="heading-anchor" href="#step-up-authentication-with-openid-connect" aria-label="Link to section: Step-up Authentication with OpenID Connect"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;OIDC is &lt;a href="https://openid.net/specs/openid-connect-core-1_0.html" title="OpenID Connect Specification" class="ext"&gt;an open standard&lt;/a&gt; with built-in support for relying parties (RP) that require more potent authentication methods (AMR) to be used depending on the authentication context classes. Because conventional federation protocols such as OIDC are business context agnostic and do not track every user interaction, business apps must initiate step-up scenarios independently.&lt;/p&gt;
&lt;h3 id="forced-re-authentication-methods"&gt;Forced Re-Authentication Methods &lt;a class="heading-anchor" href="#forced-re-authentication-methods" aria-label="Link to section: Forced Re-Authentication Methods"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Following successful authentication, IdPs frequently provide long-running login sessions bound to user agents. The goal is to eliminate consumer friction by removing the need for regular active credential authentication. However, depending on an RP’s local risk assessment, certain business operations may require the most recent functional proof of authenticity check to be no more than a particular period old.&lt;/p&gt;
&lt;p&gt;Relying parties use the optional authentication request variable &lt;code&gt;max_age&lt;/code&gt; to communicate session age expectations to an IdP service. OIDC-compliant IdPs ensure that all session age requirements are met by requiring authentication as needed.&lt;/p&gt;
&lt;figure class="code" data-lang="bash"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" aria-label="Code (bash)" class="chroma"&gt;&lt;code data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;GET /authorize?
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;response_type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;code
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;scope&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;openid%20profile%20email
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;client_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;s6BhdRkqt3
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;state&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;af0ifjsldkj
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;redirect_uri&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https%3A%2F%2Fclient.example.org%2Fcb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;max_age&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;300&lt;/span&gt; HTTP/1.1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Host: server.example.com&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Requiring re-authentication of existing sessions every time a user attempts to access sensitive information or protected areas of an application adds friction to the user experience. Session elevation can be used to successfully achieve a balance between a smooth user experience and security considerations.&lt;/p&gt;
&lt;p&gt;The authentication context class concept allows apps to build such scenarios and coordinate with an identity provider (IdP) for smooth step-up service in a declarative policy-driven method.&lt;/p&gt;
&lt;h3 id="authentication-context-class-reference-acr"&gt;Authentication Context Class Reference (ACR) &lt;a class="heading-anchor" href="#authentication-context-class-reference-acr" aria-label="Link to section: Authentication Context Class Reference (ACR)"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The optional authentication request parameter &lt;code&gt;acr_values&lt;/code&gt; is a space-separated list of ACRs that determines the client application’s minimum degree of authentication. If the parameter is present, the IdP takes all measures necessary to verify and match the requested class. Users may be asked to re-authenticate using additional or different authentication methods to achieve this objective.&lt;/p&gt;
&lt;p&gt;The authentication context class met by the completed identity authentication is returned as the ACR claim value within the provided identity token, which can then be utilized for authorized purposes by the RP.&lt;/p&gt;
&lt;p&gt;ACR values and their semantics must be established, aligned, and documented between IdP and RPs out of the band. Only then business owners effectively employ them to precisely determine what ACR relates to the local risk assessment of their specific business operations.&lt;/p&gt;
&lt;h3 id="authentication-level-elevation"&gt;Authentication Level Elevation &lt;a class="heading-anchor" href="#authentication-level-elevation" aria-label="Link to section: Authentication Level Elevation"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Access to sensitive information and operations must be logged appropriately and authorized by resource servers. Verifying the validity of the provided bearer token is required to ensure that a client is eligible to undertake a specific operation.&lt;/p&gt;
&lt;p&gt;The goal of session authentication and assurance level elevation is to provide a relatively seamless user experience by maintaining a minimum level of assurance for a user session when the user first authenticates to the application and then raising their authenticity levels based on local risk assessments:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Assuming that a user successfully established a session after &lt;a href="https://www.janbrennenstuhl.eu/password-manager-friendly/" title="How to Make Your Login Forms Password-Manager Friendly"&gt;logging in with a username and password&lt;/a&gt; and now attempts to access a sensitive resource, they are prompted to apply extra authentication factors.&lt;/li&gt;
&lt;li&gt;The session is upgraded to a higher assurance level after a successful step-up using an additional authentication method.&lt;/li&gt;
&lt;li&gt;Because their session is already at the raised authentication levels, no extra authentication challenge will be prompted the next time users enter the sensitive section within the specified duration.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class="code" data-lang="bash"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" aria-label="Code (bash)" class="chroma"&gt;&lt;code data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;GET /authorize?
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;response_type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;code
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;scope&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;openid%20profile%20email
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;client_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;s6BhdRkqt3
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;state&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;af0ifjsldkj
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;redirect_uri&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https%3A%2F%2Fclient.example.org%2Fcb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;acr_values&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;mfa
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="nv"&gt;max_age&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;300&lt;/span&gt; HTTP/1.1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Host: server.example.com&lt;span class="err"&gt;\&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;h2 id="conclusion"&gt;Conclusion &lt;a class="heading-anchor" href="#conclusion" aria-label="Link to section: Conclusion"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Step-up authentication aims to adapt authentication requirements to the significance associated with a resource and the level of risk if it is exposed. It is one way to strike a balance between friction and security by allowing customers to continue using already known, established, and understood authentication concepts (username and password, for example) to access regular resources while prompting them for additional proof of authenticity and a different form of two-step authentication (such as confirmation via email or push notifications) in the context of more sensitive business operations (such as financial transactions or accessing sensitive data).&lt;/p&gt;
&lt;p&gt;Enabling session authentication level elevation and step-up authentication can resolve the target conflict of providing customers with a smooth experience on the one hand and enforcing more significant security standards for specified operations or resources on the other.&lt;/p&gt;
&lt;h2 id="frequently-asked-questions-faqs"&gt;Frequently Asked Questions (FAQs) &lt;a class="heading-anchor" href="#frequently-asked-questions-faqs" aria-label="Link to section: Frequently Asked Questions (FAQs)"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="what-are-the-minimum-requirements-to-implement-step-up-authentication"&gt;What are the minimum requirements to implement Step-Up Authentication? &lt;a class="heading-anchor" href="#what-are-the-minimum-requirements-to-implement-step-up-authentication" aria-label="Link to section: What are the minimum requirements to implement Step-Up Authentication?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;First and foremost, a reliable and secure primary authentication mechanism, such as a secure password system or biometric identification method, is essential. Second, an additional authentication method, such as text message verification, email confirmation codes, security questions, or biometric checks, must be available and compatible with the user base.&lt;/p&gt;
&lt;p&gt;The user’s technological capabilities and the amount of security required to determine which to utilize. Third, an effective risk assessment system must be established to detect circumstances requiring more verification. Finally, to support all the complex procedures involved in step-up authentication, an IT infrastructure that is both adaptable and secure is necessary.&lt;/p&gt;
&lt;h3 id="how-does-step-up-authentication-improve-user-experience"&gt;How does Step-Up Authentication improve user experience? &lt;a class="heading-anchor" href="#how-does-step-up-authentication-improve-user-experience" aria-label="Link to section: How does Step-Up Authentication improve user experience?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Step-up authentication is intended to improve the user experience by requiring further verification only when necessary. Step-up authentication, as opposed to standard static multi-factor authentication, which requires additional steps every time a user signs in or performs specific actions, only increases security measures in the context of higher-risk activities.&lt;/p&gt;
&lt;p&gt;This means that for most ordinary actions, consumers may enjoy a frictionless, seamless experience without being burdened by additional security precautions. However, when it comes to more sensitive procedures, such as changing personal information or completing large transactions, consumers can welcome the added degree of protection, knowing their accounts and data are secure.&lt;/p&gt;
&lt;h3 id="how-can-step-up-authentication-prevent-data-breaches"&gt;How can Step-Up Authentication prevent data breaches? &lt;a class="heading-anchor" href="#how-can-step-up-authentication-prevent-data-breaches" aria-label="Link to section: How can Step-Up Authentication prevent data breaches?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Step-up authentication is a powerful technique that adds complexity and layers to the authentication process. Step-up authentication adapts to the perceived risk level of a user’s activity. This means that even if an attacker successfully steals or guesses a user’s primary credentials, they will still face additional, often unanticipated, obstacles before getting access. Many cyberattacks are deterred by this since it considerably increases the work and skill required to compromise an account.&lt;/p&gt;</description></item><item><title>Password Attack Guide: What is Password Spraying?</title><link>https://www.janbrennenstuhl.eu/password-spraying/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/password-spraying/</guid><pubDate>Thu, 11 May 2023 00:00:00 +0200</pubDate><description>&lt;h2 id="introduction-to-password-attacks"&gt;Introduction to Password Attacks &lt;a class="heading-anchor" href="#introduction-to-password-attacks" aria-label="Link to section: Introduction to Password Attacks"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Cybercriminals continuously seek new ways to gain account access and exploit security flaws as technology progresses. Password spraying is one such practice that, in recent years, has become popular among hackers looking to gain unauthorized access to accounts and sensitive information. But what exactly is password spraying, how does it work, and what can you do to prevent it? Let’s get started.&lt;/p&gt;
&lt;h3 id="what-is-password-spraying"&gt;What is Password Spraying? &lt;a class="heading-anchor" href="#what-is-password-spraying" aria-label="Link to section: What is Password Spraying?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Password spraying is a well-defined (&lt;a href="https://attack.mitre.org/techniques/T1110/003/" title="Brute Force: Password Spraying (MITRE)" class="ext"&gt;T1110.003&lt;/a&gt;) password attack in which hackers test several commonly utilized passwords to gain access to several user accounts. Malicious actors frequently prepare spraying attacks with reconnaissance and discovery techniques to learn more about the targeted account base. Often online services leak information in their sign-up or password reset processes. Password spraying then concentrates on trying common passwords across many known accounts.&lt;/p&gt;
&lt;h3 id="the-motivation-behind-password-spraying-attacks"&gt;The motivation behind password spraying attacks &lt;a class="heading-anchor" href="#the-motivation-behind-password-spraying-attacks" aria-label="Link to section: The motivation behind password spraying attacks"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;As the cyber threat landscape evolves, threat actors&amp;rsquo; focus shifts from assaulting computer networks to stealing user identities. Because of the increasing sophistication of software in detecting malware programs and vulnerabilities, attackers have been forced to adapt, resulting in a greater emphasis on identity-based attacks.&lt;/p&gt;
&lt;p&gt;Many organizations invest considerably in securing user accounts by establishing complicated password policies and restricting access to resources from secure networks. While these precautions are vital best practices, they are frequently insufficient in the face of a compromised trusted user account.&lt;/p&gt;
&lt;h2 id="how-password-spraying-works"&gt;How Password Spraying Works &lt;a class="heading-anchor" href="#how-password-spraying-works" aria-label="Link to section: How Password Spraying Works"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Understanding a typical password spray attack is critical to protect against and investigate it. Password spray attacks are brute-force attacks that use an exhaustive list of usernames and link them with popular passwords to guess the proper combination for as many passwords and users as possible.&lt;/p&gt;
&lt;p&gt;Advanced password spraying involves techniques that rely on people using variations of common passwords and often follow three key characteristics: multiple account targeting, common passwords and wordlists, and other dictionary attacks while flying low and slow under the radar.&lt;/p&gt;
&lt;h3 id="targeting-multiple-accounts"&gt;Targeting Multiple Accounts &lt;a class="heading-anchor" href="#targeting-multiple-accounts" aria-label="Link to section: Targeting Multiple Accounts"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In a password-spraying attack, attackers target many accounts instead of focusing on one password or a single account. They avoid activating security measures such as account lockout policies or active blocking by spreading their efforts over numerous accounts.&lt;/p&gt;
&lt;h3 id="common-passwords--dictionary-attack"&gt;Common Passwords &amp;amp; Dictionary Attack &lt;a class="heading-anchor" href="#common-passwords--dictionary-attack" aria-label="Link to section: Common Passwords &amp;amp; Dictionary Attack"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Attackers employ lists of common passwords or customized dictionaries, pre-compiled lists of words, phrases, and character combinations likely to be used as passwords. These lists are frequently based on leaked password databases, increasing the likelihood that an attacker would find a match. The password top lists by OWASP are likely the most popular sources for common passwords.&lt;/p&gt;
&lt;h3 id="the-use-of-bots--automation-in-password-spraying"&gt;The Use of Bots &amp;amp; Automation in Password Spraying &lt;a class="heading-anchor" href="#the-use-of-bots--automation-in-password-spraying" aria-label="Link to section: The Use of Bots &amp;amp; Automation in Password Spraying"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;A determined malicious actor has to be patient. The most sophisticated password sprays will employ multiple IP addresses and not uncommonly involve botnets to simultaneously assault various accounts with a limited number of selected password guesses. Numerous password-spraying tools exist that help even less techy threat actors to automate brute-force attacks and password-spraying for multiple targets, protocols, and use cases. Due to their highly distributed and low frequent (&amp;ldquo;dripping&amp;rdquo;) characteristics, these credential-based attacks are hard to distinguish from natural authentication attempts and often remain undetected.&lt;/p&gt;
&lt;h3 id="password-spraying-vs-brute-force-attack"&gt;Password Spraying vs Brute-Force Attack &lt;a class="heading-anchor" href="#password-spraying-vs-brute-force-attack" aria-label="Link to section: Password Spraying vs Brute-Force Attack"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Password spraying is a type of brute-force attack. Both seek to guess passwords and identify matching user credentials; the primary distinction is how they do it. Traditional brute-force attacks target a single account and attempt all potential password combinations. This can take time and may result in account lockouts or security alerts. Password spraying, on the other hand, distributes the risk by targeting several accounts with fewer password attempts, making it harder to detect and more likely to succeed, especially given that many &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/password-reuse/" title="5 Alarming Password Reuse Studies"&gt;regular users reuse commonly used passwords&lt;/a&gt; across multiple sites. A password-spraying attack is a brute-force attack on steroids.&lt;/p&gt;
&lt;h3 id="password-spraying-vs-credential-stuffing"&gt;Password Spraying vs Credential Stuffing &lt;a class="heading-anchor" href="#password-spraying-vs-credential-stuffing" aria-label="Link to section: Password Spraying vs Credential Stuffing"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Password spraying and credential stuffing are two different credential-based attacks used by attackers to exploit password vulnerabilities. &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/" title="Research on Credential Stuffing &amp;amp; Compromised Credentials"&gt;Credential stuffing is a technique&lt;/a&gt; in which an attacker obtains a list of leaked credential pairs (username and password) from a prior data breach and attempts to use the same credentials against several accounts hoping to gain access to a valid account. Credential stuffing takes advantage of a list of known credential combinations, and many end-users reuse the same password across many accounts, which is more effective than password spraying. The dark web is full of more or less reliable stolen credentials.&lt;/p&gt;
&lt;h3 id="password-spraying-vs-dictionary-attack"&gt;Password Spraying vs Dictionary Attack &lt;a class="heading-anchor" href="#password-spraying-vs-dictionary-attack" aria-label="Link to section: Password Spraying vs Dictionary Attack"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;A dictionary attack is a brute force attack in which an attacker generates a password list by combining various words and phrases from a dictionary, hence the name &amp;ldquo;dictionary&amp;rdquo; brute force attack. While dictionary attacks and password spraying target passwords, their goals and methods differ. Dictionary attacks seek to exhaust all possible password combinations, whereas a password spraying attack aims to discover a common password used by numerous users. In both cases, attackers are hunting for easy-to-guess or regularly used passwords.&lt;/p&gt;
&lt;h2 id="real-world-examples-of-password-spraying"&gt;Real-World Examples of Password Spraying &lt;a class="heading-anchor" href="#real-world-examples-of-password-spraying" aria-label="Link to section: Real-World Examples of Password Spraying"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Password spraying attacks never stop. The following three real-world examples of security incidents caused by password spraying attacks are just the tip of the iceberg:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Microsoft Office 365 Attack&lt;/strong&gt; – In 2021, Microsoft observed a spike in password-spraying assaults against &lt;a href="https://www.zdnet.com/article/microsoft-warns-over-password-attacks-against-250-office-365-customers/" title="Microsoft warns over password attacks against these Office 365 customers" class="ext"&gt;250 Office 365 customers in the US and Israeli defense technology&lt;/a&gt; sectors. According to Microsoft, the credential-based attacks targeted critical infrastructure businesses in the Persian Gulf and were conducted by a group known as DEV-0343.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Parliament of the United Kingdom Attack&lt;/strong&gt; – In June 2017, a password-spraying attack targeted the email accounts of members of the UK Parliament, resulting in remote access being blocked for MPs as a precaution.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Citrix Systems Attack&lt;/strong&gt; – Between 2018 and 2019, hackers accessed Citrix systems and sensitive data over five months. The FBI alerted Citrix to the breach in March 2019 and stated that a password-spraying attack was the likely cause.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="how-a-password-spraying-attack-affects-your-customers"&gt;How a Password Spraying Attack Affects Your Customers &lt;a class="heading-anchor" href="#how-a-password-spraying-attack-affects-your-customers" aria-label="Link to section: How a Password Spraying Attack Affects Your Customers"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Understanding password spraying risks and compromised security costs heavily depends on local threat scenarios, business contexts, and risk appetite. The most severe consequence of password spraying is often a loss of consumer trust. When a website or email account is compromised, there is no way to protect the customer&amp;rsquo;s personal information or sensitive data without extra passwordless security measures.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Data Breaches &amp;amp; Identity Theft&lt;/strong&gt; – Password spraying attacks allow fraudsters to gain unauthorized access to sensitive consumer data such as personal information, financial information, intellectual property, and login credentials. This information can be used to commit identity theft or resell on the dark web, placing your clients at risk of financial loss and long-term damage to e.g. their credit ratings.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Loss of Trust&lt;/strong&gt; – Customers provide businesses their personal information, expecting to be kept safe and secure. A compromised account caused by a password spraying attack can cause users to lose trust in your brand, resulting in decreased customer loyalty and potential loss of business.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Disrupted Services&lt;/strong&gt; – Credential-based attacks might cause your services to be unavailable, inconveniencing customers that rely on them. Downtime caused by an attack and active countermeasures might make it difficult for your consumers to access their accounts, make purchases, or use your services, leading to irritation and dissatisfaction.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Financial Impact&lt;/strong&gt; – If an attack is successful, customers may experience economic consequences due to unlawful transactions, fraudulent charges, or the cost of mitigating the effects of identity theft. These financial obligations can diminish the perceived value of your products or services, driving away customers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Privacy Concerns&lt;/strong&gt; – When customers discover that their personal information has been exposed due to a password spraying attack, they may become more concerned about their overall privacy and be less willing to share information with a business in the future.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="detecting-password-spraying-attacks"&gt;Detecting password spraying attacks  &lt;a class="heading-anchor" href="#detecting-password-spraying-attacks" aria-label="Link to section: Detecting password spraying attacks "&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The most critical exercise to enable effective password spray defense is to monitor and respond to suspicious activity by leveraging tools for detecting password spraying.&lt;/p&gt;
&lt;h3 id="sudden-spike-in-failed-login-attempts"&gt;Sudden Spike in Failed Login Attempts &lt;a class="heading-anchor" href="#sudden-spike-in-failed-login-attempts" aria-label="Link to section: Sudden Spike in Failed Login Attempts"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Examine account authentication attempts regularly and automatically to spot any failed logins or suspicious patterns. A high ratio of failed login attempts for different accounts in a short period could indicate an ongoing password-spraying attack.&lt;/p&gt;
&lt;h3 id="unusual-account-activity"&gt;Unusual Account Activity &lt;a class="heading-anchor" href="#unusual-account-activity" aria-label="Link to section: Unusual Account Activity"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Organizations vulnerable to spraying and other credential-based attacks should create user profiles for their accounts and overarching population profiles for their whole account base to discover login abnormalities. User profiles can assist in signaling suspected account activity coming from unexpected IP addresses, utilizing unique user agent identifiers, or other criteria by scoring the originality of an authentication attempt based on prior interaction data. If a user has previously successfully authenticated from a German IP using an iOS user agent, authentications for the same account from an Android smartphone in India should be noticed, considered malicious traffic, and (ideally) trigger additional authentication steps.&lt;/p&gt;
&lt;p&gt;Population profiles are comparable but have a broader scope because they consider metadata such as location profiles, network profiles, and device information used throughout the customer base. If an organization&amp;rsquo;s business plan, for example, restricts service offers to specific users or regions, login attempts from other locations may result in a higher risk score. A company that only operates in Europe will most certainly flag sign-ins from China, resulting in additional actions or limited privileges.&lt;/p&gt;
&lt;h2 id="password-spraying-prevention"&gt;Password spraying prevention &lt;a class="heading-anchor" href="#password-spraying-prevention" aria-label="Link to section: Password spraying prevention"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;There are plenty of password spraying defense techniques and best practices available. The most effective threat mitigation is the abandonment of password-based authentication systems (knowledge factor) in favor of passwordless mechanisms. Because this is not currently practicable for many organizations, defense with multiple layers and &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/reinforced-authentication/" title="Reinforced Authentication: Studies Redefine Account Security"&gt;reinforced authentication approaches&lt;/a&gt; is required.&lt;/p&gt;
&lt;h3 id="ip-blocking--geo-blocking"&gt;IP-Blocking &amp;amp; Geo-Blocking &lt;a class="heading-anchor" href="#ip-blocking--geo-blocking" aria-label="Link to section: IP-Blocking &amp;amp; Geo-Blocking"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;When preventing password spraying or distributed denial of service (DDoS), the ultimate last resort is to hard block individual IPs, entire CIDR ranges, ASNs, or regions. Of course, this will have a significant business impact and will only temporarily alleviate the pressure.&lt;/p&gt;
&lt;h3 id="bot-management"&gt;Bot Management &lt;a class="heading-anchor" href="#bot-management" aria-label="Link to section: Bot Management"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Because password spraying attacks frequently use automation tooling and large-scale botnets, automated bot recognition and management are critical for password spraying prevention. Because bot detection can not produce binary conclusions or sharp deny decisions, intermediary challenges, and further authentication steps are required.&lt;/p&gt;
&lt;h3 id="intermediary-challenges"&gt;Intermediary Challenges &lt;a class="heading-anchor" href="#intermediary-challenges" aria-label="Link to section: Intermediary Challenges"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;There are at least two types of intermediary challenges: interactive challenges, such as CAPTCHAs, which require users to solve a puzzle to prove human interaction, and non-interactive challenges, such as proof-of-work-based mechanisms, which need a suspicious user agent to solve cryptographic exercises, significantly slowing automated efforts and raising operational costs for large-scale attacks.&lt;/p&gt;
&lt;h3 id="strong-password-policies-and-best-practices"&gt;Strong Password Policies and Best Practices &lt;a class="heading-anchor" href="#strong-password-policies-and-best-practices" aria-label="Link to section: Strong Password Policies and Best Practices"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Implementing a firm password policy that encourages complex passwords and prohibits using regularly used passwords and compromised credentials does not necessarily prevent spray attacks. Bad actors will still attempt them, but it renders them virtually ineffective. I recently wrote about &lt;a href="https://www.janbrennenstuhl.eu/password-policy/" title="Learn how to create a secure and user-friendly password policy"&gt;how to create a strong password policy that is user-friendly and effective&lt;/a&gt;, which you should read!&lt;/p&gt;
&lt;h3 id="passwordless-authentication"&gt;Passwordless Authentication &lt;a class="heading-anchor" href="#passwordless-authentication" aria-label="Link to section: Passwordless Authentication"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Passwordless authentication is a modern paradigm shift away from knowledge factors (passwords) and toward possession (like Passkeys) or inherence factors (biometrics). Passwordless login is the most effective password-spraying attack prevention because the primary target is removed. I recently described &lt;a href="https://www.janbrennenstuhl.eu/passwordless-authentication/" title="Unlocking the Secrets of Passwordless Authentication"&gt;why passwordless sign-in is regarded as the future of cybersecurity&lt;/a&gt;; take a look!&lt;/p&gt;
&lt;h3 id="enable-multi-factor-authentication-mfa"&gt;Enable Multi-factor Authentication (MFA) &lt;a class="heading-anchor" href="#enable-multi-factor-authentication-mfa" aria-label="Link to section: Enable Multi-factor Authentication (MFA)"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Two-factor authentication (2FA) and MFA incorporate at least two separate authentication concepts, with the passwordless access component always included. Regular password-based logins are frequently complemented by one-time passwords (OTP) produced in a separate authenticator app or device. Enable MFA to prevent password spraying attacks – many federated authentication providers support 2FA enforcement!&lt;/p&gt;
&lt;h2 id="the-ongoing-battle-against-password-attacks"&gt;The Ongoing Battle Against Password Attacks &lt;a class="heading-anchor" href="#the-ongoing-battle-against-password-attacks" aria-label="Link to section: The Ongoing Battle Against Password Attacks"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Password spraying attacks are only one example of how the cybersecurity landscape keeps evolving. As attackers create new strategies, companies and individuals must remain aware and proactive in their security procedures. Brute-force attacks, such as password spraying, can be considerably reduced by setting strong username and password guidelines, establishing multi-factor authentication, and cultivating a security-conscious culture.&lt;/p&gt;
&lt;h2 id="frequently-asked-questions-faqs"&gt;Frequently Asked Questions (FAQs) &lt;a class="heading-anchor" href="#frequently-asked-questions-faqs" aria-label="Link to section: Frequently Asked Questions (FAQs)"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="can-password-spraying-be-easily-detected"&gt;Can password spraying be easily detected? &lt;a class="heading-anchor" href="#can-password-spraying-be-easily-detected" aria-label="Link to section: Can password spraying be easily detected?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Because of their low and slow nature, it might be challenging to detect password-spraying attacks. However, organizations can detect and prevent password-spraying attacks with the correct tools and monitoring.&lt;/p&gt;
&lt;h3 id="how-can-i-protect-my-personal-accounts-from-password-spraying-attacks"&gt;How can I protect my personal accounts from password-spraying attacks? &lt;a class="heading-anchor" href="#how-can-i-protect-my-personal-accounts-from-password-spraying-attacks" aria-label="Link to section: How can I protect my personal accounts from password-spraying attacks?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;To protect your personal accounts from password-spraying attacks, use unique passwords, avoid obvious passwords, enable 2FA, monitor attempts to gain access to your accounts regularly, use password managers, be aware of phishing emails, and keep your security measures up to date.&lt;/p&gt;
&lt;h3 id="are-there-any-tools-available-to-help-detect-and-prevent-password-spraying"&gt;Are there any tools available to help detect and prevent password spraying? &lt;a class="heading-anchor" href="#are-there-any-tools-available-to-help-detect-and-prevent-password-spraying" aria-label="Link to section: Are there any tools available to help detect and prevent password spraying?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Numerous technologies are available to detect and prevent password spraying attacks, like Security Information and Event Management (SIEM) systems, User and Entity Behavior Analytics (UEBA) tools, or dedicated edge protection services. Organizations should employ a combination of these tools and solutions to safeguard their networks and user accounts.&lt;/p&gt;
&lt;h3 id="what-should-i-do-if-i-suspect-password-spraying-compromised-my-account"&gt;What should I do if I suspect password spraying compromised my account? &lt;a class="heading-anchor" href="#what-should-i-do-if-i-suspect-password-spraying-compromised-my-account" aria-label="Link to section: What should I do if I suspect password spraying compromised my account?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;If you suspect your account has been hacked by a password-spraying attack, act quickly to protect your account and personal information. Change your password, apply two-factor authentication, notify the service provider, monitor your potentially compromised accounts, and update your security measures if you see any strange behavior.&lt;/p&gt;
&lt;h3 id="is-it-possible-to-prevent-a-password-spraying-attack"&gt;Is it Possible to Prevent a Password Spraying Attack? &lt;a class="heading-anchor" href="#is-it-possible-to-prevent-a-password-spraying-attack" aria-label="Link to section: Is it Possible to Prevent a Password Spraying Attack?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;While 100% protection against brute-force attacks like credential stuffing or password spray attacks is difficult to ensure, implementing strong password policies, utilizing two-factor authentication, monitoring for suspicious activity, and training users and staff can considerably lower the likelihood of successful attacks.&lt;/p&gt;</description></item><item><title>Honeytoken: Authentication Attack Breach Detection</title><link>https://www.janbrennenstuhl.eu/honeytoken/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/honeytoken/</guid><pubDate>Sat, 29 Apr 2023 00:00:00 +0200</pubDate><description>&lt;p&gt;&lt;mark&gt;&lt;em&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; This article involved collaboration with a GenAI tool for personal research. All content was reviewed and edited by myself. Feel free to report inaccuracies. Thanks.&lt;/em&gt;&lt;/mark&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Honeytoken accounts are a tool that can help businesses detect data breaches. Creating a honeytoken account involves setting up canary traps by inventing sensitive data that appears legit PII.&lt;/li&gt;
&lt;li&gt;When a threat actor stumbles upon a honeytoken account and attempts to use the fake credential set, it triggers an alert that notifies the system administrator or security analyst of the intrusion.&lt;/li&gt;
&lt;li&gt;Honeytokens can’t prevent attacks but can function as threat detectors.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-need-for-honeytoken-accounts"&gt;The Need for Honeytoken Accounts &lt;a class="heading-anchor" href="#the-need-for-honeytoken-accounts" aria-label="Link to section: The Need for Honeytoken Accounts"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In today’s rapidly evolving digital landscape, cybercriminals are devising new and sophisticated ways to exploit vulnerabilities and gain unauthorized access to sensitive information. With organizations of all sizes experiencing an alarming rise in credential breaches, it’s more important than ever to have robust defense and threat detection mechanisms in place.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Enter honeytoken accounts:&lt;/strong&gt; a powerful yet often overlooked tool transforming how businesses detect data breaches and prevent authentication attacks. In this article, I’ll delve into honeytokens, explore their unique benefits, and reveal how they can serve as a formidable threat detection alert in your cybersecurity arsenal. So, buckle up and get ready to uncover the secret weapon that just might page your security team early enough in case of a data breach!&lt;/p&gt;
&lt;h2 id="threat-detection--credential-breaches"&gt;Threat detection &amp;amp; Credential Breaches &lt;a class="heading-anchor" href="#threat-detection--credential-breaches" aria-label="Link to section: Threat detection &amp;amp; Credential Breaches"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Detecting credential breaches can be a daunting challenge, and even with the right combination of strategies and tools, organizations can’t be sure about all their employed safety measures effectively safeguarding their sensitive data, like customer accounts and PII. Many companies today face reality where they are constantly tasked with verifying (supposedly) breached credentials that pop up in the darkest corners.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Collection #1&lt;/strong&gt; breach from 2019, for example, included 2.7 billion email/ password pairs and affected many platforms and services around the web, not because they were actively breached but because large percentages of their customers constantly reuse their credentials on other solutions, as these &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/password-reuse/" title="5 Alarming Password Reuse Studies"&gt;alarming password reuse studies show&lt;/a&gt;. This fact alone renders credential breach verifications a tedious exercise.&lt;/p&gt;
&lt;p&gt;At the same time, security teams have to deal with ever so expanding software supply chains leading to an organization’s infrastructure complexity constantly increasing. In short, suspicious activity is the default, and the recent waves of layoffs in IT companies around the globe do not reasonably contribute to reducing insider threats.&lt;/p&gt;
&lt;h2 id="what-are-honeytoken-accounts-and-how-do-they-work"&gt;What are Honeytoken accounts, and how do they work? &lt;a class="heading-anchor" href="#what-are-honeytoken-accounts-and-how-do-they-work" aria-label="Link to section: What are Honeytoken accounts, and how do they work?"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Honeytoken accounts, sometimes called trap or decoy accounts, are a clever and creative way to detect unauthorized access and stay one step ahead of cybercriminals. Picture them as digital tripwires, alerting you when someone tries to break into your computer systems. Intrigued? Let’s dive deeper into the world of honeytoken accounts and see how they work.&lt;/p&gt;
&lt;p&gt;At their core, honeytoken accounts are fake user accounts explicitly created to act as bait for cyber attackers. They’re designed to blend seamlessly with real accounts, making it difficult for hackers to distinguish between them. When threat actors stumble upon a honeytoken account and attempt to use the fake credential set, it triggers an alert that notifies the system administrator or security analyst of the intrusion.&lt;/p&gt;
&lt;p&gt;The beauty of honeytoken accounts lies in their simplicity. Planting these decoys throughout your system or network can lure hackers into revealing their presence. This gives your security team valuable information about the attacker’s methods and tactics, enabling them to respond quickly and effectively to mitigate potential threats.&lt;/p&gt;
&lt;p&gt;In summary, honeytoken accounts are an ingenious and proactive approach to detecting unauthorized access. They allow security teams to set traps that function as web beacons and trigger alerts for your security analysts in case honeytoken authentication activity is registered. By incorporating them into your cybersecurity strategy, you can either catch an attacker in the act or detect malicious actors post-breach.&lt;/p&gt;
&lt;h2 id="types-of-honey-tokens"&gt;Types of Honey Tokens &lt;a class="heading-anchor" href="#types-of-honey-tokens" aria-label="Link to section: Types of Honey Tokens"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Different types of honey tokens can be used in various ways, such as creating decoy email addresses, placing a fake file containing bogus sensitive information, or even setting up false API keys:&lt;/p&gt;
&lt;h3 id="fake-email-addresses"&gt;Fake Email Addresses &lt;a class="heading-anchor" href="#fake-email-addresses" aria-label="Link to section: Fake Email Addresses"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The idea behind using fake email addresses as honeytokens is to create convincing decoy accounts that blend in with real ones, making it difficult for hackers to distinguish between them. Curious about how it works? Let’s explore this creative cybersecurity technique.&lt;/p&gt;
&lt;p&gt;To begin with, you’ll want to create a fake email address that appears genuine and closely resembles your organization’s actual email addresses. This could involve using a similar top-level domain, following the same naming conventions, or even incorporating the names of real employees. The key is to make it look authentic so that hackers are tempted to target it.&lt;/p&gt;
&lt;p&gt;Once you set up your fake email address, the next step is strategically placing it within your organization’s digital landscape. This could involve including it in publicly accessible documents, online directories, text files, or even embedding it within, e.g., an internal website’s code. By doing this, you’re essentially laying a digital breadcrumb trail for cybercriminals to follow.&lt;/p&gt;
&lt;p&gt;When an attacker comes across a fake email address and decides to target it with phishing emails, spam, or other malicious activities, it triggers an alert. This notification informs your security analysts that someone is attempting to exploit the decoy address, allowing them to quickly respond and investigate the incident. In the process, they can gather invaluable information about the attacker’s methods, tactics and even determine the extent of their knowledge about your organization.&lt;/p&gt;
&lt;h3 id="fake-database-records"&gt;Fake Database Records &lt;a class="heading-anchor" href="#fake-database-records" aria-label="Link to section: Fake Database Records"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;You’ll want to create fake database records that convincingly blend in with your actual data. This could involve creating decoy customer profiles, transactions, or relevant data that match your organization’s structure and environment. The crucial element here is to make these fake records appear genuine, enticing cybercriminals to interact with them.&lt;/p&gt;
&lt;p&gt;Once you have your fake database records ready, the next step is to carefully embed them within your actual database. Be sure to scatter them among nonfictional records, making it challenging for hackers to identify the decoys. While doing this, set up monitoring tools and paging mechanisms to notify your security teams when these fake records are accessed, modified, or exported.&lt;/p&gt;
&lt;p&gt;When an attacker infiltrates your system and interacts with the fake database records, it triggers an incident, allowing your security analysts to quickly identify, respond and investigate the incident. As they gather information about the attacker&amp;rsquo;s methods, tactics, and potential targets, they can take appropriate measures to mitigate the threat and strengthen your organization&amp;rsquo;s defenses.&lt;/p&gt;
&lt;h3 id="fake-executable-files"&gt;Fake Executable Files &lt;a class="heading-anchor" href="#fake-executable-files" aria-label="Link to section: Fake Executable Files"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Fake executables can go a few steps further, as they often are very much like malware, except they’re created and manipulated for defensive purposes against a threat. The software or application can contain backchannels that return data back to you when threat actors interact with them. While it is theoretically possible that fake executable files could cause damage to an attacker’s systems, they can only work as long as attackers cannot effectively protect their devices.&lt;/p&gt;
&lt;h2 id="how-to-create-a-honeytoken-account"&gt;How to create a Honeytoken Account? &lt;a class="heading-anchor" href="#how-to-create-a-honeytoken-account" aria-label="Link to section: How to create a Honeytoken Account?"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Creating honeytokens for customer accounts means setting up canary traps by inventing sensitive data that appears to be legit PII. Often the most rudimentary subset of information necessary for such a honey token involves email address, password hash, and names.&lt;/p&gt;
&lt;p&gt;When you now ask ChatGPT for a set of fake customer data, alter the generated email addresses so that they nicely blend into your customers. If you, for example, conduct business mostly with people from Spain, give them some nice Spanish TLDs. Also, create hashes that match your hash algorithm based on passwords that people commonly use instead of super long, randomized strings. This way, your own honeytokens might even be crackable by the attacker. The honey credentials must appear natural and smell like real value.&lt;/p&gt;
&lt;p&gt;Once you are done with your preparations, feed the fake data into your customer DB and set up alerting for honeytoken authentication activity with your identity provider.&lt;/p&gt;
&lt;h2 id="how-to-detect-threats-with-honeytoken-accounts"&gt;How to detect threats with Honeytoken Accounts? &lt;a class="heading-anchor" href="#how-to-detect-threats-with-honeytoken-accounts" aria-label="Link to section: How to detect threats with Honeytoken Accounts?"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If you follow the approach outlined above, this part of your threat detection is fully automated without needing to actively monitor around the clock. The identity provider or authorization server will detect threats when attackers gain access using the honey credentials.&lt;/p&gt;
&lt;p&gt;Furthermore, even with malicious activity on your site, you will be able to quickly assess the validity of a potential breach data next time external security researchers reach out with critical information or your own threat intelligence team gets their hands on email/ password collections attributed to your organization.&lt;/p&gt;
&lt;p&gt;Of course, honey tokens can only be one puzzle piece within your threat detection toolset. The low effort and neglectable cost factors make it a simple approach you should consider in your everyday security practice.&lt;/p&gt;
&lt;h2 id="frequently-asked-questions-faqs"&gt;Frequently Asked Questions (FAQs) &lt;a class="heading-anchor" href="#frequently-asked-questions-faqs" aria-label="Link to section: Frequently Asked Questions (FAQs)"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="what-is-a-honeypot-vs-honey-token"&gt;What Is a Honeypot vs. Honey Token? &lt;a class="heading-anchor" href="#what-is-a-honeypot-vs-honey-token" aria-label="Link to section: What Is a Honeypot vs. Honey Token?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Honeypots and honeytokens, while sharing a similar purpose, have distinct roles in cybersecurity. They both serve as digital traps to detect and analyze cybercriminal activities. A honeypot is a decoy system or network resource designed to appear as a legitimate and valuable target to attackers. It can mimic servers, databases, or other network components, enticing cybercriminals to interact with it. Once the attacker engages with the honeypot, their activities are monitored, logged, and analyzed.&lt;/p&gt;
&lt;p&gt;On the other hand, a honeytoken is a specific type of digital bait, such as a fake user account, email address, or file, strategically placed within an organization’s systems or network. Like a honeypot, it is designed to attract attackers but focuses on individual elements rather than an entire system.&lt;/p&gt;
&lt;h3 id="can-honeytokens-prevent-supply-chain-attacks"&gt;Can Honeytokens Prevent Supply Chain Attacks? &lt;a class="heading-anchor" href="#can-honeytokens-prevent-supply-chain-attacks" aria-label="Link to section: Can Honeytokens Prevent Supply Chain Attacks?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Cyber-security techniques never can or will prevent any attack on the supply chain or via other angles. In general, honey tokens function as a threat detector rather than threat prevention. Since supply chain attackers could breach target systems via compromised vendors, honeytoken deployment can provide a genuine approach for digital supply chain attack detection when incorporated into processes and data exposed to the vendors.&lt;/p&gt;
&lt;h3 id="how-can-honeytokens-help-security-teams"&gt;How can Honeytokens help security teams? &lt;a class="heading-anchor" href="#how-can-honeytokens-help-security-teams" aria-label="Link to section: How can Honeytokens help security teams?"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;As ingenious digital traps, Honeytokens can provide security teams with a proactive edge in the battle against cyber threats. They offer several key benefits, making them an invaluable tool for enhancing an organization’s cybersecurity strategy. The essential advantage lies in the early detection of breaches and enhanced threat intelligence.&lt;/p&gt;</description></item><item><title>How do you protect accounts from stolen credentials?</title><link>https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/</guid><pubDate>Fri, 21 Apr 2023 00:00:00 +0200</pubDate><description>&lt;p&gt;&lt;em&gt;Latest change (2026-10-13): Rewritten as a field-guide entry: question title, short answer, key findings and evidence table. Study summaries kept. Replaced the broken link to the password breach alerting paper with the USENIX copy.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Short answer:&lt;/strong&gt; Check usernames and passwords against breach data with a privacy-preserving protocol, and add risk signals such as known devices and locations to the login decision. Breached credentials show up in about 1.5% of logins on the web, and in one study 7-25% of exposed passwords matched the victim&amp;rsquo;s Google account.&lt;/p&gt;&lt;h2 id="key-findings"&gt;Key findings &lt;a class="heading-anchor" href="#key-findings" aria-label="Link to section: Key findings"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="finding" id="f-cred-breached-logins-1-5pct"&gt;
&lt;blockquote&gt;&lt;p&gt;Telemetry from nearly 670,000 users and 21 million logins showed that 1.5% of logins on the web involve breached credentials.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://www.usenix.org/system/files/sec19-thomas.pdf" class="ext"&gt;&lt;cite&gt;Thomas et al., Protecting accounts from credential stuffing with password breach alerting (USENIX Security 2019)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-cred-breached-logins-1-5pct" title="#f-cred-breached-logins-1-5pct"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="Telemetry from nearly 670,000 users and 21 million logins showed that 1.5% of logins on the web involve breached credentials." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/#f-cred-breached-logins-1-5pct" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/f-cred-breached-logins-1-5pct.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure class="finding" id="f-cred-alert-26pct-new-password"&gt;
&lt;blockquote&gt;&lt;p&gt;26% of breach warnings shown at login led users to switch to a new password at least as strong as the original.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://www.usenix.org/system/files/sec19-thomas.pdf" class="ext"&gt;&lt;cite&gt;Thomas et al., Protecting accounts from credential stuffing with password breach alerting (USENIX Security 2019)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-cred-alert-26pct-new-password" title="#f-cred-alert-26pct-new-password"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="26% of breach warnings shown at login led users to switch to a new password at least as strong as the original." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/#f-cred-alert-26pct-new-password" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/f-cred-alert-26pct-new-password.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure class="finding" id="f-cred-google-match-7-25pct"&gt;
&lt;blockquote&gt;&lt;p&gt;Between 7% and 25% of passwords exposed through breaches, phishing kits and keyloggers matched the victim&amp;rsquo;s Google account.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://dl.acm.org/doi/pdf/10.1145/3133956.3134067" class="ext"&gt;&lt;cite&gt;Thomas et al., Data Breaches, Phishing, or Malware? (CCS 2017)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-cred-google-match-7-25pct" title="#f-cred-google-match-7-25pct"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="Between 7% and 25% of passwords exposed through breaches, phishing kits and keyloggers matched the victim&amp;rsquo;s Google account." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/#f-cred-google-match-7-25pct" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/f-cred-google-match-7-25pct.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure class="finding" id="f-cred-hash-prefix-12x"&gt;
&lt;blockquote&gt;&lt;p&gt;In some contexts, the hash prefixes that common breach-checking services receive make remote guessing attacks 12 times more effective.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://rist.tech.cornell.edu/papers/c3.pdf" class="ext"&gt;&lt;cite&gt;Li et al., Protocols for Checking Compromised Credentials (CCS 2019)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-cred-hash-prefix-12x" title="#f-cred-hash-prefix-12x"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="In some contexts, the hash prefixes that common breach-checking services receive make remote guessing attacks 12 times more effective." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/#f-cred-hash-prefix-12x" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/credential-stuffing/f-cred-hash-prefix-12x.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="evidence"&gt;Evidence &lt;a class="heading-anchor" href="#evidence" aria-label="Link to section: Evidence"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="table-scroll studies" tabindex="0" role="region" aria-label="Compromised credential studies"&gt;&lt;table&gt;
&lt;caption&gt;Compromised credential studies&lt;/caption&gt;
&lt;thead&gt;&lt;tr&gt;&lt;th scope="col"&gt;Study&lt;/th&gt;&lt;th scope="col"&gt;Year&lt;/th&gt;&lt;th scope="col"&gt;Sample&lt;/th&gt;&lt;th scope="col"&gt;Method&lt;/th&gt;&lt;th scope="col"&gt;Finding&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;th scope="row"&gt;&lt;a href="https://rist.tech.cornell.edu/papers/c3.pdf" class="ext"&gt;Protocols for Checking Compromised Credentials&lt;/a&gt;&lt;span class="org"&gt;Cornell Tech, Cloudflare&lt;/span&gt;&lt;/th&gt;&lt;td&gt;2019&lt;/td&gt;&lt;td&gt;Existing C3 services (HaveIBeenPwned, Google Password Checkup)&lt;/td&gt;&lt;td&gt;Formal analysis, leakage simulation, protocol design&lt;/td&gt;&lt;td&gt;Hash-prefix leakage can make guessing 12 times more effective; 2 stronger protocols remain practical.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th scope="row"&gt;&lt;a href="https://www.usenix.org/system/files/sec19-thomas.pdf" class="ext"&gt;Protecting accounts from credential stuffing with password breach alerting&lt;/a&gt;&lt;span class="org"&gt;Google, Stanford&lt;/span&gt;&lt;/th&gt;&lt;td&gt;2019&lt;/td&gt;&lt;td&gt;Over 4 billion breached credentials; nearly 670,000 users and 21 million logins&lt;/td&gt;&lt;td&gt;Protocol design, Chrome extension telemetry&lt;/td&gt;&lt;td&gt;1.5% of logins involve breached credentials; 26% of warnings led to a new password.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th scope="row"&gt;&lt;a href="https://dl.acm.org/doi/pdf/10.1145/3133956.3134067" class="ext"&gt;Data Breaches, Phishing, or Malware? Understanding the Risks of Stolen Credentials&lt;/a&gt;&lt;span class="org"&gt;Google, UC Berkeley, ICSI&lt;/span&gt;&lt;/th&gt;&lt;td&gt;2017&lt;/td&gt;&lt;td&gt;1.9 billion breached credentials, 12.4 million phishing and 788,000 keylogger victims&lt;/td&gt;&lt;td&gt;Longitudinal measurement, March 2016 to March 2017&lt;/td&gt;&lt;td&gt;7-25% of exposed passwords matched the victim&amp;rsquo;s Google account.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;h2 id="what-to-do"&gt;What to do &lt;a class="heading-anchor" href="#what-to-do" aria-label="Link to section: What to do"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="for-engineers"&gt;For engineers &lt;a class="heading-anchor" href="#for-engineers" aria-label="Link to section: For engineers"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Check credentials against breach data at sign-up, password change and login. Use a protocol that never sends the password or its full hash to the checking service. Thomas et al. combine &amp;ldquo;computationally expensive hashing, k-anonymity, and private set intersection&amp;rdquo;; Li et al. show how much a plain hash prefix can leak.&lt;/li&gt;
&lt;li&gt;Don&amp;rsquo;t decide a login on the password alone. Thomas et al. (2017) show that risk signals such as a user&amp;rsquo;s historical geolocations and device profiles reduce the hijacking risk from stolen passwords. The &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/reinforced-authentication/"&gt;reinforced authentication entry&lt;/a&gt; collects studies on login risk scoring.&lt;/li&gt;
&lt;li&gt;Watch for stuffing and spraying patterns across accounts, not only per account. See &lt;a href="https://www.janbrennenstuhl.eu/password-spraying/"&gt;password spraying&lt;/a&gt; and &lt;a href="https://www.janbrennenstuhl.eu/honeytoken/"&gt;honeytokens&lt;/a&gt; for detection ideas.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="for-product-and-ux"&gt;For product and UX &lt;a class="heading-anchor" href="#for-product-and-ux" aria-label="Link to section: For product and UX"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Tell users when their credentials appear in a breach, and make the next step a single action. In the Google study, 26% of warnings led to a new password that was at least as strong.&lt;/li&gt;
&lt;li&gt;Expect most users not to act on a warning alone. The &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/password-reuse/"&gt;password reuse entry&lt;/a&gt; covers what makes a notification work and where notifications fall short.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-studies-in-detail"&gt;The studies in detail &lt;a class="heading-anchor" href="#the-studies-in-detail" aria-label="Link to section: The studies in detail"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="protocols-for-checking-compromised-credentials"&gt;Protocols for Checking Compromised Credentials &lt;a class="heading-anchor" href="#protocols-for-checking-compromised-credentials" aria-label="Link to section: Protocols for Checking Compromised Credentials"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&amp;ldquo;To prevent credential stuffing attacks, industry best practice now proactively checks if user credentials are present in known data breaches.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;For this paper, researchers from Cornell Tech and Cloudflare analyzed existing compromised credential checking (C3) services such as HaveIBeenPwned and Google Password Checkup. They give the first formal description of C3 services, including operational requirements and threat models. Current services have the client share a short prefix of a password hash. The authors show that in some contexts this prefix makes remote guessing 12 times more effective. They then propose &amp;ldquo;two new protocols that provide stronger protection for users&amp;rsquo; passwords&amp;rdquo;, implement them, and show that they remain practical to deploy.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://rist.tech.cornell.edu/papers/c3.pdf" class="ext"&gt;Read the paper (PDF)&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="protecting-accounts-from-credential-stuffing-with-password-breach-alerting"&gt;Protecting accounts from credential stuffing with password breach alerting &lt;a class="heading-anchor" href="#protecting-accounts-from-credential-stuffing-with-password-breach-alerting" aria-label="Link to section: Protecting accounts from credential stuffing with password breach alerting"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Researchers from Google and Stanford describe how Google&amp;rsquo;s password breach alerting works, which constraints and hard requirements it meets, and which cryptographic protocols it uses. Their cloud service covered over 4 billion breached credentials, and a Chrome extension served as the first client.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;Our protocol relies on a combination of computationally expensive hashing, k-anonymity, and private set intersection. Our approach improves on existing protocols by taking into account both an adversarial client and server, while also minimizing the chance of false positives.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Anonymous telemetry from nearly 670,000 users and 21 million logins showed that 1.5% of logins on the web involved breached credentials. 26% of the warnings led users to migrate to a new password at least as strong as the original.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.usenix.org/system/files/sec19-thomas.pdf" class="ext"&gt;Read the paper (PDF)&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="data-breaches-phishing-or-malware-understanding-the-risks-of-stolen-credentials"&gt;Data Breaches, Phishing, or Malware? Understanding the Risks of Stolen Credentials &lt;a class="heading-anchor" href="#data-breaches-phishing-or-malware-understanding-the-risks-of-stolen-credentials" aria-label="Link to section: Data Breaches, Phishing, or Malware? Understanding the Risks of Stolen Credentials"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Between March 2016 and March 2017, researchers from Google, UC Berkeley and the International Computer Science Institute identified 788,000 potential keylogger victims, 12.4 million potential phishing kit victims and 1.9 billion usernames and passwords exposed in data breaches. With this data, they &amp;ldquo;explore to what degree the stolen passwords […] enable an attacker to obtain a victim&amp;rsquo;s valid email credentials — and thus complete control of their online identity due to transitive trust&amp;rdquo;. In their case study of Google accounts, 7-25% of exposed passwords matched the victim&amp;rsquo;s Google account.&lt;/p&gt;
&lt;p&gt;The study is from 2017, but its mitigation still applies today: the authors show that adding risk signals, such as a user&amp;rsquo;s historical geolocations and device profiles, to authentication helps mitigate hijacking with a correct but stolen password.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://dl.acm.org/doi/pdf/10.1145/3133956.3134067" class="ext"&gt;Read the paper (PDF)&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="related"&gt;Related &lt;a class="heading-anchor" href="#related" aria-label="Link to section: Related"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/password-reuse/"&gt;How common is password reuse?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/reinforced-authentication/"&gt;Do login challenges and risk scoring stop account takeover?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/step-up-authentication/"&gt;Step-up authentication&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>How do attackers take over accounts?</title><link>https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/</guid><pubDate>Fri, 21 Apr 2023 00:00:00 +0200</pubDate><description>&lt;p&gt;&lt;em&gt;Latest change (2026-10-13): Rewritten as a field-guide entry: question title, short answer, key findings and evidence table. Study summaries kept and extended with numbers from the papers.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Short answer:&lt;/strong&gt; Some attackers prepare an account before the victim even signs up: at least 35 of 75 popular services studied were vulnerable to such pre-hijacking. Others are paid to break into a specific account and mostly use tailored phishing that can get past SMS two-factor authentication.&lt;/p&gt;&lt;h2 id="key-findings"&gt;Key findings &lt;a class="heading-anchor" href="#key-findings" aria-label="Link to section: Key findings"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="finding" id="f-hijack-prehijack-35-of-75"&gt;
&lt;blockquote&gt;&lt;p&gt;At least 35 of 75 popular online services were vulnerable to one or more account pre-hijacking attacks.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://arxiv.org/pdf/2205.10174.pdf" class="ext"&gt;&lt;cite&gt;Sudhodanan and Paverd, Pre-hijacked accounts (USENIX Security 2022)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-hijack-prehijack-35-of-75" title="#f-hijack-prehijack-35-of-75"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="At least 35 of 75 popular online services were vulnerable to one or more account pre-hijacking attacks." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/#f-hijack-prehijack-35-of-75" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/f-hijack-prehijack-35-of-75.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure class="finding" id="f-hijack-prehijack-email-only"&gt;
&lt;blockquote&gt;&lt;p&gt;In an account pre-hijacking attack, an attacker who knows only the victim&amp;rsquo;s email address acts before the victim creates an account and gains access after the victim has signed up.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://arxiv.org/pdf/2205.10174.pdf" class="ext"&gt;&lt;cite&gt;Sudhodanan and Paverd, Pre-hijacked accounts (USENIX Security 2022)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-hijack-prehijack-email-only" title="#f-hijack-prehijack-email-only"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="In an account pre-hijacking attack, an attacker who knows only the victim&amp;rsquo;s email address acts before the victim creates an account and gains access after the victim has signed up." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/#f-hijack-prehijack-email-only" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/f-hijack-prehijack-email-only.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure class="finding" id="f-hijack-hire-5-of-27"&gt;
&lt;blockquote&gt;&lt;p&gt;Of 27 hack-for-hire services that researchers approached as buyers, only 5 succeeded in attacking the email accounts of the test identities.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://dl.acm.org/doi/pdf/10.1145/3308558.3313489" class="ext"&gt;&lt;cite&gt;Mirian et al., Hack for Hire (WWW 2019)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-hijack-hire-5-of-27" title="#f-hijack-hire-5-of-27"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="Of 27 hack-for-hire services that researchers approached as buyers, only 5 succeeded in attacking the email accounts of the test identities." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/#f-hijack-hire-5-of-27" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/f-hijack-hire-5-of-27.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure class="finding" id="f-hijack-hire-phishing-sms-2fa"&gt;
&lt;blockquote&gt;&lt;p&gt;Hack-for-hire attackers relied mainly on tailored phishing messages that were sophisticated enough to bypass SMS two-factor authentication.&lt;/p&gt;&lt;/blockquote&gt;
&lt;figcaption&gt;&lt;span class="finding-source"&gt;Source: &lt;a href="https://dl.acm.org/doi/pdf/10.1145/3308558.3313489" class="ext"&gt;&lt;cite&gt;Mirian et al., Hack for Hire (WWW 2019)&lt;/cite&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class="finding-tools"&gt;&lt;a class="finding-id" href="#f-hijack-hire-phishing-sms-2fa" title="#f-hijack-hire-phishing-sms-2fa"&gt;Link&lt;span class="sr-only"&gt; to this finding&lt;/span&gt;&lt;/a&gt;&lt;button type="button" class="text-button" data-quote="Hack-for-hire attackers relied mainly on tailored phishing messages that were sophisticated enough to bypass SMS two-factor authentication." data-quote-url="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/#f-hijack-hire-phishing-sms-2fa" hidden&gt;Copy quote&lt;/button&gt;&lt;a class="finding-card" href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-takeover/f-hijack-hire-phishing-sms-2fa.png" download&gt;Save as image&lt;span class="sr-only"&gt; (PNG, 1200 by 630 pixels)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="evidence"&gt;Evidence &lt;a class="heading-anchor" href="#evidence" aria-label="Link to section: Evidence"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="table-scroll studies" tabindex="0" role="region" aria-label="Account hijacking studies"&gt;&lt;table&gt;
&lt;caption&gt;Account hijacking studies&lt;/caption&gt;
&lt;thead&gt;&lt;tr&gt;&lt;th scope="col"&gt;Study&lt;/th&gt;&lt;th scope="col"&gt;Year&lt;/th&gt;&lt;th scope="col"&gt;Sample&lt;/th&gt;&lt;th scope="col"&gt;Method&lt;/th&gt;&lt;th scope="col"&gt;Finding&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;th scope="row"&gt;&lt;a href="https://arxiv.org/pdf/2205.10174.pdf" class="ext"&gt;Pre-hijacked accounts: An Empirical Study of Security Failures in User Account Creation on the Web&lt;/a&gt;&lt;span class="org"&gt;Independent researcher, Microsoft Security Response Center&lt;/span&gt;&lt;/th&gt;&lt;td&gt;2022&lt;/td&gt;&lt;td&gt;75 popular online services&lt;/td&gt;&lt;td&gt;Attack design and testing against live services&lt;/td&gt;&lt;td&gt;At least 35 services were vulnerable to one or more of 5 pre-hijacking attacks.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th scope="row"&gt;&lt;a href="https://dl.acm.org/doi/pdf/10.1145/3308558.3313489" class="ext"&gt;Hack for Hire: Exploring the Emerging Market for Account Hijacking&lt;/a&gt;&lt;span class="org"&gt;UC San Diego, Google&lt;/span&gt;&lt;/th&gt;&lt;td&gt;2019&lt;/td&gt;&lt;td&gt;27 English, Russian and Chinese hack-for-hire services&lt;/td&gt;&lt;td&gt;Posing as buyers against synthetic victim identities&lt;/td&gt;&lt;td&gt;5 services succeeded, mostly through tailored phishing.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;h2 id="what-to-do"&gt;What to do &lt;a class="heading-anchor" href="#what-to-do" aria-label="Link to section: What to do"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="for-engineers"&gt;For engineers &lt;a class="heading-anchor" href="#for-engineers" aria-label="Link to section: For engineers"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Don&amp;rsquo;t let anyone use an account before they have proven they control its identifier. Verify the email address before the account becomes usable, and before you merge a password account with a federated login for the same address.&lt;/li&gt;
&lt;li&gt;Only trust email addresses from identity providers that verify them. One of the 5 attacks relies on a non-verifying identity provider.&lt;/li&gt;
&lt;li&gt;End all sessions and expire pending email-change links when the password is reset or the email address changes. Two of the attacks rely on unexpired sessions and email changes.&lt;/li&gt;
&lt;li&gt;Offer phishing-resistant factors. The hack-for-hire services got past SMS codes with phishing. See &lt;a href="https://www.janbrennenstuhl.eu/passwordless-authentication/"&gt;passwordless authentication&lt;/a&gt; and my &lt;a href="https://www.janbrennenstuhl.eu/fido-passkeys/"&gt;critical notes on passkeys&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="for-product-and-ux"&gt;For product and UX &lt;a class="heading-anchor" href="#for-product-and-ux" aria-label="Link to section: For product and UX"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Show users which sign-in methods are linked to their account, and notify them when one is added.&lt;/li&gt;
&lt;li&gt;When someone signs up with an address that already has a pending or unverified account, guide them through verification instead of silently signing them in.&lt;/li&gt;
&lt;li&gt;Recovery flows are another takeover path. The &lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-recovery/"&gt;account recovery entry&lt;/a&gt; lists the common weaknesses.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-studies-in-detail"&gt;The studies in detail &lt;a class="heading-anchor" href="#the-studies-in-detail" aria-label="Link to section: The studies in detail"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="account-pre-hijacking-attacks-security-failures-in-user-account-creation"&gt;Account Pre-Hijacking Attacks: Security Failures in User Account Creation &lt;a class="heading-anchor" href="#account-pre-hijacking-attacks-security-failures-in-user-account-creation" aria-label="Link to section: Account Pre-Hijacking Attacks: Security Failures in User Account Creation"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&amp;ldquo;The ubiquity of user accounts in websites and online services makes account hijacking a serious security concern. Although previous research has studied various techniques through which an attacker can gain access to a victim&amp;rsquo;s account, relatively little attention has been directed towards the process of account creation.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;In this study, Avinash Sudhodanan and Andrew Paverd show that there is a whole class of &lt;strong&gt;account pre-hijacking attacks&lt;/strong&gt;. The key point: &amp;ldquo;The distinctive feature of these attacks is that the attacker performs some action before the victim creates an account, which makes it trivial for the attacker to gain access after the victim has created/recovered the account.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;The authors assume a realistic attacker who knows only the victim&amp;rsquo;s email address. They describe 5 attacks: Classic-Federated Merge, Unexpired Session, Trojan Identifier, Unexpired Email Change and Non-verifying IdP. Of 75 popular services they analyzed, at least 35 were vulnerable to one or more of them. Some attacks were completely undetectable from the victim&amp;rsquo;s point of view. The paper closes with security requirements that prevent these vulnerabilities.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://arxiv.org/pdf/2205.10174.pdf" class="ext"&gt;Read the paper (PDF)&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="hack-for-hire-exploring-the-emerging-market-for-account-hijacking"&gt;Hack for Hire: Exploring the Emerging Market for Account Hijacking &lt;a class="heading-anchor" href="#hack-for-hire-exploring-the-emerging-market-for-account-hijacking" aria-label="Link to section: Hack for Hire: Exploring the Emerging Market for Account Hijacking"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In this paper, researchers from UC San Diego and Google &amp;ldquo;study a segment of targeted attackers known as &amp;lsquo;hack for hire&amp;rsquo; services to understand the playbook that attackers use to gain access to victim accounts.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Posing as buyers, they contacted 27 English, Russian and Chinese black-market services, and only 5 succeeded in attacking the synthetic but realistic identities the researchers controlled. The attackers mostly used tailored phishing that could bypass SMS two-factor authentication. The authors also observed low volume, poor customer service and multiple scammers in this market. The paper is a good read if you want to understand the commercial account hijacking ecosystem and the techniques criminals use.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://dl.acm.org/doi/pdf/10.1145/3308558.3313489" class="ext"&gt;Read the paper (PDF)&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="related"&gt;Related &lt;a class="heading-anchor" href="#related" aria-label="Link to section: Related"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/account-recovery/"&gt;How secure are email-based password resets?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/account-security/reinforced-authentication/"&gt;Do login challenges and risk scoring stop account takeover?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.janbrennenstuhl.eu/knowledge-base/oidc/openid-connect-security/"&gt;Where do OpenID Connect implementations break?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>About Jan Brennenstuhl</title><link>https://www.janbrennenstuhl.eu/about/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/about/</guid><pubDate>Thu, 08 Apr 2021 00:00:00 +0200</pubDate><description>&lt;p&gt;Hi. My name is Jan Brennenstuhl, I live and work in Berlin Germany, where I was born and raised. I am a product-minded software engineer, security enthusiast &amp;amp; clean code artist with a huge interest in &lt;a href="https://www.janbrennenstuhl.eu/topics/application-security/"&gt;interdisciplinary software development&lt;/a&gt; and engineering leadership. I am a big fan of cycling sports, coffee &amp;amp; &lt;a href="https://www.rucksackrebellen.de" title="Rucksackrebellen Wander-Blog"&gt;hiking&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I currently work in Berlin as principal engineer, focused on application security and making &lt;a href="https://www.janbrennenstuhl.eu/topics/agentic-engineering/"&gt;agentic engineering&lt;/a&gt; more secure and efficient. I spent years building and operating identity solutions used by millions of customers — balancing UX and security in high-stakes revenue funnels — and have since moved into the broader AppSec space, where I&amp;rsquo;m most interested in the intersection of security, usability, and automation.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve worked as software engineer and lead on e-commerce funnels, rule engines, cloud strategies, IAM and SSO solutions, REST APIs, system integrations, technology research, legacy migrations, decommissioning projects and modularizing monolithic systems — various things, mostly in e-commerce and security. I practiced software archaeology more than I set up greenfield web services.&lt;/p&gt;
&lt;p&gt;I am an internet standards enthusiast, who values open source software and open formats over custom builds. For me, quality software products are created best by small teams of product-minded engineers with a narrow, well-defined business scope and a clear vision. I&amp;rsquo;m especially passionate about leading and influencing engineers as well as creating and operating reliable, secure and maintainable software products.&lt;/p&gt;
&lt;p&gt;I hold a M.Sc. in Computer Science from the &lt;strong&gt;University of Potsdam&lt;/strong&gt;, where I completed my thesis on &lt;em&gt;&amp;ldquo;Certificate Management in the Cloud for Authentication in university Environment&amp;rdquo;&lt;/em&gt;. I’ve also studied Media Informatics at the &lt;strong&gt;Beuth University&lt;/strong&gt; of Applied Sciences in Berlin.&lt;/p&gt;</description></item><item><title>Weak Crypto, Github SAML Attack &amp; Twitter Security UX</title><link>https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/</guid><pubDate>Sun, 15 Jan 2017 00:00:00 +0100</pubDate><description>&lt;p&gt;Finally, I managed to come up with a name for my regular reading tips series which will feature both, latest info around recent events &amp;amp; incidents (especially when it comes to identity and security topics) as well as long running articles I strongly advice to read&amp;hellip; it&amp;rsquo;s simply called &lt;strong&gt;Readme&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The first issue of my Readme series features not just the latest &lt;em&gt;Google Infrastructure Security Design Overview&lt;/em&gt; but also the most recently fixed SAML authentication bypass in GitHub Enterprise. As a small bonus on top, I&amp;rsquo;d like to share a nice UX security analysis regarding Twitters &amp;ldquo;someone is logging in to your account&amp;rdquo; e-mail, I recently stumbled upon. But first things first&amp;hellip;&lt;/p&gt;
&lt;h2 id="weak-crypto-in-google-cloud-platform"&gt;Weak Crypto in Google Cloud Platform?! &lt;a class="heading-anchor" href="#weak-crypto-in-google-cloud-platform" aria-label="Link to section: Weak Crypto in Google Cloud Platform?!"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Google just released the latest version of its &lt;a href="https://cloud.google.com/security/security-design/" class="ext"&gt;&lt;em&gt;Google Infrastructure Security Design Overview&lt;/em&gt;&lt;/a&gt; that describes how security is designed into Google’s technical infrastructure. It&amp;rsquo;s a quite interesting paper for everyone, relying on Google Services but also for people who want to know how current industry standards look like. In addition to operational security and hardware infrastructure, it also considers authentication and login abuse as well as end user data access and inter-service access.&lt;/p&gt;
&lt;p&gt;I am not quite done reading it, but one interesting catch so far is that Google Cloud Platform products seem to be heavily based on the &lt;em&gt;&amp;ldquo;common cryptographic library, Keyczar&amp;rdquo;&lt;/em&gt;, which actually is made by Google and states &lt;a href="https://github.com/google/keyczar" class="ext"&gt;on its project page&lt;/a&gt;&amp;hellip;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;“KeyCzar has some known security issues which may influence your decision to use it.”&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;One of the known issues is the usage of 1024 bit DSA keys with SHA1&amp;hellip; nothing more to add, I believe.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 08.04.2017:&lt;/strong&gt; As Tim Dierks (Security at Google) let me know &lt;a href="https://twitter.com/tdierks/status/850830488340189184" class="ext"&gt;via Twitter&lt;/a&gt;, &lt;em&gt;&amp;ldquo;the use of the term &amp;lsquo;KeyCzar&amp;rsquo; was an error in the first release of the white paper&amp;rdquo;&lt;/em&gt; that got already removed. &lt;em&gt;&amp;ldquo;We do not rely on the open-source lib [KeyCzar, editor&amp;rsquo;s note] internally and its disclaimers do not apply to GCP&amp;rdquo;&lt;/em&gt;, &lt;a href="https://twitter.com/tdierks/status/850830670087806976" class="ext"&gt;he clarified&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="github-saml-vulnerability"&gt;GitHub SAML Vulnerability &lt;a class="heading-anchor" href="#github-saml-vulnerability" aria-label="Link to section: GitHub SAML Vulnerability"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;January 12th, a critical security patch was rolled out for Github Enterprise. In accordance to the &lt;a href="https://enterprise.github.com/releases/2.8.6/notes" class="ext"&gt;official release notes&lt;/a&gt;, it fixes a major issue that allowed the bypass SAML authentication which was found and reported by &lt;a href="https://twitter.com/ilektrojohn/status/819919288215760897" class="ext"&gt;Ioannis Kakavas&lt;/a&gt;. Github strongly advices to update asap!&lt;/p&gt;
&lt;p&gt;Critical security issues in SAML implementations are not new, as German security researchers already showed back in 2012: &lt;a href="https://www.usenix.org/conference/usenixsecurity12/technical-sessions/presentation/somorovsky" class="ext"&gt;On Breaking SAML - Be Whoever You Want to Be&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="bad-security-ux-at-twitter"&gt;Bad Security UX at Twitter &lt;a class="heading-anchor" href="#bad-security-ux-at-twitter" aria-label="Link to section: Bad Security UX at Twitter"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Being open and transparent towards your endusers when it comes to (possible) security issues can be a good thing to do. But you can also do a lot wrong about it - e.g. when your phishing or login fraud countermeasures turn against you (and your customers).&lt;/p&gt;
&lt;p&gt;&lt;figure class="figure"&gt;&lt;picture&gt;&lt;source type="image/avif" srcset="https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/twitter-security-ux_hu_c90d41921ce27d17.avif 480w, https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/twitter-security-ux_hu_f2a6f919810c255c.avif 960w, https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/twitter-security-ux_hu_720ae611367bb927.avif 1280w" sizes="(min-width: 760px) 720px, calc(100vw - 2.5rem)"&gt;&lt;img src="https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/twitter-security-ux_hu_92a920678f9fd7b9.webp" srcset="https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/twitter-security-ux_hu_d4332460d4d17c40.webp 480w, https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/twitter-security-ux_hu_2c06b9d1390241bb.webp 960w, https://www.janbrennenstuhl.eu/weak-google-crypto-github-saml/twitter-security-ux_hu_92a920678f9fd7b9.webp 1280w" sizes="(min-width: 760px) 720px, calc(100vw - 2.5rem)" width="1280" height="658" alt="Bad Security UX at Twitter" loading="lazy" decoding="async"&gt;&lt;/picture&gt;&lt;figcaption&gt;A Twitter security notification get analyzed by UX experts.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;One of the examples, that actually illustrate how not to communicate a possible account compromise is Twitters &amp;ldquo;someone is logging in to your account&amp;rdquo; e-mail that can (and should) be optimized/ fixed as &lt;a href="https://twitter.com/pwnallthethings/status/817923705993043968" class="ext"&gt;pwnallthethings described on Twitter&lt;/a&gt;&amp;hellip; well done!&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s it for now, so have fun reading and stay secure!&lt;/p&gt;</description></item></channel></rss>