Agent skill

Detecting Insider Threat With Ueba

by mukul975 in mukul975/Anthropic-Cybersecurity-Skills

Implement User and Entity Behavior Analytics (UEBA) using Elasticsearch/OpenSearch to build behavioral baselines, calculate anomaly scores, perform peer group analysis, and alert on insider threat…

Apache-2.0Auto-check passedSecurity

Install Detecting Insider Threat With Ueba

skills CLI
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-insider-threat-with-ueba -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mukul975/Anthropic-Cybersecurity-Skills detecting-insider-threat-with-ueba --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/detecting-insider-threat-with-ueba .claude/skills/detecting-insider-threat-with-ueba && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
detecting-insider-threat-with-ueba
GitHub stars
34k
Token cost
~738 tokens
SKILL.md length
288 words
Files
4 (incl. scripts, references)
Skills in repo
644
Repo updated
First seen
Licence
Apache-2.0

At a glance

Implement User and Entity Behavior Analytics (UEBA) using Elasticsearch/OpenSearch to build behavioral baselines, calculate anomaly scores, perform peer group analysis, and alert on insider threat…

  • Works in 4 steps: Ingest and Normalize Activity Logs → Build Behavioral Baselines → Calculate Anomaly Scores → …
  • Tuning a UEBA pipeline rather than a one-off manual hunt
  • SKILL.md covers Overview, When to Use, Prerequisites and Steps, plus 1 more section
  • Runs Python scripts from its folder

What it does

Detecting Insider Threat With Ueba is an agent skill from mukul975/Anthropic-Cybersecurity-Skills. Implement User and Entity Behavior Analytics (UEBA) using Elasticsearch/OpenSearch to build behavioral baselines, calculate anomaly scores, perform peer group analysis, and alert on insider threat indicators such as data exfiltration, privilege abuse, and unauthorized access. Use when building or tuning a UEBA pipeline rather than a one-off manual hunt.

