Write your first arrow
Turn a finding into a detection rule: write the query, set the verdict, ATT&CK technique and stage, validate it, and run it across your evidence.
An arrow is a detection rule. A quiver is a set of them. Each arrow is a small TOML file with three parts: what it is, the query that finds events, and what to record about each match.
1. Start from a query that works
Find the events in Hunt first. Suppose you have confirmed lateral movement: the deploy account logging in to the database server with its SSH key, from the web server. This AQL finds it in syslog:
filter message ~= "Accepted publickey for deploy from 10[.]20[.]1[.]10"
2. Write the arrow
[meta]
id = "hf-lateral-db01"
name = "SSH from web01 to db01 as deploy"
enabled = true
[query]
type = "aql"
event_type = ["syslog"]
body = "filter message ~= \"Accepted publickey for deploy from 10[.]20[.]1[.]10\""
[action]
verdict = "malicious"
summary = "Lateral movement with deploy's stolen key"
mitre_techniques = ["T1078"]
ukc_stages = ["lateral-movement"]
| Section | Field | Meaning |
|---|---|---|
meta |
id, name, enabled |
A stable ID, a readable name, and whether it runs |
query |
type |
aql or sql |
event_type |
The event types the query reads. Validation checks fields against these. | |
body |
The query | |
action |
verdict |
malicious or suspicious |
summary |
The line shown for each match in the timeline and Hunt | |
mitre_techniques |
ATT&CK technique IDs | |
ukc_stages |
Kill-chain stages, which decide the event’s lane in the timeline |
3. Validate and save
Open Quiver and create a new arrow, or paste the TOML. Arcsentry validates it before saving. It refuses a rule whose query names a field that the declared event types do not have, so a typo fails now rather than silently matching nothing later.
New arrows belong to the case. Use the arrow’s actions to enable or disable it, or to promote it to your global quiver so it is available in every case.
4. Run it
Run one arrow, a selection, or the whole quiver across all evidence. Matches get the verdict, summary, technique and stage you set. They appear:
- in Hunt, with the summary beside each row;
- in the Timeline, in the lane for their stage or technique;
- on the Dashboard, in the ATT&CK and kill-chain panels.
5. Let the AI draft one
You can also ask the AI investigator:
Write an arrow for the SSH brute force you found, scoped to external source addresses.
It drafts the full arrow and shows it on an approval card. Read the query as carefully as you would a colleague’s. Allow it only if it matches what you mean.
Good habits
- One behaviour per arrow. Small rules are easier to trust and to reuse.
- Write the summary for a reader. “Lateral movement with deploy’s stolen key” beats “rule 14 hit”.
- Promote what generalises. Case-specific addresses stay in the case. Patterns such as “a web server account spawning a shell” belong in the global quiver.
- Keep arrows in version control. They are plain text.
See it on your own evidence. Free for 7 days.
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial