Hunting anomalous authentication patterns

From meltedinhex/analyst-ai-pack · View interactive version

Hunting anomalous authentication patterns is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Hunts for anomalous authentication such as password spraying, brute force, and impossible-travel logons by aggregating Windows logon success/failure events per account and source over time. Activates for requests to hunt anomalous logons, detect password spraying or brute force, or find suspicious a

How to use this skill

Skill file

Hunting Anomalous Authentication Patterns

When to Use

spraying (one password across many accounts), brute force (many failures per account), and

suspicious source concentration.

Do not use this for a single failed logon — it relies on aggregation across accounts/sources

to find patterns, not individual events.

Prerequisites

Workflow

Step 1: Aggregate auth outcomes

python scripts/analyst.py hunt logons.csv

Computes failures per account, distinct accounts targeted per source (spray signal), and

failure→success transitions per account (possible compromise).

Step 2: Surface patterns

Step 3: Confirm

Correlate sources with known infrastructure; check whether successes are legitimate.

Step 4: Operationalize

Set thresholds and write a detection (e.g., source touching ≥ N accounts within a window).

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.