Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status Go Report Card Go Doc FOSSA Status

ÜberDig - dig on steroids

Simple GoLang tool for domain recon.

The purpose of this tool is to provide fast overview of a target domain setup. Several active scanning techniques are employed for this purpose like DNS ping-pong, TLS certificate scraping, WHOIS banner parsing and more. Some tools on the other hand are not - intentionally (e.g. nmap, brute-force, search engines etc.). This is not a full-blown DNS enumerator, but rather something more unobtrusive and fast which can be deployed in long-term experiments with lots of targets.

Feature set:

  • Resolves a given domain to all DNS records of interest
  • Resolves a given domain to a set of WHOIS contacts (selected properties only)
  • Resolves a given domain to a TLS certificate chain
  • Supports automatic NS discovery with custom override
  • Dissects domains from resolutions and resolves them recursively
  • Unobtrusive human-readable CLI output as well as machine readable JSON
  • Supports multiple domains on the input
  • Colorized output
  • Resolves domains in HTTP headers
  • Parses IPs found in SPF record
  • Looks up BGP AS for each discovered IP
  • Looks up GeoIP record for each discovered IP
  • Attempts to detect DNS wildcards
  • Supports graph output

Download as dependency

go get github.com/netrixone/udig

Basic usage

dig := udig.NewUdig()
resolutions := dig.Resolve("example.com")
for _, res := range resolutions {
	...
}

API

                                                         +------------+
                                                         |            |
                                                  +------+    Udig    +------------+
Delegates:                                        |      |            |            |
                                                  |      +------------+            |
                                                  |*                               |*
                                      +------------------+                  +------------+
                                      |  DomainResolver  |                  | IPResolver |
             +----------------------> +------------------+                  +------------+
             |                        ^      ^           ^                         ^     ^
Implements:  |                  +-----+      |           |                         |     +-------+
             |                  |            |           |                         |             |
     +-------------+ +-------------+ +--------------+ +---------------+        +-------------+ +---------------+
     | DNSResolver | | TLSResolver | | HTTPResolver | | WhoisResolver |        | BGPResolver | | GeoipResolver |
     +-------------+ +-------------+ +--------------+ +---------------+        +-------------+ +---------------+
             |              |                |               |                        |                |
             |              |                |               |                        |                |
Produces:    |              |                |               |                        |                |
             |              |                |               |                        |                |
             |*             |*               |*              |*                       |*               |*
      +-----------+ +----------------+ +------------+ +--------------+           +----------+   +-------------+
      | DNSRecord | | TLSCertificate | | HTTPHeader | | WhoisContact |           | ASRecord |   | GeoipRecord |
      +-----------+ +----------------+ +------------+ +--------------+           +----------+   +-------------+

CLI app

Download app

go get github.com/netrixone/udig/cmd/udig

Build from the sources

make or make install

This will also download the latest GeoIP database (IPLocation-lite).

Usage

udig [-h|--help] [-v|--version] [-V|--verbose] [--json] [-d|--domain "<value>"]

            ÜberDig - dig on steroids v1.3 by stuchl4n3k

Arguments:

  -h  --help     Print help information
  -v  --version  Print version and exit
  -V  --verbose  Be more verbose
      --json     Output payloads as JSON objects
  -d  --domain   Domain to resolve

Demo

udig demo

Dependencies and attributions

License

FOSSA Status