本文へスキップ
Skillpedia
分析とスプレッドシート35k · #7946

hunting-credential-stuffing-attacks

できること

このツールは、盗まれたパスワードを使ってアカウントに侵入しようとする試みを見つけるのに役立ちます。ログイン記録を分析し、多数の失敗したログイン試行や、よくあるパスワードの使用など、不審なパターンを特定します。

使う場面

  • ✓アカウントが侵害されたかもしれないと疑うとき。
  • ✓クレデンシャルスタッフィング攻撃を検出するルールを作成するとき。
  • ✓アカウント乗っ取りのキャンペーンを調査するとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-credential-stuffing-attacks/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-credential-stuffing-attacks/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ログイン記録の中から、クレデンシャルスタッフィング攻撃の痕跡を探してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールは認証ログを調べて異常を探します。複数の異なるIPアドレスが少数のアカウントにアクセスしようとしていないか、複数の攻撃にまたがって同じパスワードが使われていないか、地理的に起こりえない場所からのログインがないかを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Hunting Credential Stuffing Attacks

When to Use

  • When investigating security incidents that require hunting credential stuffing attacks
  • 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

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Analyze authentication logs to detect credential stuffing by identifying patterns of distributed login failures, high IP diversity, and suspicious ASN distribution.

import pandas as pd
from collections import Counter

# Load auth logs
df = pd.read_csv("auth_logs.csv", parse_dates=["timestamp"])

# Credential stuffing indicator: many IPs trying few accounts
ip_per_account = df[df["status"] == "failed"].groupby("username")["source_ip"].nunique()
accounts_under_attack = ip_per_account[ip_per_account > 50]

Key detection indicators:

  1. High unique source IPs per failed username
  2. Low success rate across many accounts (< 1%)
  3. ASN concentration from cloud/proxy providers
  4. Geographic impossibility (same account, distant locations)
  5. User-agent uniformity across distributed IPs

Examples

# Password spray: one password tried across many accounts
spray = df[df["status"] == "failed"].groupby(["source_ip", "password_hash"]).agg(
    accounts=("username", "nunique")).reset_index()
sprays = spray[spray["accounts"] > 10]
よくある質問

クレデンシャルスタッフィングとは何ですか?

ハッカーが、あるウェブサイトから盗んだユーザー名とパスワードのリストを使い、他のサイトのアカウントへのログインを試みる攻撃です。人々がパスワードを使い回していることを狙っています。

ASNとは何ですか?

ASNは「Autonomous System」の略で、ひとまとまりのコンピューターネットワークを指します。このツールは、不審なログインがクラウドプロバイダーやプロキシから来ていないかを確認します。これらは攻撃者がよく利用するものです。

このツールを使うのにプログラミングの専門知識は必要ですか?

いいえ。セキュリティアナリスト向けに設計されています。ログへのアクセスとセキュリティの基本的な知識は必要ですが、経験豊富なプログラマーである必要はありません。

詳細

作者による元の説明

Detects credential stuffing attacks by analyzing authentication logs for login velocity anomalies, ASN diversity, password spray patterns, and geographic distribution of failed logins. Uses statistical analysis on Splunk or raw log data. Use when investigating account takeover campaigns or building detection rules for auth abuse. '

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#7946
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル