okta-investigation
L2 Okta SystemLog + factor + admin-API audit. Push-fatigue detection, session-cookie replay, factor enrollment by attacker, API token anomaly, admin role…
от VigilOSS★ 35 звёзд на GitHub
Установить okta-investigation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Okta Investigation (L2)
L2 platform skill for Okta-side compromise. Okta is the SAML IdP that
federates into M365, AWS, Workspace, and most SaaS apps; an Okta
compromise is upstream of every downstream tenant. The Scattered Spider /
0ktapus / LAPSUS$ playbooks land here first, so the cross-skill chain
with m365-signin-investigation and aws-cloudtrail-investigation is
bidirectional.
When to Activate
- L1
alert-triagedispatchesplatform=oktawith category inpush-fatigue,factor-reset,admin-role-change,api-token-anomaly,password-policy-change,aitm-token-replay. aws-cloudtrail-investigationtraced a SAML chain back to the IdP and needs Okta sign-in context (the AWS-side trail ends atAssumeRoleWithSAML; the Okta-side trail starts atuser.authentication.sso).m365-signin-investigationconfirmed an Entra-via-Okta SAML compromise and needs the upstream Okta sign-in, factor state, and session fingerprint.phishing-triageidentified an AiTM landing page whose target was the Okta sign-in flow — pivot here to look for session cookie replay.
L2 does NOT write disposition; the verifier (alert-fp-verification)
does. L2 produces registered artifacts, an evidence ladder, a
coverage-gaps list, and a handoff JSON the verifier consumes.
Operating Rules
Read-only by default. Every Okta API call uses a service-app token with
read-only scopes; suspend/clear-sessions/reset-factors live in
incident-containment and require an vigil blue propose-contain approval gate.
Always-active references — load before the first API call:
agent/rules/triage.md— disposition vocabulary, severity recompute, 30-day look-back (rule 6), MITRE on every finding (rule 11), tenant-ref first (rule 12), UTC (rule 7).agent/shared-constraints-blue.md— authorization, artifact chain of custody under$ENGAGEMENT_DIR/ir/reports/, dispatch handoff schema, resume hydration, echo-banner prohibition.agent/rules/ir-evidence.md— attribution gates, multi-signal corroboration, the distinction between "session replay" and "credential capture + MFA bypass" claims.agent/references/tenants/<customer>-okta.md— org URL, documented super-admins, API token baseline, factor-reset helpdesk pattern, traveling-user pattern, AD-sync lag window, known-benign register.agent/skills/m365-signin-investigation/SKILL.mdandagent/skills/aws-cloudtrail-investigation/SKILL.md— load when the Okta trail terminates with a SAML assertion into either platform.
UTC is the working timezone. Okta SystemLog published is UTC ISO-8601
already; do not convert until writing narrative.
Look-back is 30 days minimum on first pass. Push-fatigue, factor grafting, and API token persistence routinely sit 7-14 days behind user-visible symptoms.
Tools
L2 is vigil assess host-exec territory for Okta API pulls plus
artifact register for every raw response. There is no widely-adopted
okta-cli at production grade — curl + jq is the primary surface.
| Task | Tool | Why |
|---|---|---|
| Org context | curl -H "Authorization: SSWS $OKTA_API_TOKEN" https://<org>.okta.com/api/v1/org |
One-shot tenant identity confirmation; cheaper than SDK auth dance |
| SystemLog pull (per-actor windowed) | curl ".../api/v1/logs?since=<iso>&until=<iso>&filter=actor.id eq \"<id>\"" |
Paginate via Link: rel="next" response header until exhausted |
| User factors enumeration | curl ".../api/v1/users/{id}/factors" |
Returns every enrolled factor with created timestamp; factor diff is step 2's core evidence |
| User profile + attributes | curl ".../api/v1/users/{id}" |
Compared against Get-ADUser for hybrid drift in step 6 |
| API token inventory | curl ".../api/v1/api/tokens" |
New tokens within incident window are the persistence signal |
| App assignments per user | curl ".../api/v1/apps?filter=user.id eq \"<id>\"" |
Cross-reference against tenant-ref app baseline; new admin-console app assignment = escalation |
| Policies (MFA enroll, access, authenticator) | curl ".../api/v1/policies?type=MFA_ENROLL", ?type=ACCESS_POLICY, ?type=AUTHENTICATOR |
Policy diff against last verified baseline catches step-up bypass |
| Active sessions | curl ".../api/v1/users/{id}/sessions" |
Where supported; some tenants restrict this endpoint by feature flag |
| Hybrid AD pivot | PowerShell Get-ADUser, Get-ADGroupMember |
AD-side state for hybrid drift in step 6; runs from a domain-joined admin workstation |
| Filter / project JSON | jq |
Read-only, fast, no tenant calls |
| AiTM correlation | vigil assess artifact search --q "device_fingerprint" |
Sibling-skill artifacts (M365, AWS) often already carry the device fingerprint Okta needs to dedupe |
Token + scope requirement
Prefer an OAuth-scoped service-app token over a static super-admin
SSWS token. Required scopes: okta.users.read, okta.logs.read,
okta.policies.read, okta.apps.read. SSWS tokens appear unde
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл okta-investigation?
L2 Okta SystemLog + factor + admin-API audit. Push-fatigue detection, session-cookie replay, factor enrollment by attacker, API token anomaly, admin role change, hybrid AD-Okta drift.
Как установить скилл okta-investigation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл okta-investigation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…