Laya SOC bounded auto-triage β€” configuration & evaluation card

Release: laya-soc-v1 policy 1.3.2 Β· public configuration card Base: Laya (Apache-2.0)

This repository contains the configuration and aggregate evaluation for a bounded SOC auto-triage layer. It is not a model checkpoint, and it is not an auto-close system.

Experimental fine-tuned weights (lab-only) are published separately: https://huggingface.co/infosecn1nja/laya-soc-ft-lab.

Production scope: bounded auto-triage with human review. Model-only decision/auto-close is NO-GO. Labels are a content rubric, not analyst TP/FP dispositions. No raw alerts, hosts, IPs, or credentials are included.

Actions

Action Trigger Model involved?
SUPPRESS_KNOWN_BENIGN 6 exact guarded patterns (see below) No β€” deterministic
TAG_OPERATIONAL 10 operational rule classes No β€” queued for human
ESCALATE_TIER2 p(true_positive) >= 0.99; cap 10% Yes β€” routing only
QUEUE_TIER1 everything else No

Forbidden at runtime: model auto-close, model auto-suppress. The policy sets model_auto_close=false and the decision engine refuses an acting policy with auto-close enabled.

Suppression catalog (6 exact guarded patterns)

# Wazuh rule Exact condition Sample hits
1 92213 targetFilename = __PSScriptPolicyTest_*.ps1 367
2 92205 targetFilename = __PSScriptPolicyTest_*.ps1 (SystemTemp) 18
3 92110 source/destination loopback 100
4 92058 image = C:\Windows\System32\sdbinst.exe; parent svchost.exe; -m -bg 17
5 92217 Copilot image exact path + adblock_snippet.js target 3
6 92213 opera_autoupdate.exe exact path + .opera installer target 3

No attack-labelled alert matched these patterns in the 2,400-alert sample.

Guards required before suppression: exact image path, parent process where applicable, signature/publisher when present, agent allowlist, and a deny rule for suspicious command lines (-enc, FromBase64, URLs, certutil/mshta/rundll32, …). If any guard fails, the alert is not suppressed. The public policy ships with an empty agent allowlist, so suppression is intentionally inert until an operator adds its own hosts. Lab metrics below were produced with a private allowlist.

Tag-only classes (queued, never closed)

92154 taskschd.dll, 61104 service startup change, 594/750/752/597/598 syscheck registry, 92200 generic scripting-file creation, 60642 Software Protection service, 60702 VSS idle timeout. 10 classes are tagged and reviewed, never auto-closed.

Evaluation (2,400 lab alerts, content-rubric labels)

Action Count Share
Suppressed (strict guards) 17 0.7%
Suppressed attack-labelled 0 β€”
Tag-only operational 949 39.5%
Escalated (p>=0.99, cap 10%) 240 10.0%
Human queue 2,143 89.3%
model_auto_close 0 invariant
Audit sample (5% suppression) 1 β€”

Capacity from the earlier scale test: ~7 alerts/s (Apple MPS, batch 8), ~2.5 GB RSS, ~606k alerts/day; 100k/day β‰ˆ 4 h batch.

Capacity caps: at 1M alerts/day (11.6/s), the 5,000/day suppression cap is only 0.5% of volume and the 200/hour escalation cap is ~0.48% of hourly volume. Caps bind; do not extrapolate the 0.7% sample suppression rate to 1M/day.

Model evaluation (rule-disjoint, content-rubric labels)

The experimental fine-tune was evaluated on 308 alerts from rules not seen in training (97 positive / 211 benign):

Metric Value
AUROC 1.000
Recall @ threshold 0.99 1.000
FPR @ threshold 0.99 0.000
Precision @ threshold 0.99 1.000
Raw ECE 0.245 (checkpoint temperature noul=0.5; definition in eval/ece_provenance.json)
Accuracy at threshold 0.50 0.643
Recall/FPR at threshold 0.50 1.000 / 0.521

Do not interpret these as production accuracy:

  • Labels are rule-derived content rubric, not independent analyst dispositions.
  • Random split gives 100% accuracy by rule leakage; it is not used.
  • Time split has zero positives (positive lab alerts only 18–20 Oct), so recall is undefined there.
  • Threshold 0.99 was validated on one 308-row rule-disjoint split; revalidate.
  • Temperature calibration on this split clamped at 0.5 and worsened ECE (0.191 β†’ 0.256); no separate calibration file is shipped.
  • The 100% figures are at threshold 0.99, while the training report’s accuracy 0.643 is at threshold 0.50; they are not contradictory, but the operating point must be stated.
  • eval/calibration.json is a legacy earlier-base time-split artifact and is superseded; see eval/provenance.json and eval/release_eval.json.

Supported outputs (important)

  • true_positive: trained and evaluated.
  • needs_human: generated at runtime but not independently validated; policy threshold is 0.0, so it is advisory only.
  • severity and category: defined in config/questions.soc.json but not used or validated by this release's checkpoint.
  • Do not treat any output as a calibrated probability of a real incident.

