# Introducing Koney: Automated Cyber Deception for Kubernetes

**URL:** <https://community.dynatrace.com/t/introducing-koney-automated-cyber-deception-for-kubernetes/55735>\
**Category:** Open Source\
**Tags:** application-security, honeytokens, open-source-tool, ebpf, tetragon, kubernetes\
**Created:** [May 4, 2026, 8:44am UTC](https://community.dynatrace.com/t/introducing-koney-automated-cyber-deception-for-kubernetes/55735 "2026-05-04T08:44:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario\_kahlhofer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mario_kahlhofer/32/15223_2.png) [@mario\_kahlhofer](https://community.dynatrace.com/u/mario_kahlhofer)\
**Post date:** [May 4, 2026, 8:44am UTC](https://community.dynatrace.com/t/introducing-koney-automated-cyber-deception-for-kubernetes/55735/1 "2026-05-04T08:44:49Z")

</div>

**TL;DR:** We just released [Koney 0.2.0](https://github.com/dynatrace-oss/koney/releases/tag/v0.2.0), our open-source Kubernetes operator that automates cyber deception in your Kubernetes clusters. Define a DeceptionPolicy resource, and Koney plants honeytokens (fake credentials, decoy files) into matching containers, monitors them with eBPF via [Tetragon](https://tetragon.io/), and forwards any access alert straight into Dynatrace as a security event. Install with Helm, write a few lines of YAML, and get a high-fidelity signal the moment an attacker touches a decoy.

## Why deception, why now?

Traditional security is asymmetric: defenders have to close _every_ hole, attackers only need to find _one_. With AI-powered attack agents now trying hundreds of vectors in the time it used to take a human to try one, that asymmetry is getting worse.

Deception flips the game. Instead of trying to keep attackers out, you place traps on the inside. A honeytoken (a realistic-looking decoy credential file in a path attackers commonly look for, like /run/secrets/.aws/credentials) only ever fires when something genuinely suspicious happens. No legitimate process reads a fake AWS key your security team planted. That makes it one of the highest-signal indicators of compromise you can deploy.

What has held back honeypots and honeytokens isn’t the idea (which was coined by Lance Spitzner in the late 1990s and early 2000s); until now, no tool was capable of doing this end-to-end in Kubernetes. Manually creating, deploying, monitoring, and rotating decoys across dozens of containers is tedious and error-prone. Koney solves that.

## What Koney does

Koney was developed by the [Cloud-Native Research team](https://www.dynatrace.com/research/)&nbsp;at Dynatrace (with Matteo Golinelli from the University of Trento). You express your deception strategy as a custom resource, and Koney handles the rest:

- **Deploys the trap** (the _decoy_) by mounting a volume or running a shell command inside matching containers.
- **Sets up monitoring** (the _captor_) to detect file access at the kernel level, using Tetragon eBPF tracing policies, or alternatively the lightweight [Kive](https://github.com/San7o/kivebpf) operator by Giovanni Santini.
- **Collects alerts** , and optionally forwards them to Dynatrace via a DeceptionAlertSink resource.

When you update a policy, Koney updates the traps. When you delete it, Koney removes them. When new pods spawn that match the selector, they automatically get the honeytoken too. It’s deception-as-code.

A minimal policy looks like this:

```auto
apiVersion: research.dynatrace.com/v1alpha1
kind: DeceptionPolicy
metadata:
  name: aws-credentials-trap
spec:
  traps:
    - filesystemHoneytoken:
        filePath: /run/secrets/.aws/credentials
        readOnly: true
        fileContent: |
          [default]
          aws_access_key_id = FZWGQYZRVMVQKCWXWJ
          aws_secret_access_key = ToDNS2V5wkEuPmfocmNDHiVBspaywo
          region = us-east-1
      match:
        any:
          - resources:
              selector:
                matchLabels:
                  honeytoken: "true"
      decoyDeployment:
        strategy: containerExec
      captorDeployment:
        strategy: tetragon

```

Apply it, and any pod with the honeytoken: “true” label gets a believable-looking AWS credentials file that no legitimate process should ever touch.

## Installing Koney

Koney installs in one line via Helm:

```auto
helm install koney --create-namespace -n koney-system --wait oci://ghcr.io/dynatrace-oss/koney/charts/koney --version 0.2.0

```

You’ll also need an eBPF-based monitoring solution such as Tetragon running in the cluster. See the [README](https://github.com/dynatrace-oss/koney) for prerequisites, setup, and the full walkthrough.

## Alerts in Dynatrace

The most useful part for Dynatrace users: alerts can flow directly into your Dynatrace environment. Add a DeceptionAlertSink pointing at your environment, and every honeytoken access becomes a [security event](https://docs.dynatrace.com/docs/shortlink/semantic-dictionary-security-events) visible in the [Threats & Exploits](https://docs.dynatrace.com/docs/secure/threats-and-exploits) app, with full context: pod, namespace, container, the process binary that read the file, PID, UID, and which policy was triggered.

 ![image.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a62d97b441750c1455f602487edbeeac8adda802.png)

From there, you can also run DQL:

```auto
fetch security.events
| filter event.provider == "Koney"

```

That means you can correlate honeytoken hits with the rest of your security and observability data, build [Investigations](https://docs.dynatrace.com/docs/secure/investigations) around them, or wire them into [Workflows](https://docs.dynatrace.com/docs/shortlink/workflows). For example, you could automatically open a ticket against the namespace owner when a trap fires.

## What’s next

The current open-source release supports filesystem honeytokens. We’re working on additional deception types for future releases.

If you want the full step-by-step walkthrough (installing Koney, deploying a demo app, triggering an alert, wiring up the Dynatrace sink), visit our [GitHub repository](https://github.com/dynatrace-oss/koney). The research behind Koney was published in the [Koney paper](https://doi.org/10.1109/EuroSPW67616.2025.00084) at the 4th Workshop on Active Defense and Deception (AD&D), co-located with EuroS&P '25; an open-access pre-print is also available on [arXiv](https://arxiv.org/abs/2504.02431).

Koney is a research project by Dynatrace Research and is not officially supported by Dynatrace. Try it out, file issues, send PRs. We’d love your feedback.

* * *

_This post was drafted with Claude (Anthropic) and revised by Mario Kahlhofer._
