본문으로 건너뛰기
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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-dns-based-persistence/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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란 무엇인가요?

인터넷의 전화번호부와 같습니다. 웹사이트 이름(예: 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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