Skip to content
Kandaro
Book a demo

SIEM

Detection rules

Learn which rules check your data, how to tune them for your own environment, and how to search and suppress your alerts.

Before you start

  • SOC is switched on. These pages sit in the Console's SOC menu. Kandaro switches SOC on for your organisation, for a trial or on a plan. Book a demo to start.
  • For SOC → Detection rules, EDR is switched on too. EDR is in early access. Kandaro switches it on for your organisation, on top of SOC, and sets up your first machines with you. SOC → Alerts works without it.
  • Your role. Viewers can read rules and alerts. Analysts and Admins can also propose rule changes, write rules, test logs and suppress alerts. Only an Admin approves a rule change.

Which part needs which explains how each part is switched on.

What checks your data

Kandaro's detection rules run in its platform, on every event from your machines and cloud services, as the event arrives. The Kandaro agent collects the activity and sends it; the rules decide what is worth an alert. Alerts from your own security tools arrive already decided by that tool's rules, so Kandaro takes them as they are.

Each rule has a level from 1 to 15: the higher the level, the more serious a match. The Console shows the level as a severity, from Info to Critical (how severity works). A match at level 7 or higher, which is Medium or above, becomes an alert in SOC, where related alerts are joined into one case (how alerts become a case).

Where one applies, a rule names the attacker technique it looks for, as a MITRE ATT&CK id such as T1059. MITRE ATT&CK is a public catalogue of attacker techniques. The id travels with each alert, so you can filter both rules and alerts by technique.

Coverage map

SOC → Coverage shows which attacker techniques your enabled rules and connected data let Kandaro see, grouped by the step of an attack. Each technique is marked Seen (a rule alerts on it and its data arrives), Partly seen (the data arrives, but no Kandaro rule alerts on it) or Not seen (no data that could show it), with the reason and, for a gap, what it would need. Under an advisory that matches your stack, Advisories → Feed shows which of its techniques you would see. The map is worked out from your rules and connected data, and tests nothing on your systems. If you don’t see it, an admin can check Settings → Features, or ask us through Support.

AI tripwire

An attacker who expects an AI to read your logs can write instructions for it into them. The AI tripwire looks for such text with fixed rules, no AI: in command lines and file names on your machines, and in the text of the alerts that reach SOC. A hit raises an alert of its own, for example “Someone wrote instructions for an AI into a command line”. SOC treats it like any other alert, so it can open a case or join one. Kandaro reports such text and never follows it. A finding about it in a case carries the mark Text aimed at an AI (Work a case). If you don’t see it, an admin can check Settings → Features, or ask us through Support.

Where the rules come from

The Source filter on SOC → Detection rules shows where each rule comes from:

  • Kandaro: rules Kandaro writes and tests itself.
  • Rules imported from public detection projects, including the two below.
  • Open-source ruleset: an open-source ruleset Kandaro converted to its own format. Each rule's page in the Console credits it under its licence.
  • Your organization: rules your team writes (see below).

Imported rules and their licences

  • Sigma rules from the SigmaHQ project, shown as “Sigma community”. They are released under the Detection Rule License (DRL) 1.1. Kandaro converts them to its own event fields, and every rule keeps the names of its authors.
  • Detections from Splunk Security Content, shown as “Splunk”. Copyright Splunk Inc., licensed under the Apache License 2.0. Kandaro translated each detection into its own rule format, so these rules are modified versions of the originals.

A rule's page in the Console names its source, authors and licence, and links to the original rule file. Many rules also come with tests: sample events they must alert on, and look-alikes they must stay quiet on, checked with every update of the rules. When Kandaro has adjusted a rule for every customer, the rule's page says what changed and why.

How a rule runs

Each rule ships in one of these states. The Status for you column shows how it runs for your organisation, after any change your team made.

  • On. Alerts you when it matches.
  • On, limited. Alerts you, at most at medium severity, while Kandaro checks how noisy it is.
  • Watch only. Records matches but doesn’t alert you yet.
  • Hunting only. Its matches are for searching in Hunt; it never alerts.
  • Off. Ships switched off. You can turn it on.

Quiet known noise

Some of your own systems look like attackers: a vulnerability scanner, a backup server, an admin script. There are two ways to stop them from raising cases, and neither deletes anything:

  • An exception on the rule, under SOC → Detection rules. The rule stays on, except when the conditions you set hold, for example the machine's name. Kandaro checks it against your recent events before it goes live.
  • A suppression on an alert, under SOC → Alerts. Alerts from that rule on that machine stop opening cases, and stay searchable (see Alerts below).

Change a rule

  1. Open SOC → Detection rules, find the rule and open it. You can search by title or id, or filter by source, severity, status, kind of log and ATT&CK id.
  2. Choose Change this rule and what you want to do: turn it off or on, change its severity, add an exception, or let it record matches without alerting.
  3. For an exception, give it a name, such as “Nightly backup server”, and add up to 16 conditions: a field, such as the machine's name, and a value it is, starts with, ends with or contains. The rule stays quiet when all of them hold. An exception ends after 1 year unless you set another date, at most 2 years ahead; renew it then.
  4. Say why. The reason is kept with the change and in your audit log.
  5. Choose Save and preview. Kandaro replays your last 14 days of events with the change and shows what would have been different. Nothing changes yet.
  6. An Admin approves it, and it goes live within a minute. Turning off a high-severity rule, or a rule together with the rules that build on it, needs a second check with a passkey or authenticator app.

Your changes lists everything your team changed. When Kandaro updates a rule you changed, it appears under Needs review, so you can keep your change or drop it. When your organisation raises more alerts in a week than Kandaro aims for, Your noisiest rules appears at the top with a proposed change for each. Nothing is switched off on its own.

Write your own rule

  1. On SOC → Detection rules, choose New rule.
  2. Write the rule as JSON in the format Kandaro runs, and choose Check. Kandaro sets the rule's id when you save.
  3. Test it with sample events. Your draft runs together with your current rules, and nothing is saved.
  4. Say why you need it and save. As with a change, Kandaro previews it on your recent events, and an Admin approves it before it alerts.

An organisation can have up to 500 rules of its own. A search in Hunt can also become a rule: see Search with Hunt.

Test a log

To see how Kandaro reads a log, choose Test a log on SOC → Detection rules. Paste up to 100 log lines or JSON events, one per line, and pick the log type for raw lines; JSON events carry their own fields. For each event you see how Kandaro read it, the fields it found and the rules that matched. Later events in the same test see the earlier ones, so rules that count repeats work too. Nothing you paste is stored.

Alerts

SOC → Alerts holds every alert in SOC: the ones your own tools sent and the rule matches from your machines and cloud services.

  • Search. Pick a time range of up to 90 days, then search by title, rule, machine or address, or filter by severity. From an alert's details, one click filters by its machine, address, account, rule or technique.
  • Large results. Kandaro counts up to 10,000 matching alerts; above that it asks you to narrow the search.
  • Open an alert to see it in full, the case it belongs to and, for a program on one of your machines, Show process tree.
  • Link to case… puts an alert on a case of your choice. It joins the case's evidence and timeline.
  • Suppress… stops alerts from that rule on that machine from opening cases. Say why, and choose 7, 30 or 90 days, or until you turn it off; Kandaro then asks once a year whether it's still needed. When Kandaro can't tell the machine, the suppression covers that rule from that source only.
  • Suppressed, the second tab, lists your suppressions and every alert they hid. Suppressed alerts are kept and stay searchable.

Hunt

SOC → Hunt searches all the activity your machines and cloud services sent, including the events no rule matched. Search with Hunt explains how to search it and the fields you can use.