For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-000-8uj.md. A documentation index is available at /llms.txt.

Tailscale user role updated

Goal

Detect when a Tailscale user’s role is updated.

Strategy

This rule monitors Tailscale logs for when a user’s role is updated. This could be a privilege escalation vector for an attacker looking to bypass restrictions from a lower privileged user.

Triage and response

  1. Investigate the user {{@usr.email}} that performed the UPDATE action on user {{@target.name}}.
  2. Compare the previous roles {{@old}} with the new role updates containing the {{@new}} role and confirm that they should be assigned to the user {{@target.name}}.
  3. If the activity is deemed malicious:
    • Begin your organization’s incident response process and investigate.