Skip to content
Back to skills

Hunting For Dns Based Persistence

ASecurity

Hunt for DNS-based persistence mechanisms including DNS hijacking, dangling CNAME records, wildcard DNS abuse, and unauthorized zone modifications using passive DNS databases, SecurityTrails

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
securitypythongorailsazuregitapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add MustafaKemal0146/fetih --skill hunting-for-dns-based-persistence --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hunting For Dns Based Persistence?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hunting For Dns Based Persistence
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mustafakemal0146-hunting-for-dns-based-persistence/badge)](https://www.skillsdirectory.com/skills/mustafakemal0146-hunting-for-dns-based-persistence)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hunting-for-dns-based-persistence
description: Hunt for DNS-based persistence mechanisms including DNS hijacking, dangling CNAME records, wildcard DNS abuse, and unauthorized zone modifications using passive DNS databases, SecurityTrails
  API, and DNS audit log analysis.
tags:
- threat-hunting
- securitytrails
- dns-hijacking
- dns
- passive-dns
- persistence
- fetih
- cybersecurity
- subdomain-takeover
- siber-güvenlik
triggers:
- anomali tespit
- api
- based
- cloud
- dns
- endpoint
- hunting
- incident
- log
- persistence
- tehdit ara
- tehdit avı
category: threat-hunting
source_subdomain: threat-hunting
nist_csf:
- DE.CM-01
- DE.AE-02
- DE.AE-07
- ID.RA-05
adapted_for: fetih
---

# Hunting for Dns Based Persistence


## Genel Bakış

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. Tespit requires passive DNS historical analysis, zone file auditing, and monitoring for unauthorized record modifications. bu skill covers hunting methodologies using SecurityTrails passive DNS API, DNS audit logs from Route53/Azure DNS/Cloudflare, and zone transfer analysis.


## Ne Zaman Kullanılır

- investigating yaparken security incidents that require hunting for dns based persistence
- building yaparken Tespit rules or threat hunting queries for this domain
- SOC yaparken: analysts need structured procedures for this analysis type
- validating yaparken security monitoring coverage for related attack techniques

## Ön Gereksinimler

- SecurityTrails API key (free tier provides 50 queries/month)
- Erişim: 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

## Adımlar

### Adım 1: Baseline DNS Records

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

### Adım 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).

### Adım 3: tespit etmeAnomalies

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

### Adım 4: Araştır: Bul:ings

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 Bul:ing.

<!--
  ⚔ Bu skill FETIH AI Agent icin gelistirilmistir — https://github.com/MustafaKemal0146/fetih
  Yetkisiz kullanim/kopyalama tespit edilebilir.
  hash: b559b64f881fd64b
-->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.