
The modern, high-speed successor to nsec3walker. A specialized NSEC3 forensics engine built in Go for rapid zone harvesting and automated hash reversal, optimized for accuracy and multi-core performance.
DISCLAIMER: This project was generated by Artificial Intelligence (AI) but has undergone a rigorous "Human-in-the-Loop" (HITL) process. This means the code has been reviewed and refactored by a human software engineer, the architectural design was human-directed, and a basic security audit was performed to verify functionality and rule out typical AI hallucinations. This process ensures a level of quality and reliability that pure AI generation cannot guarantee.
NSEC3-X is a specialized forensics and penetration testing tool designed for auditing DNSSEC NSEC3 configurations. It provides a modern, high-performance alternative to legacy tools like nsec3walker, offering integrated capabilities for zone enumeration (harvesting) and hash reversal (cracking).
The tool is written in Go and is designed to be a self-contained, dependency-free binary suitable for deployment in restricted environments.
Domain Name System Security Extensions (DNSSEC) use NSEC3 records to prove the non-existence of a domain name without revealing the entire zone content. NSEC3 achieves this by hashing the domain names. However, if the hashing parameters (specifically the iteration count and salt) are weak, these hashes can be vulnerable to offline brute-force attacks.
NSEC3-X automates the exploitation of these weaknesses through two primary phases:
NSEC3PARAM records to configure the cracker with the correct salt and iteration count.go install gitlab.com/CyberDev.Hacker/nsec3-x/cmd/nsec3-x@latest
For security reasons, it is recommended to verify the integrity of the downloaded binaries using the provided SHA256 checksums.
sha256sums.txt file from the Release page.sha256sum -c sha256sums.txt
Clone the repository and build the binary:
git clone https://gitlab.com/CyberDev.Hacker/nsec3-x.git
cd nsec3-x
go build ./cmd/nsec3-x
This will produce an executable named nsec3-x in the current directory.
The tool operates in distinct modes, controlled by the -mode flag.
Analyzes the target domain to determine if NSEC3 is active and evaluates the security strength of its configuration.
./nsec3-x -mode investigate -target example.com
Collects NSEC3 hashes by sending random queries to the target. This fills the gap between known hashes in the zone.
./nsec3-x -mode harvest -target example.com -n 1000
-n: The number of random queries to send. Higher numbers increase coverage but generate more traffic.-t: Number of concurrent worker threads.hashes.txt by default.Attempts to recover plaintext subdomains from the collected hashes using a wordlist.
./nsec3-x -mode crack -target example.com -w /path/to/wordlist.txt
-target: The target zone (required for correct salt application).-file: Path to the file containing harvested hashes (default: hashes.txt).-w: Path to the dictionary file (wordlist).-no-auto: Disable automatic parameter detection (requires manual -i and -s flags).A debug utility that calculates the NSEC3 hash for a specific Fully Qualified Domain Name (FQDN). This is useful for verifying if a specific subdomain matches a hash found during harvesting.
./nsec3-x -mode verify -target secret.example.com