Detection engineering addendum (2026-10-26)

A separate hunting rule pack (51 rules, v9) is published under hunting/. It covers SANS Hunt Evil lateral movement, suspicious paths, LOLBins, WMI/DCOM/SMB, scheduled tasks, services, RDP, PsExec, MSSQL, named pipes, and registry artifacts.

Tested on two attack-only EVTX corpora:

  • 50 lateral samples (sbousseaden/EVTX-ATTACK-SAMPLES, GPL-3.0): 1.308 alerts, 258 hits, 44/50 files.
  • 293 samples (mdecrevoisier/EVTX-to-MITRE-Attack, CC0-1.0): 11.131 alerts, 1.437 hits, 79/278 files; full APT 9/11, lateral 7/17.

A live lab Wazuh sample for SSH brute force produced 1.000 alerts, 34 incidents; 34/34 incidents had max pβ‰₯0.99 from the fine-tuned Laya checkpoint. These are Wazuh rule alerts, not adjudicated TP/FP dispositions.

All of this is coverage/operational evidence, not precision. EVTX corpora are attack-only; no benign controls or analyst labels exist; the weights are unchanged. The pack also includes a SSH/RDP brute-force correlator (brute_force_correlator.py).

Runtime review artifact

runtime/ contains a self-contained reference policy engine and assert-based test vectors for the deterministic parts: exact matchers, guards, tag-only routing, escalation, shadow mode, and fail-safe queueing when model scores are missing. Run:

python runtime/test_reference_engine.py

It includes a reference state builder (runtime/state_builder.py) with explicit evidence limits and a truncation report. It does not include the production service, Laya inference, per-hour caps, audit sampling, rollback, or concurrency. Those remain adapter responsibilities and are not claimed as proven. See runtime/README.md.

Labeling and ablation

labeling/ provides the analyst label schema/protocol; analysis/ablation.py compares rules-only, model-only, and rules+model on the same labels. No analyst labels are shipped β€” this is the remaining blocker for production accuracy. The ablation script is a computation tool, not evidence of accuracy.

Files

config/questions.soc.json       # SOC question schema
config/policy.autotriage.json   # 6 guarded suppressions + 10 tag classes + caps/audit/rollback
eval/operational.json           # aggregate decision/throughput metrics
eval/release_eval.json          # rule-disjoint 308, threshold .99/.50
eval/ece_provenance.json        # ECE definitions/subsets across evaluators
eval/provenance.json            # checkpoint/temperature/questions/truncation provenance
eval/calibration.json           # LEGACY earlier-base calibration; superseded
hunting/rules.json              # 51 hunting rules (v9)
hunting/coverage.json           # aggregate EVTX/Wazuh coverage only
hunting/README.md               # limitations and usage, brute-force notes
runtime/                        # reference engine, state builder, test vectors, normalization
labeling/                       # analyst label schema/protocol (no raw data)
analysis/ablation.py            # rules-only vs model vs combined
CHANGELOG.md
NOTICE
LICENSE                         # Apache-2.0

Usage

  1. Serve a pinned Laya checkpoint locally (offline, API key, revision + digest).
  2. Load config/questions.soc.json and config/policy.autotriage.json.
  3. The public policy is shadow-mode; run it without applying actions. Only an operator-approved acting policy may be applied through a SOAR/queue adapter.
  4. Start in shadow, audit 5% of suppressions daily, keep model_auto_close=false.
  5. Revalidate monthly and after any checkpoint/schema change.

Limitations

  • Bounded, human-reviewed triage; not autonomous SOC.
  • Suppression patterns are exact but an adversary could mimic a benign filename; audit sampling and rollback are required.
  • Evaluation uses lab content-rubric labels; no analyst TP/FP validation yet.
  • Throughput is from CPU/MPS; GPU/concurrent behavior differs.
  • max_len=384 includes the question and options; long alerts can truncate. In 50 live SSH alerts, state_tokens_dropped=0, but monitor this in production.
  • The state builder historically trimmed every string to 120 chars. Sensitive fields (commandLine/parent/target/image/scriptBlock) are now preserved longer (240–300), but long alerts can still truncate. Route ambiguous cases to humans.
  • needs_human, severity, category are not validated for SOC decisions.
  • Suppression now fails closed when a deny-command guard is configured but commandLine is missing; most file-create alerts therefore queue instead of suppressing. This is intentional after review.
  • Policy caps (5,000/day suppression; 200/hour escalation) bind at high volume.
  • Public disclosure makes the suppression patterns and thresholds visible.

License and attribution

  • Base model Laya, Copyright Convai Innovations, Apache-2.0: https://huggingface.co/convaiinnovations/laya.
  • Configuration and this card: Apache-2.0 (see LICENSE).
  • Experimental lab checkpoint: separate repository, Apache-2.0, not a production SOC model.
  • SigmaHQ rules are DRL 1.1; no Sigma rule text is included here.
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for infosecn1nja/laya-soc-bounded-triage

Finetuned
(264)
this model