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

hunting-for-dns-based-persistence

できること

このツールは、ハッカーがDNSの設定を書き換えてシステムに潜伏し続ける手口を探します。トラフィックの迂回、乗っ取られたサブドメイン、誤ったDNS設定などをチェックします。

使う場面

  • ✓ハッカーがDNSを使ってシステムへの侵入を維持していると疑われるとき。
  • ✓この種の攻撃を見つけるためのセキュリティチェックを構築するとき。
  • ✓セキュリティアナリストが調査のための手順を段階的に知りたいとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-dns-based-persistence/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“ハッカーがアクセスを維持しようとしている可能性がないか、当社のDNSレコードの不審な動きを調べてください。”

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

仕組み

このツールは、SecurityTrailsやDNSプロバイダーのログなどのサービスから得たデータを使い、過去のDNSレコードの履歴と現在のレコードを比較します。許可されていない変更や、通常とは異なるパターンを探します。

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

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

Hunting for DNS-based Persistence

Overview

Attackers establish DNS-based persistence by hijacking DNS records, creating unauthorized subdomains, abusing wildcard DNS entries, or modifying NS delegations to redirect traffic through attacker-controlled infrastructure. These techniques survive credential rotations, endpoint reimaging, and traditional remediation because DNS changes persist independently of compromised hosts. Detection requires passive DNS historical analysis, zone file auditing, and monitoring for unauthorized record modifications. This skill covers hunting methodologies using SecurityTrails passive DNS API, DNS audit logs from Route53/Azure DNS/Cloudflare, and zone transfer analysis.

When to Use

  • When investigating security incidents that require hunting for dns based persistence
  • 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

  • SecurityTrails API key (free tier provides 50 queries/month)
  • Access to DNS provider audit logs (Route53, Azure DNS, Cloudflare, or on-premises DNS)
  • Python 3.9+ with requests library
  • DNS zone file access or AXFR capability for internal zones
  • Historical DNS baseline for comparison

Steps

Step 1: Baseline DNS Records

Export current DNS zone records and establish baseline for all authorized A, AAAA, CNAME, MX, NS, and TXT records.

Step 2: Query Passive DNS History

Use SecurityTrails API to retrieve historical DNS records and identify unauthorized changes, new subdomains, and CNAME records pointing to decommissioned services (dangling CNAMEs).

Step 3: Detect Anomalies

Compare current records against baseline to identify unauthorized modifications, wildcard records that resolve all subdomains, NS delegation changes, and MX record hijacking.

Step 4: Investigate Findings

Correlate DNS anomalies with threat intelligence feeds, check resolution targets against known malicious infrastructure, and validate record ownership.

Expected Output

JSON report listing DNS anomalies with record type, historical changes, risk severity, and remediation recommendations for each finding.

よくある質問

DNSとは何ですか?

DNSはインターネットの電話帳のようなものです。google.comなどのウェブサイト名を、コンピューターが理解できるIPアドレスという数字に変換します。

「DNSベースの永続化」とは何ですか?

ハッカーがDNSの設定を変更して、パスワードを変更したりコンピューターを初期化したりしても、システムへのアクセスを維持できるようにする手口です。

SecurityTrailsを使うには料金がかかりますか?

無料プランがあり、月あたりの問い合わせ回数に制限はあるものの、時々行う調査であれば十分な場合があります。

詳細

作者による元の説明

Hunts for DNS-based persistence mechanisms such as DNS hijacking, dangling CNAME records enabling subdomain takeover, wildcard DNS abuse, and unauthorized zone or NS delegation changes, using passive DNS history (SecurityTrails API), Route53/Azure DNS/Cloudflare audit logs, and zone transfer analysis. Use when investigating suspected DNS hijacking or subdomain takeover, or when threat hunting for

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル