<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hafsa</title>
    <description>The latest articles on DEV Community by Hafsa (@hannah_may).</description>
    <link>https://dev.to/hannah_may</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4251492%2F4e5b33c5-a7f5-40eb-8407-1d590d18ceba.jpg</url>
      <title>DEV Community: Hafsa</title>
      <link>https://dev.to/hannah_may</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hannah_may"/>
    <language>en</language>
    <item>
      <title>Designing a SOC Autopilot That Knows When to Ask a Human</title>
      <dc:creator>Hafsa</dc:creator>
      <pubDate>Tue, 01 Dec 2026 19:22:08 +0000</pubDate>
      <link>https://dev.to/hannah_may/designing-a-soc-autopilot-that-knows-when-to-ask-a-human-4che</link>
      <guid>https://dev.to/hannah_may/designing-a-soc-autopilot-that-knows-when-to-ask-a-human-4che</guid>
      <description>&lt;p&gt;An alert fires. A Word document on a finance laptop has started PowerShell, and PowerShell has downloaded a file from a domain nobody recognizes. The analyst opens the alert, looks up the domain, pulls the process details, pastes both into a case, and only then starts to think.&lt;/p&gt;

&lt;p&gt;Which of those steps actually needed a person?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Most of the work after an alert is routine: lookups, evidence collection, filling in the case. That part can run on its own.&lt;/li&gt;
&lt;li&gt;Automation is not one switch. Each action earns autonomy separately, based on how much harm it could do.&lt;/li&gt;
&lt;li&gt;Steps that change an endpoint hand control back to a human until their record shows they can be trusted.&lt;/li&gt;
&lt;li&gt;Shadow runs, a full run log and a kill switch come before any of it goes live.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Where autopilot fits in Logster
&lt;/h2&gt;

&lt;p&gt;Logster is an endpoint threat detection platform for SOC teams. It reads activity from endpoints, connects related events, and returns a verdict on whether they look like an attack. An &lt;a href="https://dev.to/chad_ray_7d6ba00911308ded/when-every-event-looks-normal-logster-and-the-context-gap-in-endpoint-detection-o2b"&gt;earlier post&lt;/a&gt; covered that detection side.&lt;/p&gt;

&lt;p&gt;This post is about what happens next: the response, and a new enhancement we are designing for it, &lt;strong&gt;autopilot mode&lt;/strong&gt;. Below we walk through the idea, how we are designing it, and the guardrails that make automatic response safe enough to trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: the same steps on every alert
&lt;/h2&gt;

&lt;p&gt;The sequence above is not unusual. It repeats, with small changes, on almost every alert. One alert is a few minutes of routine work. A queue of them is a full shift.&lt;/p&gt;

&lt;p&gt;In Prophet Security's &lt;a href="https://www.prophetsecurity.ai/blog/state-of-ai-in-the-soc-2026" rel="noopener noreferrer"&gt;State of AI in the SOC 2026&lt;/a&gt; survey, teams left about 28% of alerts uninvestigated on average, and 60% of respondents said an alert they ignored later turned out to matter. The survey was vendor-commissioned and self-reported, but the pattern matches what analysts describe.&lt;/p&gt;

&lt;p&gt;Most of that lost time is not judgment. It is lookups and copy-paste. That is the part a machine should do.&lt;/p&gt;

&lt;h2&gt;
  
  
  What autopilot means
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;playbook&lt;/strong&gt; is an ordered list of steps: look up a domain, collect evidence from the machine, save the result to the case, notify the owner. Each playbook says which kinds of alerts it fits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Autopilot&lt;/strong&gt; means a playbook starts by itself when a new alert matches it. By the time an analyst opens the case, the routine work is done.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Autopilot" with approvals?&lt;/strong&gt; A plane's autopilot flies the routine part of the trip; the pilot handles takeoff and landing. Ours works the same way: matching the alert, lookups, evidence and filling the case need no one. Only steps that change a machine hand control back to a person.&lt;/p&gt;

&lt;p&gt;Tools such as &lt;a href="https://learn.microsoft.com/en-us/azure/sentinel/automate-incident-handling-with-automation-rules" rel="noopener noreferrer"&gt;Microsoft Sentinel&lt;/a&gt; and &lt;a href="https://www.splunk.com/en_us/blog/security/splunk-soar-evolved-a-unified-tdir-approach-to-automation" rel="noopener noreferrer"&gt;Splunk SOAR&lt;/a&gt; already run playbooks automatically when an alert matches. The hard part is not running playbooks automatically. It is knowing when &lt;strong&gt;not&lt;/strong&gt; to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four levels of automation
&lt;/h2&gt;

