Skip to content

Deception: Detections, Cases and Response

The deception_hit event

Every confirmed hit is one normalized event of type deception_hit, sent through the organization's ext-deception webhook adapter. Only a candidate that the extension matched against its registry of planted decoys becomes a hit. Anything else is dropped.

{
  "event_type": "deception_hit",
  "hit_id": "…",
  "decoy_id": "…",
  "kind": "file",
  "template": "kubeconfig-backup",
  "policy": "linux-servers",
  "layer": "use",
  "sid": "…",
  "hostname": "",
  "reporting_sid": "",
  "on_host": false,
  "classification": "automated",
  "mode": "live",
  "platform": "linux",
  "reader_key": "",
  "synthetic": false,
  "case_group_key": "<sid>:<incident id>",
  "source_ip": "198.51.100.7",
  "user_agent": "kubectl/…",
  "process": {},
  "details": {"source": "collector", "service": "k8s", "matched_by": "…",
              "source_ip_evidence": {"status": "not_available"}},
  "time": "…"
}
Field Meaning
decoy_id, kind, template, policy Which decoy was hit.
layer read, modify, delete or use.
sid The endpoint the decoy was planted on, even when the evidence came from elsewhere.
hostname The hostname of that endpoint: the sensor's current name when the extension can look it up, otherwise the hostname recorded when the decoy was placed. A collector hit therefore carries it too. It is empty only for a decoy placed before the extension recorded hostnames.
reporting_sid The sensor that reported it, when different from sid.
on_host True only when the evidence is an event the decoy's own sensor reported (a file read, a modification, a command-line match or, for a hostname decoy, a DNS lookup of a decoy name, on the host the decoy was planted on); details.on_host_basis is then sensor_event. It is always false for a collector hit and for a sign-in, whatever the source address, by design: see Respond to a hit.
classification A label, see below.
mode observe for an on-host read or modification of a decoy whose policy is in observe mode, live for everything else, uses included.
platform The decoy sensor's platform, when known.
reader_key A stable key of the reader's identity (platform, image path, and signer or SHA-256), the same one list_readers groups by. Empty when the event names no process.
synthetic True only for the extension's own test hits. It is set on the server side. Nothing in an incoming request can set it.
case_group_key <sid>:<incident id>. Hits on the same sensor within an incident window (30 minutes by default) share an incident.
source_ip, user_agent For collector hits.
process The acting process (the reader), when the event carried it: pid, image_path, command_line, user, user_id, signer, parent, ancestry.
details Kind-specific, from an allowlist of fields. Secret values are scrubbed from every string, and headers that carry credentials are never copied. For collector hits it includes the service, method, path and request details such as an MCP tool name. For sensor events: the event type, the observed path (observed_path) and the decoy path (decoy_path). For hits that carry a source address, it also holds address evidence.
test_decoy True on every hit of a test decoy. Without synthetic, it is someone who found the test decoy: a real hit.
host_sid Only on the host copy: the sensor the copy was put on.

The envelope is common to every kind, so the default rules match on it and a new kind raises detections with no rule change. Token hits use the same envelope under their own event type, deception_drop_hit (see What a token hit looks like), so rules written for deception_hit do not match them. An approved reader's read is not a hit: it is a deception_read_allowed event.

A command-line match and the file read of the same access, and a launcher shell and the shell it starts, are collapsed into one hit (see One access, one hit). The extension's own placement and verification reads never raise a hit (see The extension's own reads never alert).

You can read the hits the extension recorded with the list_hits request, or in the Hits tab of the web app. They are kept for 90 days. See Requests.

The host copy: deception_host_hit

A deception_hit arrives on the extension's adapter, so its routing.sid is the adapter's, not the host's. A hit judged on its host's own evidence (on_host is true, details.on_host_basis is sensor_event) is therefore also sent as a deception_host_hit: the same fields, plus host_sid. The platform copies that event onto the host's own sensor, where:

  • routing.sid, routing.hostname, routing.plat and routing.tags are the host's, so a response action in your rule (isolate network, add tag, a task, start ai agent) acts on the host;
  • routing.src_sid is the adapter's sensor id. Only the copy on the host has it: the original deception_host_hit also stays on the adapter, without routing.src_sid, so a rule that matches routing/src_sid with exists runs on the host's copy only;
  • the event shows on the host's timeline next to the read that caused it.

