Automated Detection Engineering
Research, write, tune and validate, in your SIEM’s language, on your data. From threat to production rule in under 30 minutes.
- Average time to author a new detection, before Spectrum and with it
- 121 days to under 30 minutes
- Mean time to tune a detection
- 10 days to 30 minutes
- On manual detection work, at one customer
- 90% fewer engineering hours
SEP2 deploys rapid-response rules 66% faster, with twice the deployed detections.
Writes rules in
- SPL
- KQL
- ES|QL
- YARA-L
- CQL
- Sumo Logic
- Sigma
Automated detection engineering, step by step
Detection engineering is the work of turning a threat into a rule that reliably fires on your data: research, write, tune, validate, deploy and maintain it. Spectrum does that engineering at every step.
Intake and research
Know what the threat does, and whether it applies to you.
- By hand
- An engineer reads the report, pulls out the behaviors and works out which ones touch your environment.
- With Spectrum
- Spectrum breaks the threat into behaviors, maps each one to the telemetry it needs, and tells you whether it applies to you.
- How Spectrum operationalizes threat intelligence
Spectrum Threat Research: the Shai-Hulud npm worm broken into six behaviors, each with the telemetry it needs and whether that data is in your SIEM.

Data check
Check the data before writing a line.
- By hand
- Someone searches index by index to find out whether the logs and fields even exist.
- With Spectrum
- Spectrum checks every behavior against the sources and fields you collect, and shows you the gaps.
Spectrum coverage gaps: threats listed with the data they need, sources not collected marked.

Write, tune and validate
A rule for your SIEM, tested on your logs.
- By hand
- Write the query, run it, chase the false positives, rewrite it. Then do it again.
- With Spectrum
- Spectrum writes the rule in your SIEM’s language, excludes the benign activity it finds, and validates it on your logs. Tuning goes from 10 days to 30 minutes.
Spectrum Detection Authoring: a rule for an install script running TruffleHog, written in Splunk SPL for CrowdStrike FDR data, pre-tuned with one exclusion, then validated on your logs: true positive detected, 0 benign matches.

Review and deploy
Your team approves. Then it ships.
- By hand
- Finished rules wait for a reviewer, then get copied into the repo and deployed by hand.
- With Spectrum
- Your engineers review the draft and a manager approves it. It lands in your repo as a pull request and goes live in your SIEM.
The finished detection in Spectrum: merged as pull request #482 and live in Splunk.

Maintain
Keep every rule working.
- By hand
- A renamed field or a quiet source breaks a rule without a sound. Nobody notices until it misses something.
- With Spectrum
- Spectrum keeps checking every detection against live data, flags the ones that break, and proposes the fix.
Spectrum stack health: detections checked against live data, broken ones flagged with a fix.


Built for the whole team
AI detection engineering your team can review
Everyone works from the same draft. Nothing ships without approval, and every decision is on record.