Its SKILL.md is about 740 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/api-reference.md` and `scripts/agent.py`).

It sits in Security, covering Search implementation. It works with Elasticsearch and OpenSearch. The repository describes itself as: 817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io…. The licence is Apache-2.0.

When your agent uses it

  • Tuning a UEBA pipeline rather than a one-off manual hunt
  • Tasks that involve Search implementation

Example prompts

  • “/detecting-insider-threat-with-ueba”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Ingest and Normalize Activity Logs
  2. Build Behavioral Baselines
  3. Calculate Anomaly Scores
  4. Correlate and Alert

What it can do on your machine

Read from SKILL.md and the folder at commit 54a7988. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Detecting Insider Threat With Ueba loads about 738 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 98 tokens; SKILL.md has 288 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~738
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from mukul975/Anthropic-Cybersecurity-Skills at commit 54a7988, republished under its Apache-2.0 licence (© mukul975). 288 words, ~738 tokens.

Download SKILL.mdSave it as .claude/skills/detecting-insider-threat-with-ueba/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
detecting-insider-threat-with-ueba
description
Implement User and Entity Behavior Analytics (UEBA) using Elasticsearch/OpenSearch to build behavioral baselines, calculate anomaly scores, perform peer group analysis, and alert on insider threat indicators such as data exfiltration, privilege abuse, and unauthorized access. Use when building or tuning a UEBA pipeline rather than a one-off manual hunt.
domain
cybersecurity
subdomain
threat-detection
tags
ueba, insider-threat, anomaly-detection, elasticsearch, behavior-analytics, machine-learning, siem
version
1.0
author
mahipal
license
Apache-2.0
nist_csf
DE.CM-01, DE.AE-02, DE.AE-06, ID.RA-05
mitre_attack
T1078, T1190, T1059, T1048, T1041

Detecting Insider Threat with UEBA

Overview

User and Entity Behavior Analytics (UEBA) moves beyond static rule-based detection to model normal behavior for users, hosts, and applications, then flag statistically significant deviations that may indicate insider threats. Using Elasticsearch as the analytics backend, this skill covers building behavioral baselines from authentication logs, file access events, and network activity, computing risk scores using statistical deviation and peer group comparison, and correlating multiple low-confidence indicators into high-confidence insider threat alerts.

When to Use

  • When investigating security incidents that require detecting insider threat with ueba
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Elasticsearch 8.x or OpenSearch 2.x cluster with security audit data
  • Log sources: Active Directory authentication, VPN, DLP, file server access, email
  • Python 3.9+ with elasticsearch client library
  • Baseline period of 30+ days of normal user activity data
  • Defined peer groups based on department, role, or job function

Steps

Step 1: Ingest and Normalize Activity Logs

Configure log pipelines to ingest authentication, file access, email, and network logs into Elasticsearch with a unified user identity field.

Step 2: Build Behavioral Baselines

Calculate per-user baselines for login times, data volume, application usage, and access patterns over a rolling 30-day window using Elasticsearch aggregations.

Step 3: Calculate Anomaly Scores

Compare current activity against baselines using z-score deviation and peer group comparison to generate per-user risk scores.

Step 4: Correlate and Alert

Combine multiple anomalous indicators (unusual hours + large downloads + new system access) into composite risk scores that trigger SOC investigation workflows.

Expected Output

JSON report containing per-user risk scores, anomalous activity details, peer group deviations, and recommended investigation actions.

© mukul975, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/detecting-insider-threat-with-ueba of mukul975/Anthropic-Cybersecurity-Skills.

  • SKILL.md
  • LICENSE
  • references/api-reference.md
  • scripts/agent.py

Open the folder on GitHubat commit 54a7988

Compare with similar skills

Detecting Insider Threat With Ueba next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Detecting Insider Threat With Ueba compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Detecting Insider Threat With Ueba this skillmukul975/Anthropic-Cybersecurity-Skills34k—~738Automated safety check: PassApache-2.0
Docker Compose Testsjillesvangurp/kt-search155—~295Automated safety check: PassMIT
Amazon Opensearch Serviceaws/agent-toolkit-for-aws2.8k—~2.4kAutomated safety check: PassApache-2.0
Opensearch Function Scoring Algorithmspproenca/dot-skills215—~3.8kAutomated safety check: PassMIT
Opensearch Personalize Caching Strategiespproenca/dot-skills215—~4.8kAutomated safety check: PassMIT
Analytics Opensearch Expertiseaws/tools-for-devops-agent103—~6.9kAutomated safety check: PassApache-2.0

Similar skills

  • Docker Compose Tests

    jillesvangurp/kt-search

    Use Gradle Compose tasks to prepare and recover local Elasticsearch/OpenSearch test infrastructure in kt-search.

    155 GitHub stars~295 tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Amazon Opensearch Service

    aws/agent-toolkit-for-aws

    Official

    Guides migration, provisioning, search, log-analytics, trace-analytics, and Agentic AI Assistant workflows for Amazon OpenSearch Service and Serverless across six capabilities — migration…

    2.8k GitHub stars~2.4k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Search relevance and ranking on OpenSearch/Elasticsearch for a two-sided marketplace — candidate retrieval (hybrid BM25 + kNN, RRF, two-tower EBR), base relevance (BM25F, multimatch, LambdaMART)…

    215 GitHub stars~3.8k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Caching strategies in front of AWS OpenSearch (Elasticsearch) or AWS Personalize — search, recommenders, multi-recommender pages, anon vs logged-in traffic.

    215 GitHub stars~4.8k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Analytics Opensearch Expertise

    aws/tools-for-devops-agent

    Official

    Amazon OpenSearch Service domain health assessment. An agent skill from aws/tools-for-devops-agent.

    103 GitHub stars~6.9k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Elasticsearch Audit

    aspectrr/deer

    Enable, configure, and query Elasticsearch security audit logs.

    405 GitHub stars~1.7k tokensUpdated 5 mo ago
    SecurityAuto-check passed

More from mukul975/Anthropic-Cybersecurity-Skills

All 644 skills in this repo
  • Campaign Attribution Evidence Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Weighs infrastructure, TTP, malware code and timing evidence with the Diamond Model and competing hypotheses to reach a confidence-rated attribution.

    34k GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Go Malware Analysis in Ghidra

    mukul975/Anthropic-Cybersecurity-Skills

    Walks through reverse engineering Go-compiled malware in Ghidra: parsing buildinfo and pclntab, recovering stripped function names and extracting dependencies.

    34k GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • LNK and Jump List Forensics

    mukul975/Anthropic-Cybersecurity-Skills

    Guides forensic analysis of Windows LNK shortcut files and Jump Lists with LECmd, JLECmd and manual parsing to show file access and program execution.

    34k GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Malware Persistence Analysis with Autoruns

    mukul975/Anthropic-Cybersecurity-Skills

    Hunts Windows malware persistence with Sysinternals Autoruns, covering run keys, services, scheduled tasks and drivers, with baseline comparison.

    34k GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • NTFS MFT Deleted File Recovery

    mukul975/Anthropic-Cybersecurity-Skills

    Guides a Windows forensic examination of the NTFS Master File Table to recover deleted-file evidence, build timelines and spot timestomping.

    34k GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Network Covert Channel Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Detects DNS tunneling, ICMP exfiltration and HTTP-based covert channels in packet captures and DNS logs when hunting for hidden command-and-control traffic.

    34k GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Detecting Insider Threat With Ueba

What does Detecting Insider Threat With Ueba do?

Implement User and Entity Behavior Analytics (UEBA) using Elasticsearch/OpenSearch to build behavioral baselines, calculate anomaly scores, perform peer group analysis, and alert on insider threat…. Detecting Insider Threat With Ueba is an agent skill from mukul975/Anthropic-Cybersecurity-Skills. Implement User and Entity Behavior Analytics (UEBA) using Elasticsearch/OpenSearch to build behavioral baselines, calculate anomaly scores, perform peer group analysis, and alert on insider threat indicators such as data exfiltration, privilege abuse, and unauthorized access.

When should I use Detecting Insider Threat With Ueba?

Detecting Insider Threat With Ueba fits situations like: tuning a UEBA pipeline rather than a one-off manual hunt; tasks that involve Search implementation.

How do I install Detecting Insider Threat With Ueba in Claude Code?

Run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-insider-threat-with-ueba -a claude-code`. Or copy the skill folder (skills/detecting-insider-threat-with-ueba in mukul975/Anthropic-Cybersecurity-Skills) into .claude/skills/detecting-insider-threat-with-ueba in your project. Claude Code loads it when a task matches its description.

