<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Threatmodeling on ShieldedBytes</title>
    <link>https://linuxeries.org/tags/threatmodeling/</link>
    <description>Recent content in Threatmodeling on ShieldedBytes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 28 Nov 2026 09:00:34 +0200</lastBuildDate>
    <atom:link href="https://linuxeries.org/tags/threatmodeling/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using Attack Trees to Spot OAuth Token Leakage in Microservices</title>
      <link>https://linuxeries.org/post/2026-11-28-using-attack-trees-to-spot-oauth-token-leakag/</link>
      <pubDate>Sat, 28 Nov 2026 09:00:34 +0200</pubDate>
      <guid>https://linuxeries.org/post/2026-11-28-using-attack-trees-to-spot-oauth-token-leakag/</guid>
      <description>&lt;p&gt;Microservices love short‑lived OAuth tokens to keep inter‑service traffic tight. When a token slips out, an attacker can play any service’s role and bypass every fine‑grained ACL. Attack trees let you map every possible leak path and then focus on the high‑impact ones. Below is a practical walk‑through that mixes theory, hands‑on commands, and the real trade‑offs you’ll hit in production.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h3 id=&#34;2layer-attack-tree-structure&#34;&gt;2‑Layer Attack Tree Structure&lt;/h3&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;Layer&lt;/th&gt;&#xA;          &lt;th&gt;Goal&lt;/th&gt;&#xA;          &lt;th&gt;Sub‑Goals&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Root&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Token Leakage&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;1. Capture token in transit&lt;!-- raw HTML omitted --&gt;2. Retrieve token from storage&lt;!-- raw HTML omitted --&gt;3. Steal token via compromised service&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Branch 1&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Capture token in transit&lt;/td&gt;&#xA;          &lt;td&gt;a. MITM on unencrypted traffic&lt;!-- raw HTML omitted --&gt;b. DNS hijack to redirect traffic&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Branch 2&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Retrieve token from storage&lt;/td&gt;&#xA;          &lt;td&gt;a. Read memory of a running container&lt;!-- raw HTML omitted --&gt;b. Access persistent storage (DB, KV store)&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Branch 3&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Steal token via compromised service&lt;/td&gt;&#xA;          &lt;td&gt;a. Exploit insecure logging&lt;!-- raw HTML omitted --&gt;b. Exploit debug endpoints&lt;!-- raw HTML omitted --&gt;c. Exploit misconfigured service mesh&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;Give each leaf a &lt;strong&gt;likelihood&lt;/strong&gt; (0–5) and an &lt;strong&gt;impact&lt;/strong&gt; (0–5). The product is a quick risk weight that tells you where to put your effort first.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