Red team
Submits its report in Spectrum.
Spectrum
Pulls out the procedures and drafts a detection for each.
Detection engineer
Reviews each draft, edits what needs it, and marks them reviewed.
Manager
Approves the rules in Spectrum.
Your SIEM
Runs the approved rules live. Each one also lands in your repo as a pull request.
Every submission, review and approval is recorded in the audit trail, with who did it and when.
Your SIEM, your language
Detection engineering for your SIEM
Spectrum writes each rule in your SIEM’s native language, to your schema and your field names, not a generic template.
Splunk
shai_hulud_trufflehog_from_js_runtime.spl
index=edr sourcetype=crowdstrike:events:sensor
event_simpleName=ProcessRollup2 ParentBaseFileName IN ("node", "node.exe", "bun", "bun.exe")
CommandLine="*trufflehog*"
| lookup aid_master aid OUTPUT ComputerName
| search NOT (ComputerName="ci-runner-*" CommandLine="*/opt/secscan/*")
| stats count BY ComputerName CommandLineMicrosoft Sentinel
shai_hulud_trufflehog_from_js_runtime.kql
DeviceProcessEvents
| where InitiatingProcessFileName in~ ("node", "node.exe", "bun", "bun.exe")
| where ProcessCommandLine contains "trufflehog"
| where not(DeviceName startswith "ci-runner-" and ProcessCommandLine contains "/opt/secscan/")
| summarize count() by DeviceName, ProcessCommandLineElastic
shai_hulud_trufflehog_from_js_runtime.esql
FROM logs-endpoint.events.process-*
| WHERE event.category == "process" AND event.type == "start"
AND process.parent.name IN ("node", "node.exe", "bun", "bun.exe")
AND TO_LOWER(process.command_line) LIKE "*trufflehog*"
AND NOT (host.name LIKE "ci-runner-*" AND process.command_line LIKE "*/opt/secscan/*")
| STATS events = COUNT(*) BY host.name, process.command_lineGoogle SecOps
shai_hulud_trufflehog_from_js_runtime.yaral
rule shai_hulud_trufflehog_from_js_runtime {
meta:
author = "Spectrum"
description = "TruffleHog launched by a JavaScript runtime (Node or Bun)"
severity = "HIGH"
events:
$e.metadata.event_type = "PROCESS_LAUNCH"
$e.principal.process.file.full_path = /(^|[\/\\])(node|bun)(\.exe)?$/ nocase
$e.target.process.command_line = /trufflehog/ nocase
not ($e.principal.hostname = /^ci-runner-/ nocase and
$e.target.process.command_line = /\/opt\/secscan\// nocase)
$e.principal.hostname = $host
match:
$host over 1h
outcome:
$event_count = count($e.metadata.id)
$command_lines = array_distinct($e.target.process.command_line)
condition:
$e
}CrowdStrike Falcon Next-Gen SIEM
shai_hulud_trufflehog_from_js_runtime.cql
#event_simpleName=ProcessRollup2
| in(field="ParentBaseFileName", values=["node", "node.exe", "bun", "bun.exe"], ignoreCase=true)
| CommandLine=/trufflehog/i
| match(file="aid_master_main.csv", field=aid, include=[ComputerName], strict=false)
| NOT (ComputerName=/^ci-runner-/i AND CommandLine=/\/opt\/secscan\//)
| groupBy([ComputerName, CommandLine], function=count())Sumo Logic
shai_hulud_trufflehog_from_js_runtime.sumo
_sourceCategory=edr/crowdstrike/fdr ProcessRollup2 trufflehog
| json "event_simpleName", "ParentBaseFileName", "CommandLine", "aid"
| where event_simpleName = "ProcessRollup2"
| where toLowerCase(ParentBaseFileName) in ("node", "node.exe", "bun", "bun.exe")
| where toLowerCase(CommandLine) matches "*trufflehog*"
| lookup ComputerName from path://"/Library/Admin Recommended/aid_master" on aid = aid
| where !(ComputerName matches "ci-runner-*" and CommandLine matches "*/opt/secscan/*")
| count by ComputerName, CommandLinePortable
shai_hulud_trufflehog_from_js_runtime.yml
title: TruffleHog Launched by Node.js or Bun
id: 2766ee4c-381f-4bea-a849-ea9c6a26c073
status: experimental
description: Detects TruffleHog run by Node.js or Bun, as in the Shai-Hulud npm worm's install scripts.
author: Spectrum
date: 2026-11-29
tags:
- attack.credential-access
- attack.t1552.001
- attack.initial-access
- attack.t1195.002
logsource:
category: process_creation
product: linux
detection:
selection:
ParentImage|endswith:
- '/node'
- '/bun'
CommandLine|contains: 'trufflehog'
filter_optional_secscan:
Image|startswith: '/opt/secscan/'
condition: selection and not 1 of filter_optional_*
falsepositives:
- The nightly secret scan in /opt/secscan on ci-runner-* hosts (scope the filter to those hosts in your backend)
level: highWhy Spectrum
Not a content pack
Rules are easy to come by. Rules that work on your data are not.
The usual approach: Content packs give you generic rules.
With Spectrum: Spectrum writes rules for your data, your schema and your field names.
The usual approach: A general-purpose LLM writes rules that parse but have never seen your data.
With Spectrum: Spectrum gives you rules that are researched, tuned and validated on your logs.
The usual approach: Detection-as-code checks a rule at commit time, against test data someone wrote.
With Spectrum: Spectrum validates it on your live data before the pull request, and keeps checking after.
Detection engineering platform FAQ
What does a detection engineering platform do?
It automates the work between a new threat and a working rule: researching the threat, checking your data, writing the rule in your SIEM’s language, tuning and validating it on your logs, and keeping it working after deploy. Spectrum does that work; your team approves what ships.
Does Spectrum replace my detection engineers?
No. Spectrum does the detection engineering: researching the threat, writing the rule, tuning it and validating it on your logs. Your engineers review every draft and decide what ships. Nothing deploys without your team’s approval.
Is this detection-as-code? Does it work with our repo?
Yes. Approved rules land in your detections repo as pull requests and deploy to your SIEM, so your repo stays the record of what runs.
Which SIEMs and query languages does Spectrum support?
Splunk (SPL), Microsoft Sentinel (KQL), Elastic (ES|QL), Google SecOps (YARA-L), CrowdStrike Falcon Next-Gen SIEM (CQL) and Sumo Logic. Spectrum writes in each SIEM’s native language, to your schema and field names, and can write Sigma when you want a portable rule.
Can we bring our own threats, intel or red team findings?
Yes. Submit a threat report, an intel write-up or a red team report in Spectrum. It pulls out the procedures and drafts a detection for each, and your team reviews them like any other draft.
How are detections tested before they ship?
Every rule is checked against the fields in your data, pre-tuned against benign activity in your environment, and validated on your logs: simulated attack events in your log format must trigger it, and your recent data is checked for noise. Then your team reviews it.
What happens when a detection breaks later?
Spectrum keeps checking every deployed rule against your live data. When a field changes, a source goes quiet or a rule gets noisy, Spectrum flags it and proposes a fix for your team to approve.