The copy is sent in the same request as the hit, whatever its mode, layer or class: your rule reads those fields and decides. It is never sent for a hit from the collector or a sign-in (no address is evidence of a host), a token hit, a test hit or a coverage warning. No shipped rule matches deception_host_hit, so the copy raises no second alert.

Address evidence is enrichment only

A collector hit or a sign-in hit carries a source address. Where the extension can look up the decoy's sensor, the hit also records whether that address is one of the addresses the sensor last reported, as details.source_ip_matches_sensor, with details.source_ip_evidence:

Field Meaning
status match, no_match, or not_available (the sensor's addresses were not looked up where the hit was recorded, which is the case for hits recorded from the collector).
address_kind external or internal, on a match.
sensor_last_seen When the sensor last reported, when known.
uniqueness Always not_established: the address is not compared with the rest of your sensors, so a shared egress or a reused range would match many hosts. complete is false.

This is information for the analyst. It never changes on_host, never changes the classification, and never gives a hit a host copy, so no rule acts on a machine because of an address.

Delivery

Each confirmed hit is delivered to the ext-deception adapter once across all the instances of the extension, with narrow exceptions that each send another identical event (same hit_id, same case_group_key): the adapter accepted the event but the acknowledgement was lost, and the extension then retried; or the extension process stopped, or every write of its sent marker failed, after the adapter accepted the event. There is no ceiling of two copies if the failure repeats. The platform does not drop such a duplicate, so the shipped rules would report it twice, and your response rules see it twice too (the example rule tags the host before isolating it, so a duplicate does not isolate it again). If you need exactly-once handling, deduplicate on hit_id in your own rules or downstream. How ext-cases handles a second detection with the same grouping key is not verified.

Classification

A label only ever sits on top of a confirmed hit and never decides whether a hit exists. In order of precedence:

Label Set when
unknown A synthetic hit, or nothing below applies.
copied-decoy The decoy's file or secret showed up on a sensor it was not planted on. The hit names the source host.
sanctioned-agent-touched-decoy Reserved for your own AI agents reading a decoy. Not active in this release: the configuration has no field to declare your own agents yet, so nothing is labelled this way.
scanner-likely A collector hit with no on-host evidence, from a known scanner User-Agent (TruffleHog, gitleaks, nuclei, Shodan and similar) or a network the operator lists as a scanner network.
ai-agent-likely An MCP tool call, or a User-Agent naming a known AI client or agent framework.
automated A scripting or CLI User-Agent (curl, wget, Python, Go, kubectl, aws-cli, git and similar).
human-likely A browser User-Agent on the collector, or a read from a graphical file manager.
link-preview-likely Tokens only: a link unfurler, a link checker or an entry of your preview list. See Link previews.

The labels based on how many decoys one process or address touched within a minute are not active in this release. The extension collapses the events of one access into one hit, but it does not join a file read to its process's NEW_PROCESS event to fill in the process, so process and the reader matching below depend on what the forwarded event carries. Neither is verified on real hosts.

Default detection rules

On subscribe the extension installs eight rules in your dr-general hive, named deception-*. They are ordinary D&R rules. You own them: edit, disable or replace them. The extension installs a shipped rule that is missing (on subscribe, on every deploy and configuration update, and in the daily run), but it never overwrites one that exists, whether you edited it or it is an older shipped version. When a newer shipped version differs, plan shows it as modified with the shipped copy, and deploy applies it only when you pass apply_pack or apply_all_pack; applying a rule restores the shipped rule as a whole, including its tags and expiry, and enables it (an IaC pipeline that keeps a shipped rule off must not name it). See Upgrading. coverage checks the stored rules against the shipped ones (see Rule integrity). On unsubscribe or uninstall, only rules still equal to the shipped version are removed. A rule you edited stays.

Rule Matches Does
deception-alert A real (not synthetic) hit, layer not delete, mode not observe, and not a sanctioned-agent read Report, category deception.<kind>.<layer>, priority 10, with the case grouping key
deception-alert-observe A real hit, layer not delete, mode observe Report, priority 2
deception-alert-sanctioned-agent A real hit classified as a sanctioned agent, layer not use, mode not observe Report, priority 6 (never matches in this release, see above)
deception-alert-decoy-deleted A real hit with layer delete Report, priority 5
deception-test A synthetic hit Report under the reserved category __deception-test
deception-coverage-warning A deception_coverage_warning event Report deception.coverage, priority 3
deception-drop-alert A real deception_drop_hit, live, not link-preview-likely or scanner-likely Report, priority 10, filed with no sensor (see Tokens)
deception-drop-preview A real deception_drop_hit that is link-preview-likely, scanner-likely or in observe mode Report, priority 3

The shipped rules only report: none isolates, tags or starts anything. Responding is up to your own rules (see Respond to a hit). Earlier releases shipped a deception-respond rule that called the extension's respond request; both are removed. The extension deletes your deception-respond when it is still a version it shipped, and leaves it in place when you edited it (deploy answers respond_rule_kept: true and plan notes it with code respond_rule_kept): such a rule calls a request that no longer exists, so delete it or change it to your own response.

The detection metadata carries case_group_key, case_sid and case_hostname (the hit's own endpoint, so a case is filed under the host the decoy was planted on, not under the extension's adapter), and a deception object (hit_id, decoy_id, kind, template, layer, classification) so your own rules and cases can use them. The detection also carries the whole deception_hit as detect, so a rule on the detection reads every field of the event (with the adapter as its routing: act on a host from the host copy).

The shipped alert rule looks like this:

detect:
  target: edr
  event: deception_hit
  op: and
  rules:
    - op: is
      path: event/synthetic
      value: false
    - op: is
      path: event/layer
      value: delete
      not: true
    - op: is
      path: event/mode
      value: observe
      not: true
    - op: or
      rules:
        - op: is
          path: event/classification
          value: sanctioned-agent-touched-decoy
          not: true
        - op: is
          path: event/layer
          value: use
respond:
  - action: report
    name: "deception.{{ .event.kind }}.{{ .event.layer }}"
    priority: 10
    metadata:
      case_group_key: "{{ .detect.event.case_group_key }}"
      deception:
        hit_id: "{{ .detect.event.hit_id }}"
        kind: "{{ .detect.event.kind }}"
        layer: "{{ .detect.event.layer }}"

(Shortened. The installed rule carries the full metadata.) The rules contain no generated value (no token, planted username or per-host path), so they stay the same size whatever your fleet does.

Do not put isolate network (or another response that acts on a sensor) in a rule that matches deception_hit or its detection: the event arrives through the extension's adapter, so the action would act on the adapter instead of the endpoint. Match the host copy instead.

The deception-test rule raises only the test hits. While it is missing or disabled, test_fire and the daily run start no test (no test could pass) and say not_run: test_rule_off, and a test that ran while it was off is "not proven" (test_rule_off), never a failure: it never marks a path broken, because real alerts do not go through that rule. On the board the rule off is Needs attention (test_rule_off), like any shipped rule you disabled. If you edit it so it no longer produces a detection, the rule reads unverified (rule edited: deception-test) and the next tests come back not proven (test_not_proven); no path becomes broken. Deleting or disabling deception-alert or deception-alert-decoy-deleted marks the paths they serve broken in coverage through the rule integrity check, not through test_fire. An edit to a shipped rule reads unverified (rule edited: <rule>): the extension does not evaluate your rule, so it can neither call an edit working nor broken.

Hits are detections first

Cases are optional. Deception does not need ext-cases for anything. Every confirmed hit becomes a deception_hit event on the ext-deception adapter, and the default rules turn it into an ordinary detection (a deception.* category: priority 10 for a real hit that is not a deletion, 5 for a deletion, 2 for a hit in observe mode, and 3 for a token hit that looks like a link preview or a scanner). That detection is the same kind as one from any other rule:

  • it appears in the organization's Detections list and stream, with the hit's evidence;
  • it goes to every output you have set up for detections (syslog, a webhook, a SIEM, a bucket and so on), and your own D&R rules can react to the deception_hit event or to the detection;
  • the Hits tab of the Deception page reads the extension's own store, so it lists every hit whether or not anything else is subscribed.

ext-cases only reads those detections. If it is subscribed and ingesting detections, it opens a case for each one as described below; if it is not, nothing about the detection, its priority, an output or your response rules changes, and no case exists. Subscribe it when you want hits grouped into cases and worked as incidents.

Cases

If the ext-cases extension is subscribed and ingesting your detections, a deception.* detection at priority 10 opens a critical case (priorities 8 to 10 map to critical). With the default rules this is the case for real hits that are not deletions. Deletion hits are priority 5, observe-mode hits priority 2, token hits that look like a preview or a scanner priority 3, and synthetic (test) hits never open a case. If you edit the rules, the priorities and cases follow your edits. The case grouping key keeps hits from different machines in different cases, even though they all arrive through the same adapter. Hits on one machine within an incident window group together. A hit that came through the collector (a secret used over the network) is filed under the host the decoy was planted on, with that host's hostname, not under the extension's adapter.

Observe mode. An observe-mode hit (priority 2) opens a low-severity case. A critical hit on the same host joins that case and raises it.

Tokens. A token hit opens one case per token and incident, filed with no sensor, with the token's label where the host name usually is. Priority 10 is critical and priority 3 (a link preview, a scanner or an observe-mode token) is medium. See Tokens.

In the web app, a case that holds Deception detections shows a Deception section: up to five hits with what happened (layer and class), when, the endpoint (or "No endpoint (token)"), the policy or the token's label, the process, user and signer, whether the hit was in observe mode, and links to the hit and the decoy or token in the Deception page.

Test hits are reported under __deception-test. ext-cases ignores categories that start with __, so tests never open a case. The deception.coverage detection (priority 3) is a normal detection. Whether it opens a case depends on how Cases ingests your detections, which is not verified here.

Respond to a hit

The extension detects and reports. It never isolates a host, tags a sensor or starts anything on its own. How to respond is your decision, written as your own D&R rule: explicit, in your infrastructure as code, and yours to change. Deploy it like any other rule (for example with limacharlie dr set or Git Sync), to every tenant that should respond the same way. Give it a name that does not start with deception-, the prefix of the extension's own rules (the example uses isolate-on-deception-hit).

Write a response rule on the host copy, deception_host_hit: it is on the host's own sensor, so an action acts on the host. The example below isolates a host on a live hit seen on that host, and leaves out what should not take a machine off the network:

detect:
  target: edr
  event: deception_host_hit
  op: and
  rules:
    # The copy on the host, not the original on the extension's adapter.
    - op: exists
      path: routing/src_sid
    # Live only: an observe-mode policy is still being tuned.
    - op: is
      path: event/mode
      value: live
    - op: is
      path: event/synthetic
      value: false
    - op: is
      path: event/on_host
      value: true
    # A deletion is more often a cleanup than an attack.
    - op: is
      not: true
      path: event/layer
      value: delete
    - op: is
      not: true
      path: event/classification
      value: scanner-likely
    - op: is
      not: true
      path: event/classification
      value: sanctioned-agent-touched-decoy
    # Once per host: the response below tags it.
    - op: is tagged
      not: true
      tag: deception-isolated
respond:
  - action: report
    name: isolate-on-deception-hit
  # At most 5 hosts an hour across the organization: the tag and the
  # isolation stop together at the cap.
  - action: add tag
    tag: deception-isolated
    ttl: 604800
    suppression:
      is_global: true
      max_count: 5
      period: 1h
      keys:
        - isolate-on-deception-hit-tag
  - action: isolate network
    suppression:
      is_global: true
      max_count: 5
      period: 1h
      keys:
        - isolate-on-deception-hit

How it reads:

  • Only what the host itself saw. A host copy exists only for a hit on the decoy's own sensor's evidence. A decoy credential used against the collector, a sign-in with a decoy account, and a token hit have no host copy, so this rule never isolates a machine because of a network address (NAT, DHCP, VPNs and cloud egress put one address on many machines). Those hits still raise their priority 10 detection.
  • Not test traffic. A test hit is synthetic and has no host copy; the synthetic condition is a second guard.
  • Live hits. mode: observe is the tuning period of a policy (see Observe mode); leave it out until the policy is live. A token hit and a context hit (an on-host touch under a policy's alert_on: use_only, see Policies) never reach this rule.
  • A cap per period. The same suppression on add tag and isolate network lets at most 5 hosts be tagged and isolated per hour in the organization (is_global: true). Past it the isolate-on-deception-hit detection is still reported, but the host is neither tagged nor isolated, so the next hit on it after the hour isolates it. Check the sensor's isolation state (or the tag) to see whether a reported host was isolated. See Suppression.
  • Once per host. The tag deception-isolated (7 days), put on only together with the isolation, keeps a burst of reads, or a duplicate delivery, from isolating the host again: a repeat no longer matches the rule, so it does not count toward the organization-wide cap either. Remove the tag when you release the host.

Adapt it: add - op: is tagged with your own vip or server tag to scope it, change the cap, respond to classification ai-agent-likely or human-likely only, or replace the isolation with start ai agent for an AI triage or with a ticket or a notification. The fields you can match on are those of deception_hit, plus host_sid. Generate and check your own rules with the CLI:

limacharlie ai generate-response --description "isolate the sensor, at most 5 per hour across the organization" --oid "$OID" --output yaml
limacharlie dr validate --detect detect.yaml --respond respond.yaml --oid "$OID"
limacharlie dr test --input-file rule.yaml --events events.json --oid "$OID" --output yaml

Before isolating on your own production tenants, run the rule with only the report action for a while to see what it would have isolated.

Test-fire

Test-fire checks that each read, modify and use alert path works, on demand with test_fire (the console's Run self-check) and automatically each day, without ever hiding a real attack. The console calls it the self-check: a background check that never decides a status, so a tenant reads Protected or Working without it (see The self-check). It does not exercise deletion: a test touches a test decoy to read, modify and use it, never to delete it. The deception-alert-decoy-deleted rule gets only the rule integrity check, which marks the delete layer broken if the rule is missing or disabled.

What test-fire does not prove

A test hit is synthetic, so it matches only the deception-test rule, which reports under __deception-test. Test-fire therefore checks the extension's detection path, from the decoy to a detection. It does not prove that the real-alert rules (deception-alert and the others), cases or your response rules work. A test never opens a case and has no host copy, so no response rule acts on it. To check those, review your rules and the case integration yourself (limacharlie dr test runs a rule against sample events).

  • Test decoys only. Each policy gets its own test-only decoys, recorded as test instances. A real decoy is never fired, so a hit on a real decoy is always real.
  • Bound to a run the extension started. A hit on a test decoy counts as a test only when it matches a run the extension started, within the run's 5-minute window. File reads, command lines and modifications must come from the process the extension tasked on that sensor. Collector tests go over an internal, authenticated path, never the public one. Sign-in tests are injected by the extension straight into its hit pipeline, because real failed sign-ins to your tenant every day would look like a password spray.
  • Anything unmatched is real. A hit on a test decoy that matches no run is a real deception_hit. This is deliberate: it covers an attacker who found the test file. The reader allowlist still applies, as on a real decoy: a read or modification of a test decoy by a reader your allowlist approves (a backup agent or antivirus sweeping the disk) is dropped and recorded as a deception_read_allowed event with test_decoy: true.
  • A path it cannot check. If a run covers the event's time but its binding cannot be verified, the extension emits a deception_coverage_warning instead of an alert, so a rule of yours cannot isolate a host on the extension's own traffic.
  • Tests never open cases or act. Test hits are marked synthetic on the server side, reported under __deception-test, skipped by ext-cases, and never sent as a host copy.
  • Failed tests show up. If a run produces no detection, coverage marks the path not proven on that run's host (note code test_not_proven, with the host), the host list shows a warning on that host, and the board's self-check counts a problem; none of this changes a status or the verdict. A token form's failed test is different: the form is broken. Only a missing or disabled rule, or a missing source, marks a path broken. A run that ran while deception-test was missing or disabled is not proven either way and marks nothing; no run starts while it is. coverage reads the latest test result of every alert path in your configuration, in bounded batches, and says how many it could not read (test_results_unread). The response of test_fire also carries a pack_check object with the rule integrity result (see Rule integrity).
  • Paths that are unavailable in this release are not tested. test_fire runs nothing for the fake AD account and internal-domain hostname templates. It lists at most 10 such policy and template pairs in its issues ("not tested: the alert paths are unavailable"), then says how many more there are. The coverage request lists every one.

  • New test decoys wait for their rules. A read or modify test runs only once the test decoy's sensor has carried the template's tag for 10 minutes (two rule reloads), counted from the decoy's creation or from the last time the tag was put back. Until then the issue says why, and the use test runs at once.

  • Tokens are tested too. One hidden test token per form your organization uses is fired each day, and test_fire with drop_id fires one token now. See Testing and coverage.

Which alert paths a test can reach depends on the deployment: a collector test needs the extension's internal collector path, and a path the deployment cannot test is reported in the issues of the answer rather than silently passed.

When the result is final. A run whose detection comes back is final at once, as detected, and coverage shows it from then on. A run whose helper the sensor never started is final at once as not_detected, since nothing touched the decoy. Otherwise a run's detection can be held for a while (see Alert latency), so a run is not finalized as "no detection" until its window, the hold time and a margin have passed: about an hour after the run starts (5 minutes of run window, 10 minutes of hold, then up to 42 minutes for the extension to settle held events and a slow detection). Until then list_test_runs shows the run as pending with the time its outcome is due (expected_final_at), and coverage does not count it as not proven. A run past its due time is recorded by the extension's next maintenance pass, not by the 30-minute sweep that releases held events. A test detection is reported under the reserved __deception-test category, which the platform never lists or sends to outputs: it does not appear in the detection list whatever filter you use, so read the outcome with list_test_runs and coverage.

Test history is bounded: a test operation's full record expires 7 days after it closes, and its idempotency record and run rows 30 days after, so a test_fire request replayed after 30 days is a new request.

The deception_coverage_warning event

deception_coverage_warning is a non-alerting event. In this release the extension emits it in one case: a hit on its own test decoy that falls inside a test run's window, but whose run binding cannot be checked. The extension sends it as an event through its adapter. It is not returned by list or coverage: you see it as the emitted event, as the detection of the shipped rule, and in list_hits (filter with event_type). It carries no case grouping key and has no host copy. The shipped deception-coverage-warning rule reports it as a priority 3 detection named deception.coverage.

It is not sent when a log source goes quiet or an alert path breaks. A broken path shows in coverage only, and the quiet-source status is not active in this release (see Coverage statuses).

Alert latency

Decoy reads reach the extension through the sensor and a forwarding rule, and use hits through the collector or your log sources. No latency measurements exist yet for read alerts on busy hosts, and cloud log sources add their own delay (Entra ID and Okta sign-in logs are not real time). Known delays and limits:

  • A file event that arrives before the extension has confirmed whether its own placement helper caused it is held for up to 10 minutes, and a 30-minute sweep releases held events. About 40 minutes is therefore the nominal delay for such a real hit when there is no backlog and nothing fails. It is not a maximum: when many held events are waiting, or a step fails and is retried, the release can take longer, each retry being a platform retry or the next 30-minute sweep. This only affects events on a decoy that has an operation running a helper at that moment. It does not delay hits on idle decoys.
  • A read by an unknown process that falls inside one of the extension's own operations on that decoy is held while it asks the sensor whether the reader is the sensor itself. That normally takes a second or two. When the answers never come, the read becomes due for judgment after two minutes and is then judged like any other read: a real hit. It is released by the next event of that sensor or, at the latest, by the 30-minute sweep, so it can wait up to about 32 minutes in the nominal case, and longer under backlog or failures. The extension asks a given sensor one question at a time and at most 12 per ten minutes; beyond that every read is judged as it arrives.
  • A host's first decoy of a template is watched for reads and modifications only once the sensor reloads its rules, 0 to 5 minutes after the template's tag is put on it (see Per-host watch rules). Use alerts and the command-line rule are not affected. This delay has not been measured on a live sensor.
  • Sensor drops under load: the Linux file collector can drop records silently on a busy host, so a decoy read can be missed. This is a sensor limitation.