Skip to main content

Create a watcher

New watcher walks you through four steps: Start, Rule, Prove it and Go live. You pick a starting point, write or check the rule, prove it with tests and a look at your own history, then choose what happens when it fires. The step bar at the top of the dialog shows where you are, and you can go back to any earlier step. A new watcher starts in Shadow unless you choose otherwise on the last step.

You write Stream watchers yourself, as Sigma rules. Graph and correlation watchers come from the Library, and intel watchers come from your feeds and watch lists (see Kinds of watcher).

Open New watcher​

  • In Content library › Watchers, select New watcher.
  • From anywhere, select New › Watcher in the header.
  • Watch for this opens New watcher with a rule already filled in, on the Rule step. You find it on a hunt report's watcher candidates, when you conclude a hunt, on a rule Scout proposes in a chat, and on a test lake report.

When you create the watcher, its panel opens so you can watch it run.

Your draft is kept on this device​

What you type is saved in this browser as you go, one draft per organisation. Close the dialog and it asks whether to Keep editing, Discard draft or Close and keep draft. Next time you open New watcher, it reads Your draft from this device is back where you left it. Select Start over to begin again. The draft is removed once the watcher is created.

Opening New watcher with a rule filled in (from Watch for this) starts a fresh draft in place of the saved one.

Step 1: Start​

If you work across several organisations, first choose the Organisation the watcher belongs to. The rule runs against that organisation's events.

Then answer What do you want to watch for? with one of four starting points:

Starting pointWhat it does
Describe it to ScoutSay what you want to catch, for example A backup service account signing in outside working hours, and select Draft the rule. Scout drafts the rule and its tests in a new chat, and you review them there. Your draft stays saved.
Start from the LibrarySearch the Library and open a ready-made watcher. Turn it on as it is, or customise a copy. Graph and correlation watchers start here. See Content library › Watchers.
Write or paste a Sigma ruleOpen the editor goes to the Rule step with a starter rule. Use it for behaviour in events as they arrive.
Watch a list of valuesPaste IPs, domains, URLs, hashes or email addresses, one per line, and select Add values. They are saved as a watch list and matched against your telemetry, instead of a rule.

Which kind do I need?, beside the starting points, explains the four kinds of watcher in one line each.

Step 2: Rule​

The Rule step is the editor. The watcher's name, description and severity sit above the rule.

Name, description and severity​

Until you change them, the name, description and severity follow the rule's own title, description and level. Select the name or description to edit it, and pick a severity from the chips row. A line under the header says which of them still follow the rule, for example Severity and description come from the rule; name is your own. Once you have changed one, Use the rule's title (or level, or description) makes it follow the rule again.

The chips also show the kind (Stream), the events the rule reads, such as Process events, and its ATT&CK techniques.

The rule is checked as you type​

The badge above the editor says where the rule stands:

BadgeMeaning
Checking…The rule is being checked.
CompilesThe rule is accepted.
Not acceptedThe rule can't run. The notice under the editor says why in plain words, for example This rule counts or combines events. A stream watcher checks one event at a time., with the compiler's own message under Details. When the rule needs a correlation or graph watcher, it adds This needs a correlation or graph watcher. Those come from the Library. and Search the Library.
Couldn't checkThe check didn't answer. Select Retry. You can't continue until the rule has been checked.

Fields your … have lists the fields the rule's events carry. Select one to add it at the cursor. A field shown dashed, marked not collected, isn't collected for these events: a rule that uses it can never fire.

Rule check​

The Rule check panel lists every check of the rule, with a summary at the top: All 7 checks passed when nothing needs a look, otherwise for example 5 passed · 2 to review · 1 failed, with · N skipped when some checks couldn't run. Each row is Passed, To review, Failed or Skipped. The checks come in this order:

CheckWhat the row says
CompilesCompiles for …, naming the events it runs on, for example Compiles for process events: it runs on every event, seconds after it arrives. Or Does not compile, with the reason in plain words, marked on the rule's condition: line when the problem is the condition. Until the rule compiles, the other checks are skipped (Fix the compile error first.).
Collected fieldsEvery field it uses is collected, or Some fields are not collected, naming them: those terms can never match.
Title, description and levelHas a title, description and level, or Missing …. They tell whoever picks up a detection what it means.
ATT&CKMaps to ATT&CK, No ATT&CK mapping, ATT&CK tags need a look (a malformed or unknown tag, or a retired technique, named with its replacement) or Tactic tagged, no technique.
False positivesLists known false positives, or No known false positives listed. It never fails; it only asks you to review.
TermsNo noisy or brittle terms found, or one row per finding, such as A term is short, A value matches every event, A program name is not anchored, Matches every run of a common program, A file name is matched as a full path, Broad match with no exclusions, Extra wildcards, Very short search term or The condition names a selection that does not exist.
NameName is not already used in this organisation, or a warning or failure when another watcher has the same name or one too similar (see below).

A row that points at a line of the rule is a button: select it to show that line in the editor. Where Huntbase knows the fix, the line shows Apply fix, which rewrites that line for you, for example turning Image: '*\x.exe' into Image|endswith: '\x.exe'.

Checks marked To review or Failed don't stop you continuing. They are there for you to read. If the checks themselves can't run, the panel says Couldn't run the checks. You can still continue.

A similar name is refused​

Watcher names in an organisation must differ in their first 32 letters and digits. If another watcher's name is the same or too close, the check reads A watcher with a similar name already exists and you can't continue until you choose another name. If creating still meets a name clash, Rename it takes you back here with the name open for editing. When a watcher that doesn't clash has the same name, the check reads Another watcher already has this name, marked To review: both can exist, but a different name is easier to tell apart.

Ask Scout​