How do I install Detecting Insider Threat With Ueba in Codex?

Run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-insider-threat-with-ueba -a codex`. Or copy the skill folder (skills/detecting-insider-threat-with-ueba in mukul975/Anthropic-Cybersecurity-Skills) into .agents/skills/detecting-insider-threat-with-ueba in your project. Codex loads it when a task matches its description.

Can I use Detecting Insider Threat With Ueba in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-insider-threat-with-ueba -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/detecting-insider-threat-with-ueba, .gemini/skills/detecting-insider-threat-with-ueba, .github/skills/detecting-insider-threat-with-ueba and .opencode/skills/detecting-insider-threat-with-ueba in your project.

What does Detecting Insider Threat With Ueba need to run?

Going by SKILL.md and its folder, Detecting Insider Threat With Ueba needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Detecting Insider Threat With Ueba access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Detecting Insider Threat With Ueba safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Detecting Insider Threat With Ueba use?

Detecting Insider Threat With Ueba is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Detecting Insider Threat With Ueba use?

About 738 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 605 tokens, read only when the agent opens those files.

What are the alternatives to Detecting Insider Threat With Ueba?

Skills that share tags, products or a category with Detecting Insider Threat With Ueba: Docker Compose Tests (jillesvangurp/kt-search, 155 stars), Amazon Opensearch Service (aws/agent-toolkit-for-aws, 2.8k stars), Opensearch Function Scoring Algorithms (pproenca/dot-skills, 215 stars) and Opensearch Personalize Caching Strategies (pproenca/dot-skills, 215 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Detecting Insider Threat With Ueba?

mukul975 (a GitHub user) maintains it in mukul975/Anthropic-Cybersecurity-Skills, which has 34,116 GitHub stars. The repository holds 644 skills in this directory. The repository was last updated on August 31, 2026.

Source: mukul975/Anthropic-Cybersecurity-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.