Nodagentry

SOC alert triage: an AI workflow for EDR and SIEM alerts

The EDR fires on a Finance laptop: Word spawned PowerShell with an encoded command, then the machine connected to an IP your intel feed flagged this week. On the same shift, a build server and the vulnerability scanner will raise a dozen alerts that look just as alarming and mean nothing.

This workflow runs the asset lookup and the intel lookup side by side, then hands both to a cheap tier-1 pass. Known benign sources close with a short note and a narrow tuning idea. Everything else escalates to a stronger model that writes the timeline, ATT&CK techniques and containment steps, and the run waits for an analyst before the host is isolated.

Open this workflow in the editor

Free in Sim. No account or API key.

escalatebenignSIEM alertStartAsset lookupFrontier MiniThreat intelFrontier MiniEnrichmentCode stepTier-1 triageFrontier Mini$0.001DispositionFrontier MiniIncident write-upFrontier$0.004Approve isolationApprovalEscalationResultClose-out noteFrontier Mini$0.0005Alert closedResult
The workflow as it opens in the editor. Each step shows its estimated cost per run at list prices; the costliest is highlighted.

What it costs to run

RouteSteps that call a modelPer run
EscalateEnds at Escalation, after a person approvesTier-1 triage, Incident write-up$0.006
BenignEnds at Alert closedTier-1 triage, Close-out note$0.002

At 500 alerts a day, 90% benign and 10% escalate, that is about $32.09 a month. If every one took the escalate route it would be $85.56.

Estimated before running, from the prompt each step is sent and an assumed reply length, at list prices for each step's model tier. Want the same numbers for your own agent? Paste its code into the cost calculator.

Sample input

EDR alert, high: WINWORD.EXE spawned powershell.exe with an encoded command on FIN-LT-0442, then an outbound connection to 198.51.100.23:443. The user opened an emailed invoice two minutes earlier. True positive? Isolate the host?

How the workflow runs, step by step

Sample replies show what each step returns for the sample input above. In the editor, Sim shows the same replies for this input without calling a model; Live runs your own models.

  1. 1. Start

    SIEM alert

    The alert from your SIEM or EDR starts the run.

    Next: Asset lookup, Threat intel

  2. 2. Tool

    Asset lookup

    Searches your asset list for the host: owner, criticality and whether isolation is allowed. It stands in for your CMDB.

    Next: Enrichment

  3. 3. Tool

    Threat intel

    Searches your intel notes for the IPs and behaviour in the alert, with ATT&CK mappings.

    Next: Enrichment

  4. 4. Join

    Enrichment

    Waits for both lookups and passes them on together.

    Next: Tier-1 triage

  5. 5. Agent

    Tier-1 triage

    A small model classifies the alert as a true positive, benign or false positive, using only the alert and the enrichment.

    Sample reply
    CLASS: true positive
    WHY: Word spawned encoded PowerShell on a high-criticality Finance laptop, which then called an IP our feed ties to loader command-and-control this week.
    ATT&CK: T1566.001, T1059.001
    CONFIDENCE: high

    Next: Disposition

  6. 6. Router

    Disposition

    Keyword rules close known benign sources such as the build account or the scanner. Everything else escalates, which is the safe default.

    Next: Incident write-up (escalate), Close-out note (benign)

  7. 7. Agent

    Incident write-up

    A stronger model writes the escalation: timeline, ATT&CK techniques, scope, containment and the evidence to keep.

    Sample result
    SEVERITY: critical
    WHAT HAPPENED:
    • The user on FIN-LT-0442 opened an emailed invoice.
    • Two minutes later WINWORD.EXE spawned powershell.exe with an encoded command.
    • The host then connected out to 198.51.100.23:443.
    ATT&CK: T1566.001 Spearphishing Attachment; T1059.001 PowerShell
    SCOPE: Host FIN-LT-0442 (Finance, payments access). External IP 198.51.100.23. User: the laptop's signed-in user (not named in the alert).
    CONTAIN:
    • Isolate FIN-LT-0442 in EDR (allowed for this asset).
    • Block 198.51.100.23 at the firewall and proxy.
    • Reset the user's password and revoke their sessions.
    • Find and purge the invoice email from other mailboxes.
    KEEP: EDR process tree, the decoded PowerShell command, the invoice attachment and a memory capture, before reimaging.
    NOTE: an analyst approves isolation; this workflow executes nothing.

    Next: Approve isolation

  8. 8. Human approval

    Approve isolation

    The run pauses. An analyst approves before the host is isolated or the user's password is reset.

    Next: Escalation

  9. 9. Result

    Escalation

    The approved escalation, ready for your case system or Slack.

  10. 10. Agent

    Close-out note

    For benign alerts, a cheap model writes why it is safe and one narrowly scoped suppression idea.

    Next: Alert closed

  11. 11. Result

    Alert closed

    The close-out note ends the run. No escalation and no human step.

Why build it as a graph

Alert volume is the problem in most SOCs, not any single alert. A graph lets the cheap steps handle the volume and keeps the strong model and the analyst for real incidents. Each lookup, decision and approval is a step you can inspect, which helps when someone asks later why an alert was closed.

Things to try

  • Run the sample in Sim. Both lookups run at once, tier 1 escalates, and the run pauses before isolation.
  • Paste “encoded PowerShell on BUILD-07 run by svc-build at 02:00” and run again. The same graph closes it as benign.
  • Compare the cost per step: enrichment and tier 1 are cheap, and the incident write-up only runs when there is an incident.
Run it free