&lt;p&gt;Autopilot is not an on/off switch. Each playbook, and each step inside it, sits at one of four levels. Autopilot mode covers the top two.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Level&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;th&gt;Who decides&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. Manual&lt;/td&gt;
&lt;td&gt;The analyst picks a playbook and runs it.&lt;/td&gt;
&lt;td&gt;Analyst&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. Recommended&lt;/td&gt;
&lt;td&gt;The platform suggests playbooks that fit the alert.&lt;/td&gt;
&lt;td&gt;Analyst, with a hint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. Run with approval&lt;/td&gt;
&lt;td&gt;The playbook starts on its own; risky steps pause for a human.&lt;/td&gt;
&lt;td&gt;Machine starts, human approves&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Fully automatic&lt;/td&gt;
&lt;td&gt;The playbook runs end to end with no pause.&lt;/td&gt;
&lt;td&gt;Machine, inside set limits&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;We expect most playbooks to live at level 3 for a long time. Level 4 starts with steps that change nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  One alert on autopilot
&lt;/h2&gt;

&lt;p&gt;Here is an illustrative run, using the alert from the start of this post and assuming the alert includes the domain.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The alert matches a playbook for "script started by an Office document", and autopilot is on for it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Look up the domain.&lt;/strong&gt; How old it is and which registrar holds it. Owner details are usually hidden in public records, but a domain registered last week is a strong signal on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Collect evidence.&lt;/strong&gt; The process tree and command line are read from the machine. Nothing is changed, so this runs at once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stop the PowerShell process.&lt;/strong&gt; This changes the machine, so the playbook pauses. A designated approver gets a request with the evidence attached.&lt;/li&gt;
&lt;li&gt;If they approve, the process is stopped and the result is checked. If no one answers in time, the request expires, nothing is changed, and the analyst is told.&lt;/li&gt;
&lt;li&gt;The analyst opens the case and finds the lookups, the evidence and a log of every step.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;The trade-off.&lt;/strong&gt; Waiting for approval costs time. By the time someone says yes, the script may have finished and the downloaded file is still on disk. Stopping the process limits the damage; it does not undo it. Removing the file and cleaning up are separate steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Guardrails come first
&lt;/h2&gt;

&lt;p&gt;An automatic action that stops the wrong process on a production server is worse than a slow analyst. So these come before any playbook runs on its own.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Safe actions first.&lt;/strong&gt; Actions are lookups (ask outside services), data collection (read a machine) or response (change a machine). Autopilot runs the first two on its own; response always goes to a human. "Safe" means "changes nothing", not risk-free, so even these are logged and can be switched off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Changes need a human.&lt;/strong&gt; Any step that changes a machine asks for approval by default. Unanswered requests expire safely.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Confidence thresholds, per action.&lt;/strong&gt; Later, a risky step may skip the human only when confidence is very high and the evidence points at the exact process. Each threshold will be tuned from shadow-mode results, not guessed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never-run lists.&lt;/strong&gt; Critical systems, such as domain controllers, are off-limits to automatic response.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A kill switch.&lt;/strong&gt; One control turns autopilot off everywhere, at once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A full run log.&lt;/strong&gt; Every step records its input, output, timing and any error. If a step fails or times out, the playbook stops or moves on, as its author chose, and the log shows exactly where.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No duplicates.&lt;/strong&gt; If the same action on the same target is already waiting or running, it is not requested again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shadow mode first.&lt;/strong&gt; A new autopilot playbook first runs as a dry run: it logs what it &lt;em&gt;would&lt;/em&gt; do and changes nothing. Our bar for going live is that its shadow decisions match what analysts actually did on the alerts they reviewed.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The real idea: autonomy is earned, one action at a time
&lt;/h2&gt;

&lt;p&gt;Strip away the levels and the guardrails and the idea is simple: &lt;strong&gt;trust is granted per action, not per product.&lt;/strong&gt; A domain lookup earns full autonomy on day one, because it changes nothing. Stopping a process has to earn it with proof: shadow runs that matched analysts' decisions, a clean run log, and a confidence score that held up.&lt;/p&gt;

&lt;p&gt;That turns "should we automate response?" from a yes-or-no argument into a ladder each action climbs on its own record. It is the autopilot we are designing for Logster: one that does the routine flying and knows exactly when to hand back the controls.&lt;/p&gt;

</description>
      <category>security</category>
      <category>cybersecurity</category>
      <category>automation</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
