<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://mattysplo.it/feed.xml" rel="self" type="application/atom+xml" /><link href="https://mattysplo.it/" rel="alternate" type="text/html" /><updated>2026-11-10T18:12:00+00:00</updated><id>https://mattysplo.it/feed.xml</id><title type="html">Matt Ryan, PhD</title><subtitle>Cybersecurity Specialist &amp; Threat Researcher</subtitle><entry><title type="html">What Does the SOC Stop Doing When Everything Is Urgent?</title><link href="https://mattysplo.it/2026/11/09/socoverload.html" rel="alternate" type="text/html" title="What Does the SOC Stop Doing When Everything Is Urgent?" /><published>2026-11-09T00:00:00+00:00</published><updated>2026-11-09T00:00:00+00:00</updated><id>https://mattysplo.it/2026/11/09/socoverload</id><content type="html" xml:base="https://mattysplo.it/2026/11/09/socoverload.html"><![CDATA[<p>There are two different problems hiding inside the phrase “SOC overload,” and the loud one is work that should never have reached a person: the rule nobody tuned, the alert class that fires four hundred times a day, the queue padded with things that aren’t incidents. That’s a real problem, it has real fixes, and it isn’t what this post is about.</p>

<p>This is about what’s left after you fix it.</p>

<p>Picture a shift where every open item is legitimate. Each one has been qualified. Each one has an owner. Each one carries some commitment the organization has already made about when a human touches it. None of it is noise - and there are still more of them than there are minutes.</p>

<p>That problem is harder to write about, because it doesn’t end in a fix. When everything in front of you is already accepted work, choosing one item doesn’t make the others disappear. It changes which ones wait, how long, and what you can truthfully say to the people waiting with them. An organization can of course renegotiate a commitment or decide to discontinue a response, but that takes somebody holding the authority to do it - it isn’t a sequencing call, and it isn’t what the shift lead is doing at minute zero. Inside the scope I’m working in here, everything accepted stays accepted, so the lead’s question is “what waits, and what can I honestly promise about when it stops waiting?”</p>

<p>I’d rather make that decision inspectable than argue about it in the abstract, so most of this post is a single invented ninety-minute window - two analysts, six cases, worked through at minute resolution. There are two defensible choices at minute zero, a forced interruption at minute forty, and then the uncomfortable part, where the displaced work has to come back out of somebody’s actual calendar. Along the way I want to pull apart four things that all look like deadlines and aren’t, show why “we have more work than hours” can be true and still not be a finding, and get to the point where this plan genuinely stops being feasible. That point turns out to be much narrower than “the queue is long.”</p>

<p><br /></p>

<p><strong>What’s actually scarce</strong></p>

<p>Start with the definition, because the whole argument hangs off it. By <em>accepted work</em> I mean an item the organization has already agreed to handle: qualified, owned, and carrying some expectation that now exists in the world - internally, with a constituent, or in a contract. Everything in this post sits downstream of that acceptance. Accepted doesn’t mean solved, and it doesn’t mean every operational uncertainty about the item has been resolved - it means the handling is owed. Nobody in this window is relitigating whether an item belongs on the board.</p>

<p>What’s scarce isn’t attention in some general sense. It’s <em>eligible</em> analyst-minutes: minutes from a person who has the skills, the permissions and the case context to move that specific item forward. FIRST’s CSIRT Services Framework puts a usefully blunt definition on the word, describing capacity as the number of simultaneous occurrences of a capability an organization can execute <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">“before they achieve some form of resource exhaustion”</a>. That framework is written for CSIRTs rather than SOCs, though it says directly that its event-management and incident-management services are “expected” to be useful and directly applicable when defining SOC services, which is how I’m using it here. It also states plainly that it <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">makes no recommendations “about capability, capacity, maturity, or quality”</a>, so it describes the activities a response involves without telling anyone how many people to point at them. The inspected version is 2.1, which FIRST publishes marked for review.</p>

<p>The second thing worth separating is the word “due,” because at least four different things render identically on a ticket and behave nothing alike under pressure:</p>

<ul>
  <li><strong>A priority label.</strong> P1 over P3. In this fixture it’s a preference ordering: which thing you’d rather do first, all else equal, and it is not a time. If policy ties each tier to a binding clock, the label carries that commitment too. Find out which kind you have before you argue from it.</li>
  <li><strong>A service commitment with a clock attached.</strong> “First substantive action within fifteen minutes.” Somebody promised this to somebody, and changing it takes whoever actually holds that authority. Sometimes that’s an internal service owner acting alone; sometimes it needs the agreement of the party the promise was made to, and some promises aren’t anybody’s to quietly move. In this model that authority sits above the shift.</li>
  <li><strong>A physical expiry.</strong> The supplementary log source rolls off in twenty-five minutes. Retention and preservation arrangements can sometimes be changed before a source ages out, by the people who administer it - but not here. In this window the expiry is a fixed input and nobody in the fixture can move it.</li>
  <li><strong>A declared non-waivable obligation.</strong> This one I’ve defined into the model: a requirement the lead cannot set aside whatever the queue looks like. I’m not telling you which real-world legal or regulatory duties behave this way, and you shouldn’t take one from me. I’m stipulating one so the schedule has a hard edge in it.</li>
</ul>

<p><br /></p>

<p>The useful question isn’t which of the four outranks which - it’s what each requires, who can change it, and which constraints are fixed. A priority label alone doesn’t answer that without the policy behind it. One of the SOC managers interviewed by Kokulu et al. described their version of the second category as a ladder - <a href="https://yancomm.net/papers/2019%20-%20CCS%20-%20Matched%20and%20Mismatched%20SOCs.html">“In order to mitigate a P0 we have 30 minutes, P1 60 minutes, P2 120 minutes, P3 24 hours, P4 48 hours”</a> - and reported hitting it 87 percent of the time while being unhappy about it. That’s one participant’s self-reported account from an eighteen-person interview study across six industry sectors, not a measured service level and not a policy recommendation; the paper itself is careful that its results <a href="https://yancomm.net/papers/2019%20-%20CCS%20-%20Matched%20and%20Mismatched%20SOCs.html">may not generalize to all SOCs</a>. I’m citing it because it shows the shape - a priority label fused to a clock - not because it establishes the numbers.</p>

<p>A ladder like that gives you response clocks. It doesn’t, by itself, tell you where the displaced work will fit.</p>

<p><br /></p>

<p><strong>What the interrupt guidance gives us</strong></p>

<p>The best practitioner writing on interruption I know of is <a href="https://sre.google/sre-book/dealing-with-interrupts/">chapter 29 of Google’s SRE book</a>, by Dave O’Connor. Its focus is how a team organizes interrupt work. I’m asking a narrower question here: how to sequence accepted work when this shift’s staffing, eligibility and ownership are fixed.</p>

<p>The chapter lists the metrics SRE teams found useful for deciding how to handle interrupts: expected response time, how many interrupts are usually backlogged, their severity, their frequency, and <a href="https://sre.google/sre-book/dealing-with-interrupts/">the number of people available to handle a certain kind of interrupt</a>. It also says plainly that all of those metrics are <a href="https://sre.google/sre-book/dealing-with-interrupts/">“suited to meeting the lowest possible response time, without factoring in more human costs,”</a> and taking stock of the human and productivity cost is difficult.</p>

<p>Its prescriptions follow from that framing, and they’re all organizational. Polarize time so a person knows at the start of the day whether they’re on projects or on interrupts. <a href="https://sre.google/sre-book/dealing-with-interrupts/">If the volume of one class of interrupt is too high for one person, add another person</a>. Nobody should <a href="https://sre.google/sre-book/dealing-with-interrupts/">be expected to be on-call and also make progress on projects</a> or anything else with a high context-switching cost. Build a handoff for tickets as well as for on-call, because <a href="https://sre.google/sre-book/dealing-with-interrupts/">a handoff process maintains shared state as responsibility switches over</a>.</p>

<p>Those are useful options when they’re available. The chapter explicitly offers <a href="https://sre.google/sre-book/dealing-with-interrupts/">components you can implement piecemeal</a> if the whole model doesn’t suit you, and one of its suggestions is that an overloaded on-call <a href="https://sre.google/sre-book/dealing-with-interrupts/">can start bumping things to their secondary, or downgrading pages to tickets</a>. A real lead with an idle secondary has a lever tonight. In the fixture I’m about to build, staffing, eligibility and ownership are held fixed, and arrivals are already accepted. I’m using that constraint set to isolate the sequencing decision, not to declare organizational changes impossible during a shift.</p>

<p>The chapter also gives a context-switch estimate: <a href="https://sre.google/sre-book/dealing-with-interrupts/">“A 20-minute interruption while working on a project entails two context switches; realistically, this interruption results in a loss of a couple hours of truly productive work.”</a> That’s a manager’s working estimate about software project work, offered as part of guidance <a href="https://sre.google/sre-book/dealing-with-interrupts/">“based on what’s worked for various SRE teams”</a> at Google. It is not a measured restart penalty for an identity investigation. Using it as one would put an unsupported cost into the comparison. What does transfer is the instruction one sentence earlier: <em>assign a cost to context switches</em>. Put a number on the switch, make the number visible, and let people argue with the number instead of with each other’s vibes.</p>

<p>One more borrowed caution before the example, because the rest of this post is made of minutes. Reading across their interviews, Kokulu et al. conclude that quantitative metrics such as incident counts and average response time <a href="https://yancomm.net/papers/2019%20-%20CCS%20-%20Matched%20and%20Mismatched%20SOCs.html">were not effective at measuring SOC success, “because each security event has unique severity and consequences”</a>; one of their manager participants put it as <a href="https://yancomm.net/papers/2019%20-%20CCS%20-%20Matched%20and%20Mismatched%20SOCs.html">“the metrics that just show you numbers instead of the impact are generally not so effective.”</a> That’s the authors’ qualitative reading of what eighteen interviewees told them, not an experiment showing those metrics fail - and it’s enough for the narrow use I’m making of it. Minutes are a scheduling currency. They are not a harm currency. Nothing below converts eight minutes into avoided damage, and when I say one option is better I mean better against a stated commitment, not safer.</p>

<p><br /></p>

<p><strong>Ninety minutes, two analysts, six cases</strong></p>

<p><em>Editorial Note: the worked example is invented - the analysts, the cases, the durations, the deadlines, the delegated authority and the interruption costs are all stipulations I wrote to make the reasoning inspectable. The sourced claims interleaved with it from here on are real and carry their links; the fiction is the fixture, not the citations. I checked the schedules for internal consistency - contiguous occupancy, no double-booking, task-minute conservation, and compliance with each declared deadline - and that is the only thing the arithmetic establishes. It is not a measurement, a simulation of any real environment, or evidence about how long this work actually takes anywhere.</em></p>

<p>The window runs from minute 0 to minute 90. Two analysts, both available the whole time, no meetings and no breaks inside it. That last stipulation is a modeling convenience for a bounded interval. It is not a utilization recommendation, and nothing here says a real roster should be built this way.</p>

<p>Alex is cybersecurity investigator, eligible for cases I, B1 and U. Blair is an investigator and the shift lead, eligible for O, B2 and N, and also carries all routine intake. Intake is five minutes at each of minutes 0, 20, 45, 70 and 85 - twenty-five charged minutes in total, with no more than twenty-five minutes between the start of one check and the start of the next. That’s periodic coverage, not continuous monitoring. Each block covers queue review, acknowledgements, changed-risk and deadline review, and the scheduling communication that goes with them, and five minutes is enough only because this fixture contains exactly the arrivals it contains. Intake is charged time, not free supervision.</p>

<p>Everything that arrives has already been accepted upstream. That acceptance is a fixed input to the model, not an uncredited third analyst doing work off the books - there is no third analyst anywhere in this window.</p>

<p>Minute 90 is a reporting boundary. It is not shift change, not case closure, and not a queue reset. Work in flight at 90 is still in flight at 91.</p>

<p>Every duration below is remaining <em>active</em> analyst time, with the orientation, recording and communication inside each unit stated explicitly rather than assumed away. Setup, pauses and coordination are all budgeted somewhere. Waiting on somebody else is the one thing that isn’t: it consumes elapsed time and nobody’s minutes - though the checks and coordination that go with waiting are charged like everything else. “First substantive action” means the first real move on the case after the two minutes of reading and setup, not the acknowledgement.</p>

<table>
  <thead>
    <tr>
      <th>Case</th>
      <th>Owner</th>
      <th>On the board at</th>
      <th>Remaining active minutes, released unless noted</th>
      <th>What it owes</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>I</td>
      <td>Alex</td>
      <td>already running</td>
      <td>10 min checkpoint, then 40 min analysis</td>
      <td>status update finished by 90; no completion deadline</td>
    </tr>
    <tr>
      <td>O</td>
      <td>Blair</td>
      <td>accepted 120 min before 0</td>
      <td>15 min preservation, then 4 units of 10 min</td>
      <td>preservation verified by 25; remaining handling by 105</td>
    </tr>
    <tr>
      <td>B1</td>
      <td>Alex</td>
      <td>0</td>
      <td>25 min</td>
      <td>first substantive action by 15; package by 40</td>
    </tr>
    <tr>
      <td>B2</td>
      <td>Blair</td>
      <td>0</td>
      <td>20 min</td>
      <td>first substantive action by 30; package by 50</td>
    </tr>
    <tr>
      <td>U</td>
      <td>Alex</td>
      <td>40</td>
      <td>10 min containment, plus 30 min of follow-up blocked until 110</td>
      <td>first action by 44; containment verified by 54</td>
    </tr>
    <tr>
      <td>N</td>
      <td>Blair</td>
      <td>60, read during intake at 70</td>
      <td>10 min, then 15 min</td>
      <td>first action by 105; package by 130</td>
    </tr>
  </tbody>
</table>

<p><em>The case-minute totals above exclude separately scheduled intake and reporting. I’s two-minute status update is counted as its own obligation, as are Blair’s five-minute intake blocks. Pause, state capture and re-entry costs are also accounted for separately in the schedules below.</em></p>

<p>A few case details matter later. I already has twenty minutes of work behind it: a known account-access path is contained and the initial records are saved, but related activity is unresolved and Alex is partway through building the next evidence map. O has a supplementary evidence source that expires at minute 25, and its ten-minute collection segment can’t be preempted once started. U reports ongoing unauthorized activity and triggers a pre-authorized immediate-action requirement; its containment action and verification can complete independently of the full investigation, which is a separable unit of work, not a closed case. N arrives with a temporary precaution already in place, which is a reason its handling may wait and not evidence that it’s harmless.</p>

<p>The unit costs matter later too, so here they are in full. I’s checkpoint is eight minutes of work plus two of recording; its analysis is four ten-minute units, each including the recording of its own result. O’s preservation is two minutes of setup, ten of collection that can’t be preempted once started, and three of verification and recording; each of O’s four later ten-minute units is two minutes of orientation, six of substantive work and two of recording and communication. B1 is two minutes of reading and setup, twenty of substantive work and three of completion and communication. B2 has the same shape at two, fifteen and three. U’s containment is two of setup, six of action and two of verification and recording, and its final eight minutes need uninterrupted attention. N’s first unit is two, six and two; its finishing unit is two minutes of reorientation, ten of substantive work and three of reporting. Nothing is hiding in a rounding error.</p>

<p>Before minute 0, the service owner authorized bounded sequencing inside the declared deadlines, including protected return steps for displaced work. No case changes priority or owner between the options below. Higher ordinary priority is a preference in this model rather than an unconditional preemption rule - the expiry, the mandatory action deadline and the intake commitments all constrain it. The lead cannot waive the physical expiry or the declared non-waivable obligation, and nothing in this window creates a new notification duty.</p>

<p>Now the arithmetic that looks damning and isn’t. Add up the remaining case work released before minute 90: I needs 50 minutes, O needs 55, B1 needs 25, B2 needs 20, U’s containment needs 10, and N needs 25. That’s 185 case-minutes. Blair also has 25 minutes of intake, and I has a separate two-minute status update due by 90. The total is 212 minutes against 180 available analyst-minutes. That is a minimum shortfall of 32 minutes before accounting for any pause or re-entry overhead. Another thirty minutes of U’s follow-up is sitting outside the window entirely, blocked on an external result.</p>

<p>That proves exactly one thing, and it’s worth having: under these inputs, all of the released work and its associated commitments cannot be completed by minute 90. Something remains unfinished at the horizon no matter what the lead does, and the only live question is which something.</p>

<p>What it does not prove is that anything is late, because not all of that work is due by 90. O’s remaining handling is owed at 105. N’s package is owed at 130. I has no completion deadline at all, only a status update. So “released work exceeds available minutes” is not a breach, not proof that the commitments are mutually incompatible, not evidence of an unsustainable arrival rate, and not a staffing case. Here it’s just what a queue with a horizon in it looks like. The sharper finding arrives when the work that must <em>finish</em> inside a span exceeds the eligible minutes inside that span, and we’re going to find exactly one place where that happens.</p>

<p><br /></p>

<p><strong>Minute zero: the choice that looks like it’s about focus</strong></p>

<p>At minute 0 Alex is mid-unit on I and two qualified burst cases land, B1 to Alex and B2 to Blair. Blair’s side is uncomplicated and identical under both options: intake 0 to 5, O’s preservation 5 to 20 so the expiring source is captured with five minutes to spare, intake 20 to 25, B2 from 25 to 45, intake 45 to 50, then O’s three review units at 50 to 60, 60 to 70 and 75 to 85 with the minute-70 intake block sitting between them, and the last intake block from 85 to 90. Blair’s first substantive action on B2 lands at 27 against a deadline of 30, and B2’s package closes at 45 against 50. Tight, inside every declared deadline, and unaffected by what Alex decides.</p>

<p>Alex has an actual decision. Option one: stop I now, pay the two-minute minimum state capture, and start B1. Option two: finish I’s ten-minute checkpoint first, then start B1.</p>

<p><br /></p>

<p>Option one, minute by minute:</p>

<table>
  <thead>
    <tr>
      <th>Minutes</th>
      <th>Alex</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0-2</td>
      <td>pause I, capture current state</td>
    </tr>
    <tr>
      <td>2-27</td>
      <td>B1, start to finished package</td>
    </tr>
    <tr>
      <td>27-33</td>
      <td>re-enter the interrupted I unit</td>
    </tr>
    <tr>
      <td>33-40</td>
      <td>I checkpoint, 7 of 10 minutes</td>
    </tr>
    <tr>
      <td>40-42</td>
      <td>pause I again</td>
    </tr>
    <tr>
      <td>42-52</td>
      <td>U containment and verification</td>
    </tr>
    <tr>
      <td>52-58</td>
      <td>re-enter the interrupted I unit</td>
    </tr>
    <tr>
      <td>58-61</td>
      <td>finish the I checkpoint</td>
    </tr>
    <tr>
      <td>61-88</td>
      <td>I analysis</td>
    </tr>
    <tr>
      <td>88-90</td>
      <td>I status update</td>
    </tr>
  </tbody>
</table>

<p><br /></p>

<p>Option two:</p>

<table>
  <thead>
    <tr>
      <th>Minutes</th>
      <th>Alex</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0-10</td>
      <td>I checkpoint, complete</td>
    </tr>
    <tr>
      <td>10-35</td>
      <td>B1, start to finished package</td>
    </tr>
    <tr>
      <td>35-37</td>
      <td>reorient from a saved checkpoint</td>
    </tr>
    <tr>
      <td>37-40</td>
      <td>I analysis</td>
    </tr>
    <tr>
      <td>40-42</td>
      <td>pause I</td>
    </tr>
    <tr>
      <td>42-52</td>
      <td>U containment and verification</td>
    </tr>
    <tr>
      <td>52-58</td>
      <td>re-enter the interrupted I unit</td>
    </tr>
    <tr>
      <td>58-88</td>
      <td>I analysis</td>
    </tr>
    <tr>
      <td>88-90</td>
      <td>I status update</td>
    </tr>
  </tbody>
</table>

<p><br /></p>

<p>Both fill exactly ninety minutes with no idle time. Both satisfy every declared in-window requirement: B1’s first action, B1’s package, O’s preservation, B2’s first action and package, U’s first action and verified containment. Nothing is late in either.</p>

<p><br /></p>

<p><img width="1600" height="1200" alt="A ninety-minute timeline comparing two alternative schedules for Alex alongside Blair’s unchanged schedule. Both Alex paths interrupt work at minute 40 to handle U containment, while Blair handles preservation, B2, O reviews, and routine intake." src="https://github.com/user-attachments/assets/64d5f47d-332f-4a34-b621-9bd45e38cd48" /></p>

<p><br /></p>

<p>So what actually differs?</p>

<table>
  <thead>
    <tr>
      <th> </th>
      <th>Take B1 immediately</th>
      <th>Finish the checkpoint first</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>B1 first substantive action</td>
      <td>minute 4</td>
      <td>minute 12</td>
    </tr>
    <tr>
      <td>B1 package complete</td>
      <td>minute 27</td>
      <td>minute 35</td>
    </tr>
    <tr>
      <td>I case-minutes completed</td>
      <td>37</td>
      <td>43</td>
    </tr>
    <tr>
      <td>I minutes outstanding at 90</td>
      <td>13</td>
      <td>7</td>
    </tr>
    <tr>
      <td>Separate I costs charged, including the scheduled status update</td>
      <td>18 min</td>
      <td>12 min</td>
    </tr>
    <tr>
      <td>Pause and re-entry alone</td>
      <td>16 min</td>
      <td>10 min</td>
    </tr>
    <tr>
      <td>Loaded case-minutes worked across all cases</td>
      <td>137</td>
      <td>143</td>
    </tr>
    <tr>
      <td>Intake minutes</td>
      <td>25</td>
      <td>25</td>
    </tr>
    <tr>
      <td>Total occupancy</td>
      <td>180</td>
      <td>180</td>
    </tr>
    <tr>
      <td>Ready case-minutes left across all cases at 90</td>
      <td>48</td>
      <td>42</td>
    </tr>
    <tr>
      <td>Blocked minutes left at 90</td>
      <td>30</td>
      <td>30</td>
    </tr>
  </tbody>
</table>

<p><br /></p>

<p>That’s the whole trade. Eight minutes earlier on B1, against six more minutes of real progress on I. O, B2, U and N are untouched, intake is untouched, and both analysts are busy for all ninety minutes either way - but equal occupancy is not equal case work. The checkpoint option converts six minutes of pause and re-entry into six minutes of actual case work, which is why loaded case time comes out at 143 rather than 137 against the same 180 minutes of occupancy. Note too that the 18 and 12 include the two-minute status update at 88, which is scheduled reporting rather than an interruption cost; pause and re-entry on their own are 16 and 10.</p>

<p>Two things about those six minutes matter before calling them a benefit of “protecting flow.” First, they’re not productivity, focus quality or recovered concentration. They decompose into the two-minute partial pause that option two never pays, plus four minutes of difference between re-entering a half-finished unit from scratch (six minutes) and reorienting from a completed checkpoint (two). Those are stipulated costs. Change them and the advantage changes or vanishes. Second, six minutes of analysis is not six minutes of safety. I can tell you option two leaves seven minutes of declared work outstanding instead of thirteen. I cannot tell you it leaves the organization in a better position, and I’m not going to pretend otherwise.</p>

<p>The same distinction applies to B1. Eight minutes earlier is a real difference in timing, measured off the same stipulated clock. What those eight minutes are worth in avoided harm is exactly as unknown as what the six on I’s side are worth. Neither converts into security value here, and quietly treating the unquantified side of a trade as the zero side is the move I am trying to avoid.</p>

<p>There’s also a hard bound on the checkpoint choice. B1’s first substantive action is the checkpoint length plus two minutes of setup. Its fifteen-minute start deadline therefore requires a checkpoint of thirteen minutes or less. The nominal estimate is ten, so there’s three minutes of room; beyond thirteen, the checkpoint-first option violates B1’s start deadline. That’s a local necessary condition, not a revalidation of some altered schedule; stretch the checkpoint and you have to re-check everything downstream, not just that one deadline.</p>

<p>My own judgment, stated as a judgment: with a service owner who has pre-authorized bounded sequencing, with three minutes of slack on the binding constraint, and with nothing in B1’s packet suggesting it is more urgent than its own deadlines say, I’d take the checkpoint. Not because uninterrupted work is sacred, but because the cost of the alternative is concrete and paid twice while the benefit of the alternative - eight minutes earlier on a case with a forty-minute package deadline that both options meet - is unquantified. Unquantified is not zero, and if somebody can tell me what those eight minutes are actually worth on this case, that’s the argument that moves me. Flip the authorization, remove the slack, or give B1 a reason to be fast that isn’t just its label, and I’d flip with it.</p>

<p><br /></p>

<p><strong>Minute forty: why this isn’t an argument for uninterrupted work</strong></p>

<p>At minute 40 a separate qualified account incident arrives on the emergency channel reporting ongoing unauthorized activity. U invokes the pre-authorized immediate-action requirement: first substantive action by minute 44, containment verified by 54.</p>

<p>Here’s where the “protect the analyst’s focus” argument has to earn its keep, and doesn’t.</p>

<p>In option one, Alex is three minutes short of finishing the checkpoint unit. Letting it finish puts U’s first action at minute 45. In option two, Alex is three minutes into a ten-minute analysis unit; letting it finish puts U’s first action at 49. The deadline is 44. Both are late. Under these inputs there is no version of “let them finish the thing they’re doing” that works, so both trajectories interrupt, both pay the two-minute pause, and both run U from 42 to 52 - first action at 44 with exactly zero slack, verified finish at 52 with two minutes to spare against 54.</p>

<p>To me, that’s the most important point here: the interruption at minute 40 costs real capacity and is still required. It costs Alex eight minutes of overhead across the pause and re-entry. Waiting for the current unit to finish would miss U’s first-action deadline; interrupting now lets Alex take and verify the specified action inside both mandatory deadlines. That establishes a specified action against activity that was ongoing, plus its record. It doesn’t erase that activity or tell us what may have happened elsewhere. This is a claim about an obligation, not about which eight minutes were most valuable. Any argument about interruption has to account for both the cost and the obligation.</p>

<p>Notice what made that possible: the containment action is a <em>unit</em>, not a case. FIRST describes exactly this kind of work as <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">short-term tactical action to stop immediate damage and limit the extent of malicious activity</a>, separate from the analysis and the recovery. Ten minutes buys a specified action and its verification record. It does not buy eradication, root cause, or a closed case.</p>

<p>And U’s remaining thirty minutes of follow-up can’t start before minute 110, because it depends on an external evidence result that isn’t available until then - and might not be available then either. That waiting consumes elapsed time, not analyst-minutes, which is why those thirty minutes sit outside the ninety-minute capacity arithmetic. The checking doesn’t get a free pass, though: somebody has to look at minute 110, and that look is charged like anything else. FIRST has a name for keeping track of this: the detailed-analysis-coordination function exists to initiate and track work done by others, producing <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">a list of pending and outsourced analysis</a> from the handler’s point of view. Kokulu’s participants described the operational version of the same thing - one manager whose SOC only detects, hands cases to other teams and <a href="https://yancomm.net/papers/2019%20-%20CCS%20-%20Matched%20and%20Mismatched%20SOCs.html">waits for their completion, which renders some metrics inaccurate</a>, and an analyst in an outsourced SOC who said <a href="https://yancomm.net/papers/2019%20-%20CCS%20-%20Matched%20and%20Mismatched%20SOCs.html">“we do not do the final actions to remediate so we cannot be very fast.”</a> Those are self-reported accounts of dependency, not evidence that waiting or chasing is free. So a blocked case needs two things rather than one: a review time for the dependency, and eligible capacity for the work itself once the dependency clears. Nothing prohibits reserving a conditional block in advance either - it’s just conditional, which means you need the review either way.</p>

<p><br /></p>

<p><strong>What a pause actually holds</strong></p>

<p>The pause costs are small and they’re doing a specific job. Two minutes captures the current evidence state and the cursor, and notifies whoever needs to know that the case stopped. Six minutes reconstructs and re-checks that context before real progress resumes. Two minutes reorients from a completed checkpoint, which is cheaper because the unit boundary did the work in advance.</p>

<p>What those minutes buy is retained state for an obligation that still exists. They don’t settle any of these separate questions:</p>

<ul>
  <li><strong>A pause is not closure.</strong> I is in progress at 90 in both options, with its related activity still unresolved. The containment that predates the window addressed one known account-access path. It doesn’t make further delay harmless, and it doesn’t tell you the case is safe to leave - the unexamined related activity is precisely the part nobody can characterize yet.</li>
  <li><strong>A pause is not a transfer.</strong> Nobody else became eligible. Alex still owns it.</li>
  <li><strong>A pause is not a priority change.</strong> N keeps the higher ordinary priority it arrived with even while it sits behind O, because the reason it waits is an authorized window, not a demotion.</li>
  <li><strong>A pause is not authorization.</strong> FIRST’s glossary borrows a project-management definition of risk acceptance: a strategy where you <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">acknowledge the risk and take no action unless it occurs</a>. Read that for what it is - one glossary’s borrowed wording, not a taxonomy that makes deferral and acceptance mutually exclusive. They aren’t. Committing to act later and accepting whatever exposure accumulates while you wait are two separate decisions, and the exposure includes activity already underway. Sequencing is the first decision. The second needs somebody with the standing to accept it, and a pause doesn’t confer that standing any more than a tidy pause note confers safety.</li>
</ul>

<p><br /></p>

<p>And the distinction I’d push hardest on: a record does not create capacity. Writing a beautiful pause note with retained state, next step and risk commentary doesn’t reserve a minute to resume the case. It makes the obligation legible to other people, which is the job the SRE chapter describes when it says a handoff <a href="https://sre.google/sre-book/dealing-with-interrupts/">maintains shared state between ticket handlers</a>. But the minutes to resume still have to come from somewhere, and the queue does not notice that you documented it.</p>

<p>An unwritten plan can still be a plan. If the lead knows the next step, the step is feasible, and the person who’d execute it knows too, they’ve identified a feasible return. A tidy note with no identified time doesn’t establish that. That’s a comparison of what we know about resumption, not a verdict on which shift is better run. Writing the plan down makes it shareable; it doesn’t create the time. Where a record is required it is required, and “I had it in my head” is not a defense.</p>

<p><br /></p>

<p><strong>The return trip comes out of somebody’s hour</strong></p>

<p>So let’s make the lead pay for one. Here’s the conditional continuation on Blair’s side after minute 90 - conditional because it depends on the same people staying available, the estimates holding, the reported precautions remaining applicable, and no new non-deferrable demand arriving.</p>

<p><br /></p>

<table>
  <thead>
    <tr>
      <th>Minutes</th>
      <th>Blair</th>
      <th>Against</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>90-100</td>
      <td>O’s final decision unit</td>
      <td>O’s remaining handling owed at 105</td>
    </tr>
    <tr>
      <td>100-110</td>
      <td>N’s first unit, first action at 102</td>
      <td>N’s first action owed at 105</td>
    </tr>
    <tr>
      <td>110-115</td>
      <td>intake</td>
      <td>check spacing stays within 25 minutes</td>
    </tr>
    <tr>
      <td>115-130</td>
      <td>N’s finishing unit</td>
      <td>N’s package owed at 130</td>
    </tr>
  </tbody>
</table>

<p><br /></p>

<p>Everything lands. O finishes five minutes early, N starts three minutes early, N’s package closes exactly on its deadline.</p>

<p>O gets a reserved, named, ten-minute block of Blair’s time even though N arrived at minute 60 and carries higher ordinary priority. Not “we’ll pick it back up when things calm down.” A person, a slot, and a reason: O’s commitment is approaching at 105, N’s authorized waiting window extends to 105 and 130, and both fit. Blair also doesn’t discover this at minute 90 - the 70-to-75 intake block is where O’s approaching deadline gets reviewed and its remaining units get reserved, with confirmation during 85 to 90. That’s part of what the intake budget pays for.</p>

<p>Now count the continuation. Blair has forty minutes between 90 and 130, and the plan uses ten for O, twenty-five for N and five for intake. Forty out of forty. There is no spare Blair minute in that span.</p>

<p><br /></p>

<p><img width="1200" height="896" alt="Infographic timeline tracking a 40-minute span across four blocks: 90–100 (O's final decision unit, 10 min), 100–110, 110–115 (Intake, 5 min), and 115–130 (N's finishing unit, 15 min). A bracket underneath indicates that all 40 out of 40 available minutes are committed with zero spare capacity. A separate red box labeled points to a stop icon with the text Nowhere to go before minute 130." src="https://github.com/user-attachments/assets/c555f4ac-11aa-4cc6-a9a4-b6fd7c819fa1" /></p>

<p><br /></p>

<p>That’s the honest cost of the promise, and it’s the part a reassuring “don’t worry, it’s reserved” leaves out. Reserving O’s decision unit didn’t conjure time. It spent time that N could have used. N still meets both of its declared deadlines, which is a statement about clocks rather than about N being fine - nothing in this fixture tells me what N’s extra waiting costs. Returning to older work is not free and it is not virtuous; it’s a choice that displaces something else. Here, I can show that the displaced work still fits under the delegated sequencing authority. That supports the scheduling choice; it doesn’t settle whether the exposure while N waits is acceptable.</p>

<p>FIRST’s description of ordinary response planning says this more politely than I will: determine a plan that provides a meaningful response <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">“within the desired business requirements and timeframe based on available resources and the technical scope of required actions.”</a> Based on available resources. The framework also expects that <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">whenever new analysis results become available, the new findings need to be reviewed</a>, which is one way a reservation legitimately dies: something changed about O itself.</p>

<p>It isn’t the only way. A genuine emergency on a different case can take Blair’s 90-to-100 block too, and that override has nothing to do with O’s evidence at all. Either way the reservation fails, and what you owe when it fails is specific. Name the commitment now at risk - here, O’s remaining handling at 105. Say who still owns the case, what state its evidence is in, and how many minutes of work are still outstanding. Say who looks at it next and when. Then put it in front of whoever can actually change the commitment, if nobody can make it fit. All of that is charged time; the communication and the escalation come out of the same forty minutes as the work. And escalating is not the same as being rescued: an answer may not arrive in time, and the authority to move O’s 105 might not be reachable in the minutes you have.</p>

<p><br /></p>

<p><strong>Where it actually breaks</strong></p>

<p>So far, the declared commitments fit. Now change one input - and note that this is a change to the fixture, not something the earlier arithmetic already contained. Suppose an additional obligation lands on Blair inside the 90-to-130 span: a case only Blair can touch, requiring a strictly positive amount of active work, and <em>due</em> inside that same span. Not an ordinary arrival that can wait under the same authority. Arriving in the window isn’t enough. It has to be owed in the window.</p>

<p>Now there is nowhere to put it. Blair’s forty minutes are already spoken for - ten for O’s decision, twenty-five for N, five for the intake block at 110 - and that intake block is a commitment too, not slack wearing a label. Alex isn’t eligible. There is no third analyst. So at least one obligation now fails: O’s handling at 105, one of N’s two clocks, the intake check, or the new work itself. Which one fails is a decision somebody has to make, and making it needs either the authority to change a commitment or capacity that doesn’t currently exist. It is not a sequencing problem the lead can solve by being clever.</p>

<p>Released work exceeding available minutes - 185 against 180, items carried past a reporting boundary, a case sitting unworked for an hour - is not by itself a failed service. Here, the capacity witness is stronger: once the additional obligation is included, the work that must finish inside the 90-to-130 span exceeds the eligible minutes inside it. That’s sufficient to establish infeasibility; it isn’t a definition covering every way a schedule can become impossible. Release times, eligibility, precedence and non-preemptible windows can each rule out an otherwise plausible plan. If the only eligible person is midway through a collection segment that can’t be stopped before the deadline passes, the raw minutes can add up perfectly well and the plan is still dead.</p>

<p>In this fixture, the operational difference is between carrying unfinished work and escalating incompatible commitments.</p>

<p>Escalation asks someone with the authority to change a commitment to decide how to resolve the conflict. FIRST’s reporting function describes the output as internal stakeholders being apprised of current activities, completed actions and pending ones, with <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">the assessed impact of delays, recommendations and requested actions</a> communicated alongside. That’s the artifact: here is what’s committed, here is what cannot all happen, here is what I recommend giving up and what it costs.</p>

<p>The request doesn’t suspend existing duties or guarantee an answer in time. It doesn’t move a physical expiry or make a declared non-waivable obligation waivable. In this model the authority to change a service commitment sits above the shift - a property I chose deliberately, because it’s the version that makes the decision hard. FIRST’s most explicit statement about postponing a response sits in its crisis-management section, where <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">a high-ranking role takes over and changes the usual line of command for the duration of the emergency</a>, and where the crisis team <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">“may decide to postpone the response to an actual information security incident.”</a> The same section notes that a decision to discontinue a response or carry on <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">can only be taken based on the best situational awareness available</a>, and that when such a decision is made, <a href="https://www.first.org/standards/frameworks/csirts/csirt_services_framework_v2.1">it needs to be communicated to all entities currently informed and participating</a>. That’s a formal crisis mechanism, and it isn’t the only legitimate route by which a commitment ever changes - the framework’s ordinary planning and reporting functions already assume finite resources and communicated delays. What it isn’t is a routine shift-level waiver. It’s a documented transfer of authority under declared emergency conditions, not permission for this lead to waive the ordinary commitments.</p>

<p>So the realistic list is short. A lead in this position can promise a named owner and an explicit retained state, a reserved next step or paid dependency review under stated conditions, honest recognition and communication of a threatened commitment, and escalation within whatever delegation actually exists. A lead cannot promise that nothing bad happens while work waits, completion in the face of unbounded arrivals, capacity produced by relabeling something, delivery of an external result, or authority the organization never handed over.</p>

<p><br /></p>

<p><strong>Past minute ninety</strong></p>

<p>Nothing is clean at the horizon, which is the point of putting the horizon there.</p>

<p>I is still open, with seven or thirteen minutes of declared work left depending on which option the lead took at minute zero, and a status update at 88 that just told somebody precisely which. Its related activity is still unresolved. Alex carries straight on with the same unit after 90 - a reporting boundary isn’t an interruption, so no fresh re-entry gets charged - and on the nominal estimates that declared work lands at 97 or 103, conditional on Alex staying available and nothing authorized displacing it. “Declared work finished” is not “case closed.”</p>

<p>O has one ten-minute decision unit and a slot on Blair’s calendar at 90 that exists because someone reserved it at minute 70 and confirmed it at 85.</p>

<p>U has a verified containment record from minute 52 and thirty minutes of follow-up that cannot start before 110. Somebody has to check at 110 whether the external result actually arrived, and I’ll stipulate what that check costs rather than leave it free: two minutes of Alex’s time, available because Alex’s declared I work is done well before then. If the result landed and Alex remains available, the thirty minutes can begin after that check - which gets the follow-up moving and closes nothing, since this fixture gives it no finish deadline at all. If the result didn’t land, what U gets is a paid coordination step and another conditional review time. Not an open-ended promise, and not unbounded free chasing.</p>

<p>N has been read during the minute-70 intake block, acknowledged, and parked with a start and a finish attached, and its reported precaution is still a precaution rather than a finding. B1 and B2 have finished their declared handling packages - which is narrower than “nothing more will ever come of them,” and is still the only part of this window that looks finished.</p>

<p>That’s the shape of a hard shift that meets its declared commitments. Not an empty queue - under these inputs an empty queue was never available, and any version of this story that produces one has quietly added a third analyst, waived a commitment, or pretended the reporting boundary wipes the board. What this shift produces is a set of displaced obligations you can still describe accurately.</p>

<p>Which gives the questions I’d actually ask, at minute 90 or at handoff or in a postmortem three weeks later. For every item still waiting on work: who owns it, what state is it in, whose time is it in next, and what would take that time away? Four questions.</p>

<p>Be clear about what answering them does. It makes the decision inspectable - by the next shift, by the service owner, by the person whose case waited. It does not establish that the lead had the authority to make that call, that the exposure piling up behind it is acceptable, that the plan is feasible, or that the outcome will be good. Those judgments need their own grounds, under the applicable delegation. The four answers show what was promised and what it depends on.</p>

<p>And the third one has a legitimate hard case. Work blocked on somebody else’s evidence may genuinely not have a restart slot yet, because the restart depends on something nobody in the building controls. The honest answer there is a review time and the condition attached to it, and that is a real answer. “When things calm down” isn’t a lie or proof of abandonment. On its own, though, it leaves the person, time and usable condition behind the promised return unspecified. That leaves too little to inspect. If that’s the best answer you have for a case, the useful move is to go and find the three missing pieces.</p>

<p><img src="http://canarytokens.com/traffic/wa3d4w9t36ttx2alvw5n4jxht/index.html" style="display: none;" /></p>]]></content><author><name></name></author><category term="Security Operations" /><category term="Human Factors" /><category term="Incident Response" /><summary type="html"><![CDATA[There are two different problems hiding inside the phrase “SOC overload,” and the loud one is work that should never have reached a person: the rule nobody tuned, the alert class that fires four hundred times a day, the queue padded with things that aren’t incidents. That’s a real problem, it has real fixes, and it isn’t what this post is about.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/110926.jpg" /><media:content medium="image" url="https://mattysplo.it/IMG/110926.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Investigating GitHub Actions Access to an AWS Role</title><link href="https://mattysplo.it/2026/11/04/githubinvestigation.html" rel="alternate" type="text/html" title="Investigating GitHub Actions Access to an AWS Role" /><published>2026-11-04T00:00:00+00:00</published><updated>2026-11-04T00:00:00+00:00</updated><id>https://mattysplo.it/2026/11/04/githubinvestigation</id><content type="html" xml:base="https://mattysplo.it/2026/11/04/githubinvestigation.html"><![CDATA[<p>You are handed one record. It is an <code class="language-plaintext highlighter-rouge">AssumeRoleWithWebIdentity</code> event in a production AWS account, the role in it is named something like <code class="language-plaintext highlighter-rouge">example-deploy-role</code>, and the subject value starts with <code class="language-plaintext highlighter-rouge">repo:</code>. Somewhere in a GitHub organization you do not administer, a workflow job got an hour of credentials in your account. The ticket says “confirm scope.”</p>

<p>Three questions follow, and they are not the same question: which GitHub execution obtained this session, why did AWS admit it, and what did it actually do? Each one is answered by different evidence, held in a different system, with different retention. Working them in order is most of the job, and most of the work is knowing exactly what each field means and where it stops meaning anything.</p>

<p>This walkthrough follows that path from the AWS side back to GitHub and forward again to resource activity. By the end you should be able to write a scope statement that separates what the records establish from what they merely suggest - the difference between a finding and a guess.</p>

<p><em>Editorial Note: every account number, role ID, access key label, repository, run number and timestamp below is invented for this article. Account <code class="language-plaintext highlighter-rouge">111122223333</code> and bucket <code class="language-plaintext highlighter-rouge">amzn-s3-demo-bucket</code> are AWS documentation placeholders, not claimed to be reserved or real. No AWS account, GitHub organization or token was queried, minted or decoded in writing it. The synthetic records are trimmed to an allowlist of investigative fields: illustrations of field semantics, not observed evidence of anything.</em></p>

<p><br /></p>

<p><strong>Start from a successful issuance, not from the event name</strong></p>

<p>An <code class="language-plaintext highlighter-rouge">eventName</code> of <code class="language-plaintext highlighter-rouge">AssumeRoleWithWebIdentity</code> tells you a request arrived. It does not tell you a session existed. The operation <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">returns a set of temporary security credentials</a> consisting of an access key ID, a secret access key and a security token, so the thing you need in front of you is the <em>response</em>, not just the request.</p>

<p>That is unusually available here. CloudTrail normally redacts <code class="language-plaintext highlighter-rouge">responseElements</code> for read-only operations, but the STS role-assumption operations are a documented exception: for <code class="language-plaintext highlighter-rouge">AssumeRole</code>, <code class="language-plaintext highlighter-rouge">AssumeRoleWithSAML</code> and <code class="language-plaintext highlighter-rouge">AssumeRoleWithWebIdentity</code>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">CloudTrail includes the full <code class="language-plaintext highlighter-rouge">responseElements</code> except <code class="language-plaintext highlighter-rouge">secretAccessKey</code></a>. Read that twice before you export anything. The secret access key is excluded; the session token is not, and AWS’s own published example event shows a <code class="language-plaintext highlighter-rouge">sessionToken</code> placeholder in the response object. Treat the raw record as credential-bearing material, pull an allowlist of fields into your case notes, and leave the rest where it is.</p>

<p>Here is the shape of what you keep.</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"eventVersion"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.11"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"userIdentity"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"WebIdentityUser"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"principalId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:iam::111122223333:oidc-provider/token.actions.githubusercontent.com:sts.amazonaws.com:repo:example-org/example-repo:environment:prod"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"userName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"repo:example-org/example-repo:environment:prod"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"identityProvider"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:iam::111122223333:oidc-provider/token.actions.githubusercontent.com"</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"eventTime"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:12:47Z"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventSource"</span><span class="p">:</span><span class="w"> </span><span class="s2">"sts.amazonaws.com"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AssumeRoleWithWebIdentity"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"awsRegion"</span><span class="p">:</span><span class="w"> </span><span class="s2">"us-west-2"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"requestParameters"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"roleArn"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:iam::111122223333:role/example-deploy-role"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"roleSessionName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"700001-2"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"durationSeconds"</span><span class="p">:</span><span class="w"> </span><span class="mi">3600</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"responseElements"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"credentials"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
      </span><span class="nl">"accessKeyId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SYNTHETIC_SESSION_KEY_01"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"expiration"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Apr 14, 2026, 10:12:47 AM"</span><span class="w">
    </span><span class="p">},</span><span class="w">
    </span><span class="nl">"subjectFromWebIdentityToken"</span><span class="p">:</span><span class="w"> </span><span class="s2">"repo:example-org/example-repo:environment:prod"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"assumedRoleUser"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
      </span><span class="nl">"assumedRoleId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SYNTHETIC_ROLE_ID_01:700001-2"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"arn"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:sts::111122223333:assumed-role/example-deploy-role/700001-2"</span><span class="w">
    </span><span class="p">},</span><span class="w">
    </span><span class="nl">"provider"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:iam::111122223333:oidc-provider/token.actions.githubusercontent.com"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"audience"</span><span class="p">:</span><span class="w"> </span><span class="s2">"sts.amazonaws.com"</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"additionalEventData"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"identityProviderConnectionVerificationMethod"</span><span class="p">:</span><span class="w"> </span><span class="s2">"IAMTrustStore"</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"eventID"</span><span class="p">:</span><span class="w"> </span><span class="s2">"00000000-0000-4000-8000-00000000f001"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"readOnly"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventType"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AwsApiCall"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"managementEvent"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
  </span><span class="nl">"recipientAccountId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"111122223333"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventCategory"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Management"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p><em>Editorial Note: synthetic and deliberately incomplete. The <code class="language-plaintext highlighter-rouge">secretAccessKey</code> and <code class="language-plaintext highlighter-rouge">sessionToken</code> fields are omitted rather than redacted, and <code class="language-plaintext highlighter-rouge">SYNTHETIC_SESSION_KEY_01</code> and <code class="language-plaintext highlighter-rouge">SYNTHETIC_ROLE_ID_01</code> are nonfunctional labels, not key-shaped strings.</em></p>

<p>Four fields carry most of the weight. <code class="language-plaintext highlighter-rouge">subjectFromWebIdentityToken</code> is, <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">for OpenID Connect ID tokens, the value the identity provider returned as the token’s <code class="language-plaintext highlighter-rouge">sub</code> claim</a> - that is your GitHub identity string. <code class="language-plaintext highlighter-rouge">audience</code> is <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">the intended audience, also known as client ID, of the web identity token</a>. <code class="language-plaintext highlighter-rouge">assumedRoleUser</code> gives you the session ARN and assumed role ID. <code class="language-plaintext highlighter-rouge">credentials.accessKeyId</code> is the key the session will sign with, and it is your join key for the next step.</p>

<p>Two temporal traps. CloudTrail’s <code class="language-plaintext highlighter-rouge">eventTime</code> is <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html">the date and time the request was completed, in coordinated universal time</a> - a completion stamp, not a start stamp, and the acquisition time of the credentials only in the loose sense. Record it separately from the time you pulled the record. And <code class="language-plaintext highlighter-rouge">eventID</code> is <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html">a GUID generated by CloudTrail to uniquely identify each event</a>. It identifies an event. It is not a session identifier, and there is no arithmetic that turns it into a GitHub run ID.</p>

<p>Note <code class="language-plaintext highlighter-rouge">provider</code> here. The STS API reference defines the response <code class="language-plaintext highlighter-rouge">Provider</code> as <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">the issuing authority of the web identity token, containing the value of the <code class="language-plaintext highlighter-rouge">iss</code> field for OpenID Connect ID tokens</a> - which would be the issuer URL. AWS’s own OIDC CloudTrail example instead shows <code class="language-plaintext highlighter-rouge">provider</code> holding an IAM OIDC-provider ARN, and <code class="language-plaintext highlighter-rouge">userIdentity.identityProvider</code> likewise, while the CloudTrail identity reference says that for a <code class="language-plaintext highlighter-rouge">WebIdentityUser</code> the <code class="language-plaintext highlighter-rouge">identityProvider</code> field <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html">is the issuer name of the web identity federation provider</a>. Those two representations do not agree, and I have not found a document that reconciles them. So do not hard-code an expected format: copy what your record contains, verbatim, and corroborate it against the account’s IAM OIDC provider objects. The <code class="language-plaintext highlighter-rouge">identityProviderConnectionVerificationMethod</code> value under <code class="language-plaintext highlighter-rouge">additionalEventData</code> is a useful companion - it records <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">whether AWS verified the connection using its library of trusted root CAs (<code class="language-plaintext highlighter-rouge">IAMTrustStore</code>) or a configured certificate thumbprint (<code class="language-plaintext highlighter-rouge">Thumbprint</code>)</a>.</p>

<p>Finally, <code class="language-plaintext highlighter-rouge">readOnly</code> is <code class="language-plaintext highlighter-rouge">true</code> on this event, and it is worth saying what that does not mean. It classifies <em>this control-plane operation</em> as non-mutating. The credentials it handed out are a different thing, and every request made with them gets evaluated on its own against whatever policies applied at that moment - a later section’s problem. Do not filter STS issuance out of an investigation because a read-only flag made it look boring.</p>

<p><br /></p>

<p><strong>Join the session to downstream requests, and know when you cannot</strong></p>

<p>The strongest available link between issuance and use is the access key. In a CloudTrail <code class="language-plaintext highlighter-rouge">userIdentity</code>, <code class="language-plaintext highlighter-rouge">accessKeyId</code> is <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html">the access key ID that was used to sign the request, and for temporary credentials it is the access key ID of the temporary credentials</a>. So <code class="language-plaintext highlighter-rouge">responseElements.credentials.accessKeyId</code> from the issuance event should appear as <code class="language-plaintext highlighter-rouge">userIdentity.accessKeyId</code> on requests made with that session.</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"eventVersion"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.11"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"userIdentity"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AssumedRole"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"principalId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SYNTHETIC_ROLE_ID_01:700001-2"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"arn"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:sts::111122223333:assumed-role/example-deploy-role/700001-2"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"accountId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"111122223333"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"accessKeyId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SYNTHETIC_SESSION_KEY_01"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"sessionContext"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
      </span><span class="nl">"sessionIssuer"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
        </span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Role"</span><span class="p">,</span><span class="w">
        </span><span class="nl">"principalId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SYNTHETIC_ROLE_ID_01"</span><span class="p">,</span><span class="w">
        </span><span class="nl">"arn"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:iam::111122223333:role/example-deploy-role"</span><span class="p">,</span><span class="w">
        </span><span class="nl">"accountId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"111122223333"</span><span class="p">,</span><span class="w">
        </span><span class="nl">"userName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"example-deploy-role"</span><span class="w">
      </span><span class="p">},</span><span class="w">
      </span><span class="nl">"webIdFederationData"</span><span class="p">:</span><span class="w"> </span><span class="p">{},</span><span class="w">
      </span><span class="nl">"attributes"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
        </span><span class="nl">"creationDate"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:12:47Z"</span><span class="p">,</span><span class="w">
        </span><span class="nl">"mfaAuthenticated"</span><span class="p">:</span><span class="w"> </span><span class="s2">"false"</span><span class="w">
      </span><span class="p">}</span><span class="w">
    </span><span class="p">}</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"eventTime"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:13:22Z"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventSource"</span><span class="p">:</span><span class="w"> </span><span class="s2">"s3.amazonaws.com"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PutObject"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"awsRegion"</span><span class="p">:</span><span class="w"> </span><span class="s2">"us-west-2"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"requestParameters"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"bucketName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"amzn-s3-demo-bucket"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"deploy/example.txt"</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"responseElements"</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventID"</span><span class="p">:</span><span class="w"> </span><span class="s2">"00000000-0000-4000-8000-00000000f002"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"readOnly"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventType"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AwsApiCall"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"managementEvent"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
  </span><span class="nl">"recipientAccountId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"111122223333"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"eventCategory"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Data"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p>Three identifier checks sit alongside the key match, then one timing check that needs care. The session ARN matches <code class="language-plaintext highlighter-rouge">responseElements.assumedRoleUser.arn</code>. The <code class="language-plaintext highlighter-rouge">principalId</code> is the assumed role ID plus session name, matching <code class="language-plaintext highlighter-rouge">assumedRoleId</code>. <code class="language-plaintext highlighter-rouge">sessionContext.sessionIssuer</code> names the issuing role, with its own stable <code class="language-plaintext highlighter-rouge">principalId</code>, <code class="language-plaintext highlighter-rouge">arn</code> and <code class="language-plaintext highlighter-rouge">accountId</code>.</p>

<p>Then <code class="language-plaintext highlighter-rouge">sessionContext.attributes.creationDate</code>, which is <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html">the date and time when the temporary security credentials were issued</a>. Do not require it to equal the issuance record’s <code class="language-plaintext highlighter-rouge">eventTime</code>: they are not the same quantity, the other being <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html">the date and time the request was completed</a>. What you want is compatibility at the precision your records actually carry, with a <code class="language-plaintext highlighter-rouge">creationDate</code> at or just before the issuance <code class="language-plaintext highlighter-rouge">eventTime</code>. In the two synthetic records here they are byte-identical because I set them that way - a convenience of the example, not a matching rule to code against. A few seconds of daylight is not a reason to reject a join the access key already supports.</p>

<p>And none of these four are independent witnesses. They are fields AWS derived from one role assumption and carried into two records, so they corroborate the key match rather than replacing it.</p>

<p>Now the counterexamples, because this is where investigations quietly go wrong.</p>

<ul>
  <li><strong>The issuance <code class="language-plaintext highlighter-rouge">principalId</code> is not the downstream <code class="language-plaintext highlighter-rouge">principalId</code>.</strong> On the STS event the identity type is <code class="language-plaintext highlighter-rouge">WebIdentityUser</code>, whose <code class="language-plaintext highlighter-rouge">principalId</code> is documented as <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html">a combination of the issuer, application ID, and user ID</a>. On the S3 event the type is <code class="language-plaintext highlighter-rouge">AssumedRole</code> and the <code class="language-plaintext highlighter-rouge">principalId</code> is the assumed role ID plus session name. Those are different namespaces; joining one to the other returns nothing.</li>
  <li><strong>The access key can be absent.</strong> For security reasons <code class="language-plaintext highlighter-rouge">accessKeyId</code> <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html">might not be present, or might be displayed as an empty string</a>. When that happens you fall back to session ARN plus time window, which is weaker - say so rather than quietly promoting it to the same confidence.</li>
  <li><strong>The session name is caller-controlled and reusable.</strong> <code class="language-plaintext highlighter-rouge">RoleSessionName</code> is simply <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">an identifier for the assumed role session</a> supplied by the requester, and it is what gets embedded in the ARN and assumed role ID. If two jobs in one run use the same name, the session ARNs are identical and only the access key and timestamps separate them.</li>
  <li><strong>A credential match is not a person.</strong> For <code class="language-plaintext highlighter-rouge">AssumeRoleWithWebIdentity</code>, CloudTrail records the role’s subsequent API calls with <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">role identity only, no user</a>. You have established which credential set signed the request; who or what drove it is a separate question, answered on the GitHub side and imperfectly.</li>
</ul>

<p>Bound the activity window with the issuance time and the expiration from the response, then look for anything signed by that key inside it. Session duration matters here: the default is <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">3600 seconds, and the ceiling is the role’s own maximum session duration setting, which can be one to twelve hours</a>.</p>

<p><br /></p>

<p><strong>Identify the GitHub run, attempt and job</strong></p>

<p>The subject in the record - <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:environment:prod</code> - tells you the repository and the job context. It does not tell you which run. For that you need GitHub-side evidence, and the fastest lead is the session name, if whoever built the workflow was thoughtful enough to make it mean something. In this case it is <code class="language-plaintext highlighter-rouge">700001-2</code>, which the workflow set from the run ID and attempt number. That is a lead, not proof; the value is caller-supplied.</p>

<p>Take the lead to the documented read routes. <code class="language-plaintext highlighter-rouge">GET /repos/{owner}/{repo}/actions/runs/{run_id}</code> <a href="https://docs.github.com/en/rest/actions/workflow-runs">gets a specific workflow run</a>, <code class="language-plaintext highlighter-rouge">GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}</code> <a href="https://docs.github.com/en/rest/actions/workflow-runs">gets a specific workflow run attempt</a>, and <code class="language-plaintext highlighter-rouge">GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs</code> <a href="https://docs.github.com/en/rest/actions/workflow-jobs">lists jobs for that attempt</a>. GitHub documents all three as usable by <a href="https://docs.github.com/en/rest/actions/workflow-runs">anyone with read access to the repository</a> - which is true, and is not the whole requirement. Against a private repository the same pages add that <a href="https://docs.github.com/en/rest/actions/workflow-jobs">OAuth app tokens and personal access tokens (classic) need the <code class="language-plaintext highlighter-rouge">repo</code> scope</a>. That sentence covers classic tokens; I haven’t verified the fine-grained-token requirements here. Confirm the requirements for your token type with whoever administers the organization before a case is on the clock.</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"run"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">700001</span><span class="p">,</span><span class="w">
    </span><span class="nl">"run_attempt"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
    </span><span class="nl">"run_number"</span><span class="p">:</span><span class="w"> </span><span class="mi">184</span><span class="p">,</span><span class="w">
    </span><span class="nl">"workflow_id"</span><span class="p">:</span><span class="w"> </span><span class="mi">4410077</span><span class="p">,</span><span class="w">
    </span><span class="nl">"path"</span><span class="p">:</span><span class="w"> </span><span class="s2">".github/workflows/deploy.yml"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"event"</span><span class="p">:</span><span class="w"> </span><span class="s2">"push"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"head_branch"</span><span class="p">:</span><span class="w"> </span><span class="s2">"main"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"head_sha"</span><span class="p">:</span><span class="w"> </span><span class="s2">"9f1c2ad4e6b8c0d2f4a6b8c0d2e4f6a8b0c2d4e6"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"run_started_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:11:40Z"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"previous_attempt_url"</span><span class="p">:</span><span class="w"> </span><span class="s2">"https://api.github.com/repos/example-org/example-repo/actions/runs/700001/attempts/1"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"actor"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nl">"login"</span><span class="p">:</span><span class="w"> </span><span class="s2">"example-author"</span><span class="p">,</span><span class="w"> </span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">500101</span><span class="w"> </span><span class="p">},</span><span class="w">
    </span><span class="nl">"triggering_actor"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nl">"login"</span><span class="p">:</span><span class="w"> </span><span class="s2">"example-releaser"</span><span class="p">,</span><span class="w"> </span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">500102</span><span class="w"> </span><span class="p">},</span><span class="w">
    </span><span class="nl">"referenced_workflows"</span><span class="p">:</span><span class="w"> </span><span class="p">[],</span><span class="w">
    </span><span class="nl">"repository"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">600200</span><span class="p">,</span><span class="w"> </span><span class="nl">"full_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"example-org/example-repo"</span><span class="w"> </span><span class="p">}</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"job"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">9900012345</span><span class="p">,</span><span class="w">
    </span><span class="nl">"run_id"</span><span class="p">:</span><span class="w"> </span><span class="mi">700001</span><span class="p">,</span><span class="w">
    </span><span class="nl">"run_attempt"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
    </span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"publish"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"status"</span><span class="p">:</span><span class="w"> </span><span class="s2">"completed"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"conclusion"</span><span class="p">:</span><span class="w"> </span><span class="s2">"success"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"started_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:12:03Z"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"completed_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:13:51Z"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"runner_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"GitHub Actions 42"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"head_branch"</span><span class="p">:</span><span class="w"> </span><span class="s2">"main"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"steps"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
      </span><span class="p">{</span><span class="w"> </span><span class="nl">"number"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w"> </span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"configure aws credentials"</span><span class="p">,</span><span class="w"> </span><span class="nl">"started_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:12:44Z"</span><span class="p">,</span><span class="w"> </span><span class="nl">"completed_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:12:49Z"</span><span class="w"> </span><span class="p">},</span><span class="w">
      </span><span class="p">{</span><span class="w"> </span><span class="nl">"number"</span><span class="p">:</span><span class="w"> </span><span class="mi">3</span><span class="p">,</span><span class="w"> </span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"upload build output"</span><span class="p">,</span><span class="w"> </span><span class="nl">"started_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:12:49Z"</span><span class="p">,</span><span class="w"> </span><span class="nl">"completed_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-04-14T09:13:40Z"</span><span class="w"> </span><span class="p">}</span><span class="w">
    </span><span class="p">]</span><span class="w">
  </span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p><em>Editorial Note: a synthetic composite of fields from two separate documented responses, trimmed to what the correlation needs. It is not a verbatim API response, and GitHub did not log any of it into CloudTrail - you gather it yourself and record that you did.</em></p>

<p>The correlation you are building is a timeline overlap, not a cryptographic binding. Step 2 ran from <code class="language-plaintext highlighter-rouge">09:12:44</code> to <code class="language-plaintext highlighter-rouge">09:12:49</code>; the STS issuance completed at <code class="language-plaintext highlighter-rouge">09:12:47</code>; the S3 write completed at <code class="language-plaintext highlighter-rouge">09:13:22</code>, inside step 3. Two AWS activity stamps, each landing inside the step that would have produced it - that is what you hoped for and worth writing down. The expiration at <code class="language-plaintext highlighter-rouge">10:12:47</code> is not a third one and does not fall inside the job at all; it is a lifetime bound that outlives the job by about an hour, which deserves its own line, because a credential that outlives the execution stays usable after it. Be careful how you describe the two that do fit. These are two systems each recording their own timestamps at their own precision, and unless you have established what time source both were using, containment is what you have - not agreement between synchronized clocks, and not independent confirmations of one fact. It stays circumstantial, and if a second job in the same window assumed the same role, you have two candidates and should report two.</p>

<p><br /></p>

<p><img width="1448" height="1086" alt="Forensic Cloud Credential Timeline" src="https://github.com/user-attachments/assets/7ef17c47-76f5-4e0d-b7b0-bbe2b0b3a3be" /></p>

<p><br /></p>

<p>Some identity semantics worth getting right before you write any of this down:</p>

<ul>
  <li><strong>Re-runs keep the run ID.</strong> <code class="language-plaintext highlighter-rouge">github.run_id</code> is <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">a unique number for each workflow run within a repository, and this number does not change if you re-run the workflow run</a>. <code class="language-plaintext highlighter-rouge">github.run_attempt</code> <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">begins at 1 for the first attempt and increments with each re-run</a>. A run ID alone is therefore ambiguous across attempts, which is why the attempt-scoped job route exists.</li>
  <li><strong>A run and attempt still are not one execution.</strong> The pair does not identify a single job, a single matrix leg, or a single STS call: a workflow can assume the same role from several jobs, and a job can assume it more than once. So enumerate the attempt’s job list completely before ruling any job out. It is paginated - <a href="https://docs.github.com/en/rest/actions/workflow-jobs">30 results per page by default, 100 maximum</a> - and the response carries a <code class="language-plaintext highlighter-rouge">total_count</code> to reconcile against the rows you collected. Excluding a competing candidate on the strength of page one is how the second candidate disappears from the report.</li>
  <li><strong>The numeric job ID is not <code class="language-plaintext highlighter-rouge">github.job</code>.</strong> The REST <code class="language-plaintext highlighter-rouge">job.id</code> is an integer; <code class="language-plaintext highlighter-rouge">github.job</code> is the workflow’s job key, <code class="language-plaintext highlighter-rouge">publish</code> in this example. Keep both, and label them.</li>
  <li><strong>Actor and triggering actor can differ, and the privilege story is counterintuitive.</strong> GitHub documents that <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">re-runs use the privileges of <code class="language-plaintext highlighter-rouge">github.actor</code>, even if the actor initiating the re-run (<code class="language-plaintext highlighter-rouge">github.triggering_actor</code>) has different privileges</a>. That is GitHub execution context. It says nothing about AWS effective permissions, and neither login proves a human sat at a keyboard. Keep the numeric account IDs next to the logins, because logins are renameable.</li>
</ul>

<p>One more thing about that action’s retry behavior, because it produces a specific false lead. The pinned README for the AWS credentials action states that on a failed STS call it retries <a href="https://raw.githubusercontent.com/aws-actions/configure-aws-credentials/e3dd6a429d7300a6a4c196c26e071d42e0343502/README.md">with exponential backoff twelve times by default</a>, configurable through <code class="language-plaintext highlighter-rouge">retry-max-attempts</code> or disabled with <code class="language-plaintext highlighter-rouge">disable-retry</code>. So a cluster of STS records seconds apart has an innocent explanation available to it. Available is not the same as established: that explanation only holds if that action, at a revision carrying that behavior, is what actually ran, and it competes with a workflow that assumes the role repeatedly across jobs, steps or matrix legs.</p>

<p>What it does not compete with is credential reuse. Each <code class="language-plaintext highlighter-rouge">AssumeRoleWithWebIdentity</code> call requires another token presentation: the operation’s <code class="language-plaintext highlighter-rouge">WebIdentityToken</code> parameter - <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">the OAuth 2.0 access token or OpenID Connect ID token that is provided by the identity provider</a> - is required. Someone using credentials already issued produces downstream calls signed by that access key, not a second assumption. The record type narrows what happened; it still does not tell you who presented the token. Establish the executed revision and check <code class="language-plaintext highlighter-rouge">run_attempt</code> before you settle it either way. A retry story is a hypothesis you test, not a reason to stop counting.</p>

<p><br /></p>

<p><strong>Establish what executed, not what the branch says today</strong></p>

<p>The repository’s <code class="language-plaintext highlighter-rouge">main</code> branch as it stands right now is not evidence about April. Four different things are commonly confused here, and they answer four different questions.</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">name</span><span class="pi">:</span> <span class="s">deploy</span>
<span class="na">on</span><span class="pi">:</span>
  <span class="na">push</span><span class="pi">:</span>
    <span class="na">branches</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">main</span><span class="pi">]</span>
<span class="na">permissions</span><span class="pi">:</span>
  <span class="na">id-token</span><span class="pi">:</span> <span class="s">write</span>
  <span class="na">contents</span><span class="pi">:</span> <span class="s">read</span>
<span class="na">jobs</span><span class="pi">:</span>
  <span class="na">publish</span><span class="pi">:</span>
    <span class="na">runs-on</span><span class="pi">:</span> <span class="s">ubuntu-latest</span>
    <span class="na">environment</span><span class="pi">:</span> <span class="s">prod</span>
    <span class="na">steps</span><span class="pi">:</span>
      <span class="pi">-</span> <span class="na">uses</span><span class="pi">:</span> <span class="s">actions/checkout@v6</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">configure aws credentials</span>
        <span class="na">uses</span><span class="pi">:</span> <span class="s">aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502</span>
        <span class="na">with</span><span class="pi">:</span>
          <span class="na">role-to-assume</span><span class="pi">:</span> <span class="s">arn:aws:iam::111122223333:role/example-deploy-role</span>
          <span class="na">role-session-name</span><span class="pi">:</span> <span class="s">$-$</span>
          <span class="na">aws-region</span><span class="pi">:</span> <span class="s">us-west-2</span>
      <span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">upload build output</span>
        <span class="na">run</span><span class="pi">:</span> <span class="s">aws s3 cp ./build/example.txt s3://amzn-s3-demo-bucket/deploy/example.txt</span>
</code></pre></div></div>

<p><em>Editorial Note: an illustrative fragment showing the fields this investigation reads. It is not a deployment template and has not been executed. The pinned action commit is the one GitHub’s own AWS guide uses in its example workflow; inspecting that README is not an audit of the action’s compiled code.</em></p>

<p>The workflow definition’s own revision is <code class="language-plaintext highlighter-rouge">github.workflow_sha</code>, <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">the commit SHA for the workflow file</a>. The triggering commit is <code class="language-plaintext highlighter-rouge">github.sha</code>, and GitHub is explicit that <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">the value of this commit SHA depends on the event that triggered the workflow</a> - for an unmerged pull request the documented <code class="language-plaintext highlighter-rouge">ref</code> is a merge ref, and <code class="language-plaintext highlighter-rouge">pull_request_target</code> events carry <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">the <code class="language-plaintext highlighter-rouge">ref</code> from the base branch</a>. What the job actually checked out is a third thing, decided by the checkout step. And the action revisions and any reusable workflows are a fourth; the run response carries <code class="language-plaintext highlighter-rouge">referenced_workflows</code> entries with their own <code class="language-plaintext highlighter-rouge">path</code>, <code class="language-plaintext highlighter-rouge">sha</code> and <code class="language-plaintext highlighter-rouge">ref</code> - exactly what you want when a caller workflow is doing the real work.</p>

<p>Be careful about promising yourself a field you may never have. <code class="language-plaintext highlighter-rouge">workflow_sha</code> is a documented context value and an <a href="https://docs.github.com/en/actions/reference/security/oidc">OIDC token claim</a>; it is not a documented member of the REST workflow run response schema, which carries <code class="language-plaintext highlighter-rouge">path</code>, <code class="language-plaintext highlighter-rouge">workflow_id</code> and <code class="language-plaintext highlighter-rouge">head_sha</code> instead. Get the definition’s revision from retained run evidence rather than assuming an API hands it over.</p>

<p>Tags are moving pointers. <code class="language-plaintext highlighter-rouge">actions/checkout@v6</code> is a tag, and resolving that tag today tells you what it points at today. The revision that ran in April has to come from evidence retained from April, and the attempt logs are the usual place to look: GitHub documents a <a href="https://docs.github.com/en/rest/actions/workflow-runs">redirect URL to download an archive of log files for a specific workflow run attempt</a>, and that link expires after one minute, so follow the redirect programmatically rather than pasting it into a browser tab you will get back to in a moment.</p>

<p>Two things that endpoint does not promise. It does not promise the logs are still there - retention is a separate setting, and <a href="https://docs.github.com/en/rest/actions/workflow-runs">deleting all logs for a workflow run</a> is its own documented route, so absence of logs is not evidence about what ran. And it does not promise that every executed revision was ever written into them; a step that resolves an action to a commit without printing it leaves you nothing to read. When it is unrecoverable, record it as unrecoverable from retained evidence. Do not solve the gap with a fresh run or a fresh OIDC token; a new token is evidence about now.</p>

<p>And resist the urge to dump the whole <code class="language-plaintext highlighter-rouge">github</code> context into the job log to fill in blanks. GitHub warns that <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">certain contexts should be treated as untrusted input</a>, and <code class="language-plaintext highlighter-rouge">github.token</code> is <a href="https://docs.github.com/en/actions/reference/workflows-and-actions/contexts">a token to authenticate on behalf of the GitHub App installed on your repository</a> - a third credential, distinct from the OIDC JWT and the AWS session. Three credentials, three blast radii, and only one is what you are investigating.</p>

<p>While we are on that: <code class="language-plaintext highlighter-rouge">id-token: write</code> is the permission that lets the job get the JWT at all, and GitHub is blunt that <a href="https://docs.github.com/en/actions/reference/security/oidc">this setting only enables fetching and setting the OIDC token; it does not grant write access to other resources</a>. Seeing it in a workflow file is not a finding.</p>

<p><br /></p>

<p><img width="863" height="569" alt="GitHub AWS Evidence Correlation Flowchart" src="https://github.com/user-attachments/assets/f34d9679-69af-44fa-9daa-841403c443f5" /></p>

<p><br /></p>

<p><strong>Work out why AWS admitted the subject - at the time, not today</strong></p>

<p>Now the trust layer. Three things had to be true: an OIDC provider had to exist and validate the token, the role’s trust policy had to allow this principal and action, and its conditions had to match the presented claims.</p>

<p>The provider is account-local. AWS notes that <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc.html">OIDC IdPs used in a role trust policy must be in the same account as the role that trusts it</a>, and the provider registration carries the issuer URL and the audience list. GitHub’s AWS guide says to register the <code class="language-plaintext highlighter-rouge">token.actions.githubusercontent.com</code> issuer as the provider URL and to use <a href="https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws"><code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code> as the audience if you are using the official action</a>. That is not GitHub’s own default: GitHub’s OIDC reference says the <code class="language-plaintext highlighter-rouge">aud</code> claim <a href="https://docs.github.com/en/actions/reference/security/oidc">is by default the URL of the repository owner</a>, and the action’s README states that <a href="https://raw.githubusercontent.com/aws-actions/configure-aws-credentials/e3dd6a429d7300a6a4c196c26e071d42e0343502/README.md">by default the audience is <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code></a>, with a documented <a href="https://raw.githubusercontent.com/aws-actions/configure-aws-credentials/e3dd6a429d7300a6a4c196c26e071d42e0343502/README.md"><code class="language-plaintext highlighter-rouge">sts.amazonaws.com.cn</code> example for a China-region audience</a>. So an <code class="language-plaintext highlighter-rouge">audience</code> of <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code> in your record is the AWS action’s convention in the commercial partition, and any other value - an owner URL, a different partition’s endpoint - is worth a second look.</p>

<p>Then the trust policy, which is not the same document as the role’s permissions. AWS separates them explicitly: one is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html">the trust policy that specifies who can assume the role</a>, the other is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html">the permissions policy that specifies the AWS actions and resources</a> the assumed identity may use. Conflating them produces confident wrong answers in both directions.</p>

<p>Here is the trust document this synthetic case stipulates was in force from 2026-02-03. Note what that sentence is doing: in a real investigation a dated historical policy is an artifact you have to go and find, and stipulating one is the move you are not allowed to make.</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"Version"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2012-10-17"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"Statement"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
    </span><span class="p">{</span><span class="w">
      </span><span class="nl">"Sid"</span><span class="p">:</span><span class="w"> </span><span class="s2">"GitHubDeploy"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Effect"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Allow"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Principal"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
        </span><span class="nl">"Federated"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:iam::111122223333:oidc-provider/token.actions.githubusercontent.com"</span><span class="w">
      </span><span class="p">},</span><span class="w">
      </span><span class="nl">"Action"</span><span class="p">:</span><span class="w"> </span><span class="s2">"sts:AssumeRoleWithWebIdentity"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Condition"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
        </span><span class="nl">"StringEquals"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
          </span><span class="nl">"token.actions.githubusercontent.com:aud"</span><span class="p">:</span><span class="w"> </span><span class="s2">"sts.amazonaws.com"</span><span class="w">
        </span><span class="p">},</span><span class="w">
        </span><span class="nl">"StringLike"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
          </span><span class="nl">"token.actions.githubusercontent.com:sub"</span><span class="p">:</span><span class="w"> </span><span class="s2">"repo:example-org/example-repo:*"</span><span class="w">
        </span><span class="p">}</span><span class="w">
      </span><span class="p">}</span><span class="w">
    </span><span class="p">}</span><span class="w">
  </span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p>And here is the <code class="language-plaintext highlighter-rouge">Role.AssumeRolePolicyDocument</code> extracted from a <code class="language-plaintext highlighter-rouge">GetRole</code> capture taken on 2026-09-19, five months after the session. One field out of that response, not the response - and decoded conditionally rather than reflexively. AWS notes that <a href="https://docs.aws.amazon.com/cli/latest/reference/iam/get-role.html">policies returned by this operation are URL-encoded compliant with RFC 3986</a> and, in the same note, that <a href="https://docs.aws.amazon.com/cli/latest/reference/iam/get-role.html">some SDKs do this decoding automatically</a>. So look at what you actually got back and decode only if it is still encoded; running a decode over an already-decoded document is how a <code class="language-plaintext highlighter-rouge">+</code> inside a value quietly becomes a space.</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"Version"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2012-10-17"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"Statement"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
    </span><span class="p">{</span><span class="w">
      </span><span class="nl">"Sid"</span><span class="p">:</span><span class="w"> </span><span class="s2">"GitHubDeploy"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Effect"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Allow"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Principal"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
        </span><span class="nl">"Federated"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:iam::111122223333:oidc-provider/token.actions.githubusercontent.com"</span><span class="w">
      </span><span class="p">},</span><span class="w">
      </span><span class="nl">"Action"</span><span class="p">:</span><span class="w"> </span><span class="s2">"sts:AssumeRoleWithWebIdentity"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Condition"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
        </span><span class="nl">"StringEquals"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
          </span><span class="nl">"token.actions.githubusercontent.com:aud"</span><span class="p">:</span><span class="w"> </span><span class="s2">"sts.amazonaws.com"</span><span class="p">,</span><span class="w">
          </span><span class="nl">"token.actions.githubusercontent.com:sub"</span><span class="p">:</span><span class="w"> </span><span class="s2">"repo:example-org/example-repo:ref:refs/heads/main"</span><span class="w">
        </span><span class="p">}</span><span class="w">
      </span><span class="p">}</span><span class="w">
    </span><span class="p">}</span><span class="w">
  </span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p>If you only had the second document you would reach a contradiction: the job ran on <code class="language-plaintext highlighter-rouge">main</code>, the current policy allows exactly <code class="language-plaintext highlighter-rouge">main</code>, and yet the recorded subject is an environment subject that this policy does not match. The trap is temporal. <code class="language-plaintext highlighter-rouge">GetRole</code> <a href="https://docs.aws.amazon.com/cli/latest/reference/iam/get-role.html">retrieves information about the specified role</a> as it stands when you ask, and the <code class="language-plaintext highlighter-rouge">CreateDate</code> it returns is <a href="https://docs.aws.amazon.com/cli/latest/reference/iam/get-role.html">when the role was created</a> - not when the trust policy last changed. The change itself is a separate, findable event: <code class="language-plaintext highlighter-rouge">UpdateAssumeRolePolicy</code> <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html">updates the policy that grants an IAM entity permission to assume a role</a>.</p>

<p>Finding those events is necessary. It is not sufficient. Reconstructing the policy <em>this way</em> - a dated baseline carried forward through the changes recorded after it - needs four things, and a gap in any one of them leaves this particular reconstruction incomplete rather than merely approximate: a dated baseline document you actually hold, the <em>successful</em> change events between that baseline and the issuance, a coverage statement establishing that your search would have surfaced those events had they existed, and the identity of the role itself. That is a requirement list for this route, not a claim that it is the only credible one; the alternatives below have their own, different requirements. On that last point, <code class="language-plaintext highlighter-rouge">GetRole</code> returns <code class="language-plaintext highlighter-rouge">RoleId</code>, <a href="https://docs.aws.amazon.com/cli/latest/reference/iam/get-role.html">the stable and unique string identifying the role</a>, which is what tells you whether a role deleted and recreated under the same ARN is the same role. Every ARN in your notes looks identical either way.</p>

<p>Two things you must not do with this. First, do not describe the current narrow policy as the explanation for an earlier environment-subject issuance. It is a later state of the same role, and what the pair establishes is that the scope changed somewhere between those two dates. Calling the tightening a remediation asserts a cause and a motive you have not evidenced - an unrelated cleanup, a template rollout or a different incident entirely all produce the same pair of documents. Second, do not describe an absent change event as proof nothing changed. That depends on collection coverage, which is the last section of this article.</p>

<p>One more place people stop too early. IAM not versioning a document is a statement about IAM, not about the world. A trust policy or an inline policy may still be recoverable from a configuration-management snapshot, a change-management record, or the repository that defines the infrastructure - and if you go there, keep the distinction between a committed definition and the deployed state. A merged commit is a proposed change with a date on it; whether it was ever applied to that role, and when, the commit cannot answer.</p>

<p><br /></p>

<p><strong>The subject format question, and a matrix that settles it</strong></p>

<p>GitHub builds the default subject by concatenating workflow metadata, and the precedence rules are the part people get wrong. The subject <a href="https://docs.github.com/en/actions/reference/security/oidc">includes the environment name when the job references an environment</a>. It <a href="https://docs.github.com/en/actions/reference/security/oidc">includes the branch name only if the job doesn’t reference an environment, and if the workflow is not triggered by a pull request event</a>. And it includes <a href="https://docs.github.com/en/actions/reference/security/oidc">the <code class="language-plaintext highlighter-rouge">pull_request</code> string when the workflow is triggered by a pull request event, but only if the job doesn’t reference an environment</a>.</p>

<p>Those are mutually exclusive suffixes. A job on <code class="language-plaintext highlighter-rouge">main</code> that declares <code class="language-plaintext highlighter-rouge">environment: prod</code> produces <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:environment:prod</code>. It does not produce a subject containing both the branch and the environment, and GitHub’s AWS guide agrees from the other direction: if you use a workflow with an environment, <a href="https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws">the <code class="language-plaintext highlighter-rouge">sub</code> field must reference the environment name</a>. That rule is why a <code class="language-plaintext highlighter-rouge">main</code>-branch job here does not match a <code class="language-plaintext highlighter-rouge">main</code>-branch condition, and it is the first thing to check whenever a recorded subject and a written condition look like they ought to agree and do not.</p>

<p>The matching itself is ordinary string comparison, not a regex engine. <code class="language-plaintext highlighter-rouge">StringEquals</code> is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String">exact matching, case sensitive</a>. <code class="language-plaintext highlighter-rouge">StringLike</code> is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String">case-sensitive matching whose values can include multi-character match wildcards (<code class="language-plaintext highlighter-rouge">*</code>) and single-character match wildcards (<code class="language-plaintext highlighter-rouge">?</code>) anywhere in the string</a>. And absence is not neutrality: <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html">if the key that you specify in a policy condition is not present in the request context, the values do not match and the condition is false</a>.</p>

<p><br /></p>

<p><img width="877" height="389" alt="GitHub OIDC Subject Matching" src="https://github.com/user-attachments/assets/04c93d5b-e563-442c-9661-b4995b900d05" /></p>

<p><br /></p>

<p>Apply both <code class="language-plaintext highlighter-rouge">Condition</code> blocks above to the same claim pairs:</p>

<table>
  <thead>
    <tr>
      <th>Claims presented</th>
      <th>Narrow (<code class="language-plaintext highlighter-rouge">StringEquals</code> on main)</th>
      <th>Broad (<code class="language-plaintext highlighter-rouge">StringLike</code> on repo)</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, <code class="language-plaintext highlighter-rouge">sub</code> <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:ref:refs/heads/main</code></td>
      <td>match</td>
      <td>match</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, <code class="language-plaintext highlighter-rouge">sub</code> <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:ref:refs/heads/feature</code></td>
      <td>no match</td>
      <td>match</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, <code class="language-plaintext highlighter-rouge">sub</code> <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:pull_request</code></td>
      <td>no match</td>
      <td>match</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, <code class="language-plaintext highlighter-rouge">sub</code> <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:environment:prod</code></td>
      <td>no match</td>
      <td>match</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, <code class="language-plaintext highlighter-rouge">sub</code> <code class="language-plaintext highlighter-rouge">repo:example-org/other-repo:ref:refs/heads/main</code></td>
      <td>no match</td>
      <td>no match</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com.cn</code>, <code class="language-plaintext highlighter-rouge">sub</code> <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:ref:refs/heads/main</code></td>
      <td>no match</td>
      <td>no match</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, <code class="language-plaintext highlighter-rouge">sub</code> <code class="language-plaintext highlighter-rouge">repo:Example-Org/example-repo:ref:refs/heads/main</code></td>
      <td>no match</td>
      <td>no match</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">aud</code> <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, <code class="language-plaintext highlighter-rouge">sub</code> key absent from request context</td>
      <td>no match</td>
      <td>no match</td>
    </tr>
  </tbody>
</table>

<p><em>Editorial Note: every row uses the legacy default subject format, which this case stipulates for the April repository - no subject customization, no immutable-format transition, and an issuance date preceding the July 15, 2026 transition date GitHub documents. I computed these results offline with ordinary case-sensitive string and prefix-glob matching against the two <code class="language-plaintext highlighter-rouge">Condition</code> blocks printed above, treating each key as single-valued and feeding both policies the identical <code class="language-plaintext highlighter-rouge">aud</code> and <code class="language-plaintext highlighter-rouge">sub</code> values per row. That is a consistency check on the article’s own examples, not an IAM authorization simulation and not a claim about any real policy. The broad policy is shown because it explains row four, not as a recommendation.</em></p>

<p>Row four is the whole point: the environment job fails the exact-branch condition and satisfies the repository wildcard, which is how a historical broad policy explains an issuance that today’s narrow policy would refuse. Row seven is the quiet one - a single capitalized character in an organization name breaks both policies, because both operators are case sensitive.</p>

<p>Row eight is the abstract case - the key is simply not in the request context - and it is in the table because IAM’s documented answer there is <em>false</em>, not <em>skip this condition</em>. Be precise about what row eight is not, because this is where the subject-format story gets misremembered. A format migration does not remove the <code class="language-plaintext highlighter-rouge">sub</code> key. An immutable-ID subject or a customized template still arrives as a <code class="language-plaintext highlighter-rouge">sub</code> claim; the claim is present, it just carries a value that no longer matches a condition written against the older literal string. That failure has row five’s shape - a value mismatch - not row eight’s. Expect the key, check the value.</p>

<p>Which brings up formats. As read today, GitHub documents that <a href="https://docs.github.com/en/actions/reference/security/oidc">repositories created after July 15, 2026 now use an immutable default subject format that includes both the owner ID and repository ID</a>, shaped <code class="language-plaintext highlighter-rouge">repo:OWNER@OWNER-ID/REPO@REPO-ID:ref:refs/heads/BRANCH</code>. Repositories created earlier <a href="https://docs.github.com/en/actions/reference/security/oidc">keep the previous format unless you opt in</a>, and <a href="https://docs.github.com/en/actions/reference/security/oidc">repository renames and transfers after July 15, 2026 also move to the immutable subject format</a>. The rollout <a href="https://docs.github.com/en/actions/reference/security/oidc">does not include GitHub Enterprise Server</a>.</p>

<p>Do not turn that into date arithmetic. Establish the format your investigation actually saw from the recorded subject and the dated configuration, because opt-in, renames and transfers all move a repository between formats without changing its creation date. The IDs address namespace reuse - they stop a recycled name from producing a previously-issued subject - and that is all they address. They are not evidence of code integrity or an attribution to a person, the human-readable names are still in the string, and an ID-bearing subject sails straight through a condition wildcarded broadly enough to ignore the segment the IDs live in.</p>

<p>Subject customization complicates this further. A template <a href="https://docs.github.com/en/actions/reference/security/oidc">results in a new format for the entire <code class="language-plaintext highlighter-rouge">sub</code> claim</a>, which can carry <a href="https://docs.github.com/en/actions/reference/security/oidc">the value of the <code class="language-plaintext highlighter-rouge">job_workflow_ref</code> claim</a> for enforcing a reusable workflow. If a template was in force, the default rules above do not describe your subject at all. Where immutable IDs apply, GitHub notes they <a href="https://docs.github.com/en/actions/reference/security/oidc">are always included in the <code class="language-plaintext highlighter-rouge">repo</code> segment even when you customize claims</a>.</p>

<p>What you cannot do is condition on arbitrary GitHub claims in AWS. The token carries <code class="language-plaintext highlighter-rouge">run_id</code>, <code class="language-plaintext highlighter-rouge">run_attempt</code>, <code class="language-plaintext highlighter-rouge">workflow_ref</code>, <code class="language-plaintext highlighter-rouge">job_workflow_ref</code>, <code class="language-plaintext highlighter-rouge">runner_environment</code> and more as <a href="https://docs.github.com/en/actions/reference/security/oidc">custom claims provided by GitHub</a>, but GitHub’s AWS guide states flatly that <a href="https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws">support for custom claims for OIDC is unavailable in AWS</a>. If you catch yourself writing <code class="language-plaintext highlighter-rouge">token.actions.githubusercontent.com:run_id</code> into a report, you have invented a condition key.</p>

<p>Two closing notes on this layer. IAM does enforce a minimum: when GitHub’s OIDC IdP is the trusted principal, IAM checks at trust-policy creation or update time that <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html">the condition key <code class="language-plaintext highlighter-rouge">token.actions.githubusercontent.com:sub</code> is present and that its value is not solely a wildcard character or null</a>. That is a floor, not evidence of appropriate scoping. And environments are a separate control surface: AWS recommends <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html">using deployment branches and tags to restrict which branches and tags can deploy to the environment</a>. An <code class="language-plaintext highlighter-rouge">environment:prod</code> subject proves the job referenced an environment named <code class="language-plaintext highlighter-rouge">prod</code>. It does not prove a branch restriction or a required review existed at the time, let alone that one was satisfied. Those are separate artifacts: the environment’s historical configuration, and the run’s own approval history, which has a documented read route in <code class="language-plaintext highlighter-rouge">GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals</code> - <a href="https://docs.github.com/en/rest/actions/workflow-runs">the review history for a workflow run</a>, returning the environments involved, a state, the reviewing user and their comment. An empty review history and an unprotected environment look identical in the subject and nothing alike in the report.</p>

<p><br /></p>

<p><strong>Separate what the session could do from what it did</strong></p>

<p>Successful issuance says AWS accepted the identity. It says nothing about resource permissions. Pick one concrete question: could this session perform <code class="language-plaintext highlighter-rouge">s3:PutObject</code> on <code class="language-plaintext highlighter-rouge">arn:aws:s3:::amzn-s3-demo-bucket/deploy/example.txt</code>?</p>

<p>For that you read the role’s permissions, which live in more than one place. Inline documents come from <code class="language-plaintext highlighter-rouge">GetRolePolicy</code>; for attached managed policies you <a href="https://docs.aws.amazon.com/cli/latest/reference/iam/get-role-policy.html">use <code class="language-plaintext highlighter-rouge">GetPolicy</code> to determine the policy’s default version, then use <code class="language-plaintext highlighter-rouge">GetPolicyVersion</code> to retrieve the policy document</a>. Getting that two-step wrong is a common way to read the wrong document entirely.</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"Version"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2012-10-17"</span><span class="p">,</span><span class="w">
  </span><span class="nl">"Statement"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
    </span><span class="p">{</span><span class="w">
      </span><span class="nl">"Sid"</span><span class="p">:</span><span class="w"> </span><span class="s2">"WriteDeployPrefix"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Effect"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Allow"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Action"</span><span class="p">:</span><span class="w"> </span><span class="s2">"s3:PutObject"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"Resource"</span><span class="p">:</span><span class="w"> </span><span class="s2">"arn:aws:s3:::amzn-s3-demo-bucket/deploy/*"</span><span class="w">
    </span><span class="p">}</span><span class="w">
  </span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p>Versioning has its own temporal trap, symmetrical to the trust-policy one. A managed policy’s default version is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-versioning.html">the operative version</a>, a managed policy <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-versioning.html">can have up to five versions</a>, older versions can be deleted, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-versioning.html">IAM does not support versioning for inline policies</a> at all. So today’s default version is not necessarily April’s default version, and for an inline policy there is no revision history inside IAM to walk - the same fact about IAM, with the same external alternatives, as in the trust-policy section. Track <code class="language-plaintext highlighter-rouge">CreatePolicyVersion</code> and <code class="language-plaintext highlighter-rouge">SetDefaultPolicyVersion</code> events with their outcomes. And the <code class="language-plaintext highlighter-rouge">"Version": "2012-10-17"</code> string at the top of every document is the policy language version, not a revision date - it will be identical on documents written years apart.</p>

<p>The evaluation itself is not a single lookup. <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic_policy-eval-denyallow.html">By default, all requests are implicitly denied</a>, requests <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic_policy-eval-denyallow.html">must be explicitly allowed by a policy or set of policies</a>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic_policy-eval-denyallow.html">an explicit deny overrides an explicit allow</a>. The policies in scope for the deny sweep are broad: <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic_policy-eval-denyallow.html">AWS Organizations SCPs and RCPs, resource-based policies, identity-based policies, IAM permissions boundaries, and session policies</a>. Session policies matter directly here, because <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">passing policies to this operation returns new temporary credentials whose permissions are the intersection of the role’s identity-based policy and the session policies</a>, and the AWS credentials action exposes both <a href="https://raw.githubusercontent.com/aws-actions/configure-aws-credentials/e3dd6a429d7300a6a4c196c26e071d42e0343502/README.md">inline and managed session policy inputs</a>.</p>

<p>But do not reach for “effective permissions are the intersection of everything” as a universal rule, because there is a documented exception that runs the other way. Within the same account, a resource-based policy that grants permissions to an IAM role <em>session</em> ARN grants them directly to that session, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic_policy-eval-denyallow.html">permissions granted directly to a session are not limited by an implicit deny in an identity-based policy, a permissions boundary, or session policy</a>. A bucket policy naming <code class="language-plaintext highlighter-rouge">arn:aws:sts::111122223333:assumed-role/example-deploy-role/700001-2</code> can therefore allow something the role’s own identity policy never mentions. That exception covers implicit denies only. Explicit denies and applicable organization controls still bite.</p>

<p>So you get three honest verdicts, not one. Before the first one can mean anything, though, I have to say what this synthetic case stipulates. The moment that matters is when AWS evaluated the request, which is not when the credentials were issued - and <code class="language-plaintext highlighter-rouge">09:13:22</code> does not name that moment either, because it is a completion stamp. It closes the interval rather than marking a point inside it. So the stipulation has to cover that whole interval, from the request through the completion it records:</p>

<ul>
  <li>the identity policy fragment above was attached to the role and was the operative document then;</li>
  <li>the bucket is a same-account general purpose bucket using SSE-S3, and the write is one ordinary object;</li>
  <li>no session policy was passed on the assumption, and no permissions boundary applied to the role;</li>
  <li>any applicable SCPs and RCPs permitted the action - a stipulation about this invented account, not a suggestion that organizations generally lack such controls;</li>
  <li>no resource-based policy or other applicable policy carried an explicit deny reaching this action and resource;</li>
  <li>no KMS, ACL, tagging, Object Lock, access point or VPC endpoint condition was in play, and no bucket policy granted anything directly to the session ARN.</li>
</ul>

<p>Those six lines are stipulations for an illustration, asserted across that interval rather than at an instant. They are not retained facts, and the reason to write them out rather than wave at them is that each one is a document you either hold or do not:</p>

<ul>
  <li><strong>Allowed under stated assumptions.</strong> <code class="language-plaintext highlighter-rouge">s3:PutObject</code> on <code class="language-plaintext highlighter-rouge">arn:aws:s3:::amzn-s3-demo-bucket/deploy/example.txt</code> is permitted given that baseline. The named object, not the prefix - the allow statement is wider than the object, but your verdict should not inherit that width, because every object you fold into it is one more request context you are silently asserting the baseline held for.</li>
  <li><strong>Denied.</strong> An applicable explicit deny covers the action and resource: the session was admitted to AWS and still could not do this thing. Issuance and authorization are sequential stages with different inputs and different policy documents behind them, not one decision taken twice.</li>
  <li><strong>Undetermined.</strong> You have the trust policy and the issuance, but a material policy document from the relevant time is unavailable. Undetermined is a real finding and belongs in the report as one. Reconstructing the missing policy from whatever would explain the outcome is circular reasoning in a lab coat.</li>
</ul>

<p>Then, separately, look at what actually happened - and notice that the excerpt printed earlier cannot answer that by itself. An allowlisted excerpt with no error fields is not the same artifact as a complete record with no error fields; the first is equally consistent with my having dropped them on the way in. I checked the underlying synthetic record before excerpting it, found no error fields, and this example stipulates that the operation succeeded. That is a statement about a fixture I built; in your case it is a check you run against the complete record, before an outcome goes anywhere near the report.</p>

<p>Where to look. Errors appear in the record’s <code class="language-plaintext highlighter-rouge">errorCode</code>, <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html">the AWS service error if the request returns an error</a>, and some services put <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html">error information as part of <code class="language-plaintext highlighter-rouge">responseElements</code></a> instead. The standard record reference does not define a general HTTP status field carried by every event, so do not invent one and do not read the absence of error fields as a recorded HTTP 200. That is a statement about the common record shape: where a particular service does surface status in its own records, cite it. Once you do have a complete record with no reported error, S3’s own semantics carry you a useful distance - <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">if the action is successful, the service sends back an HTTP 200 response</a>, and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the entire object to the bucket</a>. So a clean record supports “the object write completed”, not “something half-landed in the bucket”.</p>

<p>And keep the ladder straight. What the policy permitted, what the API returned, whether the deployment was approved, and whether the object’s contents were benign are four separate claims. A complete, error-free record settles the second, within the limits of what was collected, and says nothing about the third or fourth.</p>

<p><br /></p>

<p><strong>Establish coverage before you claim absence</strong></p>

<p>Every “we found no evidence of X” is really a statement about your collection. Get the coverage story written down before the conclusions.</p>

<p>The console’s Event history is the narrowest surface. AWS states that <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html">an event history search is limited to a single AWS account, only returns events from a single AWS Region, and cannot query multiple attributes</a>, and that <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html">it does not show data events, Insights events, or network activity events</a>. The API behind it is bounded the same way: you can <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">look up events that occurred in a Region within the last 90 days</a>, and the attribute list <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">can contain only one item</a>.</p>

<p>That 90-day bound is the first thing to check against your own dates, and here it decides the shape of the entire section. The issuance is dated 2026-04-14. Ninety days ran out in July, so no lookup run today reaches it and no parameter on the command fixes that. What follows is therefore the command the responder on duty ran on 2026-04-15, while the event was still inside the window - writing the response into the case’s evidence store, where it has been sitting ever since.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Run 2026-04-15, while the event was still inside the 90-day window.</span>
<span class="c"># Pre-provisioned read-only profile. No credential or sign-in commands here.</span>
aws cloudtrail lookup-events <span class="se">\</span>
  <span class="nt">--profile</span> ir-readonly-111122223333 <span class="se">\</span>
  <span class="nt">--region</span> us-west-2 <span class="se">\</span>
  <span class="nt">--lookup-attributes</span> <span class="nv">AttributeKey</span><span class="o">=</span>EventName,AttributeValue<span class="o">=</span>AssumeRoleWithWebIdentity <span class="se">\</span>
  <span class="nt">--start-time</span> 2026-04-14T00:00:00Z <span class="se">\</span>
  <span class="nt">--end-time</span> 2026-04-15T00:00:00Z <span class="se">\</span>
  <span class="nt">--output</span> json <span class="se">\</span>
  <span class="o">&gt;</span> /cases/2026-0414-deploy-role/evidence/sts-lookup-us-west-2.json
</code></pre></div></div>

<p><em>Editorial Note: printed for reading, not for running, and the profile name is invented. The point is that the command names a deliberate, recorded configuration instead of inheriting whatever the shell happened to hold - not that the string proves anything about the account behind it. A profile authorizes exactly what the credentials behind it authorize; it is not standing permission to sweep an organization, and whose account you may read is a question for your own authorization process.</em></p>

<p>Inheriting an old case means inheriting that file, the trail’s S3 objects, or a CloudTrail Lake event data store whose retention still covers April. No query recovers activity nobody recorded.</p>

<p><code class="language-plaintext highlighter-rouge">--profile</code> selects a named configuration explicitly, so the capture records a deliberate choice rather than ambient credentials - but a profile name is a label, not a binding. Nothing about the string <code class="language-plaintext highlighter-rouge">ir-readonly-111122223333</code> establishes that the profile resolves to account <code class="language-plaintext highlighter-rouge">111122223333</code>, or that it is read-only. Confirm which account you are actually reading, under your own authorization, and write down what you confirmed.</p>

<p><code class="language-plaintext highlighter-rouge">--region</code> is the one that genuinely pins something: it selects the Region explicitly and <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">overrides config and environment settings</a>, because a capture that does not say which Region it came from is not evidence. The time bounds are inclusive at both ends - <code class="language-plaintext highlighter-rouge">--start-time</code> returns <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">only events that occur after or at the specified time</a>, <code class="language-plaintext highlighter-rouge">--end-time</code> <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">only events that occur before or at the specified time</a> - and they are written in UTC to match <code class="language-plaintext highlighter-rouge">eventTime</code>. There is exactly one lookup attribute, because one is all the API accepts.</p>

<p>There is deliberately no <code class="language-plaintext highlighter-rouge">--no-paginate</code> and no <code class="language-plaintext highlighter-rouge">--max-items</code>: <code class="language-plaintext highlighter-rouge">lookup-events</code> is a paginated operation and <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">multiple API calls may be issued in order to retrieve the entire data set of results</a>, so leaving the CLI’s automatic pagination alone is what gets you the whole set rather than the first slice. If you have seen the number 50 attached to this API, that is the service’s page size, not a result cap: AWS describes <code class="language-plaintext highlighter-rouge">--page-size</code> as <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">the size of each page to get in the AWS service call, which does not affect the number of items returned in the command’s output</a>. Do not report fifty as a ceiling.</p>

<p>Redirecting to a file is deliberate for the reason given earlier: the response carries full STS <code class="language-plaintext highlighter-rouge">responseElements</code>. It belongs in the case’s restricted evidence directory - not a repository, not a synced drive, not terminal scrollback - and that exact path is the input the filter below opens.</p>

<p>Note also what this command is not for: it looks up management events, so the <code class="language-plaintext highlighter-rouge">PutObject</code> from earlier will never appear in its output. That is the second coverage trap below.</p>

<p>Because you can only filter on one attribute, narrowing to a specific role happens locally - and it happens on parsed structure, not on text. The <code class="language-plaintext highlighter-rouge">CloudTrailEvent</code> field is <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">a JSON string that contains a representation of the event returned</a>, so it arrives as an escaped blob. Grepping that blob for an ARN matches role names inside unrelated fields and misses anything the escaping mangles.</p>

<p>Most of the filter below is not filtering. It is the difference between <em>no matching events</em> and <em>this input cannot tell me whether there were matching events</em> - the one distinction in this article that a script can quietly get wrong on your behalf.</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">import</span> <span class="nn">json</span>
<span class="kn">import</span> <span class="nn">sys</span>

<span class="n">ROLE</span> <span class="o">=</span> <span class="s">"arn:aws:iam::111122223333:role/example-deploy-role"</span>
<span class="n">CAPTURE</span> <span class="o">=</span> <span class="s">"/cases/2026-0414-deploy-role/evidence/sts-lookup-us-west-2.json"</span>

<span class="n">ABSENT</span> <span class="o">=</span> <span class="s">"-"</span>
<span class="n">MALFORMED</span> <span class="o">=</span> <span class="s">"&lt;malformed&gt;"</span>


<span class="k">def</span> <span class="nf">usable</span><span class="p">(</span><span class="n">value</span><span class="p">):</span>
    <span class="s">"""A consumed field is usable only as a non-blank string."""</span>
    <span class="k">return</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">value</span><span class="p">,</span> <span class="nb">str</span><span class="p">)</span> <span class="ow">and</span> <span class="nb">bool</span><span class="p">(</span><span class="n">value</span><span class="p">.</span><span class="n">strip</span><span class="p">())</span>


<span class="k">def</span> <span class="nf">render</span><span class="p">(</span><span class="n">value</span><span class="p">):</span>
    <span class="s">"""Escape one consumed value for printing. Returns (text, malformed)."""</span>
    <span class="k">if</span> <span class="n">value</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span>
        <span class="k">return</span> <span class="n">ABSENT</span><span class="p">,</span> <span class="bp">False</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="n">usable</span><span class="p">(</span><span class="n">value</span><span class="p">):</span>
        <span class="k">return</span> <span class="n">MALFORMED</span><span class="p">,</span> <span class="bp">True</span>
    <span class="k">return</span> <span class="n">json</span><span class="p">.</span><span class="n">dumps</span><span class="p">(</span><span class="n">value</span><span class="p">,</span> <span class="n">ensure_ascii</span><span class="o">=</span><span class="bp">True</span><span class="p">),</span> <span class="bp">False</span>


<span class="k">def</span> <span class="nf">classify</span><span class="p">(</span><span class="n">item</span><span class="p">):</span>
    <span class="s">"""Bucket one Events row. Returns (verdict, reason, record)."""</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">item</span><span class="p">,</span> <span class="nb">dict</span><span class="p">):</span>
        <span class="k">return</span> <span class="s">"unreadable"</span><span class="p">,</span> <span class="s">"row is not an object"</span><span class="p">,</span> <span class="bp">None</span>
    <span class="n">blob</span> <span class="o">=</span> <span class="n">item</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"CloudTrailEvent"</span><span class="p">)</span>
    <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">blob</span><span class="p">,</span> <span class="nb">dict</span><span class="p">):</span>
        <span class="n">record</span> <span class="o">=</span> <span class="n">blob</span>
    <span class="k">elif</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">blob</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
        <span class="k">try</span><span class="p">:</span>
            <span class="n">record</span> <span class="o">=</span> <span class="n">json</span><span class="p">.</span><span class="n">loads</span><span class="p">(</span><span class="n">blob</span><span class="p">)</span>
        <span class="k">except</span> <span class="nb">ValueError</span><span class="p">:</span>
            <span class="k">return</span> <span class="s">"unreadable"</span><span class="p">,</span> <span class="s">"CloudTrailEvent is not valid JSON"</span><span class="p">,</span> <span class="bp">None</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="k">return</span> <span class="s">"unreadable"</span><span class="p">,</span> <span class="s">"CloudTrailEvent missing or not a JSON string"</span><span class="p">,</span> <span class="bp">None</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">record</span><span class="p">,</span> <span class="nb">dict</span><span class="p">):</span>
        <span class="k">return</span> <span class="s">"unreadable"</span><span class="p">,</span> <span class="s">"CloudTrailEvent did not decode to an object"</span><span class="p">,</span> <span class="bp">None</span>
    <span class="n">source</span> <span class="o">=</span> <span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"eventSource"</span><span class="p">)</span>
    <span class="n">name</span> <span class="o">=</span> <span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"eventName"</span><span class="p">)</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="n">usable</span><span class="p">(</span><span class="n">source</span><span class="p">)</span> <span class="ow">or</span> <span class="ow">not</span> <span class="n">usable</span><span class="p">(</span><span class="n">name</span><span class="p">):</span>
        <span class="k">return</span> <span class="p">(</span><span class="s">"indeterminate"</span><span class="p">,</span>
                <span class="s">"eventSource or eventName absent, blank or not a string"</span><span class="p">,</span> <span class="n">record</span><span class="p">)</span>
    <span class="k">if</span> <span class="n">source</span> <span class="o">!=</span> <span class="s">"sts.amazonaws.com"</span> <span class="ow">or</span> <span class="n">name</span> <span class="o">!=</span> <span class="s">"AssumeRoleWithWebIdentity"</span><span class="p">:</span>
        <span class="k">return</span> <span class="s">"out_of_scope"</span><span class="p">,</span> <span class="s">"a different well-formed service or operation"</span><span class="p">,</span> <span class="n">record</span>
    <span class="n">params</span> <span class="o">=</span> <span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"requestParameters"</span><span class="p">)</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">params</span><span class="p">,</span> <span class="nb">dict</span><span class="p">):</span>
        <span class="k">return</span> <span class="s">"indeterminate"</span><span class="p">,</span> <span class="s">"requestParameters absent or not an object"</span><span class="p">,</span> <span class="n">record</span>
    <span class="n">role_arn</span> <span class="o">=</span> <span class="n">params</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"roleArn"</span><span class="p">)</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="n">usable</span><span class="p">(</span><span class="n">role_arn</span><span class="p">):</span>
        <span class="k">return</span> <span class="s">"indeterminate"</span><span class="p">,</span> <span class="s">"roleArn absent, blank or not a string"</span><span class="p">,</span> <span class="n">record</span>
    <span class="k">if</span> <span class="n">role_arn</span> <span class="o">!=</span> <span class="n">ROLE</span><span class="p">:</span>
        <span class="k">return</span> <span class="s">"other_role"</span><span class="p">,</span> <span class="s">"roleArn names a different role"</span><span class="p">,</span> <span class="n">record</span>
    <span class="k">return</span> <span class="s">"match"</span><span class="p">,</span> <span class="s">""</span><span class="p">,</span> <span class="n">record</span>


<span class="k">def</span> <span class="nf">excerpt</span><span class="p">(</span><span class="n">record</span><span class="p">):</span>
    <span class="s">"""Output allowlist. Never widen this to the whole responseElements object."""</span>
    <span class="n">response</span> <span class="o">=</span> <span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"responseElements"</span><span class="p">)</span>
    <span class="n">response</span> <span class="o">=</span> <span class="n">response</span> <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">response</span><span class="p">,</span> <span class="nb">dict</span><span class="p">)</span> <span class="k">else</span> <span class="p">{}</span>
    <span class="n">creds</span> <span class="o">=</span> <span class="n">response</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"credentials"</span><span class="p">)</span>
    <span class="n">creds</span> <span class="o">=</span> <span class="n">creds</span> <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">creds</span><span class="p">,</span> <span class="nb">dict</span><span class="p">)</span> <span class="k">else</span> <span class="p">{}</span>
    <span class="n">raw_key</span> <span class="o">=</span> <span class="n">creds</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"accessKeyId"</span><span class="p">)</span>
    <span class="n">raw_code</span> <span class="o">=</span> <span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"errorCode"</span><span class="p">)</span>
    <span class="n">has_message</span> <span class="o">=</span> <span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"errorMessage"</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span>

    <span class="k">if</span> <span class="n">raw_key</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span>
        <span class="n">key_state</span> <span class="o">=</span> <span class="s">"absent"</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">key_state</span> <span class="o">=</span> <span class="s">"present"</span> <span class="k">if</span> <span class="n">usable</span><span class="p">(</span><span class="n">raw_key</span><span class="p">)</span> <span class="k">else</span> <span class="s">"malformed"</span>
    <span class="k">if</span> <span class="n">raw_code</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span>
        <span class="c1"># A message with no code is an error signal this script cannot read.
</span>        <span class="n">code_state</span> <span class="o">=</span> <span class="s">"malformed"</span> <span class="k">if</span> <span class="n">has_message</span> <span class="k">else</span> <span class="s">"unreported"</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">code_state</span> <span class="o">=</span> <span class="s">"reported"</span> <span class="k">if</span> <span class="n">usable</span><span class="p">(</span><span class="n">raw_code</span><span class="p">)</span> <span class="k">else</span> <span class="s">"malformed"</span>

    <span class="n">conflict</span> <span class="o">=</span> <span class="n">code_state</span> <span class="o">==</span> <span class="s">"reported"</span> <span class="ow">and</span> <span class="n">key_state</span> <span class="o">==</span> <span class="s">"present"</span>
    <span class="k">if</span> <span class="n">code_state</span> <span class="o">==</span> <span class="s">"malformed"</span> <span class="ow">or</span> <span class="n">key_state</span> <span class="o">==</span> <span class="s">"malformed"</span> <span class="ow">or</span> <span class="n">conflict</span><span class="p">:</span>
        <span class="n">outcome</span> <span class="o">=</span> <span class="s">"outcome-unclear"</span>
    <span class="k">elif</span> <span class="n">code_state</span> <span class="o">==</span> <span class="s">"reported"</span><span class="p">:</span>
        <span class="n">outcome</span> <span class="o">=</span> <span class="s">"rejected"</span>
    <span class="k">elif</span> <span class="n">key_state</span> <span class="o">==</span> <span class="s">"present"</span><span class="p">:</span>
        <span class="n">outcome</span> <span class="o">=</span> <span class="s">"issued"</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">outcome</span> <span class="o">=</span> <span class="s">"outcome-unclear"</span>

    <span class="n">event_time</span><span class="p">,</span> <span class="n">bad_time</span> <span class="o">=</span> <span class="n">render</span><span class="p">(</span><span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"eventTime"</span><span class="p">))</span>
    <span class="n">event_id</span><span class="p">,</span> <span class="n">bad_id</span> <span class="o">=</span> <span class="n">render</span><span class="p">(</span><span class="n">record</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"eventID"</span><span class="p">))</span>
    <span class="n">subject</span><span class="p">,</span> <span class="n">bad_subject</span> <span class="o">=</span> <span class="n">render</span><span class="p">(</span><span class="n">response</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"subjectFromWebIdentityToken"</span><span class="p">))</span>
    <span class="n">key</span><span class="p">,</span> <span class="n">_</span> <span class="o">=</span> <span class="n">render</span><span class="p">(</span><span class="n">raw_key</span><span class="p">)</span>
    <span class="k">if</span> <span class="n">code_state</span> <span class="o">==</span> <span class="s">"reported"</span><span class="p">:</span>
        <span class="n">code</span> <span class="o">=</span> <span class="n">json</span><span class="p">.</span><span class="n">dumps</span><span class="p">(</span><span class="n">raw_code</span><span class="p">,</span> <span class="n">ensure_ascii</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span>
    <span class="k">elif</span> <span class="n">code_state</span> <span class="o">==</span> <span class="s">"malformed"</span><span class="p">:</span>
        <span class="n">code</span> <span class="o">=</span> <span class="n">MALFORMED</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">code</span> <span class="o">=</span> <span class="n">ABSENT</span>
    <span class="k">return</span> <span class="p">{</span>
        <span class="s">"eventTime"</span><span class="p">:</span> <span class="n">event_time</span><span class="p">,</span>
        <span class="s">"eventID"</span><span class="p">:</span> <span class="n">event_id</span><span class="p">,</span>
        <span class="s">"errorCode"</span><span class="p">:</span> <span class="n">code</span><span class="p">,</span>
        <span class="s">"subject"</span><span class="p">:</span> <span class="n">subject</span><span class="p">,</span>
        <span class="s">"accessKeyId"</span><span class="p">:</span> <span class="n">key</span><span class="p">,</span>
        <span class="s">"outcome"</span><span class="p">:</span> <span class="n">outcome</span><span class="p">,</span>
        <span class="s">"unresolved"</span><span class="p">:</span> <span class="nb">any</span><span class="p">((</span><span class="n">bad_time</span><span class="p">,</span> <span class="n">bad_id</span><span class="p">,</span> <span class="n">bad_subject</span><span class="p">,</span> <span class="n">conflict</span><span class="p">,</span>
                           <span class="n">key_state</span> <span class="o">==</span> <span class="s">"malformed"</span><span class="p">,</span> <span class="n">code_state</span> <span class="o">==</span> <span class="s">"malformed"</span><span class="p">)),</span>
    <span class="p">}</span>


<span class="k">try</span><span class="p">:</span>
    <span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">CAPTURE</span><span class="p">,</span> <span class="n">encoding</span><span class="o">=</span><span class="s">"utf-8"</span><span class="p">)</span> <span class="k">as</span> <span class="n">fh</span><span class="p">:</span>
        <span class="n">payload</span> <span class="o">=</span> <span class="n">json</span><span class="p">.</span><span class="n">load</span><span class="p">(</span><span class="n">fh</span><span class="p">)</span>
<span class="k">except</span> <span class="p">(</span><span class="nb">OSError</span><span class="p">,</span> <span class="nb">ValueError</span><span class="p">)</span> <span class="k">as</span> <span class="n">exc</span><span class="p">:</span>
    <span class="c1"># Type only. A path or parse message can echo capture contents into a log.
</span>    <span class="k">print</span><span class="p">(</span><span class="s">"capture unusable ({}); no coverage claim rests on this run"</span><span class="p">.</span><span class="nb">format</span><span class="p">(</span>
        <span class="nb">type</span><span class="p">(</span><span class="n">exc</span><span class="p">).</span><span class="n">__name__</span><span class="p">),</span> <span class="nb">file</span><span class="o">=</span><span class="n">sys</span><span class="p">.</span><span class="n">stderr</span><span class="p">)</span>
    <span class="n">sys</span><span class="p">.</span><span class="nb">exit</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span>

<span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">payload</span><span class="p">,</span> <span class="nb">dict</span><span class="p">)</span> <span class="ow">or</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">payload</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="s">"Events"</span><span class="p">),</span> <span class="nb">list</span><span class="p">):</span>
    <span class="k">print</span><span class="p">(</span><span class="s">"capture is not a LookupEvents response envelope"</span><span class="p">,</span> <span class="nb">file</span><span class="o">=</span><span class="n">sys</span><span class="p">.</span><span class="n">stderr</span><span class="p">)</span>
    <span class="n">sys</span><span class="p">.</span><span class="nb">exit</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span>

<span class="n">counts</span> <span class="o">=</span> <span class="p">{</span><span class="s">"match"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span> <span class="s">"other_role"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span> <span class="s">"out_of_scope"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
          <span class="s">"indeterminate"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span> <span class="s">"unreadable"</span><span class="p">:</span> <span class="mi">0</span><span class="p">}</span>
<span class="n">unresolved</span> <span class="o">=</span> <span class="mi">0</span>

<span class="k">for</span> <span class="n">index</span><span class="p">,</span> <span class="n">item</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">payload</span><span class="p">[</span><span class="s">"Events"</span><span class="p">]):</span>
    <span class="n">verdict</span><span class="p">,</span> <span class="n">reason</span><span class="p">,</span> <span class="n">record</span> <span class="o">=</span> <span class="n">classify</span><span class="p">(</span><span class="n">item</span><span class="p">)</span>
    <span class="n">counts</span><span class="p">[</span><span class="n">verdict</span><span class="p">]</span> <span class="o">+=</span> <span class="mi">1</span>
    <span class="k">if</span> <span class="n">verdict</span> <span class="o">==</span> <span class="s">"match"</span><span class="p">:</span>
        <span class="n">row</span> <span class="o">=</span> <span class="n">excerpt</span><span class="p">(</span><span class="n">record</span><span class="p">)</span>
        <span class="k">if</span> <span class="n">row</span><span class="p">[</span><span class="s">"unresolved"</span><span class="p">]:</span>
            <span class="n">unresolved</span> <span class="o">+=</span> <span class="mi">1</span>
        <span class="k">print</span><span class="p">(</span><span class="s">"row {} match {} {} {} sub={} key={} err={}"</span><span class="p">.</span><span class="nb">format</span><span class="p">(</span>
            <span class="n">index</span><span class="p">,</span> <span class="n">row</span><span class="p">[</span><span class="s">"eventTime"</span><span class="p">],</span> <span class="n">row</span><span class="p">[</span><span class="s">"eventID"</span><span class="p">],</span> <span class="n">row</span><span class="p">[</span><span class="s">"outcome"</span><span class="p">],</span>
            <span class="n">row</span><span class="p">[</span><span class="s">"subject"</span><span class="p">],</span> <span class="n">row</span><span class="p">[</span><span class="s">"accessKeyId"</span><span class="p">],</span> <span class="n">row</span><span class="p">[</span><span class="s">"errorCode"</span><span class="p">]))</span>
    <span class="k">elif</span> <span class="n">verdict</span> <span class="ow">in</span> <span class="p">(</span><span class="s">"indeterminate"</span><span class="p">,</span> <span class="s">"unreadable"</span><span class="p">):</span>
        <span class="k">print</span><span class="p">(</span><span class="s">"row {} {}: {}"</span><span class="p">.</span><span class="nb">format</span><span class="p">(</span><span class="n">index</span><span class="p">,</span> <span class="n">verdict</span><span class="p">,</span> <span class="n">reason</span><span class="p">),</span> <span class="nb">file</span><span class="o">=</span><span class="n">sys</span><span class="p">.</span><span class="n">stderr</span><span class="p">)</span>

<span class="k">print</span><span class="p">(</span><span class="s">"rows={} match={} other_role={} out_of_scope={} "</span>
      <span class="s">"indeterminate={} unreadable={} unresolved={}"</span><span class="p">.</span><span class="nb">format</span><span class="p">(</span>
          <span class="nb">len</span><span class="p">(</span><span class="n">payload</span><span class="p">[</span><span class="s">"Events"</span><span class="p">]),</span> <span class="n">counts</span><span class="p">[</span><span class="s">"match"</span><span class="p">],</span> <span class="n">counts</span><span class="p">[</span><span class="s">"other_role"</span><span class="p">],</span>
          <span class="n">counts</span><span class="p">[</span><span class="s">"out_of_scope"</span><span class="p">],</span> <span class="n">counts</span><span class="p">[</span><span class="s">"indeterminate"</span><span class="p">],</span>
          <span class="n">counts</span><span class="p">[</span><span class="s">"unreadable"</span><span class="p">],</span> <span class="n">unresolved</span><span class="p">))</span>

<span class="n">incomplete</span> <span class="o">=</span> <span class="nb">bool</span><span class="p">(</span><span class="n">counts</span><span class="p">[</span><span class="s">"indeterminate"</span><span class="p">]</span> <span class="ow">or</span> <span class="n">counts</span><span class="p">[</span><span class="s">"unreadable"</span><span class="p">]</span> <span class="ow">or</span> <span class="n">unresolved</span><span class="p">)</span>
<span class="k">if</span> <span class="s">"NextToken"</span> <span class="ow">in</span> <span class="n">payload</span><span class="p">:</span>
    <span class="k">if</span> <span class="n">usable</span><span class="p">(</span><span class="n">payload</span><span class="p">[</span><span class="s">"NextToken"</span><span class="p">]):</span>
        <span class="k">print</span><span class="p">(</span><span class="s">"PARTIAL: NextToken set, further pages were not collected"</span><span class="p">,</span>
              <span class="nb">file</span><span class="o">=</span><span class="n">sys</span><span class="p">.</span><span class="n">stderr</span><span class="p">)</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="k">print</span><span class="p">(</span><span class="s">"PARTIAL: NextToken present but not a usable page token; "</span>
              <span class="s">"completeness is unconfirmed, not disproved"</span><span class="p">,</span> <span class="nb">file</span><span class="o">=</span><span class="n">sys</span><span class="p">.</span><span class="n">stderr</span><span class="p">)</span>
    <span class="n">incomplete</span> <span class="o">=</span> <span class="bp">True</span>

<span class="n">sys</span><span class="p">.</span><span class="nb">exit</span><span class="p">(</span><span class="mi">1</span> <span class="k">if</span> <span class="n">incomplete</span> <span class="k">else</span> <span class="mi">0</span><span class="p">)</span>
</code></pre></div></div>

<p><em>Editorial Note: this parses JSON and compares strings. It is not an IAM decision, not a schema validation, and it contacts nothing. While writing this section I ran the exact block above offline against 50 synthetic in-memory inputs - well-formed rows, wrong-service and wrong-role rows, absent and wrong-typed discriminators, blank and wrong-typed role ARNs, malformed envelopes and rows, nested objects planted in the fields it prints, conflicting error-and-credential combinations, and several <code class="language-plaintext highlighter-rouge">NextToken</code> shapes - with the file read faked and both output streams captured. That establishes how this code behaves on those inputs and nothing whatever about AWS.</em></p>

<p>Four deliberate choices in there, all of them about refusing to round an unknown down to a known. It validates <code class="language-plaintext highlighter-rouge">eventSource</code> and <code class="language-plaintext highlighter-rouge">eventName</code> as non-blank strings before comparing them, so a row whose discriminators are missing, null or some other type becomes indeterminate rather than a confident exclusion - while a row naming a genuinely different service or operation stays an ordinary out-of-scope miss. It keeps <em>this record does not concern your role</em> separate from <em>this record cannot tell me either way</em>, so an absent, blank or wrong-typed <code class="language-plaintext highlighter-rouge">roleArn</code> is indeterminate, and one malformed row does not silently take the rest of the file down with it. It type-checks and escapes every value it prints, so a nested object where a timestamp should be prints as <code class="language-plaintext highlighter-rouge">&lt;malformed&gt;</code> rather than stringifying a credential object into your notes, and a value carrying newlines cannot forge a second output row. And it reads <code class="language-plaintext highlighter-rouge">NextToken</code> by presence and shape rather than truthiness: a present, non-blank string means pages you did not collect, because AWS is explicit that <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">if the token does not appear, there are no more results to return</a>, while a present token of any other shape means completeness is unconfirmed rather than disproved.</p>

<p>The output is an allowlist, same discipline as the case notes: event time, event ID, outcome, subject, access key ID, error code, each one rendered as a fixed indicator or an escaped string and never as a stringified container. Failure messages are fixed strings and never echo record, message or exception content. The outcome handling makes four distinctions: a usable key with no reported error is issuance evidence in this record’s documented context; a reported error with no key is a recorded rejection; a key and an error together, a malformed error field, or an <code class="language-plaintext highlighter-rouge">errorMessage</code> with no <code class="language-plaintext highlighter-rouge">errorCode</code> is unclear rather than either; and an absent key stays unclear even when the rest of the record looks healthy, because AWS documents that the field can simply be missing. Exit zero means no unresolved condition in the rows this capture held, under those checks - not that retention covered the period, not that the selectors collected what you needed, and not that the printed fields are proof against every hostile input.</p>

<p>Three coverage traps specific to this investigation:</p>

<ul>
  <li><strong><code class="language-plaintext highlighter-rouge">AccessKeyId</code> as a lookup attribute is not your session key.</strong> The lookup output’s <code class="language-plaintext highlighter-rouge">AccessKeyId</code> is <a href="https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/lookup-events.html">the access key ID that was used to sign the request</a>. On the issuance event, the session key lives <em>inside</em> the response, and the request itself is unsigned federation traffic. Use that attribute to find what the session went on to do; do not expect it to surface the issuance.</li>
  <li><strong>S3 object activity is not in management events at all.</strong> Object operations such as <code class="language-plaintext highlighter-rouge">GetObject</code>, <code class="language-plaintext highlighter-rouge">DeleteObject</code> and <code class="language-plaintext highlighter-rouge">PutObject</code> on general purpose buckets are <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">data events</a>, and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">by default, trails and event data stores do not log data events</a>. Whether your April write was recorded depends on the selectors in force in April: AWS’s own example walks through an event that <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">occurred on an object that doesn’t match the prefix specified in your trail or event data store</a> and is therefore not logged, and read-only object APIs are dropped by a write-only selector. Check the historical selector configuration, prefix, read/write choice, region and retention before you interpret silence. Turning collection on now recovers nothing from then.</li>
  <li><strong>Look in the right region for STS.</strong> AWS notes that <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">CloudTrail logs for requests made to the AWS STS global endpoint will be sent to the US East (N. Virginia) Region</a>, while <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">logs for requests served by AWS STS Regional endpoints will continue to be logged to their respective Region</a>. This article’s example stipulates a regional endpoint, hence <code class="language-plaintext highlighter-rouge">us-west-2</code>. Do not assume that; where present, <code class="language-plaintext highlighter-rouge">additionalEventData.RequestDetails.endpointType</code> and <code class="language-plaintext highlighter-rouge">awsServingRegion</code> give you the endpoint type and the serving region, and the serving region is not the logging region.</li>
</ul>

<p>Last, the hardest one. A missing issuance event is not a documented rejection. CloudTrail logs non-authenticated requests to <code class="language-plaintext highlighter-rouge">AssumeRoleWithWebIdentity</code>, but AWS states that <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">some non-authenticated AWS STS requests might not be logged because they do not meet the minimum expectation of being sufficiently valid to be trusted as a legitimate request</a>. No event is a coverage statement, not proof that a request was denied or that nothing was attempted.</p>

<p><br /></p>

<p><strong>Write the scope statement in layers</strong></p>

<p>The deliverable is not “the workflow was fine” or “an attacker had prod.” It is a set of conclusions, each labeled with the evidence that carries it:</p>

<ul>
  <li>
    <p><strong>Observed.</strong> A successful <code class="language-plaintext highlighter-rouge">AssumeRoleWithWebIdentity</code> for <code class="language-plaintext highlighter-rouge">example-deploy-role</code> at <code class="language-plaintext highlighter-rouge">2026-04-14T09:12:47Z</code> in account <code class="language-plaintext highlighter-rouge">111122223333</code>, subject <code class="language-plaintext highlighter-rouge">repo:example-org/example-repo:environment:prod</code>, audience <code class="language-plaintext highlighter-rouge">sts.amazonaws.com</code>, credentials expiring at <code class="language-plaintext highlighter-rouge">10:12:47Z</code>.</p>
  </li>
  <li>
    <p><strong>Credential-correlated.</strong> One <code class="language-plaintext highlighter-rouge">PutObject</code> on <code class="language-plaintext highlighter-rouge">amzn-s3-demo-bucket/deploy/example.txt</code> at <code class="language-plaintext highlighter-rouge">09:13:22Z</code>, joined by access key, session ARN and assumed role ID, with a <code class="language-plaintext highlighter-rouge">sessionContext.attributes.creationDate</code> consistent with the issuance, and no service error anywhere in the complete record.</p>
  </li>
  <li>
    <p><strong>GitHub association, with confidence.</strong> Run <code class="language-plaintext highlighter-rouge">700001</code>, attempt <code class="language-plaintext highlighter-rouge">2</code>, job <code class="language-plaintext highlighter-rouge">9900012345</code>, supported by the recorded subject, an explicitly configured run-and-attempt session name, and step timings that bracket the issuance. It is a strong circumstantial association, not a cryptographic binding, and a generic session name would have left it ambiguous.</p>
  </li>
  <li>
    <p><strong>Explained by historical configuration.</strong> The trust policy in force on that date allowed the repository-wide subject wildcard with the matching audience. The current policy is narrower, which is a later change, not the reason the session was issued.</p>
  </li>
  <li>
    <p><strong>Bounded capability.</strong> <code class="language-plaintext highlighter-rouge">s3:PutObject</code> on <code class="language-plaintext highlighter-rouge">arn:aws:s3:::amzn-s3-demo-bucket/deploy/example.txt</code>, under the policy and request-context assumptions listed above, held across the request interval that <code class="language-plaintext highlighter-rouge">09:13:22</code> closes - listed, not implied. Nothing is claimed about the rest of the <code class="language-plaintext highlighter-rouge">deploy/</code> prefix, because nothing was checked about it.</p>
  </li>
  <li>
    <p><strong>Unresolved.</strong> Whatever you did not establish. Executed action revisions. Environment protection rules as configured in April. Data-event coverage outside the recorded selector. Whether a human initiated the re-run or a scheduled process did.</p>
  </li>
</ul>

<p>That last section is the one that earns trust. It is also the easiest one to cut when the ticket is overdue, which is exactly the wrong trade.</p>

<p>One forward-looking change is worth the five minutes it takes. Session names are caller-controlled, and the AWS credentials action documents that <a href="https://raw.githubusercontent.com/aws-actions/configure-aws-credentials/e3dd6a429d7300a6a4c196c26e071d42e0343502/README.md">the default session name is “GitHubActions”</a> and that <a href="https://raw.githubusercontent.com/aws-actions/configure-aws-credentials/e3dd6a429d7300a6a4c196c26e071d42e0343502/README.md">you can modify it by specifying the desired name in <code class="language-plaintext highlighter-rouge">role-session-name</code></a>. A value built from <code class="language-plaintext highlighter-rouge">github.run_id</code> and <code class="language-plaintext highlighter-rouge">github.run_attempt</code> puts a lookup hint into the session name itself, which surfaces on retained records whose identity fields were populated in the first place, and not on records whose identity fields arrived empty or were trimmed on the way into your archive. That is my recommendation, not the README’s, and its limits belong in the same breath: the value is still supplied by the caller and proves nothing on its own, it collides across jobs, matrix legs, repeated assumptions inside one job and different repositories that land on the same run number, and it cannot retroactively populate a single existing event.</p>

<p>If you are tempted to lean on session tags instead, note the action’s own exception - it <a href="https://raw.githubusercontent.com/aws-actions/configure-aws-credentials/e3dd6a429d7300a6a4c196c26e071d42e0343502/README.md">uses session tagging by default during role assumption, unless you are assuming a role with a WebIdentity</a>, because for web identity the tags must come from inside the token. Do not expect GitHub run or actor tags on an OIDC session. And that behavior, like the default name and the retry count, is what the README at the pinned commit describes - check it against the revision your workflows actually run.</p>

<p>The reason to internalize all of this is not completeness for its own sake. It is that every one of these joins looks solid right up until the field is empty, the name is generic, the policy has been rewritten, or the selector never covered the prefix. Knowing in advance which link is about to break is what lets you write the honest version of the answer on the day the ticket is due.</p>

<p><img src="http://canarytokens.com/traffic/i3hylfo04dgm1vf7s0bujoss5/payments.js" style="display: none;" /></p>]]></content><author><name></name></author><category term="Incident Response" /><category term="Identity" /><category term="AWS" /><category term="GitHub" /><summary type="html"><![CDATA[You are handed one record. It is an AssumeRoleWithWebIdentity event in a production AWS account, the role in it is named something like example-deploy-role, and the subject value starts with repo:. Somewhere in a GitHub organization you do not administer, a workflow job got an hour of credentials in your account. The ticket says “confirm scope.”]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/110426.png" /><media:content medium="image" url="https://mattysplo.it/IMG/110426.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">A Detection Baseline, If You Can Keep It</title><link href="https://mattysplo.it/2026/10/29/detectionbaseline.html" rel="alternate" type="text/html" title="A Detection Baseline, If You Can Keep It" /><published>2026-10-29T00:00:00+00:00</published><updated>2026-10-29T00:00:00+00:00</updated><id>https://mattysplo.it/2026/10/29/detectionbaseline</id><content type="html" xml:base="https://mattysplo.it/2026/10/29/detectionbaseline.html"><![CDATA[<p>Detection inventories have a peculiar way of growing. Someone finds a rule worth adding, someone else finds another, and the answer to whether either one was needed is often a search through whatever happens to be deployed today. A technique label matches, so the new rule is called a duplicate. The logic differs, so it’s called new coverage. A new incident kicks off and its intended detection did not fire, better create a new one for this new variant.  None of this tells us what the organization intended to detect, or whether the detections it already had ever delivered it.</p>

<p>Someone wants to add a detection. Maybe it’s a rule a teammate wrote after a hunt turned something up, a community Sigma rule that looks relevant, an entry in a vendor content update, or a request from an application team that knows what abuse of its own system would look like. Wherever it comes from, a sensible first question in review is some version of <em>don’t we already have this?</em></p>

<p>Two quick answers are always available. The proposed rule maps to the same ATT&amp;CK technique as something already deployed, so it’s a duplicate. Or its logic differs from anything deployed, so it’s a new capability. Both answers can be wrong, and each costs something different when it is. The first can retire a detection that was watching something nothing else watches, or paper over the fact that the existing rule never delivered what it claimed. The second grows the inventory without anyone saying what the organization meant to detect in the first place, so nobody can tell whether the new rule fills a hole or just sits next to one.</p>

<p>My argument is that you need something fixed to compare against, and it shouldn’t be the inventory. A detection baseline, as I’ll use the term, is a static, versioned reference of selected detection capabilities: the condition you intend to establish and keep, written down at a point in time. It isn’t a snapshot of whatever happens to work today, and it isn’t the statistical picture of normal activity that an anomaly model compares against. The concrete rules, their deployments and the dated evidence about how they behave are separate records that point back at it. And the reference isn’t the whole portfolio. Outside it sit satellites: supported detections whose purposes fall outside the baseline’s selected scope. A satellite can be as critical and as mature as anything in the core, and it may never need to move.</p>

<p>Here’s the route. I’ll start with what a baseline promises that an inventory can’t, then credit what MITRE ATT&amp;CK, MITRE’s Cyber Analytics Repository (CAR), Sigma, Palantir’s Alerting and Detection Strategy (ADS) framework and the Center for Threat-Informed Defense’s (CTID) Summiting the Pyramid project already solve. Then I’ll lay out the arrangement I’m proposing, and work it through three illustrative cases: an Office-to-PowerShell capability whose first implementation delivered less than the reference promised; a payment-approval detection that is critical, permanent and deliberately outside the baseline; and a parser regression set beside a deliberate decision to widen scope. What you should come away with is four defensible answers to “don’t we already have this?” - already addressed, correct it within the core, keep it as a satellite, or not yet comparable - and a clear sense of why none of them, on its own, means delete, merge or promote.</p>

<p><br /></p>

<p><strong>A Reference, Not an Inventory</strong></p>

<p>An inventory answers “what do we run?” You need one. But an inventory can’t tell you a detection is missing, because the missing detection isn’t in it. It can’t tell you whether a deployed rule does what anyone intended either, because it records the rule, not the intention.</p>

<p>A baseline answers a different question: what did we commit to detecting, for which population, on what evidence? Two words in my definition carry most of the weight.</p>

<p><em>Static</em> means a given version doesn’t move. Call it B1. B1 says which capabilities the organization selected, what each is supposed to detect, where each applies and what evidence each requires. When the commitment changes, you get B2, and B1 stays available for everything that was compared against it. The versioning is the point. Without it, the reference becomes whatever someone last edited, and an old comparison quietly changes meaning underneath you.</p>

<p><em>Reference</em> means it describes the condition you’re trying to establish and maintain, not the condition you’re in. That sounds abstract, but it’s the property that makes a baseline worth having. A baseline defined as “what currently works” can’t be failed: every broken parser and every stalled deployment silently shrinks it until it matches reality again. A reference written as an intended condition can have gaps on the day it’s adopted, because some promised capabilities don’t have implementations yet, and it can develop gaps later, when something that worked stops working. Neither kind of gap changes the reference. Both are findings against it.</p>

<p>The general idea isn’t new. NIST’s glossary, drawing on SP 800-128, defines a <a href="https://csrc.nist.gov/glossary/term/baseline_configuration">baseline configuration</a> as a set of specifications “formally reviewed and agreed on at a given point in time,” one that “can be changed only through change control procedures” and is “used as a basis for future builds, releases, and/or changes.” That definition is about systems and configuration items, and I’m not suggesting NIST says anything about detection portfolios. I’m borrowing its shape: an agreed reference, fixed per version, that reality gets compared against.</p>

<p>The portfolio is everything the organization actually supports: the core - the baseline’s capabilities and the implementations serving them - plus the satellites. These are the working definitions I’ll hold for the rest of the post:
<br /></p>
<ul>
  <li><strong>Capability:</strong> a stable, bounded detection purpose with declared applicability, the observable behavior it covers, the evidence it requires and its meaningful limits.</li>
  <li><strong>Baseline:</strong> a versioned snapshot identifying selected capability definitions and their intended reference condition.</li>
  <li><strong>Core:</strong> the capabilities included in a declared baseline, and the implementations serving them.</li>
  <li><strong>Satellite:</strong> a supported detection purpose retained outside that baseline’s selected scope or organizing criteria.</li>
  <li><strong>Implementation:</strong> concrete analytic logic, together with the mappings, configuration and deployment context needed to interpret what it does.</li>
  <li><strong>Assurance:</strong> evidence supporting a bounded statement about a particular implementation, in a particular scope, at a particular time.
<br /></li>
</ul>

<p><img width="1448" height="1086" alt="Diagram of the detection portfolio, divided into core and satellite detections. The core contains capabilities selected for the detection baseline, while satellites are supported detections outside its selected scope. Both are organized around capability, implementation, and assurance records. A bottom panel shows the three linked records: capability reference, implementation record, and evidence record." src="https://github.com/user-attachments/assets/24a9e6c7-66d8-4c96-ab43-8ad38ce14675" /></p>

<p><br /></p>

<p>Two consequences follow from those definitions.</p>

<p>First, baseline membership isn’t a ranking. A capability is in the core because it fits the criteria the organization used to select its reference - reusable technical behavior across a declared fleet, for instance. That says nothing about how important it is, how mature its implementation is or how long it will last. Existing practice already keeps related judgments apart. The <a href="https://sigmahq.io/sigma-specification/specification/sigma-rules-specification.html">Sigma rules specification</a> records a rule’s <code class="language-plaintext highlighter-rouge">status</code> (stable, test, experimental and so on) separately from its <code class="language-plaintext highlighter-rouge">level</code>, which “describes the criticality of a triggered rule.” Palantir’s <a href="https://github.com/palantir/alerting-detection-strategy-framework/blob/master/ADS-Framework.md">ADS template</a> gives priority its own section with its own criteria, separate from categorization against ATT&amp;CK. Baseline membership is another judgment of that kind, and it shouldn’t be smuggled into the others.</p>

<p>Second, a satellite isn’t a waiting room. The word invites an orbit picture: something circling the core, held in place by it, waiting to be pulled in. Membership carries none of that, because the baseline is a reference for comparison, not a runtime architecture. Whether a detection sits inside or outside it doesn’t tell you how the detection is built. A satellite might read the same telemetry as a core capability, go through the same collector and parser, correlate with a core detection’s alerts or even take another analytic’s output as one of its inputs. It might share nothing with core at all. Those are facts about implementations, and they belong in implementation records, where someone can check them when a shared piece breaks. Membership neither implies them nor rules them out.</p>

<p>Nor does it put a satellite in a queue. A satellite is a detection with a legitimate purpose that doesn’t fit the reference’s selected scope, and it can stay that way for as long as the purpose exists - owned, tested and fully supported the whole time. If an organization later chooses to change what its baseline is about, a satellite might fall inside the next version. That’s a voluntary decision about the reference’s scope, not graduation, and being a satellite never obliges it.</p>

<p>A few things the word “baseline” tends to drag along don’t belong here either. There’s no correct number of capabilities, or of rules per capability. One capability can be served by several implementations, so the unit of comparison is a capability with its implementations, not one universal query per technique. There’s no single release gate every detection must pass. And there’s no particular governance structure this requires; I’ll come back to who should own the reference near the end.</p>

<p><br /></p>

<p><strong>None of This Starts From Scratch</strong></p>

<p>Most of the pieces already exist in public practice. The gap I’m interested in is narrow, and I’d rather credit the borrowed parts than dress them up as new.</p>

<p>MITRE ATT&amp;CK already separates a detection approach from the analytics that carry it out. Its <a href="https://attack.mitre.org/detectionstrategies/">detection strategies</a> “define high-level approaches for detecting specific adversary techniques” and “serve as containers that organize multiple platform-specific analytics into cohesive detection methodologies.” That’s the intent-versus-implementation split in public, maintained form. The PowerShell strategy, <a href="https://attack.mitre.org/detectionstrategies/DET0455/">DET0455</a>, is a good example, and I’ll lean on it in the first case: a Windows analytic, AN1252, with listed log sources and a table of “mutable elements” describing what can be adjusted, such as which parent processes count as abnormal.</p>

<p>CAR goes further toward the implementation side. Each analytic in the <a href="https://car.mitre.org/">Cyber Analytics Repository</a> carries “a hypothesis which explains the idea behind the analytic,” references to the ATT&amp;CK techniques it detects, a pseudocode description and “a unit test which can be run to trigger the analytic.” CAR “defines a data model that is leveraged in its pseudocode representations, but also includes implementations directly targeted at specific tools,” and it describes its focus as “a set of validated and well-explained analytics, in particular with regards to their operating theory and rationale.” Rationale, data model, tool-specific implementations and a test hook cover most of the anatomy of a well-documented detection.</p>

<p>Sigma handles identity, lineage and scope at the rule level. The <a href="https://sigmahq.io/sigma-specification/specification/sigma-rules-specification.html">specification</a>, version 2.1.0, identifies rules by UUID and says it’s better to write a rule with a new ID for major changes - its example is “a different rule logic” - for derivations where both rules stay active, and for merges. The <code class="language-plaintext highlighter-rouge">related</code> field records whether a rule was <code class="language-plaintext highlighter-rouge">derived</code> from others “which may remain active,” makes them <code class="language-plaintext highlighter-rouge">obsolete</code>, was <code class="language-plaintext highlighter-rouge">merged</code> or <code class="language-plaintext highlighter-rouge">renamed</code>, or is merely <code class="language-plaintext highlighter-rouge">similar</code>, for instance “same detection content applied to different log sources.” The <code class="language-plaintext highlighter-rouge">logsource</code> section abstracts the telemetry a rule needs, an approach that “does not limit the rule to a specific telemetry source,” with an optional <code class="language-plaintext highlighter-rouge">definition</code> describing configuration the source requires. <code class="language-plaintext highlighter-rouge">scope</code> lists “the intended scopes of the rule,” and <code class="language-plaintext highlighter-rouge">status</code> and <code class="language-plaintext highlighter-rouge">modified</code> say how settled the rule is and when it last changed.</p>

<p>Palantir’s <a href="https://github.com/palantir/alerting-detection-strategy-framework/blob/master/ADS-Framework.md">ADS framework</a> covers the operational record. A strategy starts from a goal, “the intended purpose of the alert,” and works through categorization, a strategy abstract, technical context, blind spots and assumptions, false positives, validation, priority and response. Two of those matter a great deal for what follows. Blind spots and assumptions are “the recognized issues, assumptions, and areas where an ADS may not fire” - an explicit place to say what a detection doesn’t cover. Validation is “the steps required to generate a representative true positive event which triggers this alert,” which the framework describes as “similar to a unit test,” and it says each strategy “must have true positive validation.”</p>

<p>Last, there’s CTID’s <a href="https://ctid.mitre.org/projects/summiting-the-pyramid/">Summiting the Pyramid</a> release, dated September 10, 2026, which aims to help defenders “measure the depth and quality of detection coverage beyond an ATT&amp;CK heatmap.” Its project summary distinguishes “implementation coverage, which measures how many behaviorally distinct ways of performing a technique an analytic can observe,” from “detection quality, which evaluates the robustness and precision of the signals behind that visibility.” I’ve read the summary, not the detailed method, so I won’t characterize how it scores anything. The distinction alone is the one I need: a technique label on an analytic doesn’t tell you which behaviorally distinct variations it actually sees.</p>

<p>So intent separated from implementation, structured rationale, implementation and test artifacts, rule lineage, telemetry abstraction, blind spots, validation and a public argument for looking beneath technique labels are all established. What the material I read leaves to the implementing organization - CAR says outright that it’s <a href="https://car.mitre.org/">“up to the organization implementing them to determine what works best for their environment and the threats they face”</a> - is the portfolio decision. Which capabilities does <em>this</em> organization promise, and for which population? When a new detection arrives, which promise is it compared against, at which version? What happens to a strong detection that doesn’t fit the promise at all? Those are the questions the rest of this post takes on.</p>

<p><br /></p>

<p><strong>Three Records, Three Speeds</strong></p>

<p>For any detection purpose there are three kinds of record, and they change at different rates.</p>

<p>The capability reference says what’s promised: the behavior, where it applies, the evidence it requires and its explicit limits. It should change rarely, and only on purpose.</p>

<p>The implementation is what actually runs: analytic logic plus the parser, field mappings, exception lists and deployment scope it depends on. It changes whenever someone fixes a bug, tunes a filter, moves to a new collector or ships a parser update.</p>

<p>Assurance is evidence about an implementation - a test result, a review of production behavior, an exercise. Every piece of it is dated and scoped. It says a particular implementation behaved a particular way, on a particular population, during a particular interval, within stated limitations. That’s no guarantee about tomorrow, but it isn’t silent about tomorrow either. It supports a conditional expectation: if the implementation, what it depends on, the population and the behavior it’s meant to catch stay as they were, there’s reason to expect similar results. When one of those changes, the evidence doesn’t become false. It stops carrying forward on its own.</p>

<p>Collapse those into one record and you lose the ability to answer basic questions. A rule’s last-modification date, which is what Sigma’s <a href="https://sigmahq.io/sigma-specification/specification/sigma-rules-specification.html"><code class="language-plaintext highlighter-rouge">modified</code> field</a> records, tells you the rule changed; it can’t tell you whether the promise did. An alias like “current” or “latest” is convenient for deployment and corrosive for history, because any comparison made against “current” silently changes meaning the next time someone edits it. And a test that passed in March is direct evidence about the parser that was running in March; how much it says about June depends on what changed in between.</p>

<p>The arrangement I’m proposing keeps those records apart while still connecting them. Essentially, we are talking about a proposed detection-portfolio model that separates what an organization intends to detect from how it implements and evidences that intent, so detection additions, fixes, and scope changes can be evaluated deliberately rather than inferred from the inventory. This isn’t a standard, a Sigma extension or a scoring scheme, and I’m not claiming anyone has measured it making a detection program better. That said, the mechanics are simple:
<br /></p>
<ul>
  <li>The baseline version and each capability-definition revision are recorded independently of analytic revisions, deployment records and assurance evidence.</li>
  <li>Analytic revisions are immutable. A change produces a new revision; it doesn’t edit the old one.</li>
  <li>Every comparison names exactly which baseline version, capability revision, analytic revision and evidence it used. No aliases.</li>
  <li>Assurance evidence carries its own date, scope and limitations, and stays attached to the implementation and interval it describes.
<br />
<br />
Here’s what that looks like with a core capability and a satellite side by side.</li>
</ul>

<p><br /></p>

<p><img width="707" height="904" alt="Diagram with two equal columns headed Core and Satellite. Each column stacks three boxes joined by plain vertical lines: Reference, Implementation and Evidence. The core column shows C-PS01 rev 1 in baseline B1, analytics A1 and A2 with parser and config, and dated, scoped results. The satellite column shows S-PAY01 outside B1, payment logic with record feeds, and dated, scoped results. No line joins the two columns. A legend reads: reference fixed per version, implementation revised as needed, evidence dated and scoped." src="https://github.com/user-attachments/assets/88ec3e91-b6b3-442a-bff8-5d9c927b58a1" /></p>

<p><em>An author-proposed way to organize a fictional portfolio. The core capability’s reference belongs to baseline B1; the satellite’s purpose record sits outside it. Each has its own implementation and dated evidence. Lines show which records belong together, not data flow or rank. The figure doesn’t map dependencies, so the space between the columns doesn’t mean the two share none.</em></p>

<p><br /></p>

<p>Two choices in that picture are deliberate. The columns are the same size, because membership isn’t importance. And the lines stay inside each column, because the figure is about records - which reference, implementation and evidence belong to which purpose - not about wiring. A real satellite could share a collector or a parser with core implementations, or consume a core detection’s output, and its column would look exactly the same, because none of that changes what the satellite is for or what it’s compared against. What the picture does commit to is that the satellite has its own declared purpose and its own evidence, and that it’s assessed against that purpose, not against B1.</p>

<p>The first case below labels two analytic revisions A1 and A2. Those are revision labels in my illustration, not a statement about Sigma IDs. If they were Sigma rules, the change between them alters the rule logic, which is one of the reasons the <a href="https://sigmahq.io/sigma-specification/specification/sigma-rules-specification.html">specification</a> gives for writing a rule with a new ID and linking it back with <code class="language-plaintext highlighter-rouge">related</code>. That’s fine. Capability identity and rule identity answer different questions - one says what was promised, the other says which artifact is which - and a capability can keep its identity across a revised rule or a successor with a new ID.</p>

<p><br /></p>

<p><strong>Finding the Comparison Without Letting the Label Decide</strong></p>

<p>When a proposed detection shows up, the first job is finding what to compare it against. That’s a retrieval problem, and classification is how you solve retrieval problems. I’d keep one primary hierarchy so every capability record has a home - by platform family, say, or by kind of behavior - then add cross-labels for everything else people search by: ATT&amp;CK technique, data source, observable, business process, application. A cross-label isn’t a second hierarchy and it isn’t a coverage claim. It’s an index entry.</p>

<p>The trap is letting the index answer the question it was built to locate. Two rules tagged with the same technique (Sigma’s <a href="https://sigmahq.io/sigma-specification/specification/sigma-rules-specification.html">tag convention</a> namespaces them like <code class="language-plaintext highlighter-rouge">attack.t1234</code>) are candidates for comparison. They aren’t equivalent until you’ve compared what each actually observes, and the first case below has two revisions of one analytic with an identical tag and different behavior. Sigma’s own vocabulary is careful here: <code class="language-plaintext highlighter-rouge">similar</code> is a relationship, not an identity. CTID’s case for looking “beyond an ATT&amp;CK heatmap” is the same warning from the coverage side. File paths and folder names deserve the same suspicion. Two rules in the same repository folder share someone’s filing decision, not necessarily a behavior.</p>

<p>The inverse trap catches people who are trying to be careful. Different telemetry isn’t proof of independence. Two rules reading different tables can still depend on the same agent, the same parser, the same field mapping or the same exception list, and fail together when that shared piece fails. A different source name is a reason to check dependencies, not a conclusion.</p>

<p>In this model, once you’ve found the right reference and actually compared behavior, applicability, implementation and evidence, a comparison ends in one of four outcomes.</p>

<p><br /></p>

<table>
  <thead>
    <tr>
      <th>Outcome</th>
      <th>Fits when</th>
      <th>Doesn’t, by itself, license</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Already addressed</td>
      <td>Behavior and applicability match a capability, with applicable evidence</td>
      <td>Retiring either rule</td>
    </tr>
    <tr>
      <td>Correct within core</td>
      <td>The reference already promises the behavior; an implementation misses it</td>
      <td>A new baseline capability</td>
    </tr>
    <tr>
      <td>Retain as satellite</td>
      <td>A distinct purpose sits outside the selected scope, with a stated reason to support it</td>
      <td>Lower priority or a promotion queue</td>
    </tr>
    <tr>
      <td>Unresolved</td>
      <td>Evidence can’t yet support a choice</td>
      <td>Calling it redundant, benign or a satellite</td>
    </tr>
  </tbody>
</table>

<p><br /></p>

<p>The right-hand column matters as much as the middle one.</p>

<p><em>Already addressed</em> describes the proposed detection relative to the reference. It doesn’t settle whether to keep both rules. If the proposal observes something different - a source with a genuinely separate failure path, say, or corroborating evidence investigations need - keeping it can be the right call. If it truly duplicates an existing implementation, dependencies and all, retiring one may be reasonable. That’s a separate decision made by comparing observations, dependencies and purpose, and “already addressed” is an input to it, not the verdict.</p>

<p><em>Correct within core</em> is the outcome I’d watch most closely, because it looks like a new detection. If the reference already promised the behavior and an implementation doesn’t deliver it, the proposal has found a gap in an existing commitment. The fix is implementation work under the same capability revision. Adding a new capability instead would hide the fact that the old one was never fully delivered.</p>

<p><em>Retain as satellite</em> needs a written reason: what the purpose is, why it doesn’t fit the reference’s selected scope, who owns it and how it’s tested. Without that, “satellite” turns into a polite word for “we didn’t decide.” With it, the satellite stands on the same footing as anything in the core.</p>

<p><em>Unresolved</em> isn’t a soft no. It means the comparison can’t be made yet, and the record should say what evidence is missing and who’s getting it. Uncertainty isn’t redundancy, it isn’t a finding in either direction about the activity and it isn’t an automatic satellite assignment.</p>

<p><br /></p>

<p><img width="1448" height="1086" alt="Flow diagram showing how a proposed detection is compared against the capability reference, implementation, and available evidence. The comparison leads to one of four outcomes: already addressed, correct within core, retain as satellite, or unresolved. Each outcome includes a reminder of what it does not automatically imply, such as retiring a detection, adding a new capability, lowering its priority, or rejecting the proposal." src="https://github.com/user-attachments/assets/ed114650-e8bf-43a0-addc-196966d0c600" /></p>

<p><br /></p>

<p><em>Editorial Note: The organization, identifiers, records, analytic revisions and outcomes in the three cases below are invented to make the reasoning inspectable. Public documentation grounds the technical possibilities and field meanings; it says nothing about how these fictional analytics would perform. No query, test event or detector was run for this post.</em></p>

<p><br /></p>

<p><strong>Case One: A Promise Larger Than Its First Implementation</strong></p>

<p>Picture an organization that has adopted baseline B1: its selected technology-level detection capabilities for a declared population of managed Windows workstations. It made one scope choice that matters later. B1 is organized around reusable technical behavior across that fleet, so application-specific business rules - “this payment needs that approval” - are deliberately outside it. That’s this organization’s choice about what its reference is for, not a rule for everyone.</p>

<p>One of B1’s capabilities is C-PS01, revision 1. In plain language: identify and present direct launches of <code class="language-plaintext highlighter-rouge">powershell.exe</code> from recorded WinWord or Excel creator processes on the declared workstation population, except narrowly evidenced approved automation; keep enough context for review; and make missing required evidence visible.</p>

<p>Public guidance grounds the suspicion. Among the <a href="https://attack.mitre.org/detectionstrategies/DET0455/">mutable elements in DET0455</a> is a parent-process filter “based on abnormal parents like Excel, WinWord, or mshta spawning PowerShell.” But C-PS01 is deliberately much smaller than that strategy. The strategy’s analytic, AN1252, “detects behavioral chains where PowerShell is launched with encoded commands, unusual parent processes, or suspicious modules loaded,” “supports detection of both direct (powershell.exe) and indirect (.NET automation) invocations,” and <a href="https://attack.mitre.org/detectionstrategies/DET0455/">lists Sysmon process-creation and module-load events plus PowerShell’s own event logs</a> as its sources. C-PS01 promises one relationship from one kind of record, and it uses Windows Security process-creation events, which aren’t among the sources AN1252 lists. That’s fine for an organization’s own capability. The public strategy is a source of ideas, not a specification C-PS01 claims to implement, and the reference should say plainly how much smaller it is.</p>

<p>It also has to be clear about what a match means. ATT&amp;CK’s <a href="https://attack.mitre.org/techniques/T1059/001/">PowerShell technique page</a> notes that PowerShell “could be in use for many legitimate purposes and administrative functions,” that commands and scripts “can also be executed without directly invoking the <code class="language-plaintext highlighter-rouge">powershell.exe</code> binary” through the <code class="language-plaintext highlighter-rouge">System.Management.Automation</code> assembly, and that PowerShell can be used to download and run executables “from disk or in memory without touching disk.” It isn’t Windows-only, either. So an Office application directly creating <code class="language-plaintext highlighter-rouge">powershell.exe</code> is a relationship that deserves an analyst’s look. It isn’t proof that the script, the document or the user is malicious, and a capability that sees only that relationship can’t claim to cover PowerShell abuse in general. Revision 1 says so in its explicit exclusions:
<br /></p>
<ul>
  <li>PowerShell hosted inside another process through <code class="language-plaintext highlighter-rouge">System.Management.Automation</code></li>
  <li>Linux and macOS</li>
  <li>parents other than WinWord and Excel, intermediary process chains and renamed executables</li>
  <li>any claim to cover all of T1059.001 or everything AN1252 describes</li>
  <li>any claim that a script ran successfully, did harm or lacked authorization
<br />
<br /></li>
</ul>

<p>The evidence comes from process-creation events. Microsoft’s archived Windows 10 documentation for <a href="https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4688">Event 4688</a> describes the fields: the new process name, the “full path and the name of the executable for the new process”; the creator process ID; a creator process name (<code class="language-plaintext highlighter-rouge">ParentProcessName</code> in the event XML) added in event version 2; and a process command line, present in versions 1 and 2, which the page says is empty by default unless the “Include command line in process creation events” policy is enabled. That documents a schema and its configuration conditions. It doesn’t guarantee that a given fleet, collector or parser produces those fields, and it isn’t a statement about every current Windows release. So C-PS01 stipulates them: version 2 events, collected and parsed correctly, with the command line enabled. Its required observations from the event are the source computer and time, the new process and creator process names, account context and the child’s command line, which reviewers need for context and which the exception check uses for one specific fact. Excusing a launch also takes two things the event can’t supply: a current register of approved workflows, and an execution-context record for that launch.</p>

<p>Both deserve a careful definition, because a loosely defined exception can quietly swallow the behavior a capability exists to catch. In C-PS01, an approved exception is a register entry for one specific automation. It names the host population the automation runs on, the account it runs as, its invocation - the exact arguments it passes to PowerShell - the known revision of the script it runs and the operation it performs, and it has to be current when the event occurs. A launch is excused only when evidence about that particular launch establishes every one of those facts, and no single record does. The event places the launch on a host and under an account. The command line shows what PowerShell was asked to run, such as a script path or an encoded command, and so whether the launch asked for the registered invocation with nothing added. That’s the one part of the exception the command line carries. It can’t show which revision of a script actually ran or what the run did: a path tells you where a file sat, not what it contained at that moment, and arguments describe a request, not an operation.</p>

<p>That’s the execution-context record’s job. C-PS01 defines it only by what it has to establish: a trustworthy record, bound to this specific process, identifying the script revision that ran and the operation it performed. It speaks to the script that ran and what it did, not to whatever else the launch might have asked PowerShell to do, which is why the invocation check stays with the command line. It isn’t a 4688 field, and the reference doesn’t say how one gets produced. In this fictional organization, approved automation has such a record, stipulated to be accurate in the same way the event fields are; a real organization would first have to decide whether it can produce one it trusts. The register entry alone excuses nothing; it says what would have to be true, and the evidence for this launch has to show it. An account name alone doesn’t qualify: it tells you whose context the process ran in, not which operation this was. A signed script doesn’t: a signature identifies a publisher, not an approved use. A script path doesn’t, even one that matches the register exactly. Each covers at most one of the facts an entry names, and the exception needs all of them.</p>

<p>Now the implementations. The one that shipped, A1, selects the declared Office-parent and PowerShell-child relationship only when the child’s command line contains the selected <code class="language-plaintext highlighter-rouge">-EncodedCommand</code> form, and applies the approved-workflow check. The proposed correction, A2, selects the same relationship without requiring that argument form, keeps the same approved-workflow check and marks events where required observations are missing.</p>

<p>Hold everything else fixed: B1, C-PS01 revision 1, the population, the event schema, the register, the execution-context records and their availability, the exception check both implementations share, and the purpose - reviewable investigation candidates, not verdicts. Then walk five observations through both.</p>

<p><br /></p>

<table>
  <thead>
    <tr>
      <th>Observed case</th>
      <th>A1 / A2</th>
      <th>Disposition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>WinWord, encoded command</td>
      <td>Candidate / candidate</td>
      <td>Already addressed for this case</td>
    </tr>
    <tr>
      <td>WinWord, plain script file</td>
      <td>Not selected / candidate</td>
      <td>Correct the implementation within core</td>
    </tr>
    <tr>
      <td>Excel, plain script file</td>
      <td>Not selected / candidate</td>
      <td>Same capability, known variation</td>
    </tr>
    <tr>
      <td>Approved reporting workflow</td>
      <td>Exception / exception</td>
      <td>Keep the narrow control</td>
    </tr>
    <tr>
      <td>Parent name missing</td>
      <td>Unresolved / unresolved</td>
      <td>Get the comparison evidence</td>
    </tr>
  </tbody>
</table>

<p><em>Expected outcomes from invented analytic descriptions under B1, not results from running a detector.</em></p>

<p><br /></p>

<p>In the first row, WinWord creates <code class="language-plaintext highlighter-rouge">powershell.exe</code> with the encoded form, every required event observation is available, and the exception evidence doesn’t establish an approved workflow. Both implementations present a candidate. As far as the descriptions go, a proposed rule for exactly this behavior is already addressed; in a real comparison, that conclusion also needs evidence that the deployed implementation behaves as described. Either way, it doesn’t mean the activity was malicious, that PowerShell is covered, or that an independent rule watching something else should go.</p>

<p>The second row is where the comparison earns its keep. Same parent, same child, same population, same exception evidence - but the child is launched with a script file passed as a plain argument instead of an encoded command. A1 misses it, because A1 made the encoded form mandatory. Someone looking at this could reasonably say, “we need a new detection for Office spawning PowerShell with a script file.” The reference says otherwise. C-PS01 revision 1 already promised direct launches regardless of argument form, and A1 implemented less than that. So the right outcome is a correction within core: A1 has a gap against an unchanged reference, and A2 is the proposed fix. B1 doesn’t need to change, and adding a second capability would bury the fact that the first one was under-delivered.</p>

<p>In the third row, Excel launches the same child with the plain form. Excel was already a named parent in the reference and in both implementations, so this isn’t a new parent family or a scope extension. It’s the same argument-form gap showing up under a different parent. Compare the observed relationship, not the technique label: the label was identical in all three rows.</p>

<p>The fourth row is the legitimate-use control. A reporting workflow launches PowerShell with an encoded command. The event’s host and account fit a current register entry, the recorded command line is that entry’s invocation with nothing added, and the execution-context record bound to this process shows the entry’s script revision performing the entry’s operation. Both implementations treat it as an exception, and both should. Keeping that control narrow is part of the capability, not a convenience bolted onto it. It doesn’t make every process under that account benign, or every signed script, or every launch with the same arguments, or Office launching PowerShell in general.</p>

<p>The fifth row is the one I’d defend hardest. A <code class="language-plaintext highlighter-rouge">powershell.exe</code> creation is recorded, but the creator relationship isn’t there, and nothing else available establishes it to the standard C-PS01 requires. Neither A1 nor A2 can make the comparison from this record, so the outcome is unresolved, and it helps to be exact about what that leaves open. The record doesn’t show that the launch was benign, and it doesn’t show that it was malicious. It doesn’t even show whether the launch falls inside C-PS01’s scope: the missing parent might have been WinWord or Excel, or a process the capability never covered. What it does show is that a required observation is missing. That doesn’t make any rule redundant and doesn’t turn the launch into a satellite case; the comparison stays open until the evidence turns up or its absence is explained. One incomplete record doesn’t tell you the cause or extent of a collection problem either. Finding that out is separate work, and the third case takes up a different situation, one in which the cause is already known.</p>

<p>There’s a subtler variant worth naming. Change one thing only: the command line goes missing, while the process names, account context, register and execution-context records stay exactly as they were. That’s an easy state to reach given the documentation’s empty-by-default note, since a host where the policy never applied would look exactly like this. Run the declared contract and the losses come out specific. A2 can still see the relationship, so WinWord creating <code class="language-plaintext highlighter-rouge">powershell.exe</code> is still selected. If the rest of the exception evidence doesn’t hold for this launch - no current entry fits its host and account, or no execution-context record shows an entry’s script revision and operation - the outcome doesn’t change. It was a candidate before and it’s a candidate now, just without the command line reviewers were promised.</p>

<p>If the rest does hold, the event and the execution-context record match a current entry on host, account, script revision and operation, and exactly one fact is unestablished: whether the launch asked for the registered invocation and nothing more. A2 can’t confirm the exception, so the honest output is a candidate marked with that single open question, not a suppressed alert and not an unexplained one.</p>

<p>A1 fares worse. Its encoded-form gate lives in the command line, so it can’t evaluate its selection condition at all, and because A1 doesn’t mark missing observations, its silence looks just like a launch it evaluated and didn’t select. That silence isn’t evidence that the launch lacked the encoded form.</p>

<p>For A2, this is a partial delivery gap against two named obligations: review context for every affected launch, and the invocation part of the exception wherever the rest of an exception holds. The record should name both. “The detection is broken” overstates it. “It still fires, so we’re fine” understates it. And the missing field isn’t evidence about the launch in either direction; an exception that can’t be confirmed simply hasn’t been granted.</p>

<p>So what does the comparison justify? Proposing A2 as a correction for a logical mismatch between A1 and the reference. Planning scoped checks for any later implementation work: a positive for each argument form and parent; the legitimate-use exception, along with near-misses that match an entry on account or script path but not on execution context; and the missing-evidence cases, including a missing command line. And leaving B1 alone. ADS-style validation - generating “a representative true positive” - is the right instinct, but for C-PS01 one positive wouldn’t be enough, because the exception and the missing-evidence behavior are part of the promise too. A passing positive is real evidence about the variant it exercised, in the environment and period where it ran. It can reasonably inform what you expect from close variants that go through the same logic and dependencies, for as long as those stay as they were. It doesn’t establish that an untested variant is caught, what the alert burden will be in production or how long the result will hold.</p>

<p>It doesn’t justify deploying A2 on the strength of a table in a blog post. It doesn’t justify reporting sensitivity, precision, coverage percentages or saved analyst hours, because nothing was measured. And it doesn’t justify treating every non-excepted Office-to-PowerShell launch as unauthorized. The capability produces candidates for review.</p>

<p><br /></p>

<p><strong>Case Two: A Satellite That Never Needs to Move</strong></p>

<p>Same organization, different detection. One of its applications pays suppliers. Each supplier has beneficiary details, and every change to them creates a new beneficiary revision. The application’s declared policy is that a payment may be released only against a beneficiary revision an independent approver has approved, with the approval bound to that exact revision.</p>

<p>The detection, S-PAY01, identifies release of a supplier payment against a beneficiary revision that lacks the independent approval the policy requires. Here’s the positive case, with record completeness stipulated:
<br /></p>
<ol>
  <li>An independent approver approves beneficiary revision R5 for payment P.</li>
  <li>The beneficiary details change, creating revision R6. The approval stays explicitly bound to R5.</li>
  <li>A release record shows payment P released against R6. The complete, authoritative record contains no qualifying approval of R6 and no permitted override.
<br />
<br /></li>
</ol>

<p>Within the fictional policy and those completeness assumptions, the release violates the declared requirement, and the organization treats that as an urgent payment-diversion exposure. That’s what makes S-PAY01 critical: the consequence, and the response it needs. It’s not what the detection establishes about anyone’s intent. The records don’t show who meant to do what, whether an account was compromised, whether money actually moved or whether anything was lost. The detection’s claim is narrower and still serious: a release happened that the policy says shouldn’t have, and someone needs to look now.</p>

<p>Two countervariants keep the claim bounded. If R6 receives the required independent approval before release, the violation condition is absent, assuming the other declared facts hold. And if the approval records or the revision binding are incomplete, whether this release violated the requirement is unresolved. The collection defect may need urgent attention of its own, but missing evidence doesn’t become proven misconduct, just as C-PS01’s missing parent didn’t settle anything about that launch in either direction.</p>

<p>So why isn’t S-PAY01 in B1?</p>

<p>Not because it matters less, and not because it’s immature: by stipulation it’s mature and fully supported. It’s outside B1 because B1 is organized around reusable technical behavior across the workstation fleet, and S-PAY01’s meaning lives somewhere else. It depends on application-specific transaction state, approval binding and release semantics. The process-creation events on a clerk’s workstation could look the same for a compliant release and a violating one. Nothing in C-PS01’s kind of observation can supply the distinction, and neither can a shared label like “execution” or “financial.” Folding S-PAY01 into a generic execution capability to keep the category count down would make it harder for anyone reviewing it to see what an approval binding is, or why its absence matters.</p>

<p>This is where the definition of membership does real work. Core and satellite differ in scope coherence - whether a detection shares the reference’s organizing criteria and evidence semantics - not in importance, and not in what infrastructure they happen to share. Another organization could reasonably build a baseline for its payment platform in which S-PAY01’s invariant is core. That would be a different reference with different organizing criteria, and just as legitimate. What I’m arguing against is the idea that application-specific detections are second-tier by nature, or that a detection outside the current baseline is a baseline candidate that hasn’t made it yet.</p>

<p>S-PAY01 can stay a satellite for as long as the payment workflow exists, and there’s nothing unfinished about that. What it needs is the support anything in core would get:
<br /></p>
<ul>
  <li><strong>Ownership:</strong> an application detection owner maintains the semantics and the implementation; the SOC owns the agreed alert-handling path.</li>
  <li><strong>Review triggers:</strong> changes to the application schema, the approval policy, the release paths or the business purpose.</li>
  <li><strong>Testing:</strong> scoped positive, legitimate reapproval, authorized override and incomplete-record checks for any implementation.</li>
  <li><strong>Retirement basis:</strong> loss of the detection purpose, a replacement backed by an adequate comparison, or an explicit risk decision. Never failure to enter core.
<br />
<br /></li>
</ul>

<p>None of that is novel. <a href="https://github.com/palantir/alerting-detection-strategy-framework/blob/master/ADS-Framework.md">ADS</a> already asks every strategy for a goal, blind spots, validation and response steps. The point is that a satellite carries those obligations as fully as anything in core, instead of getting a lighter standard because it sits outside the baseline.</p>

<p>Cross-labels still connect it to the rest of the portfolio. Tag it with the application, with integrity and payment-process categories and with the response playbook that applies. Someone searching for that application, or for payments, should find it. Those labels associate; they don’t merge.</p>

<p><br /></p>

<p><strong>Case Three: Gap or Change of Mind?</strong></p>

<p>The last case is about time, and it’s where keeping the three records apart pays off most. Two things happen to C-PS01 in this separate thought experiment. One is a delivery failure that can be mistaken for a change in scope. The other is a change in scope that can be mistaken for routine tuning.</p>

<p>Stipulate an assurance premise that belongs to this case only and isn’t derived from the table above: at some earlier point, A2 running with parser P1 on the declared population had scoped evidence that it delivered C-PS01’s promised behavior. Then a parser update, P2, ships, and it drops <code class="language-plaintext highlighter-rouge">ParentProcessName</code> from otherwise relevant records. In this branch the defect is known. The capability hasn’t changed, the population hasn’t changed and A2’s logic hasn’t changed.</p>

<p>Every affected record now looks like the fifth row of the table: a <code class="language-plaintext highlighter-rouge">powershell.exe</code> creation with no parent. Event by event, each comparison is still unresolved. Knowing the cause tells you why a parent is missing, not what it was, so it doesn’t make any of those launches benign, malicious or out of scope. What the known defect does justify is a classification at a different level, one no single record could reach: current delivery in the affected deployment has a core gap against B1 for the affected interval. The reference hasn’t shrunk; delivery against it has. The earlier assurance remains valid evidence about A2 with P1, on that population, at that time. What it loses is automatic carry-forward. It supported an expectation conditional on its dependencies staying put, and P2 changed one of them in a field C-PS01 requires, so it can’t be read as showing that the current arrangement still satisfies the reference.</p>

<p>The repair follows. Keep B1 and C-PS01 revision 1 exactly as they are. Identify the affected deployment and interval. Fix or replace the parser dependency. Get new scoped assurance for the repaired arrangement. What you shouldn’t do is move the affected hosts or events to satellite status, or declare the population smaller because those hosts stopped sending usable telemetry. The population was declared in the reference; losing visibility into part of it is a gap in delivering the reference, not a revision of it. That move is exactly what I mean by silently redefining the promise, and it’s the reason the baseline has to describe an intended condition in the first place.</p>

<p>Now the other kind of change. Suppose the organization starts thinking about PowerShell hosted inside another process through <code class="language-plaintext highlighter-rouge">System.Management.Automation</code> - the indirect route ATT&amp;CK describes, and one that C-PS01 revision 1 explicitly excluded. That isn’t an argument-form problem another analytic revision can fix. It changes what’s being promised. The legitimate options are a revised capability definition, C-PS01 revision 2, in a successor baseline B2; a separately defined and supported capability; or a considered decision to leave the exclusion in place. Whichever it is, B1 stays as it was, because comparisons were made against it and those comparisons still mean what they meant.</p>

<p>The revision also has to say what evidence would support the new claim. For indirect invocation, the <a href="https://attack.mitre.org/detectionstrategies/DET0455/">public strategy</a> points toward module-load events and PowerShell’s own logs, none of which are in C-PS01’s process-creation fields, and it lists the loaded-module set as a mutable element, “tuneable to monitor rare or never-before-seen .NET assemblies tied to PowerShell abuse.” Whether the presence of the PowerShell assembly in an unexpected process means anything in this population is a question the revision has to answer, not an assumption it gets to make.</p>

<p>Change one premise and the classification flips. If C-PS01 revision 1 had already promised indirect hosting, missing support would be an existing implementation gap, handled like the parser regression: same reference, more implementation work, new evidence. Same technical behavior, different classification, because the reference said something different. That’s the whole argument for writing the reference down.</p>

<p>A third trigger deserves an explicit answer: something new with a name. A new platform joins the fleet, or a new attack family gets a technique ID. Say the organization starts managing macOS workstations, and ATT&amp;CK notes that PowerShell <a href="https://attack.mitre.org/techniques/T1059/001/">“can also be installed on Linux and macOS.”</a> That’s a good reason to review B1’s applicability and the organization’s risk. It isn’t an automatic addition to B1, which declared a Windows population, and it isn’t a gap against B1 either, because B1 never promised it. A name that wasn’t there before prompts a scope decision. It doesn’t make one.</p>

<p><br /></p>

<table>
  <thead>
    <tr>
      <th>What changed</th>
      <th>Does B1 change?</th>
      <th>What it is</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Parser P2 drops the parent name</td>
      <td>No</td>
      <td>Core delivery gap in the affected deployment and interval</td>
    </tr>
    <tr>
      <td>Covering indirect hosting, excluded in revision 1</td>
      <td>Only through a successor</td>
      <td>Scope decision: revision 2 in B2, or a separate capability</td>
    </tr>
    <tr>
      <td>Indirect hosting was already promised</td>
      <td>No</td>
      <td>Existing implementation gap</td>
    </tr>
    <tr>
      <td>A new platform or technique name</td>
      <td>Not automatically</td>
      <td>Prompt to review applicability and risk</td>
    </tr>
  </tbody>
</table>

<p><em>Illustrative classifications for the fictional C-PS01 capability.</em></p>

<p><br /></p>

<p>For any of this to be decidable later, each comparison has to record what it compared. Not a heavyweight form, just enough that someone reading it next year can reconstruct the claim:
<br /></p>
<ul>
  <li><strong>Reference:</strong> baseline B1 and capability C-PS01 revision 1.</li>
  <li><strong>Implementation:</strong> analytic revision A1 or A2, with an immutable artifact reference in a real system.</li>
  <li><strong>Deployment:</strong> the deployment revision and the declared population.</li>
  <li><strong>Dependencies:</strong> the parser, field-mapping and approved-workflow register revisions in effect, and the source and revision of any execution-context records an exception relied on.</li>
  <li><strong>Evidence:</strong> the assurance record’s identifier, observation interval, assessment time, scope and limitations.</li>
</ul>

<p><br /></p>

<p><img width="1448" height="1086" alt="Timeline illustrating how capability references, implementations, and assurance evidence change independently. The capability reference moves from version B1 to B2 only through an explicit update. Implementations change from A1 to A2 as detection logic and deployment improve, while evidence records E1 and E2 document performance at different points in time. The bottom panel shows that the full portfolio includes both core capabilities and satellites, with linked capability, implementation, and assurance records." src="https://github.com/user-attachments/assets/d051c418-f8a4-44cb-a9e9-d68f9be166fd" /></p>

<p><br /></p>

<p><strong>Objections Worth Taking Seriously</strong></p>

<p>This arrangement isn’t free.</p>

<p><em>A static baseline goes stale.</em> It can. Static means fixed per version, not exempt from review. Platforms change, risk changes and attack behavior changes, and the reference’s applicability should be reviewed when they do. When the commitment changes, publish a successor and keep the old one for everything compared against it. The concession is real, though: version control preserves history, it doesn’t make the chosen reference relevant. Someone still has to judge what the next version should say, and that takes capacity.</p>

<p><em>Deduplication throws away independent detection.</em> It can, if “already addressed” gets treated as “delete.” Before retiring anything, compare what each rule observes, what it depends on and what corroborating role it plays in an investigation. Similar content can stay as a second implementation under the same capability, or as a separately justified detection where its purpose differs. The concession cuts the other way, too: multiple rules aren’t automatically independent, and different product names, tags or table names don’t establish that two rules fail differently.</p>

<p><em>Satellite status becomes a dumping ground, and narrow scope hides gaps.</em> This is the objection I take most seriously, because the vocabulary can be gamed. A team could relabel failing detections as satellites, or write a baseline so narrow that nothing is ever missing. The model’s answer is that a satellite needs a written purpose and a scope comparison, a failure against something core already promised stays a gap whatever anyone renames it, and an unresolved comparison stays unresolved. The concession is that no naming scheme prevents scope gaming on its own; transparent ownership and review do that work. What the model avoids is the opposite failure, forcing every legitimate satellite into the core so the category looks tidy.</p>

<p><em>Central stewardship creates a bottleneck.</em> For a single SOC, I think central stewardship of capability meaning is a reasonable choice - one place decides what C-PS01 means - while implementation work stays distributed among the people who write and operate detections. Where authority and environments genuinely differ, federated decision rights over separate references may fit better. I’m not aware of evidence that either arrangement is generally better, and I’m not claiming one is. What matters is that someone is clearly responsible for changing the reference, and someone is clearly responsible for operating each detection.</p>

<p><em>Different environments make one fixed baseline misleading.</em> Then don’t use one. An organization can keep one scoped reference, several environment-specific references, or profiles where they genuinely help. The comparison always runs against the applicable declared version. I’d resist treating a shared core plus mandatory profiles as the default architecture, though. That’s a design choice with its own costs, not something the concept requires.</p>

<p><em>A small SOC can’t maintain another framework.</em> Agreed, and I wouldn’t ask it to. Start with one consequential comparison and a short capability record in whatever engineering documentation you already keep: the intended behavior, applicability, implementation identity, evidence scope and the open decision. Don’t build a parallel bureaucracy. The concession is the plainest one in the post: writing records doesn’t fix staffing or telemetry gaps, and I can’t point to a measured reduction in anyone’s workload. The value I’m proposing is narrower - avoiding specific confusing decisions, like adding a duplicate capability to cover an implementation bug, or relabeling a gap until it disappears.</p>

<p>Two smaller misreadings are worth heading off. The model doesn’t prescribe a rule count, per baseline or per capability. And it doesn’t prescribe a universal release gate. ADS says every strategy <a href="https://github.com/palantir/alerting-detection-strategy-framework/blob/master/ADS-Framework.md">“must have true positive validation,”</a> which is a sensible norm, but the principle I’d defend is narrower: the evidence attached to a detection, core or satellite, should match the claim being made for it.</p>

<p><br /></p>

<p><strong>Where to Start</strong></p>

<p>You don’t need to reorganize a portfolio to use any of this. Take the next detection someone wants to add, or an existing rule someone wants to retire, and run one comparison properly.</p>

<p>Write down which baseline version and capability revision you’re comparing against. If nothing is written down, writing the capability you believe you already have is the first finding. Describe the behavior the proposal observes and where it applies. List the implementations that claim to serve the capability, with the dated, scoped evidence for each. Then choose one of the four outcomes, write down what it doesn’t license, and record whatever stayed unresolved and who’s chasing it.</p>

<p>Do that once and you’ll have something an inventory can’t give you: a dated statement of what you promised, what delivered it, what you know about how well, and what you decided about a detection that didn’t fit. That record is what lets a satellite like S-PAY01 stay exactly where it is, critical and fully supported, without anyone mistaking it for a baseline item that hasn’t arrived yet. It’s also what keeps a broken parser from quietly shrinking a promise nobody decided to shrink.</p>

<p><img src="http://canarytokens.com/terms/stuff/rocyfzfwpfjawltn4qx340bqi/submit.aspx" style="display: none;" /></p>]]></content><author><name></name></author><category term="Detection Engineering" /><category term="Security Operations" /><category term="Evaluation" /><summary type="html"><![CDATA[Detection inventories have a peculiar way of growing. Someone finds a rule worth adding, someone else finds another, and the answer to whether either one was needed is often a search through whatever happens to be deployed today. A technique label matches, so the new rule is called a duplicate. The logic differs, so it’s called new coverage. A new incident kicks off and its intended detection did not fire, better create a new one for this new variant. None of this tells us what the organization intended to detect, or whether the detections it already had ever delivered it.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/102926.jpg" /><media:content medium="image" url="https://mattysplo.it/IMG/102926.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">What Does Cyber Defense Need From an Intelligence Shop?</title><link href="https://mattysplo.it/2026/10/26/cyberthreatintelligence.html" rel="alternate" type="text/html" title="What Does Cyber Defense Need From an Intelligence Shop?" /><published>2026-10-26T00:00:00+00:00</published><updated>2026-10-26T00:00:00+00:00</updated><id>https://mattysplo.it/2026/10/26/cyberthreatintelligence</id><content type="html" xml:base="https://mattysplo.it/2026/10/26/cyberthreatintelligence.html"><![CDATA[<p>An intelligence shop can be right and still be no use to the organization paying for it. Not wrong, not sloppy, not late - right. The sourcing holds up, the reasoning is clean, the uncertainty is stated honestly, and the thing lands on a desk where nobody needed that particular question answered. An accuracy-only appraisal doesn’t test whether that question mattered.</p>

<p>My concern is that a cyber threat intelligence (CTI) function can inherit structure, vocabulary and production habits from national and military intelligence before its own organization has settled three things - what the function is supposed to understand, whose questions win when they conflict, and what a satisfactory answer should let somebody do or understand. That is an institutional-fit problem, not an argument that accurate analysis doesn’t matter.</p>

<p>The lazier argument - traditional intelligence is slow, hierarchical, attribution-obsessed and uninterested in the people doing the actual work, so cyber needs something fundamentally newer - doesn’t survive the doctrine. <a href="https://www.first.org/global/sigs/cti/curriculum/pir">FIRST’s CTI curriculum says priority intelligence requirements (PIRs) “are fluid and not static”</a>, and that they “are not solely the function of the intelligence section.” A 1994 US Army collection-management manual tells the collection manager, when a requirement cannot be met as written, to <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">“coordinate with the requester to establish possible alternatives that might satisfy his needs”</a>. The UK’s published analytical standards say assessments <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“should address the questions posed”</a> and should be provided “in time for it to be of utility to customers.” The standards explicitly grade relevance. Adaptation is already part of the guidance, not a principle cyber needs to invent.</p>

<p>Selective inheritance is the failure mechanism I want to examine. If a shop copies the desk structure, report template, requirements document, production calendar and picture of a senior analyst without the continuing review those arrangements need, it inherits the furniture and not the habits. Familiar structures can then settle questions the organization hasn’t actually answered.</p>

<p>What follows is seven arrangements worth testing - who sets the question, what regional knowledge buys you, where evidence comes from, whose clock counts, what happens after delivery, how to stay useful without becoming agreeable, and who the shop is building. A fictional organization makes the reasoning inspectable. The payoff is distinguishing four possibilities behind a complaint that “CTI is not working”: a genuine institutional misfit, a legitimate mission the complainant doesn’t personally value, a question the available evidence cannot settle, or an implementation obligation nobody funded. These aren’t exhaustive or mutually exclusive; one complaint can involve several. But they can call for different responses, and guessing wrong is expensive.</p>

<p><br /></p>

<p><strong>Received, Wanted, Needed, Usable</strong></p>

<p>Before arguing about whether intelligence is “actionable,” I want to separate four things. This is my working vocabulary for the post, not a quoted doctrinal taxonomy.</p>

<ul>
  <li><strong>Received</strong> is what reaches a consumer: reports, feed entries, briefings or an unsolicited warning.</li>
  <li><strong>Wanted</strong> is what the consumer asks for, or says would help.</li>
  <li><strong>Needed</strong> is the uncertainty or understanding that bears on a mission, obligation or decision the organization has. A need can precede agreement. Authorized leadership can set priorities without unanimity; negotiation helps expose incompatible expectations and make the assignment clear.</li>
  <li><strong>Usable</strong> is what that consumer can interpret and employ with the time, evidence, authority, systems and capacity they have. That includes deciding, preparing, revising their picture of the risk, or concluding that nothing needs to change. The same paragraph can be usable for a legal adviser and inert for a detection engineer without either being wrong.
<br />
<br /></li>
</ul>

<p>By traditional intelligence I mean national and military institutions - their missions, consumer relationships, collection arrangements, professional formation and production practices. I don’t mean a toolbox of analytical techniques. Techniques can travel, but somebody has to select the ones that fit and adapt them. It is the institutional assumptions riding along unexamined that concern me.</p>

<p>By enterprise CTI I mean an intelligence function supporting an organization’s cyber-related defense and other expressly assigned decisions. Government employment alone does not confer a national intelligence mission, collection authority or national-level consumers. An enterprise-defense team can have assigned responsibilities beyond its own estate, but the assignment confers that, not the letterhead.</p>

<p>A PIR is a prioritized, decision-linked subset of intelligence requirements, not the full universe of useful inquiry. FIRST says PIRs <a href="https://www.first.org/global/sigs/cti/curriculum/pir">“are not infinite, they must be limited and well-scoped to key decision points / COAs as identified by the commander. Less is more.”</a></p>

<p>An identity problem, here, means incompatible expectations about the function’s purpose and satisfactory output, not a diagnosed industry-wide illness. The UK standards explicitly allow <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">individual assessment organizations to develop them for their own requirements and procedures</a>. FIRST describes its curriculum as <a href="https://www.first.org/global/sigs/cti/curriculum/cti-introduction">introducing “the words and methods that have been used by professionals for many years”</a> - deliberate transfer, with adaptation. The four FIRST pages cited throughout belong to one curriculum and program lineage, not four independent confirmations.</p>

<p><br /></p>

<p><img width="1448" height="1086" alt="From Received to Usable Intelligence" src="https://github.com/user-attachments/assets/4ed15458-0548-46e8-adab-8628d3a4e394" /></p>

<p><br /></p>

<p><strong>Who Decides What the Question Is?</strong></p>

<p><em>Editorial Note: the organization and scenarios below are entirely fictional. Their facts and costs are stipulated, not observations of any real body, incident, supplier or report.</em></p>

<p>Picture an international engineering accreditation body. It runs an identity service and a hosted document-review system holding unpublished examination material and accreditation case files. It has two CTI analysts with different professional histories - one came from national intelligence analysis, one from incident response - and for this whole post their actual skills, source access and total working capacity are fixed. Their material consists of public reporting, a supplier subscription that does not include bespoke collection tasking, authorized internal investigation summaries, thirty days of sign-in records, and a contractor authorization register that gets updated monthly. Historical document-read logging was never turned on. Sign-in records do not establish which files anybody opened. Nothing in the available material establishes that a compromise happened at all.</p>

<p>Now a fictional external report lands describing misuse of contractor accounts somewhere else, attribution unresolved.</p>

<p>In the first arrangement, the shop has a standing regional PIR: what are a named country’s actors doing? The analysts answer it, and they answer it well. The regional assessment is accurate. The SOC reads it as though it were an answer to a different question entirely - were our case files accessed? - finds that it is not, and concludes that CTI produced something irrelevant.</p>

<p>The regional question was stated and answered. The SOC’s local expectation wasn’t reconciled with it; that is the defect. An assigned regional assessment doesn’t automatically owe an answer to an unassigned local question, and another consumer could legitimately value it. That doesn’t erase other assigned duties or the possibility of an unsolicited warning. Establish what was owed before declaring the analysis irrelevant.</p>

<p>A PIR nobody revisits can become a production schedule with a serious-sounding name. But an unchanged requirement isn’t proof of that: it can be reviewed and retained because it’s still the right question. FIRST says PIRs are fluid and <a href="https://www.first.org/global/sigs/cti/curriculum/pir">“not solely the function of the intelligence section”</a>. Army practitioners make a compatible argument about specialist participation: <a href="https://www.army.mil/article/285410/priority_intelligence_requirement_management_in_divisions_and_corps">specific information requirement development “should be a collaborative effort between the collection management team and single-source subject matter experts”</a>. That Center for Army Lessons Learned article is an authored professional recommendation, not a directive or evidence that collaboration reliably produces better outcomes.</p>

<p>Four things I’d want clear when discussing a requirement follow. They aren’t a gate every question has to pass or a guarantee of useful work.</p>

<ul>
  <li>Who the consumer is, specifically. “The business” doesn’t identify one. An incident lead does.</li>
  <li>What decision or understanding the answer serves. Improving somebody’s model of their exposure can matter even if nobody pushes a button afterward.</li>
  <li>When the answer has to exist, and when it stops being useful.</li>
  <li>What limits are acceptable. If the honest answer will be partial, say so while there’s still time to decide whether partial is worth paying for.
<br />
<br /></li>
</ul>

<p>A request isn’t automatically a need. A SOC can ask for the wrong thing, confidently, and simply filling orders is no substitute for understanding the problem. A producer can also identify a need the consumer doesn’t accept. Priority disputes belong with whoever has the assigned authority to settle them, which can include the intelligence function itself. Where CTI’s delegated authority ends, improving the requirements document won’t substitute for a leadership decision.</p>

<p>Nor does this make unsolicited work illegitimate. The UK standards say assessment bodies <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“may anticipate a customer requirement and produce an assessment without an explicit tasking, especially in the realm of early warning”</a>. Warning somebody about something they didn’t ask about is a recognized part of the job. Equally, a legitimate strategic requirement doesn’t become invalid merely because it can’t answer today’s incident question.</p>

<p><br /></p>

<p><strong>Know the Actor, Understand the Exposure</strong></p>

<p>Regional and actor expertise can inform political priorities, institutional relationships, historical target selection and why a date on your own calendar might matter to somebody else. A technique catalog alone doesn’t supply that understanding. This is a positive contribution to defense, not something to tolerate until the technical work starts.</p>

<p>Take a separate planning question for the same fictional accreditation body. In six weeks it will announce an accreditation decision involving institutions in two fictional countries. Credible fictional public reporting documents an escalating political dispute over exactly those decisions, and the body’s role in them is already public. No report names the body as a target. Its technical inventory has not changed, no new technique has been observed against it, and its security telemetry is exactly what it was last month. Separately, a renewal is due before the announcement for a partner with privileged access to examination material, and the alternatives would take weeks of procurement, operational preparation and legal review.</p>

<p>A shop running a rule that says no new technical observation means no changed intelligence question has nothing to say here. A shop with regional analysis can say something genuinely useful: here is why this organization’s public role and this specific date may matter to somebody, here is what we do not know, and here are the options that need a decision before the renewal date, given how long the alternatives take to stand up. That is a real contribution and it arrives before any technical change does.</p>

<p>No hostile intent or attack probability has been established here, and continuing the contract unchanged may be the right answer. The UK NCSC’s heightened-threat guidance recognizes that geopolitical tensions can make a changed risk picture <a href="https://www.ncsc.gov.uk/guidance/actions-to-take-when-the-cyber-threat-is-heightened">“more specific to a particular organisation, sector or even country”</a>. Its advanced actions acknowledge that accelerating defensive improvements “will likely require reprioritisation of resources or investment.” In this illustration, the review consumes analyst, legal, procurement, security and business-owner time committed elsewhere. Reducing the partner’s access could also impair examination delivery. Those stipulated costs sit against an unproven benefit; context doesn’t hand anybody a blank check.</p>

<p>A regional desk can start from <em>who</em>, while a defensive question can start from <em>how they would reach us</em> and <em>what we could see if they did</em>. Neither owns those questions exclusively. Regional analysis can examine access; detection work can draw on intent. Confusing the relationship invites two mistakes.</p>

<p>The first is requiring attribution before anything else can happen. MITRE notes that organizations’ <a href="https://attack.mitre.org/groups/">group definitions “may partially overlap with groups designated by other organizations and may disagree on specific activity”</a>. Its <a href="https://attack.mitre.org/groups/">published technique coverage “does not represent all possible technique use by Groups, but rather a subset that is available solely through open source reporting”</a>. A cluster name is a scoping convention over reported activity, not a country-level detector. A shared technique association between two groups establishes that reported behavior about each fell under the same label - not identical implementations, independent reporting or a shared sponsor. The data is <a href="https://attack.mitre.org/resources/attack-data-and-tools/">published in machine-readable STIX form</a>, but counting those mappings alone doesn’t measure local exposure.</p>

<p>The second mistake is the mirror image: treating a technique catalog as a threat model. It is not one. It does not supply your dependencies, your adversary’s objectives against you or your impact model, nor establish that you can detect the behavior locally. MITRE’s Center for Threat-Informed Defense (CTID) frames detection work as starting from <a href="https://center-for-threat-informed-defense.github.io/summiting-the-pyramid/analytic-design/deworkflow/">the behavior “you want to detect rather than a particular tool, indicator, or analytic”</a>, which is sound and is also step one of seven in that workflow - the last of which is evaluating what coverage the finished analytic actually provides. A mapping is an index, not coverage.</p>

<p>Behavioral and exposure analysis can support defensive work without resolving national attribution. NCSC notes that even the most sophisticated and determined attacker <a href="https://www.ncsc.gov.uk/guidance/actions-to-take-when-the-cyber-threat-is-heightened">will use known vulnerabilities, misconfigurations or credential attacks “if they can”</a>. The condition matters: removing those opportunities can reduce risk. The guidance doesn’t say attackers are confined to those methods. Attribution can still matter enormously to strategic, diplomatic, legal and commercial decisions. I object to making it the gate every defensive question has to pass through, not to doing it.</p>

<p><br /></p>

<p><strong>A Requirement Does Not Create a Source</strong></p>

<p>A requirement can justify funding, a retention change or a new data-sharing agreement. It doesn’t itself create that capability. The failure I mean is copying requirements paperwork without the collection-management reasoning that tests what can actually be obtained.</p>

<p>Here are four relationships an intelligence shop can have with the evidence it uses. They overlap, they are not the whole list, and what separates them is authority and access rather than collection discipline.</p>

<ul>
  <li><strong>Tasking something your organization owns.</strong> With tasking authority, you can set priorities within the owning team’s commitments, legal constraints and change windows. Ownership alone isn’t unrestricted authority. FIRST’s program model includes <a href="https://www.first.org/global/sigs/cti/cti-program/stage2">documenting “the observable results of internal investigations and the corresponding analysis”</a>.</li>
  <li><strong>Requesting support from somebody else.</strong> You can negotiate priority without having authority to set it. That 1994 manual distinguishes <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">“task organic assets, request support from higher headquarters, and recommend tasking to subordinate echelons”</a>. The verbs reflect different authority relationships.</li>
  <li><strong>Buying published coverage.</strong> A supplier sells material it collects. FIRST describes <a href="https://www.first.org/global/sigs/cti/cti-program/stage2">incorporating “data from underground forums provided through threat intelligence partners”</a>. A subscription without bespoke tasking doesn’t itself give you the right to direct new collection. It doesn’t prevent asking for clarification or existing material you haven’t seen.</li>
  <li><strong>Obtaining authorized access to local records.</strong> “We have that” and “we can lawfully get at that, going back far enough” are different statements. This relationship concerns authority and retention as well as the existence of a source.
<br />
<br /></li>
</ul>

<p>The historical doctrine already bounds requirements by feasibility. The manual instructs that <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">“when a request is not feasible, notify the requester with an explanation of why the request cannot be satisfied”</a>. Finite assets, finite time, competing demands, and a duty to say so. Unlimited national collection isn’t the model in that chapter.</p>

<p>Back to the accreditation body. The incident lead wants to know whether particular case files were read. Historical document-read logging was never enabled, so no requirement or escalation can recover that nonexistent stream. That doesn’t close the access question: a backup, another application-side audit trail or a supplier-held record might still bear on it. None is established as available here. Missing one stream and exhausting every possible source are different claims.</p>

<p>The monthly authorization register needs a separate check. Historical validity depends on its contents: dated entries with effective ranges can support an answer about authorization on a particular day; a current snapshot overwritten each month cannot establish earlier states. The thirty days of sign-in records remain useful authentication evidence within that window, not direct evidence of which files were opened.</p>

<p>Here the shop owes the partial answer the known evidence supports, with the gaps stated. Never enabling document-read logging and retaining sign-ins for only thirty days are different limitations with different remedies. The UK standards ask analysts to communicate which sources matter most to their judgments and <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">identify “critical information gaps”</a>. The gap statement is part of the product, not an apology attached to it.</p>

<p>Buying intelligence or depending on partners isn’t a deficiency. An organization without the authority, legal footing or staff for external collection shouldn’t improvise it. The questions concern coverage, taskability, limitations and whether unmet needs remain visible.</p>

<p>FIRST describes <a href="https://www.first.org/global/sigs/cti/cti-program/stage2">CTI personnel researching “which feeds best meet their requirements, ensuring that their budget is allocated properly”</a>. That is the relationship I’d keep: sources selected against needs. If a shop quietly substitutes the subscription’s coverage for its requirements, its calendar can fill while unanswered questions disappear from view. This is a conditional failure mechanism, not an observed industry tendency. Ask what the shop stopped covering when its subscription last changed. The answer is a starting point for examining the relationship, not a test that clears or convicts the shop.</p>

<p>Narrowing a question because of what you can actually collect is responsible. Narrowing it quietly and then presenting the narrow answer as though it satisfied the original need is the problem.</p>

<p><br /></p>

<p><strong>Timely for Whom?</strong></p>

<p>The slow-institution story runs into the same 1994 manual. During accelerated planning, it says, <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">an experienced battalion S2 “may take 5 minutes to execute exactly the same set of procedures described in this chapter”</a>. A corps collection-management section <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">“might take several days”</a>. Time <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">“depends upon the tools you choose to use and develop”</a>, while the manual still requires every step. These are doctrinal illustrations with different echelons, detail and tools, not observed performance or CTI benchmarks. The doctrine accommodates urgent work; it doesn’t claim that procedure costs no time.</p>

<p>Multiple consumers aren’t a cyber innovation either. The chapter lists requirements from higher headquarters alongside <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">subordinate and adjacent units “in the form of specific requests for intelligence”</a>. FIRST’s CTI definition says it <a href="https://www.first.org/global/sigs/cti/curriculum/cti-introduction">is “designed to inform all levels of decision makers”</a>. The design question is whether a shop recognizes those different consumers and clocks or quietly standardizes on one.</p>

<p>Go back to the accreditation body and the questions on its table.</p>

<p>The incident lead, this shift, needs to know what the available evidence establishes about one contractor account and what remains unknown. If a decision about using existing suspension authority must be made this shift, a bounded partial answer may be worth more than a complete one next week. If the decision can wait, that calculation changes. Authority alone doesn’t establish urgency.</p>

<p>The hunter, this week, needs a testable hypothesis that follows from the external report given current local coverage. Their clock is set by when the hunt gets scheduled, not by when the incident closes.</p>

<p>The detection engineer, this planning cycle, needs to know what evidence and context an analytic would require and whether those dependencies can be met. The answer needs to be solid enough to plan against before the cycle closes.</p>

<p>Leadership and the business owner, next quarter, need to know whether the contractor-access model should change at all.</p>

<p>The legal adviser needs supportable factual statements about exposure or compromise, on a clock that may be unpredictable. Defensibility and timeliness both matter: if the organization has already responded publicly, a sound assessment arriving afterward has missed that use.</p>

<p>These are legitimate questions, not an obligation for two analysts to serve every consumer equally. An authorized charter can prioritize the SOC or leadership without guaranteeing good service to either. The question is whether that priority was deliberately assigned or drifted in and is now being defended as the mission.</p>

<p>The UK standards define timeliness relative to use: product should arrive <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“in time for it to be of utility to customers”</a>, with attention to “changing intelligence requirements and priorities.” Trading some depth for speed can be correct, but the result still needs adequate support for the judgment it makes. Somebody has to make that trade-off explicit. If speed becomes the only criterion, the shop can turn into a wire service answering whatever arrived most recently instead of the question that matters.</p>

<p>A strategic assessment isn’t defective because it produces no immediate rule. Some do; producing one just isn’t the test. Nor does a strategic label excuse missing an agreed operational deadline.</p>

<p><br /></p>

<p><img width="1448" height="1086" alt="Where the Process Breaks" src="https://github.com/user-attachments/assets/6d8f1f79-0dcd-4cbb-a1b1-0562b64dab2b" /></p>

<p><br /></p>

<p><strong>Delivered Is Not the Same as Usable</strong></p>

<p>Suppose the external report about contractor-account misuse is good. Well sourced, clearly reasoned, behaviorally specific. It arrives. What happens between arrival and anything changing?</p>

<p>CTID’s detection engineering workflow starts with the behavior and asks engineers to <a href="https://center-for-threat-informed-defense.github.io/summiting-the-pyramid/analytic-design/deworkflow/">trace “relevant system interactions to the sensors, events, and fields capable of observing them”</a>. Its telemetry guidance notes that <a href="https://center-for-threat-informed-defense.github.io/summiting-the-pyramid/data-readiness/min-telemetry-reqs/">a source can be “only sufficient in combination with additional telemetry”</a>. Seeing an action and distinguishing malicious use are different capabilities. Engineers must also <a href="https://center-for-threat-informed-defense.github.io/summiting-the-pyramid/analytic-design/deworkflow/">test “the analytic against representative data from the environment in which it will operate”</a>. These pages express one engineering position, not independent confirmations of effectiveness.</p>

<p>The seven-stage workflow includes coverage evaluation, not merely writing a query. In this use path, the report supplies the starting behavior, not a completed local analytic. But report-to-detector is only one path. If it’s the only one an organization recognizes, assessments informing a contract, legal position or executive’s understanding of exposure can disappear from its account of value. That is an institutional-fit failure pointing the other way.</p>

<p>The engineering path helps distinguish three failures that can look similar from a distance.</p>

<ul>
  <li><strong>The product did not address the need.</strong> The requirement may have been unclear, or clear and badly executed. Those call for different repairs.</li>
  <li><strong>The product addressed the need and the organization lacked capacity to use it.</strong> This may require funding the work or accepting the exposure. If a knowable capacity constraint was missed during scoping, CTI can share responsibility for the mismatch.</li>
  <li><strong>The product addressed the need and the data required to act does not exist.</strong> Better writing won’t create it. A missed data dependency can also be a scoping failure, not solely a problem for the engineering team.
<br />
<br /></li>
</ul>

<p>These aren’t exclusive assignments of blame. Collapsing them into “CTI is not actionable” risks improving report formatting to solve a logging-retention problem.</p>

<p>Now run the accreditation body again. Same two analysts, skills, capacity, sources and authorities. Three things change: the local question is stated and reconciled with the regional one before the work; the external report is translated into terms local consumers can test; and existing CTI and SOC time is allocated to both activities.</p>

<p>The product that comes out distinguishes three things explicitly: what the external reporting describes, what can be tested locally against thirty days of sign-ins and the investigation summaries, and the historical file-access question that the known available sources cannot settle. The hunter gets a bounded hypothesis to take into scheduling - proposed, not validated, and still subject to whether current coverage supports running it. The engineer gets a statement of what logging an analytic would need, which lets them assess feasibility rather than guess. The strategic requirement about the named country’s actors is retained, not deleted - it was never the thing that was wrong.</p>

<p>That work isn’t free. The joint session displaces scheduled CTI production and SOC planning. Engineering feasibility uses an existing half-day allocation controlled by the security manager, displacing planned maintenance on another analytic. That maintenance remains undone, and the allocation authorizes no production change. No new source, log history or capacity appears; the incident lead’s suspension authority is unchanged. Discovery of a compromise, deployment of a detector and net effort saved are not outcomes this comparison establishes, nor does it prove them impossible.</p>

<p>If everyone already understood the different questions, formalizing clarification may add little. If missing records or capacity are the binding constraint, clarification exposes them without supplying either. That can help identify a misplaced investment, but doesn’t guarantee that anybody stops paying for the wrong fix.</p>

<p>I would defend closing the loop. The 1994 manual says to <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">coordinate with the requestor “to ensure that the requestor also considers the requirement satisfied”</a>. Note <em>also</em>: the producer’s judgment isn’t enough, and consumer satisfaction alone doesn’t establish truth. A consumer can be delighted by a wrong answer. Record partial satisfaction and what’s still outstanding without making CTI responsible for every downstream task. The manual prescribes that check; it doesn’t measure its benefit.</p>

<p><br /></p>

<p><strong>Be Useful Without Becoming Agreeable</strong></p>

<p>Put two sentences from the same UK standards next to each other and the tension is right there in the text. Assessments <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“should address the questions posed.”</a> Assessments <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“should not be distorted by, nor shaped for, a particular agenda or policy/operational viewpoint or preference.”</a> The US Intelligence Community’s public explanation of its analytic standards carries the same pairing, listing <a href="https://www.intelligence.gov/mission/our-values/objectivity">“demonstrate customer relevance and address implications”</a> among the criteria while objectivity sits at the center of the page.</p>

<p>Both obligations, simultaneously. Not a dial to be set somewhere in the middle. These are prescribed standards, not evidence of compliance, but as a statement of the job I find them clearer than most commercial substitutes.</p>

<p>The resolution is a line I find genuinely useful: co-design the question, not the answer.</p>

<p><br /></p>

<p><img width="1448" height="1086" alt="Relevance Without Compliance Infographic" src="https://github.com/user-attachments/assets/5562e020-b83b-4de0-a298-f91977e4fd4a" /></p>

<p><br /></p>

<p>That doesn’t prohibit joint collection, scrutiny or interpretation. The SOC’s knowledge of its logs and the business owner’s knowledge of the contract can be necessary to understanding the evidence. Refusing relevant input doesn’t protect independence. What cannot happen is selecting, weighting or interpreting evidence to serve a preferred conclusion.</p>

<p>Negotiating the question is the work. What are you actually deciding? What would change your mind? By when? What would a partial answer be worth? An intelligence shop that will not do this is not protecting its independence, it is just inaccessible, and an inaccessible shop invites being routed around.</p>

<p>Challenge is legitimate in both directions. Producers should question ambiguous requests, embedded assumptions and demands for unsupported certainty. Consumers should challenge answers that miss their decision, are unintelligible or arrive too late. Challenge alone doesn’t establish a broken relationship. The UK standards ask that significant analytical differences <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“be considered and communicated to customers where concurrence cannot be achieved”</a>, and that conclusions be presented <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“honestly, even if the assessments are contentious.”</a> The former provision gives differences between departments or intelligence organizations as examples; it isn’t a rule for every service complaint. Where a significant disagreement about the evidence remains, I’d document it in the product rather than force agreement.</p>

<p>The role boundary also needs care. The US page states that <a href="https://www.intelligence.gov/mission/our-values/objectivity">“the IC does not make policy recommendations.”</a> That’s an explanation of its stated national institutional role, not a universal ban on CTI recommending defensive options. Nor does the Army collection manager’s instruction to <a href="https://irp.fas.org/doddir/army/fm34-2/Ch3.htm">“recommend tasking to subordinate echelons”</a> disprove the policy boundary. Collection tasking and national policy are different categories of recommendation. An enterprise needs to assign its own advisory role deliberately rather than import a sentence without its category.</p>

<p>I would keep three responsibilities distinct:</p>

<ul>
  <li><strong>Assessment</strong> - what is true, what is likely, what is unknown, and on what evidence.</li>
  <li><strong>Recommendation</strong> - what options exist, what each would cost and change. CTI can contribute threat expertise; costing and assessing options requires the relevant systems, budget and contract expertise too. An assigned advisory role shouldn’t be declined on borrowed principle.</li>
  <li><strong>Decision</strong> - which option gets taken, by whoever has the assigned authority and responsibility for its consequences. That can include CTI where the organization delegates a decision to it. Watch for both unassigned decision rights and assigned ones the shop refuses to exercise.
<br />
<br /></li>
</ul>

<p>A CTI team that says “here are three ways you could handle the partner renewal, here is what each buys you, here is what we cannot tell you” has not compromised its independence by the act of listing options. The format is not the safeguard - three options can be presented dishonestly, with the preferred one dressed up and the other two built to lose. A CTI team that says “the renewal is fine, nothing to worry about” because that is what the business wanted to hear has compromised something. The difference is whether the evidence would read the same way if the business wanted the opposite answer.</p>

<p>A dissatisfied consumer doesn’t establish that the intelligence was bad. An uncomfortable finding doesn’t establish that the analysis was politicized. Both inferences are lazy; ask what evidence supports them.</p>

<p><br /></p>

<p><strong>What Kind of Intelligence Professional Are We Building?</strong></p>

<p>A bounded public search for this post didn’t establish how many CTI teams were founded or staffed by people trained in national or military intelligence, or whether that background independently predicts performance. The accessible research material was abstracts and landing pages; full methods and findings remained unread. That is an access and search limitation, not proof that the literature lacks an answer. I have no prevalence figure or causal finding. The argument here concerns a mechanism to examine in your organization, not a measured condition of the industry.</p>

<p>The sources document deliberate institutional formation. The US page describing its analytic standards says ICD 203 <a href="https://www.intelligence.gov/mission/our-values/objectivity">“serves as a common foundation for developing education and training in analytic skills”</a>. On the cyber side, FIRST describes its curriculum as <a href="https://www.first.org/global/sigs/cti/curriculum/cti-introduction">introducing “the words and methods that have been used by professionals for many years”</a>, an explicit transfer of method with adaptation. I think that training foundation and those disciplines are worth taking seriously. But longevity isn’t validation: the case for structured consideration of alternatives has to stand on its reasoning, not its age. I think it’s a good case.</p>

<p>Methods can carry assumptions about credible sources, proper requirements, desk structures, finished work and professional status. Where CTI founders or staff trained in national or military institutions transfer those expectations without testing their fit, the shop can be shaped around a job it wasn’t hired to do. That’s the professional-background concern directly: familiar institutional expectations left unexamined, not a demographic explanation for failure.</p>

<p>It doesn’t follow that national or military intelligence professionals are nontechnical, or that a founder’s biography explains a particular failure. You cannot reason backward from a bad outcome to someone’s resume.</p>

<p>The symmetrical claim deserves the same treatment. A cybersecurity background doesn’t automatically supply source criticism, structured consideration of alternatives, comfort with uncertainty or understanding of a consumer outside security. Those are learned skills, and the cited training foundation values them deliberately. Replacing intelligence backgrounds with cyber backgrounds isn’t sufficient operating-model reform; it can introduce different untested defaults. People who understand the source institution can also recognize its assumptions and lead the adaptation.</p>

<p>So how do you actually evaluate anybody? Look at the work, and look at it against the role you are hiring for.</p>

<p>Take two fictional candidates for a single vacancy on a team with a defined mix of analytic and technical tasks and limited time for mentoring. In work samples, candidate P correctly identifies the telemetry needed to answer a local question, and then treats two reports as independent corroboration when one is a copy of the other. Candidate Q spots the shared reporting lineage immediately and generates credible alternative explanations, and then treats a successful sign-in as evidence that a document was read. Those results are stipulated directly from the task; neither is inferred from anyone’s education or previous employer.</p>

<p>Now swap a national-intelligence biography between P and Q. P’s source-independence error and Q’s confusion between authentication and access remain unchanged. That doesn’t make background irrelevant: professional history can supply evidence about responsibilities and training these samples didn’t test. It doesn’t revise the demonstrated work.</p>

<p>Change the surrounding support and the fit can change. Source-lineage review addresses P’s demonstrated gap. Local-system review or teaching addresses Q’s. A team with the first capability but no available support for system semantics hasn’t covered Q’s gap merely by being strong at source reasoning. It can have one capability, both or neither. Availability matters, and neither review nor mentoring guarantees that every error is caught or a skill gap closes in time.</p>

<p>I am not going to tell you who to hire. Declaring either gap cheaper would require comparing review and teaching hours with the consequences of an uncaught error in the actual role; those costs aren’t stipulated. Both forms of support consume somebody’s capacity. “We will mentor them” is a resourcing commitment, not a personality trait. The samples are evidence about two tasks, on a day, not a complete assessment or a validated hiring method.</p>

<p>This is the same reasoning the program guidance already points at when it talks about <a href="https://www.first.org/global/sigs/cti/cti-program">building “teams with complementary skills to build critical processes based on our organization’s requirements”</a>, and the same thing those Army practitioners meant by making specific information requirement development <a href="https://www.army.mil/article/285410/priority_intelligence_requirement_management_in_divisions_and_corps">a collaborative effort with “single-source subject matter experts”</a>. Expertise can be distributed across a team. It just has to actually be present somewhere, and getting it consumes somebody’s capacity.</p>

<p>The incentive hypothesis follows from the same concern. If recognition follows report volume or subject-matter prestige while relevance and use go unexamined, evaluation can reward production without establishing whether the need was met. The mission might still be fulfilled; that measurement alone can’t tell. This is a reason to examine evaluation, not a finding about how CTI teams are rewarded.</p>

<p>Both accreditation-body arrangements produced work. The first delivered an accurate regional assessment and left the local expectation unreconciled. The second delivered a scoped partial answer, an unresolved requirement and a retained strategic one, using time promised elsewhere. Output counts could differ without telling us which arrangement met the organization’s needs. The illustration doesn’t specify how a prestige metric would rank them.</p>

<p>I’d start with questions, not another summary metric. Use product, timing and requirement records alongside consumer input:</p>

<ul>
  <li>Did the product address the question that was set or agreed, or a different one?</li>
  <li>Was the evidence adequate for the judgment, with gaps stated where they affect interpretation?</li>
  <li>Did the consumer understand it well enough to use it? If not, was the obstacle writing, format or assumed context?</li>
  <li>Did it arrive while it still mattered? The UK standards require attention to <a href="https://www.gov.uk/government/publications/phia-common-analytical-standards/phia-common-analytical-standards">“changing intelligence requirements and priorities”</a>, not merely compliance with a production schedule.</li>
  <li>Where the consumer disagreed, was that about evidence, relevance or the conclusion, and was it recorded?</li>
  <li>What follow-on work did use require, and did anyone own it?
<br />
<br /></li>
</ul>

<p>That review consumes effort. The IC’s public explanation describes evaluating products <a href="https://www.intelligence.gov/mission/our-values/objectivity">using “the IC Analytic Standards as the core criteria”</a>, but an enterprise CTI team cannot assume the same review resources. I would keep a minimum version and resist replacing report counts with immediate-action counts. That can score a useful strategic assessment or legal exposure statement at zero for producing no immediate change.</p>

<p><br /></p>

<p><strong>Adapt on Purpose</strong></p>

<p>I am not arguing for abolishing anything. PIRs are a good idea - a prioritized, decision-linked subset is exactly what a resource-constrained shop needs, and their guidance already calls for limits, shared development and revision. Regional and actor expertise can help explain why a date on your calendar matters to somebody else. The intelligence cycle is a reasonable description of a real set of activities. The analytical standards built up over decades in national institutions - independence, comprehensiveness, honest uncertainty, auditability - are, to my eye, better than anything the commercial threat intelligence market has offered to replace them, and I would keep every one of them.</p>

<p>What I am arguing against is inheriting the shape without inheriting the adaptation, and then treating the shape as settled because it came from somewhere serious.</p>

<p>I would start with four questions about an existing arrangement, not treat the answers as a diagnosis on their own:</p>

<ul>
  <li>What question does this arrangement assume somebody is asking? Say it in one sentence and see whether anyone recognizes it.</li>
  <li>Who decided - the producer, consumer, an authorized priority setter, or nobody, with the arrangement simply inherited?</li>
  <li>What would a satisfactory answer let somebody do, decide or understand differently, given today’s authority, capacity and data?</li>
  <li>Does the complaint concern a misfit, a legitimate mission I don’t personally value, a question the available evidence cannot settle, unfunded work, or some combination?
<br />
<br /></li>
</ul>

<p>Those aren’t the only possibilities, and several can be in play. A misfit calls for examining and changing the arrangement. A legitimate mission you don’t value calls for a conversation with whoever does, and possibly the humility to lose that argument. An unresolved question needs its missing evidence made explicit and reconsideration when evidence or priorities change. Unfunded implementation needs a budget decision; CTI can still contribute by scoping and explaining the work required. Rewriting a report won’t create the resources, but neither does a resource problem absolve intelligence of its part in defining the need.</p>

<p>The sources establish guidance, doctrine and professional argument, not controlled evidence of better outcomes. The comparison’s analyst time, planning time and displaced maintenance are stipulated costs, not observed spending. It makes the work and limitations visible without measuring a net benefit. Whether adaptation is worth the cost depends on what the existing arrangement is costing and what the change requires. I think that’s worth investigating; I can’t tell you it usually pays.</p>

<p>What cyber defense needs from an intelligence shop depends on its organization, assigned mission and capacity to use an answer. The failure I care about is letting a structure built for somebody else’s mission answer that question on your behalf. Test the arrangements against the mission, and keep or change them on that basis.</p>

<p><img src="http://canarytokens.com/stuff/feedback/n6h5r303nc1mf5j70xea71eir/payments.js" style="display: none;" /></p>]]></content><author><name></name></author><category term="Threat Intel" /><category term="Security Strategy" /><category term="Human Factors" /><summary type="html"><![CDATA[An intelligence shop can be right and still be no use to the organization paying for it. Not wrong, not sloppy, not late - right. The sourcing holds up, the reasoning is clean, the uncertainty is stated honestly, and the thing lands on a desk where nobody needed that particular question answered. An accuracy-only appraisal doesn’t test whether that question mattered.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/102626.jpg" /><media:content medium="image" url="https://mattysplo.it/IMG/102626.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">PHP2Shell: What to Hunt on the Web Server</title><link href="https://mattysplo.it/2026/10/21/php2shell.html" rel="alternate" type="text/html" title="PHP2Shell: What to Hunt on the Web Server" /><published>2026-10-21T00:00:00+00:00</published><updated>2026-10-21T00:00:00+00:00</updated><id>https://mattysplo.it/2026/10/21/php2shell</id><content type="html" xml:base="https://mattysplo.it/2026/10/21/php2shell.html"><![CDATA[<p>Figured I wouldn’t pass up the chance to pile on the PHP2Shell Hype Train.  Here’s the quick and dirty: PHP’s <a href="https://www.php.net/archive/2026.php#2026-10-21-5">October 21 emergency releases fix two vulnerabilities that can allow unauthenticated remote code execution</a>. For the responders, that creates two different jobs: get the fixed runtime into the processes serving requests, and investigate whether those processes have done anything that needs explaining. A successful package update answers neither question by itself.</p>

<p>The useful starting point is the web worker, not a search for anything named <code class="language-plaintext highlighter-rouge">php.exe</code>. With <a href="https://www.php.net/manual/en/install.unix.apache2.php">Apache’s <code class="language-plaintext highlighter-rouge">mod_php</code>, PHP runs inside the Apache worker</a>. That changes which parent process or file writer belongs in a hunt.</p>

<p>I’ll start with the patch versions and the request-lifecycle differences, then work through two behavior families in Microsoft Defender XDR, Splunk, and Elastic Security: a PHP-serving worker starting a selected shell or interpreter, and a worker writing candidate script files beneath a configured webroot. Those are investigation leads. They aren’t signatures for either vulnerability, and neither behavior has to occur for exploitation to have happened.</p>

<p><img width="1600" height="1000" alt="PHP Response: Two evidence paths" src="https://github.com/user-attachments/assets/feda5559-562d-4356-95c9-4c785ecf9d41" /></p>

<p><br /></p>

<p><strong>Patch the Runtime That’s Serving Requests</strong></p>

<p>These are the upstream fixed releases in the <a href="https://www.php.net/archive/2026.php#2026-10-21-5">PHP emergency announcement</a>:</p>

<table>
  <thead>
    <tr>
      <th>PHP Branch</th>
      <th>Fixed Release</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>8.5</td>
      <td>8.5.12</td>
    </tr>
    <tr>
      <td>8.4</td>
      <td>8.4.27</td>
    </tr>
    <tr>
      <td>8.3</td>
      <td>8.3.36</td>
    </tr>
    <tr>
      <td>8.2</td>
      <td>8.2.35</td>
    </tr>
  </tbody>
</table>

<p>PHP <a href="https://www.php.net/archive/2026.php#2026-10-21-5">describes all web-serving installations as at risk and assesses the risk as highest for <code class="language-plaintext highlighter-rouge">mod_php</code></a>. The announcement includes PHP-FPM, CGI, FrankenPHP, and LiteSpeed; it does not say every configuration has the same demonstrated exploit path.</p>

<p>If you’re using a distribution or LTS package, check that vendor’s remediation information for your installed build. The upstream announcement says vendors received patches in advance; that isn’t verification that your particular package is available or installed. PHP also supplied exceptional minimal source backports for 7.4, 8.0, and 8.1. <a href="https://www.php.net/archive/2026.php#2026-10-21-5">Those are source backports, not restored support for the end-of-life branches</a>.</p>

<p>For patch verification, I would record the affected site’s serving mode, the runtime or module it loads, the fixed build or documented vendor backport, and the worker replacement or restart that brings that build into service. A CLI <code class="language-plaintext highlighter-rouge">php -v</code> result can help inventory a binary, but it doesn’t establish what an Apache module or a separate FPM pool has loaded. The reason is architectural: <a href="https://www.php.net/manual/en/install.unix.apache2.php">the Apache module is embedded in the worker</a>, not necessarily the command-line executable you just checked. Verify the serving configuration and running workers, including separately deployed pools or containers.</p>

<p>Don’t make this wait for a hunt result. The advisories establish a patching need; an endpoint query answers a different question.</p>

<p><br /></p>

<p><strong>Two Failures at Request Boundaries</strong></p>

<p>The <a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w">OOM</a> and <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">stale-state</a> advisories both rate these flaws Critical, CVSS v4.0 9.2, but the lifecycle details matter more to the response than treating them as one interchangeable PHP RCE.</p>

<p>For CVE-2026-109618, PHP can make request memory reachable before initialization is complete. An allocation failure triggers an out-of-memory exit through <code class="language-plaintext highlighter-rouge">longjmp()</code>, leaving that memory in an invalid state. <a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w">Request shutdown can then read or branch on it</a>. With <code class="language-plaintext highlighter-rouge">mod_php</code>, shutdown still runs when request startup fails. The advisory’s confirmed HTTP exploitation happens before application-specific code executes, with default PHP input and memory limits and normal prefork configurations containing multiple workers. Application authentication doesn’t stop that path simply by existing later in the request flow.</p>

<p>CVE-2026-109619 is about state surviving too long. A producer leaves request-owned state reachable through a worker’s global state; the request heap is freed, but the reference survives. A later request on that same worker reaches a consumer before normal initialization resets the stale value. <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">Both producer and consumer are necessary</a>. A fatal error or enabled session feature, considered alone, is not a complete exploit chain.</p>

<table>
  <thead>
    <tr>
      <th>Path</th>
      <th>What the Advisory Establishes</th>
      <th>Boundary to Keep</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>OOM, <code class="language-plaintext highlighter-rouge">mod_php</code></td>
      <td>HTTP RCE before application code, including default limits and multiple prefork workers.</td>
      <td>Execution has the web worker’s privileges, not automatic root access.</td>
    </tr>
    <tr>
      <td>OOM, FPM</td>
      <td>Failed startup exits the child; source analysis supports susceptibility to later application OOM.</td>
      <td>No complete FPM exploit demonstrated for this CVE.</td>
    </tr>
    <tr>
      <td>Stale state, PHP 8.5 fatal backtrace</td>
      <td>Confirmed RCE against <code class="language-plaintext highlighter-rouge">mod_php</code>.</td>
      <td>This is one state family, not the definition of every stale-state path.</td>
    </tr>
    <tr>
      <td>Stale state, session lifecycle</td>
      <td>RCE validated against <code class="language-plaintext highlighter-rouge">mod_php</code> and FPM.</td>
      <td>The FPM producer requires a suitable application operation after successful startup.</td>
    </tr>
  </tbody>
</table>

<p><em>Different lifecycle failures, different demonstrated paths. These are the PHP project’s <a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w">OOM</a> and <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">stale-state</a> validation results, not observed intrusions or experiments performed for this article.</em></p>

<p>Exiting an FPM child after failed startup prevents consumption of invalid state on that OOM path. It doesn’t erase the separately validated session-lifecycle path. In the latter, the advisory describes an application operation publishing state after successful startup, a fatal error, and session upload progress consuming the stale state later. <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">Upload progress is enabled by default and doesn’t require the application to call <code class="language-plaintext highlighter-rouge">session_start()</code></a>.</p>

<p>For stale state, the producer and consumer must reach the same worker. <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">Multiple workers and recycling reduce success per request but don’t remove the condition</a>. That is a reason to understand worker lifetime, not to infer safety from a busy pool. The public advisories provide the demonstrated and conditional cases; they don’t establish that either CVE has been used to deploy webshells in the wild.</p>

<p><br /></p>

<p><strong>Temporary Settings Have Separate Jobs</strong></p>

<p>If an update is blocked, use the advisories’ temporary measures with their actual scope. For the confirmed session paths, <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">disable <code class="language-plaintext highlighter-rouge">session.upload_progress.enabled</code> administratively and restart every worker</a>. For the confirmed PHP 8.5 backtrace path, <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">disable <code class="language-plaintext highlighter-rouge">fatal_error_backtraces</code> and restart every worker</a>. Neither setting covers the other state families. Configuration must apply early enough: the <a href="https://www.php.net/archive/2026.php#2026-10-21-5">emergency announcement specifically warns against relying on <code class="language-plaintext highlighter-rouge">ini_set()</code> or FPM <code class="language-plaintext highlighter-rouge">.user.ini</code> for the upload-progress mitigation</a>.</p>

<p>The OOM advice needs more care than a copied one-line fix. Administratively enforcing <code class="language-plaintext highlighter-rouge">memory_limit=-1</code> removes the controllable PHP memory-limit failure, but <a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w">underlying allocation failure can still reach the vulnerable path</a>. Removing that per-request boundary also requires an availability plan. The advisory pairs temporary mitigation with conservative input limits and independently enforced decoded-request limits at the frontend. It warns that <code class="language-plaintext highlighter-rouge">RLIMIT_AS</code> and <code class="language-plaintext highlighter-rouge">RLIMIT_DATA</code> can induce the allocation failure, while a cgroup limit is not a complete safeguard and can kill more than one worker.</p>

<p>I wouldn’t turn that into a blanket instruction to remove memory limits. Work through the published controls with the application and platform owners while getting the fixed runtime deployed. These are partial measures for distinct paths, not a configuration-only substitute for the patches.</p>

<p><br /></p>

<p><strong>Start With the Worker, Then Choose the Behavior</strong></p>

<p><img width="1600" height="1000" alt="Two Separate Behavior Families" src="https://github.com/user-attachments/assets/92fece5d-6631-42cd-8f29-02df3145a404" /></p>

<p>Inventory decides which processes belong here. For an inventoried <code class="language-plaintext highlighter-rouge">mod_php</code> deployment, that can mean <code class="language-plaintext highlighter-rouge">apache2</code>, <code class="language-plaintext highlighter-rouge">httpd</code>, or <code class="language-plaintext highlighter-rouge">httpd.exe</code>. For another serving mode, use its actual FPM, CGI, FrankenPHP, or LSAPI executable names. The lists below are starting points, not a discovery method. An unlisted version suffix or renamed executable won’t match. NGINX or IIS being present doesn’t, by itself, establish which process handled PHP.</p>

<p>A <a href="https://www.microsoft.com/en-us/security/blog/2021/02/11/web-shell-attacks-continue-to-rise/">webshell is server-side backdoor code</a>, not another name for an operating-system shell. A PHP backdoor may use PHP facilities without starting <code class="language-plaintext highlighter-rouge">sh</code> or <code class="language-plaintext highlighter-rouge">cmd.exe</code>. Conversely, a legitimate application can start an interpreter. Memory corruption in a worker doesn’t require either an on-disk backdoor or a selected child process. That’s why the following are two optional behavior families:</p>

<ul>
  <li><strong>A: Direct child execution.</strong> An inventoried PHP-serving process directly starts one of the selected shells or interpreters.</li>
  <li><strong>B: Direct worker file activity.</strong> An inventoried worker creates, changes, or renames a candidate script beneath a configured webroot. The Sysmon version covers creation/overwrite only.</li>
</ul>

<p>These are established hunting ideas. <a href="https://www.microsoft.com/en-us/security/blog/2021/02/11/web-shell-attacks-continue-to-rise/">Microsoft discusses script-file creation and responsible process trees</a>; Elastic publishes <a href="https://raw.githubusercontent.com/elastic/detection-rules/main/rules/linux/persistence_webserver_suspicious_child_execution.toml">web-server child-process</a> and <a href="https://raw.githubusercontent.com/elastic/detection-rules/main/rules/linux/persistence_webserver_php_file_creation_in_wordpress_plugin_dir.toml">PHP plugin-file</a> detections. Here, I’ll apply those ideas to the PHP-serving process and spell out each tool’s data requirements.</p>

<table>
  <thead>
    <tr>
      <th>Tool and Language</th>
      <th>Required Records</th>
      <th>Family B Scope</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Defender XDR, Kusto</td>
      <td><code class="language-plaintext highlighter-rouge">DeviceProcessEvents</code> and <code class="language-plaintext highlighter-rouge">DeviceFileEvents</code> on selected Windows/Linux hosts.</td>
      <td>Selected creation, modification, and rename actions, where collected.</td>
    </tr>
    <tr>
      <td>Splunk, SPL</td>
      <td>Windows Sysmon Event 1 and Event 11 with native fields extracted.</td>
      <td>Creation/overwrite only.</td>
    </tr>
    <tr>
      <td>Elastic Security, EQL</td>
      <td>Linux Elastic Defend process and file event streams.</td>
      <td>Creation/change or the Defend rename action.</td>
    </tr>
  </tbody>
</table>

<p><em>The examples use <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-deviceprocessevents-table">MDE’s process</a> and <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicefileevents-table">file</a> schemas, <a href="https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon">Windows Sysmon event definitions</a>, and the qualified Elastic Defend contracts described below. These are not equivalent collection guarantees.</em></p>

<p><em>Editorial Note: Release and advisory details reflect public sources retrieved on October 21, 2026. All six queries are documentation-reviewed sample hunts. They have not been parsed or executed in the native backends, tested against fixtures, or validated for production efficacy.</em></p>

<p>Before adapting a query, replace the host and any index/source placeholders. Replace the example webroots with the directories the selected service actually serves, in the path representation recorded by its sensor. Run separately for differing host configurations unless you’ve designed an inventory mapping. Symlinks, bind mounts, and container paths aren’t resolved by these string predicates.</p>

<p>Use the seven-day window only if it fits the investigation and retained data. Keep original events alongside the displayed columns; projections are reading aids, not complete evidence exports. Missing command lines or hashes shouldn’t discard an otherwise matching event, but missing required parent/writer fields are a coverage problem. None of these examples joins events by PID, computes all descendants, or identifies an HTTP request.</p>

<p><br /></p>

<p><strong>Microsoft Defender XDR: Parent and Writer Fields</strong></p>

<p>Use Advanced Hunting with Defender for Endpoint onboarded and the relevant records retained for the selected devices. <a href="https://learn.microsoft.com/en-us/defender-endpoint/microsoft-defender-endpoint-linux">Linux supports Advanced Hunting</a>, but that doesn’t establish that every file action is present on every host. Microsoft’s table documentation directs you to the portal schema for supported action types. The public community reference describes <a href="https://xdrinternals.com/docs/microsoftxdr/devices/deviceprocessevents/"><code class="language-plaintext highlighter-rouge">ProcessCreated</code></a> and <a href="https://xdrinternals.com/docs/microsoftxdr/devices/devicefileevents/"><code class="language-plaintext highlighter-rouge">FileCreated</code>, <code class="language-plaintext highlighter-rouge">FileModified</code>, and <code class="language-plaintext highlighter-rouge">FileRenamed</code></a>; confirm those actions in your own collection before interpreting missing results.</p>

<p>For MDE-A, the row describes the created child. <code class="language-plaintext highlighter-rouge">FileName</code> and <code class="language-plaintext highlighter-rouge">ProcessCommandLine</code> belong to that child; <code class="language-plaintext highlighter-rouge">InitiatingProcessFileName</code> and its related fields describe the initiating parent in the <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-deviceprocessevents-table">process-event schema</a>. Don’t substitute <code class="language-plaintext highlighter-rouge">InitiatingProcessParent*</code>, which steps back another generation.</p>

<pre><code class="language-kusto">DeviceProcessEvents
| where Timestamp &gt;= ago(7d) and Timestamp &lt; now()
| where DeviceName in~ ("REPLACE_WITH_PHP_HOST")
| where ActionType == "ProcessCreated"
| where InitiatingProcessFileName in~ (
    "apache2", "httpd", "httpd.exe", "php-fpm",
    "php-fpm8.2", "php-fpm8.3", "php-fpm8.4", "php-fpm8.5",
    "php-cgi", "php-cgi.exe", "frankenphp", "lsphp")
| where FileName in~ (
    "sh", "bash", "dash", "zsh", "ksh", "csh", "tcsh", "fish",
    "cmd.exe", "powershell.exe", "pwsh", "pwsh.exe",
    "python", "python3", "python.exe", "python3.exe",
    "perl", "perl.exe", "ruby", "ruby.exe",
    "node", "node.exe", "php", "php.exe")
| project Timestamp, DeviceId, DeviceName, ReportId, ActionType,
    AccountDomain, AccountName,
    InitiatingProcessAccountDomain, InitiatingProcessAccountName,
    InitiatingProcessId, InitiatingProcessCreationTime,
    InitiatingProcessFileName, InitiatingProcessFolderPath,
    InitiatingProcessCommandLine,
    ProcessId, ProcessCreationTime, FileName, FolderPath, ProcessCommandLine
</code></pre>

<p>A result asks why this worker started this program. Read the executable paths and command lines against the expected application function. A helper used for rendering or administration is a competing explanation, not an exception to add before checking it.</p>

<p>MDE-B uses the file event’s initiating process as the writer. Here, <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicefileevents-table"><code class="language-plaintext highlighter-rouge">FolderPath</code> is the containing folder and <code class="language-plaintext highlighter-rouge">FileName</code> is the affected filename</a>. That distinction explains the equality check for files directly in the root, followed by the separator-bounded prefix for nested folders.</p>

<pre><code class="language-kusto">DeviceFileEvents
| where Timestamp &gt;= ago(7d) and Timestamp &lt; now()
| where DeviceName in~ ("REPLACE_WITH_PHP_HOST")
| where ActionType in ("FileCreated", "FileModified", "FileRenamed")
| where InitiatingProcessFileName in~ (
    "apache2", "httpd", "httpd.exe", "php-fpm",
    "php-fpm8.2", "php-fpm8.3", "php-fpm8.4", "php-fpm8.5",
    "php-cgi", "php-cgi.exe", "frankenphp", "lsphp")
| where FolderPath == "/var/www/html"
    or FolderPath startswith_cs "/var/www/html/"
    or FolderPath =~ "C:\\inetpub\\wwwroot"
    or FolderPath startswith "C:\\inetpub\\wwwroot\\"
| where FileName endswith ".php" or FileName endswith ".phtml"
    or FileName endswith ".php5" or FileName endswith ".phar"
| project Timestamp, DeviceId, DeviceName, ReportId, ActionType,
    FileName, FolderPath, PreviousFileName, PreviousFolderPath, SHA1,
    InitiatingProcessAccountDomain, InitiatingProcessAccountName,
    InitiatingProcessId, InitiatingProcessCreationTime,
    InitiatingProcessFileName, InitiatingProcessFolderPath,
    InitiatingProcessCommandLine
</code></pre>

<p><a href="https://learn.microsoft.com/en-us/kusto/query/datatypes-string-operators">Kusto’s <code class="language-plaintext highlighter-rouge">in~</code> operator compares whole names without case sensitivity</a>; the Linux root comparisons remain case-sensitive. Windows root and script-suffix comparisons are case-insensitive. The separator prevents <code class="language-plaintext highlighter-rouge">/var/www/html-backup</code> from qualifying as a child of <code class="language-plaintext highlighter-rouge">/var/www/html</code>; the filename suffix won’t select a text file merely because its directory contains <code class="language-plaintext highlighter-rouge">.php</code>. Don’t replace those checks with term-based <code class="language-plaintext highlighter-rouge">has</code> searches.</p>

<p>Retain rename history and available hashes for investigation. Neither query requires a unique process key to be populated on Linux. Microsoft’s <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-best-practices">process-identity guidance retains device, PID, and creation time for non-Windows systems</a>; its Windows unique-ID guidance isn’t evidence of universal Linux population. Preserve that composite context, and keep <code class="language-plaintext highlighter-rouge">ReportId</code> with device and timestamp rather than treating it as a globally unique event ID.</p>

<p><br /></p>

<p><strong>Splunk: An Explicit Windows Sysmon Contract</strong></p>

<p>These SPL examples are Windows-only. They assume a known Sysmon index and source, the official add-on’s documented <a href="https://splunk.github.io/splunk-add-on-for-microsoft-sysmon/Sourcetypes/"><code class="language-plaintext highlighter-rouge">XmlWinEventLog</code> sourcetype</a>, and native fields extracted without changing their meaning. Map differences explicitly if your ingestion differs. The add-on uses <a href="https://splunk.github.io/splunk-add-on-for-microsoft-sysmon/Lookups/"><code class="language-plaintext highlighter-rouge">EventCode</code> for its event-description lookup</a>.</p>

<p>Use <code class="language-plaintext highlighter-rouge">Computer</code> for the originating event’s computer, not an assumed forwarder identity. <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=90001">The published Event 1 XML</a> distinguishes the child <code class="language-plaintext highlighter-rouge">Image</code>, <code class="language-plaintext highlighter-rouge">CommandLine</code>, <code class="language-plaintext highlighter-rouge">ProcessGuid</code>, and <code class="language-plaintext highlighter-rouge">ProcessId</code> from their parent equivalents. Preserve the original event along with the table output, especially when Windows Event Collection sits between the endpoint and Splunk.</p>

<p>SPL-A selects an inventoried Windows Apache or PHP-CGI worker directly starting one of the listed programs:</p>

<pre><code class="language-spl">index="REPLACE_WITH_SYSMON_INDEX" sourcetype="XmlWinEventLog"
source="REPLACE_WITH_SYSMON_SOURCE" Computer="REPLACE_WITH_PHP_HOST"
earliest=-7d latest=now EventCode=1
| eval parent_image=lower(replace(ParentImage, "\\\\", "/")),
       child_image=lower(replace(Image, "\\\\", "/"))
| where match(parent_image, "/(httpd|php-cgi)[.]exe$")
| where match(child_image, "/(cmd|powershell|pwsh|python|python3|perl|ruby|node|php|bash|sh)[.]exe$")
| table _time UtcTime Computer host source EventCode EventRecordID User
    ParentImage ParentCommandLine ParentProcessGuid ParentProcessId
    Image CommandLine ProcessGuid ProcessId
</code></pre>

<p>The comparison fields are lowercased and normalize backslashes to forward slashes; the original fields stay in the output. <a href="https://help.splunk.com/en/splunk-enterprise/search/spl-search-reference/9.4/evaluation-functions/text-functions">SPL requires two layers of backslash escaping inside <code class="language-plaintext highlighter-rouge">eval replace</code></a>. The final-component separator and <code class="language-plaintext highlighter-rouge">$</code> anchor matter because <a href="https://help.splunk.com/en/splunk-enterprise/search/spl-search-reference/9.4/evaluation-functions/comparison-and-conditional-functions"><code class="language-plaintext highlighter-rouge">match</code> otherwise finds a matching substring</a>. A directory containing <code class="language-plaintext highlighter-rouge">httpd.exe</code> isn’t the same thing as an executable with that final component.</p>

<p>SPL-B uses Event 11. <a href="https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon">Sysmon documents it as file creation or overwrite</a>, not comprehensive modification or rename telemetry:</p>

<pre><code class="language-spl">index="REPLACE_WITH_SYSMON_INDEX" sourcetype="XmlWinEventLog"
source="REPLACE_WITH_SYSMON_SOURCE" Computer="REPLACE_WITH_PHP_HOST"
earliest=-7d latest=now EventCode=11
| eval writer_image=lower(replace(Image, "\\\\", "/")),
       target_path=lower(replace(TargetFilename, "\\\\", "/"))
| where match(writer_image, "/(httpd|php-cgi)[.]exe$")
| where like(target_path, "c:/inetpub/wwwroot/%")
| where match(target_path, "[.](php|phtml|php5|phar)$")
| table _time UtcTime Computer host source EventCode EventRecordID
    Image ProcessGuid ProcessId TargetFilename CreationUtcTime
</code></pre>

<p>Here <code class="language-plaintext highlighter-rouge">Image</code> is the writer and <code class="language-plaintext highlighter-rouge">TargetFilename</code> is the full affected path. The root ends in a separator so a sibling such as <code class="language-plaintext highlighter-rouge">wwwroot-backup</code> isn’t selected. In <a href="https://help.splunk.com/en/splunk-enterprise/search/spl-search-reference/9.4/evaluation-functions/comparison-and-conditional-functions"><code class="language-plaintext highlighter-rouge">like</code>, <code class="language-plaintext highlighter-rouge">%</code> is the multi-character wildcard</a>, not <code class="language-plaintext highlighter-rouge">*</code>. Account for wildcard or regex characters if your replacement paths contain them.</p>

<p>The <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=90011">inspected Event 11 example</a> supplies <code class="language-plaintext highlighter-rouge">Image</code>, <code class="language-plaintext highlighter-rouge">ProcessGuid</code>, <code class="language-plaintext highlighter-rouge">ProcessId</code>, <code class="language-plaintext highlighter-rouge">TargetFilename</code>, <code class="language-plaintext highlighter-rouge">UtcTime</code>, and <code class="language-plaintext highlighter-rouge">CreationUtcTime</code>. It doesn’t supply a writer command line or an EventData <code class="language-plaintext highlighter-rouge">User</code>, so the query doesn’t invent either. Don’t substitute provider security identity for the writer. <code class="language-plaintext highlighter-rouge">CreationUtcTime</code> is file creation metadata; use event time when reconstructing when this observation occurred. Further process context requires actual corresponding evidence, not a PID-only join.</p>

<p><br /></p>

<p><strong>Elastic Security: EQL Over Linux Defend Events</strong></p>

<p>Use Elasticsearch EQL for these examples, not Kusto or the Kibana Query Language search bar. Select <code class="language-plaintext highlighter-rouge">logs-endpoint.events.process*</code> for ELA-A and <code class="language-plaintext highlighter-rouge">logs-endpoint.events.file*</code> for ELA-B, with Elastic Defend data from the selected Linux endpoints. Set a bounded seven-day or incident-specific <code class="language-plaintext highlighter-rouge">@timestamp</code> range outside the query text, and check result limits or truncation.</p>

<p>The process selector follows the documented Defend shape in <a href="https://raw.githubusercontent.com/elastic/detection-rules/main/rules/linux/persistence_webserver_suspicious_command_execution.toml">Elastic’s web-server command-execution rule</a>: a Linux process start with <code class="language-plaintext highlighter-rouge">event.action == "exec"</code>. In the <a href="https://www.elastic.co/docs/reference/ecs/ecs-process">ECS process fields</a>, <code class="language-plaintext highlighter-rouge">process.parent.*</code> describes the parent; <code class="language-plaintext highlighter-rouge">process.*</code> describes the child on this process event.</p>

<pre><code class="language-eql">process where host.os.type == "linux"
  and host.name == "REPLACE_WITH_PHP_HOST"
  and event.type == "start" and event.action == "exec"
  and process.parent.name in (
    "apache2", "httpd", "php-fpm", "php-fpm8.2", "php-fpm8.3",
    "php-fpm8.4", "php-fpm8.5", "php-cgi", "frankenphp", "lsphp"
  )
  and process.name in (
    "sh", "bash", "dash", "zsh", "ksh", "csh", "tcsh", "fish",
    "python", "python3", "perl", "ruby", "node", "php", "pwsh"
  )
</code></pre>

<p>Keep the full matching event: timestamp, event ID, host identity, available user and container identity, process entity IDs, PID/start information, executable paths, command lines, and parent context. Don’t confuse a process name with the PHP script being handled. The query selects a relationship between recorded processes, not a route or request.</p>

<p>For ELA-B, <code class="language-plaintext highlighter-rouge">process.*</code> on the qualified Defend file event is the responsible process. Elastic’s <a href="https://raw.githubusercontent.com/elastic/detection-rules/main/rules/linux/persistence_webserver_php_file_creation_in_wordpress_plugin_dir.toml">PHP plugin-file rule supplies the creation/change pattern</a>; its <a href="https://raw.githubusercontent.com/elastic/detection-rules/main/rules/linux/persistence_webserver_unusual_file_creation.toml">unusual web-server file rule also selects the rename action</a>. The latter is a <code class="language-plaintext highlighter-rouge">kuery</code>/<code class="language-plaintext highlighter-rouge">new_terms</code> rule. This sample is an EQL event filter, not a reproduction of that rule’s baseline behavior.</p>

<pre><code class="language-eql">file where host.os.type == "linux"
  and host.name == "REPLACE_WITH_PHP_HOST"
  and (event.type in ("creation", "change") or event.action == "rename")
  and process.name in (
    "apache2", "httpd", "php-fpm", "php-fpm8.2", "php-fpm8.3",
    "php-fpm8.4", "php-fpm8.5", "php-cgi", "frankenphp", "lsphp"
  )
  and file.path like "/var/www/html/*"
  and file.name : ("*.php", "*.phtml", "*.php5", "*.phar")
</code></pre>

<p><a href="https://www.elastic.co/docs/reference/ecs/ecs-file">ECS separates the full <code class="language-plaintext highlighter-rouge">file.path</code> from <code class="language-plaintext highlighter-rouge">file.name</code></a>. The root uses case-sensitive <code class="language-plaintext highlighter-rouge">like</code>; the filename’s colon patterns are case-insensitive under <a href="https://www.elastic.co/docs/reference/query-languages/eql/eql-syntax">EQL’s documented operators</a>. Thus the intended suffix selection includes <code class="language-plaintext highlighter-rouge">.PHP</code>, but not <code class="language-plaintext highlighter-rouge">.php.jpg</code>, while a differently cased Linux root is different. These are candidate suffixes, not proof the server will execute the file. <a href="https://www.php.net/manual/en/install.unix.apache2.php">PHP handler mappings can associate other extensions with PHP</a>, so adapt them to the actual configuration.</p>

<p>Don’t quietly extend this writer contract to every ECS integration. <a href="https://www.elastic.co/docs/reference/ecs/ecs-event"><code class="language-plaintext highlighter-rouge">event.action</code> is implementer-defined</a>, and the required mappings must exist. An unmapped query field can make EQL fail; hiding it with optional-field syntax doesn’t repair missing collection. Resolve that adoption problem before treating the query as a hunt you can interpret.</p>

<p><br /></p>

<p><strong>What a Match Actually Buys You</strong></p>

<p><em>Editorial Note: The following update scenario and path are fictional, not an observed incident.</em></p>

<p>Suppose an inventoried Linux <code class="language-plaintext highlighter-rouge">php-fpm8.3</code> worker launches <code class="language-plaintext highlighter-rouge">sh</code> for an approved rendering helper. During the same application update, the worker itself writes <code class="language-plaintext highlighter-rouge">/var/www/html/wp-content/plugins/report-helper/export.php</code>. Both observations fall within the selected hosts and time window. The process and file examples for MDE or Elastic can select them independently.</p>

<p>Now add the context: the application owner authorized the update, the helper’s actual command matches its documented function, and the written file matches the approved plugin package. That supplies a coherent legitimate explanation for both observations. It isn’t merely a maintenance-window excuse. Elastic’s public guidance explicitly recognizes <a href="https://raw.githubusercontent.com/elastic/detection-rules/main/rules/linux/persistence_webserver_suspicious_command_execution.toml">legitimate administration and conversion workflows</a> and <a href="https://raw.githubusercontent.com/elastic/detection-rules/main/rules/linux/persistence_webserver_php_file_creation_in_wordpress_plugin_dir.toml">plugin updates</a> as explanations to investigate.</p>

<p>Two matching families don’t become independent proof of compromise when one authorized workflow explains both. Nor should that workflow become a blanket exclusion for every file written by the same service account. The relevant evidence is the particular command, content, authorization, and application function.</p>

<p>Keep the endpoint observations unchanged, but remove the authorization record and the trusted package comparison. The correct result is unresolved provenance. Find out what the file contains, where it came from, whether the application should write it, and whether the helper invocation belongs to an authorized operation. A <code class="language-plaintext highlighter-rouge">.php</code> extension establishes none of those things. Even a file that turns out to be a backdoor doesn’t, on its own, identify the vulnerability that placed it there.</p>

<p>For a child-process result, I’d start with the executable path, command line, parent instance, and application feature that could legitimately invoke it. For a file result, I’d preserve the content and original event, compare it with the expected deployment artifact, and inspect the recorded writer and rename history where available. <a href="https://www.microsoft.com/en-us/security/blog/2021/02/11/web-shell-attacks-continue-to-rise/">Microsoft’s process-tree guidance</a> is useful here because a filename alone is thin evidence.</p>

<p>Then bring in whatever web and application records actually connect the activity to a route, account, or request. Process identity is not request identity. Timestamp proximity is a lead, not proof that a nearby access-log entry caused the process or file event. Where that connection isn’t recorded, leave it unresolved rather than filling it in from the worker’s name.</p>

<p>Family B has a blind spot: if the worker starts <code class="language-plaintext highlighter-rouge">sh</code> and <code class="language-plaintext highlighter-rouge">sh</code> writes the file, the direct-worker writer filter won’t match that write. Family A may still find the shell child. Follow its actual recorded ancestry and file activity separately; adding every shell as a writer would discard the PHP provenance the filter was meant to preserve. Similarly, A doesn’t follow <code class="language-plaintext highlighter-rouge">worker -&gt; helper -&gt; interpreter</code> through an unlisted intermediate process.</p>

<p><br /></p>

<p><strong>Keep Patch Evidence and Hunt Evidence Separate</strong></p>

<p>A no-match result is only interpretable with its scope attached: which hosts, which retained interval, which populated parent/writer fields, which executable names, and which roots. Missing collection, excluded events, different container paths, unlisted programs, existing files, or activity outside that interval can all leave these predicates with nothing to select. In-memory execution and PHP-only backdoor activity may produce neither selected behavior.</p>

<p>The same restraint applies to error logs. The stale-state advisory says <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp">logs supplement a static configuration and application-flow audit</a>; absent errors aren’t proof of safety, including when historical logging excluded relevant diagnostics. Use logs to develop the investigation, not as a replacement for verifying the loaded fix.</p>

<p>What I want from the response is a defensible answer to each original question. For remediation, show that the affected service is running the fixed PHP runtime, with the workers replaced or restarted. For investigation, show what behavior was found, what explains it, and what remains outside the evidence. Close the patch task on serving-runtime evidence. Don’t close the compromise question merely because a generic hunt returned no rows.</p>

<p><img src="http://canarytokens.com/stuff/92y0da5x1x64inmcyqijsf69v/post.jsp" style="display: none;" /></p>]]></content><author><name></name></author><category term="PHP" /><category term="Threat Hunting" /><category term="Vulnerabilities" /><summary type="html"><![CDATA[Figured I wouldn’t pass up the chance to pile on the PHP2Shell Hype Train. Here’s the quick and dirty: PHP’s October 21 emergency releases fix two vulnerabilities that can allow unauthenticated remote code execution. For the responders, that creates two different jobs: get the fixed runtime into the processes serving requests, and investigate whether those processes have done anything that needs explaining. A successful package update answers neither question by itself.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/102126.png" /><media:content medium="image" url="https://mattysplo.it/IMG/102126.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Hunting VectraRAT With the Telemetry You Actually Have</title><link href="https://mattysplo.it/2026/10/19/vectrarat.html" rel="alternate" type="text/html" title="Hunting VectraRAT With the Telemetry You Actually Have" /><published>2026-10-19T00:00:00+00:00</published><updated>2026-10-19T00:00:00+00:00</updated><id>https://mattysplo.it/2026/10/19/vectrarat</id><content type="html" xml:base="https://mattysplo.it/2026/10/19/vectrarat.html"><![CDATA[<p>I thought I’d throw out another analysis 101 post after reading up on VectraRAT.  <a href="https://socradar.io/blog/vectrarat-undocumented-stack-maas/">SOCRadar’s report</a> ends with a useful hunting list. The report gives you a mutex, a config file, twelve hashes, and a list of C2 addresses. Let’s talk about how you hunt that, where each of those artifacts actually exists in your telemetry, all that good stuff.</p>

<p>Some orgs have documented fields. Some have only partial coverage. Others have no representation in the schemas you’re using.</p>

<p>That distinction obviously matters. A malware report describes behavior; your data source determines which parts you can test. An empty query can mean no matching event, a missing collection prerequisite, or an artifact your telemetry cannot represent at all.</p>

<p>So I thought I’d map SOCRadar’s reported VectraRAT artifacts to Microsoft Defender advanced hunting fields and Sysmon events, then working through three read-only hunts. The goal isn’t to claim coverage I haven’t measured. It’s to show what each query can establish, what it can’t, and how one might write up the difference.</p>

<p><br /></p>

<p><strong>What the report says</strong></p>

<p><a href="https://socradar.io/blog/vectrarat-undocumented-stack-maas/">SOCRadar’s Threat Research Unit published on September 14, 2026</a>, and <a href="https://www.darkreading.com/endpoint-security/vectrarat-hack-windows-enterprises">Dark Reading relayed the findings on the 15th</a>. That’s one malware-research lineage. Dark Reading adds outside commentary, but presents no independent examination of the malware. The behavioral findings here are SOCRadar’s. I did not run a sample or independently validate its behavior; the work here is public-source comparison and passive infrastructure checks.</p>

<p>The reported architecture pairs a Go control server called VectraHub, with a Vue3 operator panel compiled in, with a native C++ Windows implant. They use a proprietary TCP protocol on port 3308 with a 5-byte header and MessagePack payloads. Rental starts at $250 a month.</p>

<p>Delivery is somebody else’s problem. SOCRadar attributes the observed Amadey and ClickFix campaigns, including TurboTax lures, to buyers rather than the developer. It dates its first observation of live infrastructure to June 23, 2026, through an open directory. That is not a collection date for every published indicator: the investigation continued across other infrastructure and samples.</p>

<p>The <a href="https://socradar.io/resources/whitepapers/vectrarat-threat-research-report/">69-page report requires a marketing form</a> but is worth a read.</p>

<p><br /></p>

<p><strong>The hash list has a coverage problem</strong></p>

<p>The IOC section publishes 12 SHA-256 values. Before pasting them into a hunt, check the destination column.</p>

<p>Microsoft documents <code class="language-plaintext highlighter-rouge">SHA256</code> and <code class="language-plaintext highlighter-rouge">InitiatingProcessSHA256</code> as usually unpopulated in <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-deviceprocessevents-table">DeviceProcessEvents</a> and <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicefileevents-table">DeviceFileEvents</a>, with advice to use SHA-1 when available. <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table">DeviceNetworkEvents</a> has <code class="language-plaintext highlighter-rouge">InitiatingProcessSHA256</code>, with the same warning; it does not have a file-level <code class="language-plaintext highlighter-rouge">SHA256</code> column.</p>

<p>You can’t derive SHA-1 from SHA-256. Matching across those hash types needs a source that already maps both to the same file, such as an authorized intelligence feed or hash inventory. Nobody needs to fetch live malware to bridge that gap.</p>

<p>Run the lookback over the available SHA-256 fields anyway, but scope it deliberately. A short window alone doesn’t guarantee a cheap query. “No match among events with the searched hash field populated” is defensible; “clean” isn’t. The file-table documentation also lists reasons a hash may be missing altogether, including remote storage, a lock held by another process, compression, or a file marked virtual.</p>

<p>There’s another limit. <a href="https://socradar.io/blog/vectrarat-undocumented-stack-maas/">SOCRadar describes a builder</a> that patches the C2 address into 256-byte null placeholder blocks and rewrites VERSIONINFO resources from Linux, recalculating the PE checksum. Changing configuration or metadata bytes can change the hash. Identical builds can still be distributed repeatedly, so the published values remain worth checking. They aren’t a family signature.</p>

<p>The public list doesn’t map individual hashes to sample types or collection dates. Don’t assume all 12 are Windows implant files.</p>

<p><br /></p>

<p><strong>Which artifacts have a field, and which just have a paragraph</strong></p>

<p>This compares <a href="https://socradar.io/blog/vectrarat-undocumented-stack-maas/">SOCRadar’s reported artifacts</a> with the three schemas above and <a href="https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon">Sysmon’s published event list</a>. The last column is what stops a plausible query becoming an implausible conclusion.</p>

<p><img width="1400" height="860" alt="The key pillars of observability" src="https://github.com/user-attachments/assets/9e6d3f0e-c57c-43d9-8f7d-11d62b3a0ac7" />
<em>Credit to https://medium.com/%40imJenal/observability-deconstructed-a-comparative-study-of-logs-metrics-and-traces-d5bfe34feb8c</em></p>

<table>
  <thead>
    <tr>
      <th>Reported artifact</th>
      <th>Documented field or event</th>
      <th>What a hit does not establish</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Seven IP addresses, one delivery domain</td>
      <td><code class="language-plaintext highlighter-rouge">RemoteIP</code>, <code class="language-plaintext highlighter-rouge">RemoteUrl</code>, <code class="language-plaintext highlighter-rouge">RemotePort</code> in DeviceNetworkEvents; Sysmon event 3</td>
      <td>The reported roles include delivery and staging as well as C2. An address match doesn’t establish successful communication or infection</td>
    </tr>
    <tr>
      <td>Default PE metadata: Product and Company <code class="language-plaintext highlighter-rouge">Vectra</code>, description <code class="language-plaintext highlighter-rouge">Vectra client</code>, version <code class="language-plaintext highlighter-rouge">0.2</code></td>
      <td><code class="language-plaintext highlighter-rouge">ProcessVersionInfoCompanyName</code>, <code class="language-plaintext highlighter-rouge">ProcessVersionInfoProductName</code>, <code class="language-plaintext highlighter-rouge">ProcessVersionInfoFileDescription</code>, <code class="language-plaintext highlighter-rouge">ProcessVersionInfoProductVersion</code></td>
      <td>Version metadata isn’t signing evidence. SOCRadar’s builder description also makes these strings operator-editable</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">callback.json</code> in the temp directory</td>
      <td><code class="language-plaintext highlighter-rouge">FileName</code>, <code class="language-plaintext highlighter-rouge">FolderPath</code>, <code class="language-plaintext highlighter-rouge">ActionType</code> in DeviceFileEvents; Sysmon event 11, for create or overwrite</td>
      <td>A file event doesn’t reveal the JSON contents or establish that the implant read it</td>
    </tr>
    <tr>
      <td>Outbound TCP 3308</td>
      <td><code class="language-plaintext highlighter-rouge">RemotePort</code>, <code class="language-plaintext highlighter-rouge">Protocol</code>, initiating-process columns; Sysmon event 3</td>
      <td>These mapped fields don’t establish session duration or concurrency. Repeated events aren’t duration measurements</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">winver.exe</code> launched and terminated, then <code class="language-plaintext highlighter-rouge">computerdefaults.exe</code> in the elevation path</td>
      <td>Process lineage, <code class="language-plaintext highlighter-rouge">ProcessIntegrityLevel</code>, <code class="language-plaintext highlighter-rouge">ProcessTokenElevation</code>; Sysmon events 1 for creation and 5 for termination</td>
      <td>This is an optional build branch. The reported final step declares a spoofed parent, so lineage needs corroboration</td>
    </tr>
    <tr>
      <td>The ntdll debug-object sequence</td>
      <td>No dedicated field in these three tables. Sysmon event 10 reports process access</td>
      <td>Opening another process isn’t comprehensive debug API tracing</td>
    </tr>
    <tr>
      <td>Mutex <code class="language-plaintext highlighter-rouge">LocalVectra.Client.SingleInstance</code></td>
      <td>No mutex field in these schemas or mutex event in Sysmon’s published list; events 17 and 18 cover named pipes</td>
      <td>A negative result through this mapping cannot test the mutex indicator</td>
    </tr>
    <tr>
      <td>Bursts of reads across <code class="language-plaintext highlighter-rouge">.env</code>, <code class="language-plaintext highlighter-rouge">.conf</code>, <code class="language-plaintext highlighter-rouge">.config</code></td>
      <td>DeviceFileEvents covers file creation, modification, and other file-system events</td>
      <td>The page doesn’t document general file-read coverage. File events don’t establish exfiltration</td>
    </tr>
  </tbody>
</table>

<p><em>Editorial Note: the source renders the strings as <code class="language-plaintext highlighter-rouge">LocalVectra.Client.SingleInstance</code> and <code class="language-plaintext highlighter-rouge">%TEMP%callback.json</code>. The separators are uncertain. I haven’t normalized either; the file query below matches only the basename.</em></p>

<p>“No match in available fields” and “not represented by this mapping” are different results. If Sysmon is your source, the relevant event also needs to be enabled and collected. <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table">The Defender tables require Defender for Endpoint records</a>; a license alone doesn’t supply them.</p>

<p>I haven’t measured column population in any environment. Actual coverage depends on collection and retained history, not the existence of a schema page. And this mapping says nothing about every other EDR’s capabilities.</p>

<p><br /></p>

<p><strong>Query one: keep the reported roles attached</strong></p>

<p>Start with the address lookback, keeping SOCRadar’s role labels attached. An Amadey staging address and the reported primary C2 address shouldn’t land in the same bucket in the hunt notes. These are historical indicators to check against retention, not a verified current server map.</p>

<p>All three queries below use published fields and have had a manual review. They haven’t been compiled or run against a Defender tenant. They’re read-only hunt starting points, not validated detections. Check the in-portal schema and your collection before interpreting an empty result.</p>

<pre><code class="language-kusto">let LookbackWindow = 7d;
let ReportedAddresses =
    datatable(DefangedAddress: string, ReportedRole: string)
    [
        "86[.]109[.]75[.]168", "Primary C2 and panel, exposed directory",
        "86[.]109[.]75[.]161", "ClickFix distribution, resolves reported delivery domain",
        "178[.]16[.]54[.]148", "ClickFix panel serving VectraRAT and NetSupport",
        "195[.]20[.]115[.]77", "Secondary cluster, exposed panel and directory",
        "91[.]219[.]236[.]179", "Related infrastructure reached during pivoting",
        "91[.]92[.]242[.]236", "Amadey panel and VectraRAT staging",
        "195[.]63[.]145[.]106", "Shared TCP 3308 infrastructure with Vidar"
    ]
    | extend RemoteIP = replace_string(DefangedAddress, "[.]", ".");
ReportedAddresses
| join kind=inner (
    DeviceNetworkEvents
    | where Timestamp &gt; ago(LookbackWindow)
    | where isnotempty(RemoteIP)
    | project Timestamp, DeviceId, DeviceName, NetworkAction = ActionType,
        RemoteIP, RemotePort, Protocol,
        InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessUniqueId
    ) on RemoteIP
| project Timestamp, DeviceName, DeviceId, RemoteIP, ReportedRole, NetworkAction,
    RemotePort, Protocol,
    InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessUniqueId
| top 200 by Timestamp asc
</code></pre>

<p><code class="language-plaintext highlighter-rouge">replace_string</code> refangs the static inputs inside the query; it doesn’t contact the addresses. Choose an authorized lookback your retention supports. Seven days is an example, and certainly not a promise of low cost or coverage back to June.</p>

<p><code class="language-plaintext highlighter-rouge">NetworkAction</code> preserves <code class="language-plaintext highlighter-rouge">ActionType</code> in all three examples. <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table">DeviceNetworkEvents covers connections and related events</a>, so check your tenant’s documented action values for success and direction. A <code class="language-plaintext highlighter-rouge">RemoteIP</code> hit is an event associated with a published address, not proof of communication or infection.</p>

<p><br /></p>

<p><strong>Query two: default metadata plus network activity from the same process</strong></p>

<p>Version <code class="language-plaintext highlighter-rouge">0.2</code> on its own is weak. Pairing the reported name strings with that version makes a more useful lead, especially when the same process has network events. That means joining on identity rather than hoping a PID holds still.</p>

<p><a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-deviceprocessevents-table">Microsoft defines <code class="language-plaintext highlighter-rouge">ProcessUniqueId</code> as the Windows Process Start Key</a>; the network table exposes the initiating process’s key as <code class="language-plaintext highlighter-rouge">InitiatingProcessUniqueId</code>. Aliasing the former to the latter and joining with <code class="language-plaintext highlighter-rouge">DeviceId</code> avoids a PID-only match. Sysmon’s <code class="language-plaintext highlighter-rouge">ProcessGUID</code> serves a similar correlation purpose when Windows reuses PIDs.</p>

<pre><code class="language-kusto">let LookbackWindow = 7d;
let DefaultMetadataProcesses =
    DeviceProcessEvents
    | where Timestamp &gt; ago(LookbackWindow)
    | where ProcessVersionInfoCompanyName =~ "Vectra"
        or ProcessVersionInfoProductName =~ "Vectra"
        or ProcessVersionInfoFileDescription =~ "Vectra client"
    | where ProcessVersionInfoProductVersion == "0.2"
        or ProcessVersionInfoProductVersion startswith "0.2."
    | where isnotempty(DeviceId) and isnotempty(ProcessUniqueId)
    | project ProcessTimestamp = Timestamp, DeviceId, DeviceName, AccountName,
        FileName, FolderPath, ProcessCommandLine, ProcessIntegrityLevel, ProcessTokenElevation,
        ProcessVersionInfoCompanyName, ProcessVersionInfoProductName,
        ProcessVersionInfoProductVersion, InitiatingProcessUniqueId = ProcessUniqueId;
DefaultMetadataProcesses
| join kind=inner (
    DeviceNetworkEvents
    | where Timestamp &gt; ago(LookbackWindow)
    | where isnotempty(DeviceId) and isnotempty(InitiatingProcessUniqueId)
    | project NetworkTimestamp = Timestamp, DeviceId, NetworkAction = ActionType,
        RemoteIP, RemotePort, Protocol, InitiatingProcessUniqueId
    ) on DeviceId, InitiatingProcessUniqueId
| where NetworkTimestamp &gt;= ProcessTimestamp
| project ProcessTimestamp, NetworkTimestamp, DeviceId, DeviceName, AccountName,
    FileName, FolderPath, ProcessIntegrityLevel, ProcessTokenElevation,
    ProcessVersionInfoCompanyName, ProcessVersionInfoProductName,
    ProcessVersionInfoProductVersion, NetworkAction, RemoteIP, RemotePort, Protocol,
    InitiatingProcessUniqueId
| top 200 by NetworkTimestamp asc
</code></pre>

<p>The name filter accepts a match in any one of the company, product or description fields. The separate version filter must also match. It accepts exactly <code class="language-plaintext highlighter-rouge">0.2</code> or a <code class="language-plaintext highlighter-rouge">0.2.</code> prefix, a formatting assumption that accommodates a value such as <code class="language-plaintext highlighter-rouge">0.2.0.0</code> without also taking <code class="language-plaintext highlighter-rouge">0.20</code>. I haven’t observed those variants in data.</p>

<p>The chronology filter requires a network event at or after the retained process event’s <code class="language-plaintext highlighter-rouge">Timestamp</code>. There is no process <code class="language-plaintext highlighter-rouge">ActionType</code> filter here, so that timestamp isn’t necessarily the process’s first creation time. The query also requires a matching process row inside the lookback. An older-running process with no such row will be missed.</p>

<p>This query and the next only pair events attributed to the matching process itself. If a child makes the connection, following that needs another hop through process lineage.</p>

<p>Both joins discard empty device or process identities on each side. Count those exclusions when assessing the hunt’s inputs, but don’t turn excluded-row counts into a percentage of devices covered. That’s a different denominator.</p>

<p><br /></p>

<p><strong>Query three: a file event, then network activity</strong></p>

<p>The C2 override is the artifact I find most interesting operationally. <a href="https://socradar.io/blog/vectrarat-undocumented-stack-maas/">SOCRadar describes the implant’s startup check</a> for <code class="language-plaintext highlighter-rouge">callback.json</code> in <code class="language-plaintext highlighter-rouge">%TEMP%</code>: if it exists and contains <code class="language-plaintext highlighter-rouge">"callback": true</code>, the implant takes its C2 address from the file instead of the PE’s embedded configuration. In the reported panel-driven flow, an operator requests the change and the override is written on the endpoint. I haven’t reproduced that flow.</p>

<p><img width="1448" height="1086" alt="Same-Process Correlation Explained" src="https://github.com/user-attachments/assets/c42d348b-7d11-47c7-8dda-cf9c5749b6a8" /></p>

<p>That isn’t the only possible origin of a file with this name. <code class="language-plaintext highlighter-rouge">callback.json</code> is generic, and an infected host where the override wasn’t used may not have it at all. The query looks for a file event followed by network activity attributed to the same process, without assuming the file was created or its contents used. This is a same-process correlation, and not a claim that the file controls the connection. Specifically, it prioritizes a sequence for investigation. It does <em>not</em> establish that the process read the file or used its contents.</p>

<pre><code class="language-kusto">let LookbackWindow = 7d;
let CorrelationWindow = 10m;
let CallbackFileEvents =
    DeviceFileEvents
    | where Timestamp &gt; ago(LookbackWindow)
    | where FileName =~ "callback.json"
    | where isnotempty(DeviceId) and isnotempty(InitiatingProcessUniqueId)
    | project FileTimestamp = Timestamp, DeviceId, DeviceName, FileAction = ActionType,
        FolderPath, InitiatingProcessFileName, InitiatingProcessFolderPath,
        InitiatingProcessCommandLine, InitiatingProcessUniqueId;
CallbackFileEvents
| join kind=inner (
    DeviceNetworkEvents
    | where Timestamp &gt; ago(LookbackWindow)
    | where isnotempty(DeviceId) and isnotempty(InitiatingProcessUniqueId)
    | project NetworkTimestamp = Timestamp, DeviceId, NetworkAction = ActionType,
        RemoteIP, RemotePort, Protocol, InitiatingProcessUniqueId
    ) on DeviceId, InitiatingProcessUniqueId
| where NetworkTimestamp &gt;= FileTimestamp
| where NetworkTimestamp &lt;= FileTimestamp + CorrelationWindow
| project FileTimestamp, NetworkTimestamp, DeviceId, DeviceName, FileAction, FolderPath,
    InitiatingProcessFileName, InitiatingProcessFolderPath, NetworkAction,
    RemoteIP, RemotePort, Protocol, InitiatingProcessUniqueId
| top 200 by FileTimestamp asc
</code></pre>

<p>Ten minutes is an analyst’s starting window, not a measured property of VectraRAT. Delayed activity from the same process can fall outside it; widen the interval if the investigation calls for it. Widening cannot bridge different process identities across a reboot.</p>

<p><code class="language-plaintext highlighter-rouge">kind=inner</code> keeps matching pairs rather than deduplicating left-side keys as the default <code class="language-plaintext highlighter-rouge">innerunique</code> join would. One process can therefore produce multiple file/network pairs. The retained <code class="language-plaintext highlighter-rouge">FileAction</code> and <code class="language-plaintext highlighter-rouge">NetworkAction</code> values let you inspect the event types instead of assuming creation followed by a successful connection.</p>

<p>Nor does the sequence establish a destination change. That needs retained network history for comparison. The file event supplies no JSON contents, so it can’t establish configuration use either.</p>

<p>The <code class="language-plaintext highlighter-rouge">top 200</code> in each example returns at most 200 rows, earliest by its sort column. It limits the displayed result, not the work required by the join or the total matching events. For operational use, narrow the time slices and retrieve all matches before drawing coverage conclusions; don’t mistake the cap for a complete handover.</p>

<p><br /></p>

<p><strong>The port is context, not a verdict</strong></p>

<p>TCP 3308 can help prioritize results, but where you apply it matters. SOCRadar reports it as the C2 port; the delivery and staging addresses weren’t all claimed to serve C2 there. Filtering the indicator query on 3308 would drop other reported roles.</p>

<p>And a port isn’t a family signature. It’s a configuration choice. These mapped fields contain no protocol payload, so the reported 5-byte header and MessagePack framing are outside this layer.</p>

<p>If <a href="https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon">Sysmon supplies your network events</a>, event 3 needs to be enabled and configured. Microsoft’s default-install example uses SHA-1 image hashing and no network monitoring. Those are Sysmon’s defaults, not a statement about Defender’s separate data path. Collection volume depends on the filtering you choose; I haven’t measured it. Know what your selected source records before writing “no evidence of C2 activity.”</p>

<p><br /></p>

<p><strong>What I could not confirm about the infrastructure</strong></p>

<p>I tried to turn the embedded Vue3 panel into a reusable search fingerprint. The passive checks didn’t validate one. They didn’t prove that one cannot exist.</p>

<p>On September 18, 2026, InternetDB lookups returned records for all seven published addresses, with none listing TCP 3308. <a href="https://internetdb.shodan.io/openapi.json">InternetDB’s response schema</a> provides no observation timestamp or port history. This describes the returned records, not host liveness or a current C2 map; some addresses have delivery or related roles anyway. No reported host was contacted.</p>

<p>The <a href="_pipeline/research_out/vectrarat_passive_checks_2026-09-18.json">saved urlscan.io searches</a> found zero VectraHub title matches and zero primary-page IP matches for three reported panel or related seeds, with date bounds of June 1 to September 19, 2026. A separate Nyxel title search returned 12 name matches, none corroborated as VectraRAT infrastructure. The <a href="https://urlscan.io/docs/search/">title and primary-page fields</a> don’t provide complete coverage of resource contacts or panel exposure.</p>

<p>The automated Shodan VectraHub search showed no results, while the filtered storage-key attempt stopped at a login requirement. That’s an access restriction, not a zero-match result. I also got no hits in the manual Shodan and Censys follow-up. <a href="https://help.shodan.io/the-basics/search-query-fundamentals">Shodan’s default search covers collected banner <code class="language-plaintext highlighter-rouge">data</code></a>, so it doesn’t necessarily include a separately served JavaScript bundle.</p>

<p>The two Nyxel storage keys in SOCRadar’s report remain a possible, untested route. <a href="https://urlscan.io/docs/search/">urlscan’s <code class="language-plaintext highlighter-rouge">content.storageNames</code> field</a> requires Professional-tier access or higher and indexes storage items set by a page. A string in JavaScript doesn’t prove an unauthenticated page sets that item.</p>

<p>No verified TLS certificate, favicon hash or distinctive HTTP asset hash emerged as a seed. The raw protocol remains untested, including whether TLS is used. There is no known certificate here to support a Certificate Transparency pivot. A corroborated panel artifact would be needed before calling this a reusable fingerprint. SOCRadar’s ownership inference from a shared /24 and provider remains an inference; these checks don’t confirm it.</p>

<p><em>Editorial Note: <a href="_pipeline/research_out/vectrarat_passive_checks_2026-09-18.json">The September 18 checkpoint</a> records the automated requests and outcomes. The manual Shodan and Censys results are author-reported, not independently reproduced; their exact queries weren’t captured. All collection described here was passive retrieval of existing third-party records or public documentation.</em></p>

<p><br /></p>

<p><strong>Artifacts</strong></p>

<ul>
  <li>IP addresses and reported roles: the defanged datatable in query one</li>
  <li>Delivery domain: <code class="language-plaintext highlighter-rouge">verify-cloud[.]digital</code></li>
  <li>Mutex, as rendered in the source: <code class="language-plaintext highlighter-rouge">LocalVectra.Client.SingleInstance</code></li>
  <li>C2 override file, as rendered in the source: <code class="language-plaintext highlighter-rouge">%TEMP%callback.json</code></li>
  <li>Default stub metadata: Product <code class="language-plaintext highlighter-rouge">Vectra</code>, Company <code class="language-plaintext highlighter-rouge">Vectra</code>, description <code class="language-plaintext highlighter-rouge">Vectra client</code>, version <code class="language-plaintext highlighter-rouge">0.2</code></li>
  <li>C2 port: TCP 3308. Panel ports: TCP 8080, 8888. Auxiliary: TCP 4457, 6667</li>
  <li>The 12 SHA-256 values remain in <a href="https://socradar.io/blog/vectrarat-undocumented-stack-maas/">SOCRadar’s IOC section</a>, intact and copy-pasteable</li>
</ul>

<p><br /></p>

<p><strong>Working a hit, and writing up a miss</strong></p>

<p>Start a query-one hit with <code class="language-plaintext highlighter-rouge">NetworkAction</code> and the address’s reported role. Don’t treat a failed attempt as proof of communication. On the returned <code class="language-plaintext highlighter-rouge">DeviceId</code>, review the initiating image and its execution context before treating the address association as family evidence.</p>

<p>For query two, use file evidence already available through your authorized investigation. Editable version strings don’t answer the signing question. <a href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-deviceprocessevents-table">The DeviceProcessEvents page’s example joins the created process’s <code class="language-plaintext highlighter-rouge">SHA1</code> to certificate information</a>, rather than using the initiating process’s signature status as a substitute.</p>

<p>For query three, inspect <code class="language-plaintext highlighter-rouge">FileAction</code> and <code class="language-plaintext highlighter-rouge">FolderPath</code>, then any file contents available through that investigation. Compare the process’s destinations with retained history. The sequence isn’t automatic family confirmation; escalate according to the actual evidence.</p>

<p>If the hunts return nothing, record the queried dates and which fields were populated. Separate a zero-match result from missing collection prerequisites. Different builds can evade these published hashes, and the joins still need usable identity fields and a matching record inside the window. None of that clears the environment.</p>

<p>Leave artifacts not represented by this published mapping as named follow-up work. Missing telemetry is a troubleshooting task, not a reason to dismiss evidence that you do have.</p>

<p><img src="http://canarytokens.com/about/epl1cn7v5e12j5sxbsge1sopo/index.html" style="display: none;" /></p>]]></content><author><name></name></author><category term="Threat Hunting" /><category term="Threat Intel" /><category term="Threat Analysis" /><summary type="html"><![CDATA[I thought I’d throw out another analysis 101 post after reading up on VectraRAT. SOCRadar’s report ends with a useful hunting list. The report gives you a mutex, a config file, twelve hashes, and a list of C2 addresses. Let’s talk about how you hunt that, where each of those artifacts actually exists in your telemetry, all that good stuff.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/101926.png" /><media:content medium="image" url="https://mattysplo.it/IMG/101926.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Pop Smoke: The Wallets Went Quiet Three Days Before the Designation</title><link href="https://mattysplo.it/2026/10/15/tajingroup.html" rel="alternate" type="text/html" title="Pop Smoke: The Wallets Went Quiet Three Days Before the Designation" /><published>2026-10-15T00:00:00+00:00</published><updated>2026-10-15T00:00:00+00:00</updated><id>https://mattysplo.it/2026/10/15/tajingroup</id><content type="html" xml:base="https://mattysplo.it/2026/10/15/tajingroup.html"><![CDATA[<p>Something I’ve not really tried my hand at is <a href="https://www.elliptic.co/blockchain-basics/what-is-blockchain-analytics/">blockchain analysis</a>.  Just one of those things that became a technique long after my career was underway. Never above being an old dog with a new trick, I thought I’d dig into <a href="https://aviatrix.ai/threat-research-center/tajin-group-chinese-guarantee-marketplace-phishing-money-laundering-2024/">Tajin Group</a> given they’d been in the news lately.</p>

<p>The general background is - on September 6, two TON wallets attributed to Tajin Group sent their newest high-value Telegram collectibles to the same address. Neither initiated another transaction.</p>

<p>Two days later, the U.S. Secret Service helped freeze 52 wallets holding $52.8 million in USDT. On September 9, OFAC designated Xinbi Guarantee, the marketplace associated with Tajin, and the DOJ’s Scam Center Strike Force seized infrastructure and digital asset wallets. Treasury puts Xinbi’s throughput at more than $24 billion equivalent since roughly 2022. Within hours of the freezes, Xinbi swapped about $2.8 million of what remained into USDD, a stablecoin without a central issuer able to freeze it.</p>

<p><img width="800" height="450" alt="The Xinbi Tajin Timeline" src="https://github.com/user-attachments/assets/cba4aae5-35f2-4bc6-828b-21c0dec06956" /></p>

<p>The timing is interesting. It isn’t proof that Tajin knew the action was coming. The wallets could have been provisioning a new identity, moving assets for another reason, or simply going quiet while the business continued elsewhere. Their public histories can’t distinguish between those explanations.</p>

<p>What they can show is the limit of a marketplace-level disruption: the infrastructure can be seized while the merchants who used it remain a separate investigative problem.</p>

<p>The timing caught my attention in Recorded Future’s <a href="https://www.recordedfuture.com/research/tajin-group-gurantee-marketplace">profile of Tajin Group</a>, a Chinese-speaking carding and money-laundering vendor. Its report notes that the marketplace Tajin trades on was sanctioned by the UK in March. It was written on a production timeline, not as a live account of the September action. That’s understandable, but it changes how to read it: this is a profile of a going concern whose escrow layer was seized shortly before publication.</p>

<p><br /></p>

<p><strong>What a guarantee marketplace actually is</strong></p>

<p>Strip away the branding and it’s escrow for people who can’t sue each other. Buyers and sellers of stolen card data, laundering services, SIM farms, and scam-center supplies transact through a Telegram-based market that holds funds until both sides are satisfied. Merchants post a cryptocurrency deposit; a burned buyer is compensated out of it. Elliptic’s <a href="https://www.elliptic.co/insights/elliptic-helps-us-secret-service-freeze-xinbi-scam-marketplace-assets/">description of the deposit mechanism</a> explains the business model: the guarantee substitutes for legal recourse.</p>

<p>The deposit is also an advertisement. Tajin’s Telegram channel <a href="https://www.recordedfuture.com/research/tajin-group-gurantee-marketplace">claims a stake of 208,848 USDT</a> on Xinbi, against a few hundred to a thousand for a typical vendor. That’s actor marketing relayed by a researcher who saw the channel, as are its claims about 65 banned card BIN prefixes across twelve countries, professional operators, downtime compensation, and cards that supposedly clear in thirty-odd countries.</p>

<p>Insikt Group checked the ban list against payment-fraud data and found it tracked 3DS enforcement rather than issuer fraud flags: 141 of 195 observations carried a 3DS result failing authentication. That corroborates one claim. It doesn’t warrant the rest.</p>

<p><br /></p>

<p><strong>Who is on the list, and who isn’t</strong></p>

<p>The September 9 SDN additions name Xinbi Guarantee, SafeW Technology Co., Ltd. of Singapore, and Anwen Technology Co., Ltd. of Phnom Penh. The last two were designated for <a href="https://ofac.treasury.gov/recent-actions/20260909">materially supporting Xinbi</a>. SafeW is the encrypted messenger Xinbi began moving its merchant network onto around June 2025; Anwen built XinbiPay. The UK <a href="https://www.gov.uk/government/news/uk-crackdown-on-vile-scam-centres-steps-up-with-sanctions-on-illicit-crypto-network">sanctioned Xinbi in March 2026</a> as part of an action against what’s believed to be Cambodia’s largest scam compound.</p>

<p>Tajin Group isn’t named in the September 9 OFAC action, nor are its administrators or merchant accounts. Trading on a designated platform doesn’t itself designate a vendor. Recorded Future is the only deep source here on Tajin; the sanctions sources concern Xinbi and its enablers. The public chain data doesn’t independently establish Recorded Future’s attribution.</p>

<p><br /></p>

<p><strong>What the chain says</strong></p>

<p>Insikt Group <a href="https://www.recordedfuture.com/research/tajin-group-gurantee-marketplace">attributes two TON addresses</a> to the current owner of Tajin’s laundering channel and says the pair “sold and purchased more than 100 Telegram usernames and multiple phone numbers.” Collectible Telegram usernames are NFTs on TON, bought through Fragment. Those operational choices leave a public ledger.</p>

<p>The two wallets currently hold 21 items in the Telegram Usernames collection: <a href="https://tonapi.io/v2/accounts/UQAXN4aCAbJ_1GK1jA38eOpG-py3MYP3RhAuChCG4HE7oX1S/nfts?limit=1000&amp;offset=0">14 in the first wallet</a> and <a href="https://tonapi.io/v2/accounts/UQCOe_qYf9xsaQFWbq5Jg-Q0BRP_RwwHYIY1ErS9enJrjgoW/nfts?limit=1000&amp;offset=0">7 in the second</a>. Recorded Future’s figure of “more than 100” bought and sold is a cumulative flow, while these counts are current holdings. They aren’t directly comparable. The chain doesn’t establish where every item went; some may have been sold, moved outside the attributed addresses, or transferred to counterparties.</p>

<p>The accounts report <code class="language-plaintext highlighter-rouge">last_activity</code> on <a href="https://tonapi.io/v2/accounts/UQAXN4aCAbJ_1GK1jA38eOpG-py3MYP3RhAuChCG4HE7oX1S">September 12</a> and <a href="https://tonapi.io/v2/accounts/UQCOe_qYf9xsaQFWbq5Jg-Q0BRP_RwwHYIY1ErS9enJrjgoW">September 8</a>, respectively. But every event on either wallet since September 6 is inbound dust flagged <code class="language-plaintext highlighter-rouge">"is_scam": true</code>: one-nanoton transfers carrying advertising text such as “advertise for thousands of addresses cheap and fast.” Those bump the activity timestamp. They say nothing about the operator. The wallets didn’t become inactive; they stopped initiating transactions.</p>

<p>The last transaction either wallet initiated was an NFT transfer. The first sent one at 18:23:15 UTC on September 6; the second at 18:26:12 UTC. Three minutes apart, both went to the same address, which received them and <a href="https://tonapi.io/v2/accounts/0:41386bc2f1ab651a2d5add729a5949411f06fc7e9c370bee66538d35fdea512e/events?limit=3">has done nothing since</a>. What moved was a Fine Pen collectible gift bought August 31 for 88 TON, and the anonymous number <code class="language-plaintext highlighter-rouge">+888 0351 2627</code>, bought that day for 2,999 TON with funds that arrived minutes earlier from an address the API labels <code class="language-plaintext highlighter-rouge">OKX 11</code>.</p>

<p><img width="800" height="500" alt="The Tajin Wallet Moves" src="https://github.com/user-attachments/assets/8bc1832f-bbc4-4cd3-aa29-7e17e6f61790" /></p>

<p>So the two attributed wallets consolidated their two newest high-value collectibles into a third address and stopped initiating transactions two days before the Secret Service freezes began at 08:00 UTC on September 8, and three days before the designation.</p>

<p>That’s a coincidence in time, not a cause. A collectible gift and an anonymous number are exactly the kind of assets someone might use to stand up a new Telegram identity, so this may have been routine provisioning that happened to fall near a major enforcement date. It may have been a vendor that saw something coming. Operations may simply have continued on addresses nobody has attributed. Two wallet histories can’t distinguish between those possibilities, and they say nothing about whether Tajin as a business stopped or carried on. The public chain doesn’t show a vendor flinching after the designation, because it doesn’t show these addresses doing anything after it.</p>

<p><em>Editorial note: TONAPI v2 account metadata, NFT inventories, and event histories checked on 2026-09-15. Username counts were cross-checked with collection-filtered pagination through empty pages. UTC conversions use the raw Unix timestamps. “Operator-initiated” versus “inbound dust” is an analytical classification based on the sender and the API’s <code class="language-plaintext highlighter-rouge">is_scam</code> flag, not a source field. Wallet attribution rests entirely on Recorded Future. Chain data is live.</em></p>

<p><br /></p>

<p><strong>What the designation bought</strong></p>

<p>Something, and less than the headline suggests.</p>

<p>Elliptic reports that by 16:20 UTC on September 9, Telegram had <a href="https://www.elliptic.co/insights/elliptic-helps-us-secret-service-freeze-xinbi-scam-marketplace-assets/">deleted Xinbi’s central channels and banned its usernames</a>. Buying tradable usernames is precisely the operational-security move this ecosystem has converged on. The action immobilized $52.8 million and imposed a compliance obligation reaching every U.S. person, and every entity owned 50 percent or more, directly or indirectly and in aggregate, by blocked persons.</p>

<p>The freezes the day before also prompted a stablecoin migration within hours. Elliptic is careful about what that migration is worth: USDD has no central issuer and no freezing capability, but its decentralization claims are contested and it remains exposed to freezing risk because it is partly collateralized with freezable USDT. Moving from a freezable asset into one backed partly by the same freezable asset is where the pressure lands.</p>

<p>The migration precedent is clear at the marketplace level. Telegram shut Huione Guarantee in May 2025; Elliptic found that <a href="https://www.elliptic.co/blog/telegram-dark-markets-expand-to-fill-the-gap-left-by-huione-guarantee">Tudou Guarantee absorbed most of the volume</a> and more than doubled its users, inheriting many of the same merchants. Elliptic tracked more than thirty other highly active markets standing by. Xinbi then grew into the space Huione and Tudou vacated and is now itself designated and offline. This is a precedent for marketplace replacement, not evidence that Tajin followed every step of that sequence.</p>

<p>Naming a marketplace removes a node. The merchants aren’t the node.</p>

<p>The published Huione totals don’t agree, and I’d rather flag that than average them. Elliptic reported <a href="https://www.elliptic.co/blog/telegram-dark-markets-expand-to-fill-the-gap-left-by-huione-guarantee">over $27 billion</a> in June 2025 and <a href="https://www.elliptic.co/insights/elliptic-helps-us-secret-service-freeze-xinbi-scam-marketplace-assets/">$31 billion over four years</a> in its later report. FinCEN’s <a href="https://www.federalregister.gov/documents/2025/10/16/2025-19571/imposition-of-special-measure-regarding-huione-group-as-a-foreign-financial-institution-of-primary">section 311 final rule</a> cites Chainalysis at “at least USD 49 billion worth of CVC since 2021.” Those are different scopes, methods, and cutoff dates, not the same measurement taken three times. Treat any single throughput figure as an order of magnitude with a source’s name attached.</p>

<p><br /></p>

<p><strong>Artifacts</strong></p>

<ul>
  <li><strong>Designated 2026-09-09:</strong> Xinbi Guarantee (<code class="language-plaintext highlighter-rouge">xinbi[.]com</code>); SafeW Technology Co., Ltd. (<code class="language-plaintext highlighter-rouge">safew[.]org</code>, <code class="language-plaintext highlighter-rouge">safew-app[.]org</code>); Anwen Technology Co., Ltd.</li>
  <li><strong>Not designated in that action:</strong> Tajin Group and its associated channels and merchant accounts</li>
  <li><strong>TON wallets attributed to Tajin by Recorded Future:</strong> <code class="language-plaintext highlighter-rouge">UQAXN4aCAbJ_1GK1jA38eOpG-py3MYP3RhAuChCG4HE7oX1S</code>, <code class="language-plaintext highlighter-rouge">UQCOe_qYf9xsaQFWbq5Jg-Q0BRP_RwwHYIY1ErS9enJrjgoW</code></li>
  <li><strong>Consolidation destination, 2026-09-06:</strong> <code class="language-plaintext highlighter-rouge">0:41386bc2f1ab651a2d5add729a5949411f06fc7e9c370bee66538d35fdea512e</code></li>
  <li><strong>Collectible number transferred out:</strong> <code class="language-plaintext highlighter-rouge">+888 0351 2627</code> (bought 2026-08-31 for 2,999 TON)</li>
  <li><strong>Merchant payment links reported by <a href="https://www.recordedfuture.com/research/tajin-group-gurantee-marketplace">Insikt Group</a>:</strong> <code class="language-plaintext highlighter-rouge">hxxps[:]//payae[.]cc/QTTb209</code>, <code class="language-plaintext highlighter-rouge">hxxps[:]//payae[.]cc/Qwpf734</code>, both resolving to merchant pages on <code class="language-plaintext highlighter-rouge">ccavenue[.]ae</code></li>
  <li><strong>Merchant names reported on those pages:</strong> MOON ENTERPRISE TRADING LLC, SUNWEL ENTERPRISE TRADING LLC. Insikt Group did not find either; both names are close to those of real Dubai firms.</li>
</ul>

<p><br /></p>

<p><strong>Conclusion</strong></p>

<p>I’d keep tracking the wallets, merchant accounts, and identities that operated through Xinbi rather than treating the marketplace’s designation as the end of the investigation. The escrow layer was one part of the ecosystem. The merchants’ artifacts are another.</p>

<p>Seizing the marketplace doesn’t necessarily retire them.</p>

<p><img src="http://canarytokens.com/tags/static/4szlmnnmyqe3i6tmxmotprxvw/submit.aspx" style="display: none;" /></p>]]></content><author><name></name></author><category term="Threat Intel" /><category term="Threat Analysis" /><category term="Phishing" /><summary type="html"><![CDATA[Something I’ve not really tried my hand at is blockchain analysis. Just one of those things that became a technique long after my career was underway. Never above being an old dog with a new trick, I thought I’d dig into Tajin Group given they’d been in the news lately.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/101526.png" /><media:content medium="image" url="https://mattysplo.it/IMG/101526.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">When Is an Automated SOC Response Ready to Run?</title><link href="https://mattysplo.it/2026/10/12/socautomation.html" rel="alternate" type="text/html" title="When Is an Automated SOC Response Ready to Run?" /><published>2026-10-12T00:00:00+00:00</published><updated>2026-10-12T00:00:00+00:00</updated><id>https://mattysplo.it/2026/10/12/socautomation</id><content type="html" xml:base="https://mattysplo.it/2026/10/12/socautomation.html"><![CDATA[<p>Suppose you have a detection you believe. Several independent signals agree, the analysis holds up, and you’re no longer arguing with yourself about whether the host is compromised. Your tooling, or an agent operating on top of it, proposes to isolate the host from the network. You hesitate anyway.</p>

<p>The hesitation isn’t about the detection. You don’t know what depends on the host, what an interrupted connection might leave half-finished, or whether your authorization actually permits this executor to take this action. Those are different questions from whether the intrusion is real. Conflating them can leave a team watching an active intrusion while it waits for approval, or taking down a service nobody knew depended on the host.</p>

<p>NCSC’s September 21 post gives those action questions a useful vocabulary. I’m going to apply it to one narrow case: one host, one detection, one proposed action. I’ll change only the evidence available to the responder, holding the threat constant, to show how much the defensible decision can change.</p>

<p><br /></p>

<p><strong>NCSC’s five dimensions, and what they’re actually measuring</strong></p>

<p>Dave Chismon’s post, <a href="https://www.ncsc.gov.uk/blogs/one-does-not-simply-defend-agentically">One does not simply defend agentically</a>, starts from Halvar Flake’s maxim that all offensive problems are technical problems and all defensive problems are political ones. The argument that follows is organizational: an attacker’s employer profits from successful offense, while a defender’s organization is in the business of something else entirely, so every defensive action has to be justified against the disruption it might cause. He puts it bluntly - some board members “may see little difference between a DoS attack taking down the organisation’s IT, or a poorly implemented action by the cyber defence team that does the same thing.”</p>

<p>Out of that he proposes a table for <a href="https://www.ncsc.gov.uk/blogs/one-does-not-simply-defend-agentically">estimating the riskiness of a defensive action</a> across five dimensions, each scored 0 to 4. Potency is whether the automated process can only observe state or can alter systems, permissions, configuration or runtime behavior. Scope is how bounded the affected estate is. Criticality is how important that scope is to business or mission delivery. Rollout confidence is “how well the proposed scope and impact can be proved before execution.” Recoverability is “how cleanly and quickly harm can be reversed if the automation is wrong.”</p>

<p><img width="1125" height="1690" alt="The table, shamelessly stolen and rehosted - all credit to Dave Chismon/ncsc.gov.uk" src="https://github.com/user-attachments/assets/13ffcaf8-5893-48fe-9e5d-13b08e974e9d" /></p>

<p>Two things about that table deserve saying before anyone starts scoring things with it. The first is NCSC’s own framing. The sentence after the table qualifies its purpose: “By considering the above (or something like it) we can identify the lowest-risk actions that we can start to automate.” It is a proposal for structuring a conversation. The post attaches no threshold to the levels, no rule for aggregating them and no evaluation showing that acting on the numbers produces better outcomes - I’m describing what this artifact contains, not asserting that nobody anywhere has studied the question.</p>

<p>The second is mine. Look at what the five dimensions ask about. Potency, scope, criticality, rollout confidence and recoverability are all properties of <em>the action</em>. Not one of them asks how sure you are that something malicious is happening. Detection confidence simply isn’t on the scale. I don’t read that as an oversight, and it’s what makes the framework useful to a responder who has already settled the detection question and is stuck anyway.</p>

<blockquote>
  <p>In other words….. potency, scope, criticality, rollout confidence and recoverability describe the action. They don’t tell you whether the detection is correct.</p>
</blockquote>

<p><br /></p>

<p><strong>Where the table puts “we don’t know”</strong></p>

<p>Two of the five scales carry an explicit level for not knowing. On scope, the ladder runs single system, known set of systems, <em>unknown scope</em>, multi-system or cross-domain, enterprise-wide. On criticality, it runs known not critical, business relevant but non-critical, known support of critical service, <em>unknown whether it supports critical service</em>, known critical system or service. In both, not knowing sits above a known bounded answer, and on criticality it sits above knowing that the host does support something critical.</p>

<p>Be careful about what that ordering is. These are ordinal labels on a dimension, and the post attaches no arithmetic to them, so placing “unknown” above “known support of critical service” is not a demonstration that the known case is objectively safer or cheaper to get wrong. What it does is make missing knowledge an explicit part of the action-risk description. The distinction I’d hold onto, and this is my reading rather than a finding, is that how critical the target is and whether you know how critical it is are two different questions with two different answers. “Critical” is not a synonym for slow down and “not critical” is not a synonym for go ahead. That is what the rest of this turns on, because it means the thing you cannot establish about the target is part of the risk of the action rather than a detail to sort out afterward.</p>

<p><br /></p>

<p><strong>One host, four evidence packets</strong></p>

<p><img width="1600" height="1100" alt="The Four Packet Comparison" src="https://github.com/user-attachments/assets/33a887c5-7faa-4b33-861d-5195b0ec73d5" /></p>

<p>Here is the comparison, and all of it is stipulated - a device for testing the argument, not a report of anything that happened. Hold these fixed across all four packets: one endpoint, call it H. One corroborated detection of active compromise that you believe, at one decision moment, with one proposed action - network-isolate H. The threat, the urgency and the work H is actually carrying are the same in every version, so the cost of waiting is stipulated identical throughout and cannot be the thing that breaks the tie. What changes is what the responder can establish about the action, and what has already been decided about the gaps.</p>

<p><strong>A: the packet you wish you had.</strong> Four things hold at the decision moment. B and C each remove exactly one of them. D keeps B’s gap but replaces the authorization.</p>

<ul>
  <li><strong>The target resolves and the identity matches, now.</strong> H’s identifier was re-resolved at the decision moment rather than carried forward from the alert, and it matches the identity in an asset record. A currently named owner re-confirmed that identity during this incident.</li>
  <li><strong>Dependency evidence is current, bounded, and honest about its edges.</strong> Inbound and outbound connections for H were queried from network telemetry the team holds right now, across the window that telemetry actually retains, and the segments it does not observe are named rather than assumed empty. That is a bounded description of behavior somebody looked at. It isn’t proof that H will never make a connection nobody has seen - the quiet parts of the log are quiet, not empty.</li>
  <li><strong>Isolation and restoration have been validated on something representative.</strong> Not “we patched it once and nothing broke.” A rehearsed isolate-and-restore was run against a host in the same build and service class, it exercised the kind of interrupted work H actually carries - the draining queue, the long session, the scheduled job - and it finished on a restore path somebody watched succeed. The relevant configuration has not changed since.</li>
  <li><strong>The authorization names this executor and this action.</strong> Not a general clause about containment, and not a clause describing what a human responder may do. It names automated single-endpoint network isolation, on corroborated evidence of active compromise, against a host in this class, conditional on the three checks above, with notification to the named owner, a stated duration bound, an obligation to verify the outcome separately, and no extension to any other host.</li>
</ul>

<p>NCSC’s incident management guidance suggests identifying <a href="https://www.ncsc.gov.uk/collection/incident-management/cyber-incident-response-processes">“specific situations where the technical team should act autonomously”</a>, based on the highest business risks and where early containment is likely to reduce impact. That guidance is about a technical team. Extending it to a software executor is a separate decision somebody has to make deliberately and write down; it does not arrive free with the human version.</p>

<p>So the action runs, and then somebody goes and confirms it did what it was meant to do. Not because a score cleared a threshold - this table defines none - and not because those four checks proved the action safe. They didn’t, and the second one says so out loud. They established four specific things, left the residue visible, and somebody with the standing to do it decided in advance that this residue was an acceptable price for this action against this risk. A fresh approval isn’t required here because the authorization covers this executor in terms and imposes no further approval step. Redraft that clause and the answer moves with it. Florian Roth makes a version of the same argument from the architecture side: <a href="https://www.nextron-systems.com/2026/08/12/why-defensive-ai-has-a-harder-job-than-offensive-ai/">human control “does not have to mean approving every command during an attack”</a>, because much of the decision can be made ahead of time through policy.</p>

<p><strong>B: remove the current dependency evidence.</strong> Same detection, same urgency, same proposed action, same re-resolved target and owner-confirmed identity, same validated restore path. What’s gone is the second item. The record’s service description says what H was built to do rather than what it does now, and connection telemetry doesn’t retain far enough back to cover a quarterly job somebody half-remembers. NCSC’s technical response guidance is unsentimental about how this happens: many investigations <a href="https://www.ncsc.gov.uk/collection/incident-management/technical-response-capabilities">“have been hindered due to lack of log data”</a>, and often it is data the organization believed it had but had never verified.</p>

<p>Criticality now sits on the unknown rung. More usefully, A’s authorization does not apply, because current bounded dependency evidence was one of its stated conditions and that condition is not met. Being uncertain is not a reason to read a clause more generously than it was drafted.</p>

<p>The lazy conclusion is “criticality is uncertain, escalate for approval.” That isn’t quite it either. The move is to name the missing premise precisely - what does H serve - and then route it to whatever can actually close it. That might be somebody who knows what H serves. It might be the same person exercising delegated authority to accept not knowing. It might be a second source of dependency evidence nobody thought to check, which closes the gap without another authorization decision. NCSC’s guidance covers the authority route directly: <a href="https://www.ncsc.gov.uk/collection/incident-management/cyber-incident-response-processes">“the people escalated to must have the authority to make critical decisions”</a>, and it asks organizations to identify in advance who is empowered, or holds delegated authority, to make them. Note what that is - authority exercised live, during the incident, which is an entirely ordinary way to run a response. A’s pre-decided version is one arrangement, not the only legitimate one.</p>

<p>And the clock runs at the stipulated rate the whole time. Containment guidance warns that <a href="https://www.ncsc.gov.uk/collection/incident-management/technical-response-capabilities">“overreacting can cause more damage than the incident itself”</a>, and the same page says containment “should be undertaken as soon as possible.” Both hold at once. Routing the question is not free, and whoever picks it up is absorbing that delay as part of their decision - which argues for sending it to somebody equipped to weigh both sides, not for sending it regardless.</p>

<p><strong>C: remove the representative isolation and recovery validation.</strong> Dependency evidence is intact, the target still resolves, the identity still matches. What’s missing is the third item: you have an un-isolate command, you know the command works, and that is the whole of your recovery evidence. Nobody has watched a host in this class come back.</p>

<p>Recoverability on NCSC’s scale is one rating of “how cleanly and quickly harm can be reversed if the automation is wrong,” not a rating of whether a reverse command exists. Its upper descriptions make the gap plain - level 3 is “rollback possible but may leave inconsistent state, currency or dependency issues” - and an available undo is perfectly consistent with sitting there. Knowing the command works tells you about the command. The dimension is asking about the harm, and A’s third check is what would have said something about it. Without that check, C’s authorization condition fails the same way B’s did, for a different reason.</p>

<p>Reconnecting is also a separate decision taken under separate conditions. NCSC sequences recovery after confirmed remediation - <a href="https://www.ncsc.gov.uk/collection/incident-management/technical-response-capabilities">“always confirm that remediation has been successful before moving to recovery”</a> - and describes recovery as the point of high confidence that the attacker has been removed, where systems go back to business as usual. Whatever your own policy says about that transition governs the return to service. “The undo command exists” is not a substitute for it. So C’s unresolved question is real, it is a different question from B’s, and closing it needs somebody who can speak for what H is carrying - who may or may not be the same person B needed.</p>

<p><strong>D: B’s gap, plus an authorization written for it.</strong> Dependency evidence is still missing and criticality is still unknown. What’s added is not urgency and not a blanket waiver. It is evidence that a second, narrower clause already exists, drafted for precisely this hole: automated single-endpoint network isolation, on corroborated evidence of active compromise, <em>where service dependency cannot be established</em>, bounded to a stated duration, with immediate notification to a named accountable owner, separate verification of the outcome, and a mandatory post-action review.</p>

<p>That clause pre-decided the thing B was stuck on, and it’s worth being exact about what it did. It did not resolve the uncertainty; nobody knows any more about H than they did in B. It recorded, in advance and by somebody with the standing to do it, that this particular uncertainty was an acceptable price for this particular action against this particular risk, subject to those conditions. Two disciplines keep that honest. The clause has to actually cover the case in front of you - a general sentence about “containment actions” does not quietly stretch to an automated executor isolating a host whose function nobody can establish. And the conclusion is never “the framework says go.” It is “somebody with authority already answered this, and the answer was yes, subject to conditions,” which makes the conditions part of the authorization rather than decoration on it.</p>

<p>The pre-existing part matters here because that is what this branch <em>is</em>: a decision taken before the incident. It is not a general rule that authority must always predate the event. B’s route, through delegated authority exercised live, is just as legitimate. It costs time that D has already spent.</p>

<p><br /></p>

<p><strong>What a review has to contribute</strong></p>

<p>Four packets, one detection, one proposed action. What changed was never the threat. It was what could be established about the action, and what had already been decided about the parts that couldn’t.</p>

<p>That points at a better question than “should a human approve this.” A review earns the delay it costs when the reviewer supplies something the automation does not have: context that closes the missing premise, authority to accept the gap, or assurance that nobody has otherwise obtained. Those are contributions, not job titles. One person can supply two of them. A service owner can hold delegated authority. The same phone call can close B’s question and authorize the action in the same breath. What fails is an approval supplying none of the three - a signature confirming that the alert still says what it said.</p>

<p>And assurance is a real contribution. A reviewer who goes and establishes what C was missing has produced a new fact, even though nothing about the intrusion changed. “No new information about the attacker” and “no new information” are not the same sentence.</p>

<p><img width="1111" height="633" alt="What a Review Must Contribute" src="https://github.com/user-attachments/assets/29d31349-3572-4068-b68d-49dff07a39f1" /></p>

<p>My own preference, and it is a preference rather than a finding: I would rather work from a plan that names the executor, the action, the target class, the conditions and the bound, reviewed on a schedule, than one that routes everything to whoever is awake at 3am to approve something they have no way to evaluate. A human in the loop is not a safeguard by virtue of being human; it is a safeguard when that human can contribute one of the three. NCSC’s own post-incident review questions get at this from the other end, asking whether the right people were <a href="https://www.ncsc.gov.uk/collection/incident-management/cyber-incident-response-processes">“involved and empowered to make the necessary decisions”</a>. Empowered is doing the heavy lifting in that sentence.</p>

<p><br /></p>

<p><strong>Three things that get quietly treated as one</strong></p>

<p>Running the packets surfaces a set of conflations that are easy to make when you’re tired and the alert is live.</p>

<p><img width="1448" height="1086" alt="The Three Conflations" src="https://github.com/user-attachments/assets/5a0cdaad-9ab6-465e-9408-75dbeae8056d" /></p>

<p><strong>Reversing the command is not reversing the harm.</strong> That’s C generalized. The recoverability dimension rates how cleanly and quickly harm can be reversed, and its own upper levels describe rollbacks that leave inconsistent state, currency or dependency issues behind. Holding an undo does not by itself locate you anywhere on that scale.</p>

<p><strong>An acknowledged request is not the state you wanted.</strong> If the interface you are calling only confirms that it accepted the request, then whether H is actually off the network, and whether the behavior you cared about stopped, are separate observations somebody has to go and make. Read the contract for the interface you are calling. NCSC’s technical response guidance lists <a href="https://www.ncsc.gov.uk/collection/incident-management/technical-response-capabilities">“monitoring of network and host activity to confirm actions have been successful”</a> as a capability worth building. That recommendation doesn’t prove any particular action report is inadequate; it tells you where to put the separate measurement in the case where the report is only an acknowledgment.</p>

<p><strong>Containment is not eradication, and neither one is a decision to reconnect.</strong> The guidance distinguishes these stages and calls for confirmation of remediation before recovery. Roth puts the technical version more sharply: blocking one process or isolating one host <a href="https://www.nextron-systems.com/2026/08/12/why-defensive-ai-has-a-harder-job-than-offensive-ai/">“does not show whether the attacker moved elsewhere, stole credentials or left behind hidden accounts, web shells, configuration backdoors or custom malware.”</a></p>

<p><br /></p>

<p><strong>What “agentic” actually adds</strong></p>

<p>Roth defines an agent as <a href="https://www.nextron-systems.com/2026/08/12/why-defensive-ai-has-a-harder-job-than-offensive-ai/">a model running in a loop with tools and feedback</a>: “It executes an action, inspects the result and decides what to try next.” That definition is the useful one here, because it isolates what actually changes.</p>

<p>What changes is not runtime choice. NCSC’s footnote describes SOAR automations as rules that are “crafted, tested and, crucially, highly deterministic,” and a deterministic playbook is entirely capable of branching, pulling its target out of a variable, querying current state at execution time and refusing to continue on what it finds. Every evidence question in the four packets applies to it unchanged. A playbook whose dependency assumptions were fixed when it was written and never rechecked can act on stale context - as can an agent. In both cases, check the thing when the action fires, and stop if no applicable authorization covers what you find.</p>

<p>The practical question is how much discretion the executor is permitted beyond the paths somebody already assessed. A deterministic rule chooses among branches that were written down. An agent can assemble a combination of action, target and ordering that nobody assessed, because assembling combinations is the point of it. That is the gap approving an objective does not close: “contain this” is not approval of every action that could serve it. It is also exactly what A’s clause was written to pin down, and exactly what that clause could not be stretched to cover once B removed one of its conditions.</p>

<p>This is where Roth’s architectural suggestion lands. Put a policy layer between the component that reasons and the component allowed to change the environment, and have it check <a href="https://www.nextron-systems.com/2026/08/12/why-defensive-ai-has-a-harder-job-than-offensive-ai/">“the action type, confidence, asset criticality, scope, reversibility and available independent signals.”</a> Read that list next to NCSC’s table and it is close to the same set of questions, arranged as a runtime check instead of a planning exercise. Agentic and deterministic are not opposed in that design - the reasoning component proposes, a deterministic component enforces - but that is an architecture being recommended, not a measurement of how often anyone has built it.</p>

<p>Both pieces are worth your time and neither is an evaluation. NCSC’s post links Roth’s, so their agreement is not independent corroboration, and Roth’s is a vendor argument that mentions his company’s products. Reasoned proposals from people who have thought hard about the problem is what they are. Evidence that any of it performs better than what you’re doing now is what they aren’t.</p>

<p><br /></p>

<p><strong>The thing actually worth practicing</strong></p>

<p>The skill this points at isn’t scoring an action on five dimensions. It’s being able to say, out loud and in one sentence, which specific thing you cannot establish about this action right now - and then knowing whether anybody already wrote down what to do without it, for this executor, against this action, on this class of target.</p>

<p>Those are two different tasks, and both are learnable. The first is a habit of naming the gap precisely enough that somebody could go and close it: not “we’re not sure about this host,” but “we cannot establish what H serves, and the telemetry that would answer it doesn’t reach back far enough.” A gap stated that way has a route - a person, a second data source, or a decision somebody is empowered to make. Stated the other way it has only an escalation.</p>

<p>The second is a question about your own paperwork, and the honest version of it is narrower than it sounds. Not “do we allow automated response,” but whether the clause names the executor, the action, the target class, the current evidence it depends on, the notification, the separate outcome check and the bound.</p>

<p>None of which makes the decision clean. A bounded action under a bounded authorization still leaves you uncertain - about the connection nobody has observed, about what was half-finished when the path dropped, about where else the intruder has been. Getting the isolation right doesn’t settle the incident. It buys room to work the rest of it, which is all containment was ever for. And the ambition NCSC names at the end of its post - showing conclusively that we know all the routes clients connect by, or <a href="https://www.ncsc.gov.uk/blogs/one-does-not-simply-defend-agentically">reverse engineering a system “to show exactly which network calls it could ever make, or which processes it might need to spawn”</a> - is open research with a national-scale program attached to it, not something arriving in time for your next 3am page.</p>

<p>What can arrive before then is the clause. Writing one forces you to decide, in advance and in daylight, which residual uncertainty you are willing to buy - rather than discovering at the moment the alert fires that the only honest answer to “are we allowed to do this” is that nobody ever asked. I think that is the highest-leverage item here, even if it reads like paperwork and the interesting word in the room is “agentic.”</p>

<p><img src="http://canarytokens.com/articles/about/terms/r9uhqpydidxpc6iceqqiob4jn/submit.aspx" style="display: none;" /></p>]]></content><author><name></name></author><category term="Security Operations" /><category term="Incident Response" /><category term="AI" /><summary type="html"><![CDATA[Suppose you have a detection you believe. Several independent signals agree, the analysis holds up, and you’re no longer arguing with yourself about whether the host is compromised. Your tooling, or an agent operating on top of it, proposes to isolate the host from the network. You hesitate anyway.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/101226.png" /><media:content medium="image" url="https://mattysplo.it/IMG/101226.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">TanStack: The Publish Step Was Skipped. The Packages Shipped Anyway.</title><link href="https://mattysplo.it/2026/10/05/tanstack.html" rel="alternate" type="text/html" title="TanStack: The Publish Step Was Skipped. The Packages Shipped Anyway." /><published>2026-10-05T00:00:00+00:00</published><updated>2026-10-05T00:00:00+00:00</updated><id>https://mattysplo.it/2026/10/05/tanstack</id><content type="html" xml:base="https://mattysplo.it/2026/10/05/tanstack.html"><![CDATA[<p>The publish step was skipped, but the packages shipped anyway.</p>

<p>That sounds contradictory until you look closely at what GitHub Actions actually records: a workflow can fail, its defined publish step can never run, and code executing inside that same release job can still exercise the job’s publishing authority. That’s what pulled me back into the TanStack and Nx Console postmortems. On September 10, GitHub moved <a href="https://github.blog/changelog/2026-09-10-control-github-actions-cache-access-with-cache-mode/"><code class="language-plaintext highlighter-rouge">cache-mode</code> to general availability</a>, which gave me a reason to reread the May incidents with a different question in mind.</p>

<p>I wasn’t especially interested in re-telling the attack chain. I was interested in the bookkeeping.</p>

<p>What exactly counts as fixed? When was the publisher repaired? When were malicious packages removed? When were downstream hosts contained? When were stolen credentials actually invalidated? Those are four different events, with four different clocks, and a postmortem can be technically correct while still leaving some of them open.</p>

<p>The uncomfortable part is that incident closure makes it very easy to collapse them into one word: <em>resolved</em>.</p>

<p><br /></p>

<p><strong>As usual, TL;DR:</strong></p>

<p>TanStack’s <a href="https://tanstack.com/blog/npm-supply-chain-compromise-postmortem">postmortem reports 84 malicious versions across 42 packages</a> published to npm on May 11, 2026, between 19:20 and 19:26 UTC. They used the legitimate OIDC trusted-publisher binding while the defined Publish Packages steps were skipped and the jobs failed. The <a href="https://github.com/advisories/GHSA-g7cv-rxg3-hmpx">GitHub advisory, CVE-2026-45321</a>, carries the version list. TanStack credits <a href="https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem">StepSecurity’s Ashish Kurmi</a> with reporting the compromise publicly at 19:46. One affected package reached an Nx contributor’s machine at 20:43:01. Seven days later, stolen credentials enabled the malicious Nx Console 18.95.0 release, according to <a href="https://nx.dev/blog/nx-console-v18-95-0-postmortem">Nx’s postmortem</a>. <a href="https://www.stingrai.io/blog/cicd-supply-chain-compromise-tanstack-nx-2026">Stingrai’s August synthesis</a> already connects the incidents. I’m revisiting that published chain to reconcile the records and keep the closure questions separate.</p>

<p><br /></p>

<p><strong>The release path, as designed.</strong></p>

<p>TanStack’s <a href="https://tanstack.com/blog/incident-followup">hardening followup</a> describes a reviewed version bump landing on <code class="language-plaintext highlighter-rouge">main</code>, then CI cutting the release through OIDC. No long-lived npm publish token waits on a maintainer’s laptop. TanStack reports no maintainer account token stolen for these publications, and no edit to the release YAML. But unchanged YAML doesn’t mean an intact runner: the attacker changed what the release job found on disk.</p>

<p><br /></p>

<p><strong>What the records support.</strong></p>

<p>The <a href="https://tanstack.com/blog/npm-supply-chain-compromise-postmortem">maintainers’ reconstruction</a> puts a fork-controlled benchmark under <code class="language-plaintext highlighter-rouge">pull_request_target</code> at 11:11 on May 11, then a poisoned pnpm store saved in the base repository’s <code class="language-plaintext highlighter-rouge">main</code> cache scope at 11:29. The unmerged PR was force-pushed back to a no-op and closed minutes later.</p>

<p>Two release runs restored the cache at 19:15:44 and 19:16:22 UTC. The first was attempt 4 of a run originally triggered two days earlier; the other was attempt 1 of a separate run. TanStack separately reports registry publications at 19:20:39 and 19:26:14. Its reconstruction still leaves the exact cache-save path open. I haven’t inspected raw jobs or independently proven that sequence.</p>

<p><br /></p>

<p><img width="1428" height="1093" alt="Nine reported TanStack and Nx Console milestones, separating release results from publications and downstream response" src="https://github.com/user-attachments/assets/20d88814-2d63-4ea4-bfc8-628cc759931f" /></p>

<p><em>Figure: Nine selected milestones from the TanStack postmortem (May 11, revised May 15), the May 11 trigger fix, and the Nx postmortem (May 21, revised May 22). Public text checked 2026-09-17. These are reported events, not our telemetry. Rows are ordered; spacing isn’t proportional to elapsed time. The May 15 all-clear has no exact time.</em></p>

<p><br /></p>

<p><strong>Keep the cases separate.</strong></p>

<p>TanStack’s 42 packages and StepSecurity’s broader campaign list of more than 170 have different denominators. Nx traces its entry point to a contributor installing <code class="language-plaintext highlighter-rouge">@tanstack/zod-adapter@1.166.15</code> in an external repository on their development machine, not Nx CI. The later affected product was Nx Console 18.95.0. Nx says its CLI, official plugins and Nx Cloud were unaffected.</p>

<p>Even the <a href="https://nx.dev/blog/nx-console-v18-95-0-postmortem">eleven-minute response</a> needs a reference point: it runs from the May 18 notification at 12:36 to the maintainer’s 12:47 unpublish, not from the 12:30 upload. Install, download and activation counts measure different populations; Nx leaves their reconciliation open.</p>

<p><br /></p>

<p><strong>Why “skipped” and “published” are both true.</strong></p>

<p>GitHub’s <a href="https://docs.github.com/en/actions/reference/security/oidc">OIDC reference</a> says <code class="language-plaintext highlighter-rouge">id-token: write</code> permits requesting the JWT, not writing to other resources. The runner exposes a request URL and a bearer credential for that request. The returned JWT carries claims including <code class="language-plaintext highlighter-rouge">run_id</code> and <code class="language-plaintext highlighter-rouge">run_attempt</code>. <a href="https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem">StepSecurity separately describes exchanging that JWT for an npm publish token</a>. The request bearer, JWT and registry authorization are different objects. The workflow’s <code class="language-plaintext highlighter-rouge">GITHUB_TOKEN</code> and the runner credential used for cache access are separate again; TanStack’s cache-permissions discussion makes that distinction.</p>

<p>The public accounts compress the mechanics. I can’t resolve the exact extraction sequence from them, and wouldn’t repeat a specific memory-read chain as established. The central claim survives: code executing inside the release job exercised its publishing authority even though the defined publish step never ran. <a href="https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem">StepSecurity’s provenance distinction</a> matters here: provenance identifies the pipeline, not innocent contents. Its runtime capture was of a different compromised package in its own lab, not a TanStack run.</p>

<p><br /></p>

<p><strong>Repairs that are artifacts, not intentions.</strong></p>

<p>The thing I trust in a postmortem is a commit. TanStack’s <a href="https://github.com/TanStack/router/commit/3ee179f0d9972173cb7510773fd26cb391b5fef5">May 11 trigger fix</a> changes <code class="language-plaintext highlighter-rouge">pull_request_target</code> to <code class="language-plaintext highlighter-rouge">pull_request</code>, leaving the old trust-splitting comment above it. A <a href="https://github.com/TanStack/router/commit/e16bb6b2c5e6da19ee0730fc39280e27a39050f9">May 13 hardening commit</a> adds a zizmor workflow with empty default permissions and disables credential persistence on several checkouts. That’s one repository, not evidence of organization-wide enforcement.</p>

<p><a href="https://tanstack.com/blog/incident-followup">TanStack’s followup</a> reports disabling the release pnpm cache, removing affected workflow caches and <code class="language-plaintext highlighter-rouge">pull_request_target</code> uses, pinning actions, and strengthening 2FA. Those are maintainer completion claims. Required zizmor checks across every repository and CODEOWNERS restrictions on workflow files sit under future work. The visible commit proves less than organization-wide enforcement, but more than an intention.</p>

<p>Nx reports two-admin approval on the Nx Console publish path on May 19; approval gates had already existed on its main repositories. A control on the main repository wasn’t a control everywhere.</p>

<p><br /></p>

<p><strong>Four closure questions, four clocks.</strong></p>

<p>Publisher repair and registry removal are separate states. So are host containment and credential invalidation.
That’s the bookkeeping problem I keep coming back to: there isn’t one incident clock.
A publisher can be repaired while malicious packages are still available. A package can be removed while copies remain in caches or mirrors. A compromised host can be contained while credentials stolen from it remain valid. And a repository can be declared clean while nobody has established what happened on the contributor’s laptop that installed the package.
TanStack’s May 15 all-clear covered its repositories and packages. It said nothing about anyone’s laptop.
<a href="https://nx.dev/blog/nx-console-v18-95-0-postmortem">Nx reports the stolen credential was used against GitHub shortly after the install</a>, followed by bulk workflow-run deletions. It reappeared on May 15 at 23:56:05 UTC from different client tooling. Nx offers possible explanations without establishing resale or a different operator. Neither will I.
Its response timeline records contributor access revoked on May 18 at 13:58 and token-rotation work beginning at 18:47. Beginning rotation isn’t evidence that every reachable credential was invalidated.
That distinction matters because “response complete” can mean very different things depending on which clock you’re looking at.</p>

<p><br /></p>

<p><strong>What to do with this.</strong> The handover is deliberately boring.</p>

<ul>
  <li><strong>Reconcile publications against run and attempt.</strong> For each registry publication, record the run ID and the attempt that produced it, and then that attempt’s job conclusion and publish-step result. A publication sitting next to a skipped publish step and a failed job is exactly the TanStack pattern. That’s the one to escalate.</li>
  <li><strong>Leave missing attempts unresolved.</strong> If a publication won’t tie to a run and attempt, mark it unresolved instead of picking the nearest run.  If two runs match, mark it ambiguous. A reference you recorded isn’t a registry you verified, and matching identifiers establish neither authenticity nor causal provenance.</li>
  <li><strong>Match advisory versions exactly.</strong> The three-package excerpt uses discrete versions: <code class="language-plaintext highlighter-rouge">@tanstack/history</code> 1.161.9 and 1.161.12, patched in 1.161.13; <code class="language-plaintext highlighter-rouge">@tanstack/router-generator</code> 1.166.45 and 1.166.48, patched in 1.166.49; <code class="language-plaintext highlighter-rouge">@tanstack/zod-adapter</code> 1.166.12 and 1.166.15, patched in 1.166.16. A version between listed entries isn’t thereby safe. Resolve <code class="language-plaintext highlighter-rouge">^</code> ranges to the version actually installed before you compare, and work from the full advisory, not this excerpt.</li>
  <li><strong>Keep closure states separate.</strong> Closing the publisher incident doesn’t contain a consumer’s host or invalidate its credentials. Registry removal isn’t a safe cutoff while copies remain in caches or mirrors.</li>
  <li><strong>Set cache access deliberately.</strong> The <a href="https://github.blog/changelog/2026-09-10-control-github-actions-cache-access-with-cache-mode/">September <code class="language-plaintext highlighter-rouge">cache-mode</code> announcement</a> makes the setting generally available on GitHub.com for all plans. It describes <code class="language-plaintext highlighter-rouge">read</code> as the low-trust default and <code class="language-plaintext highlighter-rouge">write</code> for trusted pushes. Explicit <code class="language-plaintext highlighter-rouge">write</code> or <code class="language-plaintext highlighter-rouge">write-only</code> can override the low-trust default and earn a warning annotation. Job settings override workflow settings; called workflows can’t receive more access than their callers. This is current guidance, not evidence of May’s defaults.</li>
</ul>

<p><em>Editorial Note: incident counts are source-reported, not independently measured here. No package was fetched or executed. The advisory is a living reference whose entry says updated June 8, not a clock for when individual consumers installed a version.</em></p>

<p><br /></p>

<p><strong>Conclusion</strong></p>

<p>If your incident template has one closure field, that’s the bug. Nuance!</p>

<p><img src="http://canarytokens.com/stuff/terms/jx6jbcfktqiip9ift6z5xpu5y/submit.aspx" style="display: none;" /></p>]]></content><author><name></name></author><category term="Supply Chain" /><category term="Incident Response" /><category term="Threat Analysis" /><summary type="html"><![CDATA[The publish step was skipped, but the packages shipped anyway.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/100526.png" /><media:content medium="image" url="https://mattysplo.it/IMG/100526.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">You Can’t Image a Firewall</title><link href="https://mattysplo.it/2026/09/28/netscaler.html" rel="alternate" type="text/html" title="You Can’t Image a Firewall" /><published>2026-09-28T00:00:00+00:00</published><updated>2026-09-28T00:00:00+00:00</updated><id>https://mattysplo.it/2026/09/28/netscaler</id><content type="html" xml:base="https://mattysplo.it/2026/09/28/netscaler.html"><![CDATA[<p>Stop me if you’ve heard this one.</p>

<p>CISA says: investigate whether this appliance was compromised…. The SOC says: we don’t own the appliance.
The patch ticket has an owner…. The forensic investigation might not.</p>

<p>That’s the problem I keep seeing in the <a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog">KEV entries</a> that carry <code class="language-plaintext highlighter-rouge">forensicTriage: Yes</code>. CISA isn’t only telling someone to remediate a vulnerable appliance. It’s telling them to find out whether the appliance was already compromised, sometimes on a three-day clock.</p>

<p>And the appliance may belong to the network team, the email team, or a vendor-managed service. The SOC may have no agent on it, no disk image, no shell, and sometimes no administrative access at all.</p>

<p>After about fifteen years working and running SOCs, that’s the part of a KEV deadline I read first: <em>who actually has to do the work?</em></p>

<p>In <a href="https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json">catalog version 2026.09.14</a>, 52 of 1,710 KEV entries carry <code class="language-plaintext highlighter-rouge">forensicTriage: Yes</code>. Nine were added in one week. The patch is only part of the job.
So what does triage look like when the compromised host is a security appliance the SOC doesn’t own?
CVE-2026-76461 is a useful example.</p>

<p><br /></p>

<p><strong>TLDR/EXSUM:</strong> Of fifteen CVEs CISA added between September 8 and September 14, six affect network or security edge appliances: Fortinet, Citrix NetScaler, Cisco Firewall Management Center, two MikroTik RouterOS bugs and Cisco Secure Email Gateway. Five carry <code class="language-plaintext highlighter-rouge">forensicTriage: Yes</code>. Their <code class="language-plaintext highlighter-rouge">requiredAction</code> cites <a href="https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk">BOD 26-04</a> and separate <a href="https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk">Forensics Triage Requirements</a>: a second obligation alongside patching, on the same clock. Cisco’s <a href="https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-esa-inj-2bLVGmhX">advisory</a> for <a href="https://www.rapid7.com/blog/post/etr-cve-2026-76461-critical-cisco-secure-email-gateway-vulnerability-exploited-in-the-wild">CVE-2026-76461</a> publishes a grep against <code class="language-plaintext highlighter-rouge">mail_logs</code>, then warns that the attacker has root and the evidence may be gone. Patching has an owner. Triage frequently doesn’t.</p>

<p><em>Editorial Note: counts use catalog version 2026.09.14, checked September 15. Re-pull the JSON before reusing them.</em></p>

<p><br /></p>

<p><strong>Cisco’s worked example</strong></p>

<p>CVE-2026-76461 is a useful place to start because Cisco gives you something unusually concrete: a forensic check you can actually run.</p>

<p>It’s a SQL injection in AsyncOS email parsing, CVSS 9.8, CWE-89. An unauthenticated attacker can send a crafted message through the gateway and execute commands as root. There are no workarounds. It <a href="https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json">entered KEV on September 14, with a September 17 deadline</a>. Rapid7 reads the same-day listing as evidence of <a href="https://www.rapid7.com/blog/post/etr-cve-2026-76461-critical-cisco-secure-email-gateway-vulnerability-exploited-in-the-wild">zero-day exploitation</a>; SecurityWeek calls it the <a href="https://www.securityweek.com/root-rce-zero-day-in-cisco-secure-email-gateway-under-active-exploitation/">second Secure Email Gateway flaw to reach KEV</a>. There’s no public attribution.</p>

<p>Cisco’s indicator check is simple:</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cisco-esa&gt; grep -i "COPY.*TO PROGRAM" [IronPort Text Mail Logs Log name - Default: mail_logs]
</code></pre></div></div>

<p>Any result may indicate malicious activity. Check every cluster member.</p>

<p>That sounds straightforward until you read the next part of the advisory. The attacker has root, which means the evidence on the appliance may already have been <a href="https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-esa-inj-2bLVGmhX">removed or hidden</a>. Cisco recommends cross-checking network and firewall logs outside the device. That’s the part I find more interesting than the grep itself.</p>

<p>The advisory gives you a detection and, in the same breath, the threat model that can defeat it. The appliance is where the attack happened, but it may not be the place you should trust most to tell you what happened.
That’s <a href="https://attack.mitre.org/techniques/T1070/">T1070</a> in practice. ATT&amp;CK’s M1029 mitigation, forwarding events off-system, lines up with Cisco’s hardening advice for exactly this reason. If your logs only exist on the compromised appliance, you are asking the compromised appliance to preserve your evidence for you.</p>

<p>And access is another problem. On Secure Email Cloud, administrators without CLI access may not be able to run the check independently. Cisco contacted affected customers directly, but for those administrators even the vendor’s recommended check may be out of reach.</p>

<p>So the question changes: It’s no longer just <em>“What should I grep?”</em> It’s <em>“What evidence still exists somewhere I control?”</em></p>

<p><br /></p>

<p><strong>What FMC triage has to answer</strong></p>

<p>The other Cisco entry, <a href="https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json">CVE-2026-20079</a>, makes that question considerably harder.</p>

<p>It’s an FMC authentication bypass with <code class="language-plaintext highlighter-rouge">forensicTriage: Yes</code> and a three-day clock. Talos describes <a href="https://blog.talosintelligence.com/fmc-ongoing-exploitation/">three post-compromise clusters</a>, and the activity goes well beyond a single web request. UAT-12197 used a JSP web shell in the CSM Tomcat webroot and a JAR executor calling <code class="language-plaintext highlighter-rouge">OmniQuery.pl</code> to extract <code class="language-plaintext highlighter-rouge">name, auth_data</code> from the user database. UAT-11823, whose tooling Talos says overlaps with Sandworm, replaced <code class="language-plaintext highlighter-rouge">license.tmp</code> with a Makeself package so <code class="language-plaintext highlighter-rouge">package_info.pl</code> would run a Netcat reverse shell as root. UAT-11988 entered with static credentials and staged a Python SOCKS5 proxy plus a reverse SSH tunnel forwarding 389, 636, 88, 445, 135 and 5985 back to its host. Then it deployed Qilin.</p>

<p>At that point, triage has to answer a much bigger question than whether a known indicator exists. Did LDAP, Kerberos, SMB or WinRM traverse the manager outbound? For how long? What did the operator reach from there? And what evidence survives on the manager itself?</p>

<p>The last question matters because the compromise changes the evidentiary value of the box. A compromised management appliance isn’t simply another endpoint with some suspicious files on it. It is an infrastructure device that may have been used to reach other systems, while also being capable of losing or altering the local evidence you’re trying to reconstruct.</p>

<p>Sophos identifies UAT-11823’s implant as a <a href="https://www.sophos.com/en-gb/blog/-eye-spy-cyclops-blink-returns-with-extended-capabilities">2026 Cyclops Blink variant</a>. It assesses a Russia-nexus with high confidence and association with IRON VIKING, also tracked as Sandworm, with moderate confidence, while noting that there is no conclusive evidence tying that group to the 2026 deployments. The malware first <a href="https://www.darkreading.com/cyberattacks-data-breaches/sandworm-chains-cisco-vulnerabilities-cyclops-blink">surfaced in 2022</a> against WatchGuard and later ASUS devices, and has now been rebuilt for management appliances.</p>

<p>I’m keeping that story separate from the email-gateway zero-day. Stapling it to a Sandworm narrative because both products are Cisco is the laziness this field keeps rewarding.</p>

<p>The useful part of the FMC reporting isn’t the attribution anyway… It’s what the implant tells us about where to look when the appliance itself is a questionable source of evidence.</p>

<p><br /></p>

<p><strong>Why hunt from outside</strong></p>

<p>Cyclops Blink gives us a good example of why that matters.</p>

<p>Its <a href="https://www.sophos.com/en-gb/blog/-eye-spy-cyclops-blink-returns-with-extended-capabilities">controller</a> masquerades as <code class="language-plaintext highlighter-rouge">[kworker/0:1]</code>. Persistence uses <code class="language-plaintext highlighter-rouge">/lib/tz/timezone_check</code> and SysV links named <code class="language-plaintext highlighter-rouge">89timezone_check</code>, and the original executable is unlinked. Its capture module opens an <code class="language-plaintext highlighter-rouge">AF_PACKET</code> raw socket and uses an Aho-Corasick automaton to retain operator-supplied terms from credential-bearing packets, including cookies and tokens.
Those are useful artifacts, provided you can reach the host and trust what is still there. But…. the <a href="https://attack.mitre.org/techniques/T1040/">network behavior</a> gives you another option.</p>

<p>The file-transfer module bypasses configured DNS. It opens TLS directly to Google’s public resolver on port 443 and POSTs binary queries to <code class="language-plaintext highlighter-rouge">/dns-query</code>. Sophos says this avoids evidence in local DNS logs. That’s exactly the kind of behavior I’d rather catch in flow records than depend on finding it later in the appliance’s own logs.</p>

<p>The scanner module sends raw frames across connected networks, which Sophos says may also be detectable. Again, the interesting telemetry doesn’t have to live on the compromised device. The appliance is the source of the activity. It doesn’t have to be the source of the evidence.</p>

<p>Sophos also warns that compatible x86-64 Linux appliances beyond FMC belong in scope. The implant isn’t tied to one vendor, which makes the external-hunting lesson broader than this particular Cisco case.</p>

<p><br /></p>

<p><strong>The queue this lands in</strong></p>

<p>This is where the technical problem becomes an organizational one…. Patching usually has an owner and a change window. Triage may have neither.</p>

<p>Someone needs access to the appliance, access to the off-box logs, enough knowledge to understand normal egress from a mail gateway or management appliance, and enough authority to start a hunt within three days. Those people may not sit in the SOC. The team that owns the appliance may not own the SIEM. The team that owns the SIEM may not have access to the appliance.
That is the gap <code class="language-plaintext highlighter-rouge">forensicTriage: Yes</code> exposes.</p>

<p>The remediation workflow can end with a clean scanner report and a signature while the actual hunt remains unassigned. A patch record is easy to file. Proving that nobody was already inside the appliance is a different ticket entirely.</p>

<p><br /></p>

<p><strong>What to actually do</strong></p>

<ul>
  <li><strong>Assign triage before the next entry.</strong> The <a href="https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json">KEV <code class="language-plaintext highlighter-rouge">requiredAction</code></a> puts internet-exposure evaluation on the stakeholder and offers “discontinue use” as the alternative. Settle ownership before day two of three.</li>
  <li><strong>Get logs off the appliance.</strong> Cisco’s <a href="https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-esa-inj-2bLVGmhX">hardening guidance</a> calls for external logging with enough retention to investigate; ATT&amp;CK recommends <a href="https://attack.mitre.org/techniques/T1070/">M1029</a>. Do this before the clock starts.</li>
  <li><strong>Hunt appliance egress.</strong> Cisco asks for <a href="https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-esa-inj-2bLVGmhX">unexpected uploads to external IPs</a>. Add TLS to public DNS resolvers on 443 and appliance-sourced internal scanning.</li>
  <li><strong>Check management-port direction.</strong> Forwarding 389, 636, 88, 445, 135 and 5985 outbound is <a href="https://blog.talosintelligence.com/fmc-ongoing-exploitation/">what the Qilin operator built</a>. Toward an appliance, those ports can be routine. From one, back out, they aren’t. Worth being precise about where that shows up, though: those services ride inside the tunnel, so they won’t appear as destination ports in external flow records - what you’d see leaving the estate is the tunnel itself. The port list is a signal on internal flow between the appliance and your domain controllers, and the tunnel is the signal on egress.</li>
  <li><strong>Preserve before rebuilding.</strong> Cisco’s <a href="https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-esa-inj-2bLVGmhX">virtual-appliance recovery</a> starts with “record forensics information” and warns that a new instance destroys configuration and logs. Redeploying clean can delete the answer.</li>
  <li><strong>Use available network coverage.</strong> Talos published <a href="https://blog.talosintelligence.com/fmc-ongoing-exploitation/">Snort SIDs 66075-66080, 66883, 66960 and 66961</a>; Cisco lists <a href="https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-esa-inj-2bLVGmhX">67109-67110 for the email gateway</a>. These don’t require instrumenting the appliance.</li>
</ul>

<p><br /></p>

<p><strong>Indicators</strong></p>

<ul>
  <li><strong>Cyclops Blink C2:</strong> <code class="language-plaintext highlighter-rouge">89[.]34[.]96[.]56</code>, TCP 43856 or 49172</li>
  <li><strong>Netcat C2 (UAT-11823):</strong> <code class="language-plaintext highlighter-rouge">208[.]123[.]119[.]215</code>, <code class="language-plaintext highlighter-rouge">91[.]214[.]78[.]118</code></li>
  <li><strong>CVE-2026-20079 scanner:</strong> <code class="language-plaintext highlighter-rouge">104[.]218[.]165[.]253</code></li>
  <li><strong>UAT-11988 intrusion source:</strong> <code class="language-plaintext highlighter-rouge">43[.]204[.]2[.]142</code></li>
  <li><strong>Google public DNS used by the implant:</strong> <code class="language-plaintext highlighter-rouge">8[.]8[.]8[.]8</code></li>
  <li><strong>Implant path and service:</strong> <code class="language-plaintext highlighter-rouge">/lib/tz/timezone_check</code>, <code class="language-plaintext highlighter-rouge">/etc/init.d/timezone_check</code>, <code class="language-plaintext highlighter-rouge">S89timezone_check</code> in rc2.d through rc5.d</li>
  <li><strong>Process masquerade:</strong> <code class="language-plaintext highlighter-rouge">[kworker/0:1]</code></li>
  <li><strong>User-Agent:</strong> <code class="language-plaintext highlighter-rouge">Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Chrome/129.0.0</code> - Firefox tokens with a Chrome product token</li>
  <li><strong>Fixed AsyncOS releases:</strong> 15.5.5-014, 16.0.4-302, 16.5.0-780</li>
</ul>

<p><em>Editorial Note: a subset from <a href="https://blog.talosintelligence.com/fmc-ongoing-exploitation/">Talos</a> and <a href="https://www.sophos.com/en-gb/blog/-eye-spy-cyclops-blink-returns-with-extended-capabilities">Sophos</a>, which also publish hashes. Sophos says embedded RSA key material varies by build. Treat network indicators as perishable; filesystem artifacts are the durable half.</em></p>

<p><br /></p>

<p><strong>Conclusion</strong></p>

<p>I give it a year before <code class="language-plaintext highlighter-rouge">forensicTriage</code> starts getting marked complete on patch records. Assign the hunt now and look at <em>all</em> your data streams, while there’s time to argue about whose ticket it is.</p>

<p><img src="http://canarytokens.com/images/9ty82hf48gsuja7k08qedykcm/post.jsp" style="display: none;" /></p>]]></content><author><name></name></author><category term="Detection Engineering" /><category term="Threat Intelligence" /><category term="Threat Analysis" /><summary type="html"><![CDATA[Stop me if you’ve heard this one.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mattysplo.it/IMG/092826.png" /><media:content medium="image" url="https://mattysplo.it/IMG/092826.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>