Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính35k · #7957

hunting-for-dns-based-persistence

Skill này làm gì

Công cụ này tìm các cách hacker dùng để ẩn náu trong hệ thống bằng cách thay đổi bản ghi DNS. Nó kiểm tra việc chuyển hướng lưu lượng, subdomain bị chiếm quyền và cấu hình DNS sai.

Khi nào nên dùng

  • ✓Khi bạn nghi ngờ có hacker đang dùng DNS để giữ quyền truy cập vào hệ thống.
  • ✓Khi xây dựng các kiểm tra bảo mật để tìm kiểu tấn công này.
  • ✓Khi chuyên viên bảo mật cần hướng dẫn từng bước để điều tra.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-dns-based-persistence/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm các hoạt động đáng ngờ trong bản ghi DNS của chúng tôi có thể cho thấy hacker đang cố duy trì quyền truy cập.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ so sánh lịch sử bản ghi DNS với bản ghi hiện tại, dùng dữ liệu từ các dịch vụ như SecurityTrails và nhật ký của nhà cung cấp DNS. Nó tìm các thay đổi không được phép hoặc mẫu bất thường.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

DNS là gì?

DNS giống như danh bạ điện thoại của internet. Nó chuyển tên website (như google.com) thành địa chỉ IP mà máy tính hiểu được.

“DNS-based persistence” là gì?

Đó là khi hacker thay đổi cài đặt DNS để đảm bảo vẫn truy cập được vào hệ thống, ngay cả khi bạn đổi mật khẩu hoặc cài lại máy.

Tôi có phải trả tiền để dùng SecurityTrails không?

Có gói miễn phí với số lượt truy vấn giới hạn mỗi tháng, có thể đủ cho các lần điều tra không thường xuyên.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7957
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự