Skip to content

AiSOC v24.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 13:12
· 18 commits to main since this release
5a51483

The console at v24.2.0

Captured from a seeded demo stack built from this tag (the footer reads v24.2.0; the data is the daily-reset demo tenant).

The alerts queue, with the Investigation Rail following the selection — MITRE technique chips render names again for object-shaped techniques, and the attack story walks Execution → Defense Evasion → Lateral Movement on the seeded LockBit incident:

Alerts queue

An alert's automated triage — confidence 96/100 with its factor breakdown, the LockBit narrative, and the verdict feedback loop:

AI triage verdict

SOC operations — the pipeline-health tiles and the connector fleet measured against each connector's own poll cadence:

SOC operations


Added

  • SentinelOne now surfaces per-endpoint CVE findings as vulnerability
    inventory, not just threat alerts.
    The connector gained
    PULL_VULNERABILITIES: fetch_vulnerability_findings() reads the Singularity
    Application Risk endpoint (/web/api/v2.1/application-management/risks, one
    row per endpoint × CVE) and maps each row to the shared finding shape, so the
    scheduler materialises assets + asset_vulnerabilities — the CVE↔asset link
    KEV-exposure and triage grounding depend on, from an EDR already deployed,
    with no new credential. The pull is scoped by the configured site: the
    token spans every site/customer, so it reads one site (one tenant) at a time.
    No delta window is used — the vendor's published time filters exist
    (riskUpdatedDate__gte / detectionDate__gte), but a clock-derived window
    with no checkpoint is this platform's recorded data-loss class, and no sort
    surfaces the worst first — so the sweep re-reads the high-value subset
    whole each poll
    — severities=CRITICAL then HIGH (the API's own
    upper-case values; not SKU-gated, unlike the exploited-in-the-wild filter) —
    and stops at a per-poll cap, CRITICAL swept first so it is never crowded
    out. Medium/Low (the long low-value tail) are left out.
    Pages are small (the endpoint times out on large ones) and a transient 500
    (it is flaky under load) is retried with backoff rather than abandoning the
    sweep; re-reads are idempotent.
  • The SentinelOne connector's site_id is now required, closing a
    cross-tenant leak.
    The API token is account-scoped and spans every site
    (customer); a connector with no site pulled every customer's threats — and
    now CVEs — under the one AiSOC tenant it is bound to. site_id is now a
    required config field, and both fetch_alerts and fetch_vulnerability_findings
    refuse (and log) rather than issue an account-wide request when it is absent.
    One AiSOC tenant maps to one SentinelOne site. (Operational note: an existing
    site-less SentinelOne connector stops ingesting until a site_id is set.)
  • IP2Location.io as an optional second IP-context provider in the
    enrichment fan-out.
    Country, region, city and ASN on the free plan, the
    ISP name from the Starter plan, and VPN / Tor / data-center flags on the
    Plus and Security plans — context and tags only, no risk score, mirroring
    the IPinfo contract. A no-op until IP2LOCATION_IO_API_KEY is set. The
    API authenticates with a query-string key (it documents no header form),
    which this package's no-credentials-in-URLs rule otherwise forbids, so
    every error path scrubs the key before wrapping — pinned by a test that
    fails if a transport error or an echoing proxy body ever carries it.
    (#2181)

Fixed

  • Capture logins raced the demo seeder — the stack's health gates open
    before the seeded credential exists, which is why run 47497138566's one
    real capture was the file's last leg and the hardened guard's first
    proof run failed honestly at its first login. Both capture specs now
    retry login on a fresh navigation with a bounded window (~2 minutes)
    before failing loudly; the authenticated-chrome gate per leg is
    unchanged.

  • Names under the RFC 6761 documentation domains are no longer extracted
    as threat-intel indicators
    (reported and fixed by @dhananjay6561 in
    #2206, closing #2205). _routable_domain() matched the reserved names
    (example.com/org/net, localhost) exactly, so www.example.com,
    https://api.example.org/v1 and alice@mail.example.net still came back
    as domain, URL and email indicators from crawled write-ups. The check now
    matches the reserved names as a suffix on a label boundary, so names
    under them are dropped while a lookalike such as notexample.com is
    still an indicator — pinned by one failing-first test and one lookalike
    control.

  • Three README captures shipped as the sign-in page, byte-identical
    (pipeline run 47497138566, caught at image review before merge). Two
    layered causes: the capture specs swallowed a failed login
    (.catch(() => {}) on the post-login wait) and then screenshotted
    whatever was on screen; and per-leg logins tripped the login throttle on
    the CI stack, so the first leg authenticated and the next three were
    refused. The README-visuals spec now logs in once for the whole serial
    file and every leg passes a hard authenticated-chrome gate before any
    shutter (the account-menu button renders only for a stored session); the
    screencast's login wait is unswallowed with the same gate, so an
    unauthenticated leg fails loudly instead of recording the login page.

  • A workflow run that completed with zero jobs no longer strands its PR
    behind a wall of green.
    Runner-pool starvation of the two largest
    matrices created runs that held no jobs for twenty minutes and were then
    stamped failure — thirteen required contexts from one workflow never
    reported, and branch protection read the queue's weather as a verdict on
    the code (measured on #2174). A scheduled watchdog now re-dispatches
    completed-with-zero-jobs runs, bounded per tick, with cancelled
    excluded on purpose: a run superseded by concurrency has zero jobs and
    a successor that carries the grading. It is a remediation loop, not a
    gate — a re-dispatched run still has to pass on its own. (#2195)

  • CI: the two-tenant replay (and four sibling ad-hoc installs) survive
    OpenTelemetry 1.46.0.
    That release made _logs.get_logger's
    version/schema parameters keyword-only while FastAPI 0.165 still passes
    them positionally from its telemetry middleware — so the first request
    through any freshly-installed ASGI app died with TypeError: get_logger() takes 1 positional argument, failing the route-tenant-scope gate on every
    PR regardless of its content (first seen on #2183, then #2178; reproduced
    on main with fastapi 0.165.1 + opentelemetry-api 1.46.0, and green again
    the moment the API is capped <1.46). The five workflow installs that
    float OpenTelemetry next to a capped FastAPI now bound it
    >=1.37,<1.46; the cap lifts when FastAPI calls with keywords or OTel
    restores the signature. Service images are untouched — they build from
    locks.

  • Security: the tar-7.x wave's fourth tranche, plus two old-glob
    advisories, suppressed with the standing rationale.
    GHSA-9239-v992-p74f
    (tar <8.0.0 unbounded decompression memory, high; patched only in the 8.x
    major that breaks @expo/cli), GHSA-c6wh-w8c3-cv3g (ancient transitive
    globs under build tooling; the modern ignore-API behavior at issue
    postdates them) and GHSA-3924-r96c-gp9w (minimatch, low) — all build-time,
    nothing ships, all expiring 2027-02-28 with the rest of the wave.

  • Security: root-lock minimatch 11.0.9 → 11.0.10 (GHSA-3924-r96c-gp9w,
    low: proto key bypasses cache-key weighting in the shared matcher cache).
    The root override floor moves >=11.0.7 → >=11.0.10, mirroring the
    mobile lock, which already resolved 11.0.10; the landed tarball's
    integrity hash was verified against the registry's own record. The two
    remaining alerts on this advisory family target glob@7.2.3 /
    tar@7.5.24 under React Native/Expo build tooling, where the standing
    recorded rationale applies (the modern ignore-API behavior postdates
    glob 7; tar's only patched major breaks @expo/cli) — dismissed with
    those reasons rather than force-bumped across majors.

  • Security: filelock 4.2.4 → 4.3.3 in the threatintel lock. Six
    Dependabot alerts (GHSA-jcf5-mpj4-xfg8 and the 4.3.0 batch — three
    moderate, three low) against services/threatintel/poetry.lock's
    transitive filelock; all fixed-in ≥ 4.3.0. Lock-only move, no
    constraint change.

  • Field-map list indexes are capped at 64. The new list-building setter
    nil-pads up to the named index; profiles are repo-authored config, but a
    typo like fingerprints[999999999] would have allocated a billion-slot
    slice on the first mapped event. Past the cap the destination writes
    nothing — the same contract as a malformed segment.

  • An indexed field-map destination wrote a literal key instead of
    building a list.
    A profile mapping whose destination names a list
    element — honeytoken's honeytoken_id → finding.related_events[0].uid, and crowdstrike_falcon's
    SHA256HashData → file.fingerprints[0].value — went through
    setNestedField, which split the path on . alone and so wrote a map
    keyed by the literal string "related_events[0]" / "fingerprints[0]"
    rather than element 0 of a real list. Any reader that walks the list
    found nothing: the honeytoken trip's finding.related_events (live —
    honeytoken trips are non-canonical and go through the profile) and, on
    the raw-Falcon profile path, the fusion promoter's
    file.fingerprints[0].value. The nested-field setter and getter now
    parse a name[index] segment and build (and read back) a real list, so
    a honeytoken trip carries its related-event id and the
    crowdstrike_falcon profile mapping is repaired. The current
    CrowdStrike connector emits a canonical envelope and does not use that
    profile, so surfacing its file hash additionally needs a
    connector-lift — tracked separately. Locked through Normalize for
    both profiles and at the setter directly; the full normalizer suite
    stays green.

  • An EDR alert was matched against threat intel on its strongest hash
    alone.
    AlertEnricher.extract_iocs emitted a single hash IOC — the
    primary file_hash the promoter lifts from file.fingerprints[0] — so
    a feed, or the tenant's own indicator store, that held the same file
    under a different algorithm (the MD5 while the alert's strongest hash
    was the SHA-256) never matched. Every file.fingerprints value carried
    on the OCSF event (which the promoter stores verbatim as raw_event)
    is now emitted as a hash IOC, deduplicated by value, so tenant and feed
    enrichment hit whichever algorithm the corpus holds rather than only
    the primary one. Read defensively — a missing or malformed
    file.fingerprints contributes nothing and never raises — and with no
    model or schema change. Locked through the public list surface for the
    multi-hash, dedup, malformed and scalar-only cases.

  • The console-visuals pipeline can refresh every README embed it is
    honestly able to produce — and the ones it cannot are now hand-captured
    and said so
    (closes the rest of #2172, defects 3 and 4 plus the seeder
    race). Four fixes and a refresh. The capture leg's pnpm --filter apps/web selector matched no project under the pinned pnpm 8.15.1, so
    both capture legs of every run executed zero Playwright tests while the
    workflow stayed green — the deeper mechanism behind months of
    "byte-identical" reports; the filter now names the package
    (@aisoc/web) and a requested capture that produces nothing exits
    non-zero instead of warning and passing. The screenshots mode now drives
    readme-visuals.spec.ts (the recorder that writes the names README.md
    embeds) grep-limited to the four captures a seeded stack can produce
    truthfully, with a new visuals compose profile (threatintel + qdrant)
    so the threat-intel capture shows the live CISA KEV catalogue;
    entity-risk-queue.png and attack-graph.png stay deliberately outside
    the workflow's reach because the demo stack cannot feed fusion's
    in-stream scoring or the ingest graph writer, and an honest-but-empty
    panel must never replace a populated real capture. The screencast spec
    walked the retired /dashboard/* routes — the recorded hero.gif was
    literally ten seconds of 404 page — and now follows a rewritten
    SCREENCAST_SHOTLIST.md through the current console (sign-in, alert
    workbench, Investigation Rail, a verbatim local-model verdict, the
    entity-risk queue, cases, live KEV, dashboard), with the gif window
    env-tunable and frame-verified. The demo seeder's tenants_pkey crash
    on every aisoc:demo boot was the designed-in race between the compose
    one-shot seed container and the orchestrator's safety-net re-run — both
    now serialize on a transaction-scoped advisory lock taken before any
    read — and the orchestrator's case poll authenticates as the seeded demo
    user and reads the list shape the API actually returns, instead of
    waiting 60 s over a database that held 43 cases and reporting none. Five
    README captures, the technical-guide figures and the hero media were
    re-captured from a live full-pipeline stack with real local-model
    verdicts, with the provenance tables beside the assets rewritten to say
    per-row what each image shows and counted figures (1,814 live KEV
    indicators) recounted at capture time.

  • The console-visuals workflow can now actually detect what it captured.
    Its change detector ran git diff --quiet over the asset directories, and
    git diff ignores untracked files — so a freshly captured asset under a
    new filename vanished from the decision and every run reported
    "byte-identical", including twice on release day. The detector now reads
    git status --porcelain, which sees modified and new files alike. And the
    recorder URL is no longer hardcoded to http://localhost:3000 inside
    runPlaywrightSpec: the same script's port auto-remap (web 3000→next-free
    when busy) was pointing the recorder at whatever else owned :3000; it now
    threads the resolved port. Defects 1 and 2 of #2172; the demo-profile
    service gap and the retired screencast shot list (defects 3 and 4) are
    closed by the entry above.

  • EDR alerts dropped the file hash — the one IOC nearly every detection
    carries — on its way to OCSF.
    Two gaps in a row. The SentinelOne connector's
    normalize() lifted only host, user and the endpoint's own IP and left the
    hash inside raw_event; and even for the sibling EDR connectors that do emit
    sha256 / sha1 / md5 in the canonical envelope (eset_protect,
    cisco_meraki, cisco_secure_endpoint, withsecure_elements), ingest
    projected nothing — no canonical alias carried a hash, and the alias setter
    cannot build the file.fingerprints list the pipeline reads (a
    file.fingerprints[0].value destination writes a literal key, which is why
    the crowdstrike_falcon profile's mapping was latently broken too). So every
    such alert surfaced no typed hash IOC: nothing to enrich (VirusTotal), sweep
    (retro-hunt) or score (the threat_intel confidence factor), and an operator
    was told "no file hashes supplied" when one was supplied. Measured on a live
    SentinelOne tenant: alerts carried the sha256 in raw_event while iocs was
    []. Now the connector emits a validated, lower-cased sha256 / sha1 /
    md5, and the ingest normalizer projects those canonical hash keys (or a
    generic file_hash, typed by length) into OCSF file.fingerprints — a
    proper list, strongest hash first — for every canonical-envelope connector at
    once. A behavioural detection with no hash, or a placeholder like "N/A",
    projects nothing, never a guess.

  • A CrowdStrike detection surfaced no file-hash IOC — the connector
    never lifted it.
    The Falcon Alerts API carries the triggering file's
    sha256 (and, on some events, md5) on the alert itself or on each
    behaviors[] entry, but CrowdStrikeConnector.normalize lifted host,
    user, severity and techniques and left the hash buried in raw_event.
    The connector now lifts sha256/md5 into the canonical envelope —
    consulting the alert then its behaviours (as the RTR evidence
    projection does), validating hex and length, lower-casing, and
    rejecting a placeholder like "N/A" so no bogus indicator is emitted.
    Combined with the ingest normalizer's file.fingerprints projection,
    the hash becomes a typed IOC for enrichment, retro-hunt and the
    threat-intel confidence factor. Locked at the connector boundary for
    the alert-level, behaviour-level, md5, lower-casing, placeholder and
    absent cases.

  • MITRE chips and attack-story stages rendered the literal
    "[object Object]" for every alert whose techniques arrived as
    structured objects.
    The API's split mitre_techniques /
    mitre_tactics fields carry {id, name} objects (seed_demo ships
    exactly that), but normalizeAlert's fallback branch assumed bare id
    strings and coerced with String(t) — so the queue's technique chip,
    and every stage name AttackStory builds from tactics, printed
    "[object Object]" instead of "PowerShell" or "Execution". Caught by
    eyeballing the v24.1.0 release screenshots before publishing them —
    which is what the recorder contract's human-review step is for. Both
    wire shapes now resolve explicitly (name preferred, id as the chip id),
    a malformed entry degrades to empty strings rather than noise, and the
    regression is locked through the public list surface for the object,
    string, mixed and malformed cases.

  • New critical cases were never escalated once 50 older ones had used
    up their nags.
    The escalation bridge's critical sweep fetched the 50
    oldest unacknowledged cases; cases already at CRIT_MAX_NAGS stay
    unacknowledged and in open statuses, so they occupied every slot
    forever while should_escalate_critical skipped them one by one — a
    newer critical case never entered the result set and no page was ever
    sent for it. The critical sweep now fetches without a limit and a new
    CRIT_MAX_SENDS_PER_TICK cap pages a backlog oldest-first across
    ticks instead of flooding the webhook; the HIGH digest query keeps its
    limit. Found, reproduced failing-first and fixed by a first-time
    community contributor; locked by tick-level tests with a faked
    database and webhook.

Security

  • Tenant-lake SQL rewriter: CTE names are now resolved by lexical scope,
    closing a cross-tenant isolation bypass
    (GHSA-9cpj-pm43-5c25, reported by
    @archidoge0). rewrite_for_tenant() collected CTE aliases globally across
    the whole AST, so a subquery declaring WITH raw_events AS (SELECT 1) made
    the rewriter treat the outer physical raw_events as a CTE reference —
    no ALLOWED_TABLES check and no injected tenant_id predicate — and the
    post-rewrite audit, sharing the same global set, passed the result. The
    same mechanism bypassed the allowlist for arbitrary table names and let a
    self-shadowing CTE (WITH raw_events AS (SELECT … FROM raw_events)) read
    the physical table unscoped from inside its own body. Scope resolution is
    now an explicit top-down walk (_scoped_cte_names): a bare name counts as
    a CTE reference only where that CTE is lexically in scope — WITH names are
    visible in their attached query and its subqueries, a CTE body sees only
    names declared earlier in its own WITH clause (its own name only under
    WITH RECURSIVE), and unmapped tables fail closed as physical reads. The
    audit re-derives scope from the reparsed rendering rather than reusing the
    rewriter's map. Five regression tests pin the PoC, the allowlist arm, the
    self-shadow variant, and the legitimate scoping patterns that must keep
    working (CTE chains, CTEs referenced from WHERE subqueries).