Explain this rule and Suggest tests hand the rule to Scout in a new chat. Your draft stays saved on this device.

When the rule compiles and has a name, select Continue to tests.

Step 3: Prove it​

Prove it answers two questions: does the rule catch what it should, and how often would it fire? Both run by themselves. Neither is required to continue, but a failing test is.

Tests​

Tests are example events, in two groups: Must match and Must not match. Add one of each. The Must not match test is the one that catches a rule that fires on everything.

  • Add a test opens a small editor: a Name, Must match or Must not match, the Event (JSON) written with the event type's column names (not Sigma field names such as Image: a test written that way fails and says so), and an optional Event type. Leave it empty to use the rule's events.
  • Tests run on their own whenever the rule or a test changes. Each one reads Passes, Fails, Could not run or Not run yet, with a one-line preview of its event and, when it fails, why.
  • Each group shows how many pass, for example 1 of 1 pass. Edit and Remove are on every row.
  • Suggest tests opens Scout in a new chat to suggest tests for the rule.

A failing test blocks Continue: fix it or remove it. Tests are saved with the watcher when you create it.

The history check​

Checked against your history runs the rule over telemetry you already have, as soon as the rule compiles. Choose the window: 1 day, 7 days, 14 or 30 days. It shows how many times the rule would have fired, how many hosts or users were involved, how many detections a day to expect, and a bar for each day.

The daily rate is worked out over whole days, from the first day with a match to the last day the check covers, so 7, 14 and 30 days give the same rate for the same matches. When every match falls in recent days, the verdict says so, for example All 36 matches were in the last 7 days., and the rate is labelled a day, over the last 7 days. Rates under 10 a day show one decimal, for example about 5.1 a day.

The verdict says what that means:

VerdictWhen
Quiet enough to run.5 detections a day or fewer.
Busy: about … a day.More than 5 a day, up to 25. It can start On, but over 5 a day is a lot to review, so Shadow is recommended.
Noisy: review before turning on.More than 25 a day, more than a watcher can start On with. Narrow the rule before you turn it on.
Nothing matched in …No matches in the window. That isn't a failure: the rule may be right and simply rare. Add a Must match test to show it catches what it should.

When most matches come from one host or user, the verdict names it and suggests excluding it if that is expected there. What it would have caught lists the hosts or users in the most recent matches, and See the matching events shows them.

Where a store such as Axiom counts some of the matches, the step says Some matches were counted in Axiom (…); the sample events and hosts below come from the Huntbase Lake only. A store returns counts only, so when every match was counted there, the hosts tile reads Not available and What it would have caught explains that there are no sample events to show. The counts still apply.

Numbers shown with ≥ are a floor: the rule uses a match the history check can only approximate, so the real count is at least that. Some rules can't be checked against history at all; the step says so, and the rule still runs on every new event. If the check fails or takes too long, select Retry, or try a shorter window. You can still continue.

The footer sums up what is proven, for example 2 tests pass · history checked over 7 days. Select Continue to go on.

Step 4: Go live​

Go live asks What should happen when it fires? and shows, on the right, what is ready and what happens next.

When this fires​

ActionWhat happens
Start hunt and notify (the default)Scout opens a hunt on the host and user involved, and the team is told it started.
NotifyA detection in Insights and a notification. No hunt.

A line under the choice says who is told once the watcher is On, from your alert routing.

How Scout runs the hunt​

For Start hunt and notify, choose how much Scout does on its own:

ModeWhat Scout does
GuidedProposes each step and waits for you.
Supervised (the default)Runs the hunt and pauses at checkpoints.
AutonomousRuns end to end and reports back. If your plan doesn't include autonomous hunts, the option is unavailable and says which plan does.

Notify doesn't start a hunt, so there is no hunt mode to choose.

Start in​

StateWhat it means
Shadow (Recommended, the default)Matches are recorded, with no hunt or notification. Review them, then turn it On.
OnLive straight away.

A watcher in Shadow starts no hunt and sends no notification, and its matches don't reach Scout's autonomous hunt list either. Its matches show on the watcher's Activity tab and in the daily digest.

On is offered when the watcher has a passing Must match test and a passing Must not match test, every test passes, and the history check has run for this rule and found 25 a day or fewer. Until then the option says what is missing, for example Add a Must not match test or Too noisy to start On: about 30 a day (On needs 25 a day or fewer). For a busy rule (over 5, up to 25 a day) On is offered, with a warning that Shadow is recommended.

Where a rollout governs the watcher in your organisation, it always starts in Shadow, and the rollout turns it On once its tests and history check pass. Follow it on the watcher's Response tab. See Rollout.

Ready to create​

Ready to create lists Rule compiles, Rule check, Tests and History, each with Edit, View, Add or Run to go back to its step. A busy history reads, for example, History: about 12 a day, busy. Gaps such as no tests or an unchecked history are warnings, not blockers. What happens next describes the first days: for a watcher in Shadow, it is live on new events within about a minute, its matches show on the watcher's Activity tab and in the daily digest, and after 7 days the watcher shows how often it fired in Shadow, before you turn it On.

Select Create in Shadow (or Create and turn on). The new watcher is saved as version 1, its tests are saved with it and run once, and its panel opens.

If creating fails, the step says why and keeps your draft:

  • a similar name in the organisation: Rename it takes you back to the Rule step;
  • a rule the server refuses: Edit the rule;
  • a plan that doesn't include it: See plans.

If the watcher was created but its tests, hunt mode or state couldn't be saved, the step shows what worked and offers Open the watcher and a Retry for the part that failed. This holds even if the page is reloaded in between: the step then offers Retry the rest. It never creates the watcher twice.

Edit a watcher​

Editing uses the same Rule and Prove it panels, in one dialog. See Edit a watcher.

Next steps​