# Network Information

## DNS Information

Subdomain enumeration is the process of finding valid resolvable subdomains for a companies domain(s). The more you can find, the more you can hack.&#x20;

### Google Dork

```bash
site:*.$domain -www)
```

### Dome

```bash
# Passive subdomain enumeration
dome.py -m passive -d $domain

# Active enumeration
dome.py -m active -d $domain
```

{% embed url="<https://github.com/v4d1/Dome>" %}

### Sublist3r

```bash
# Passively enumerate subdomains
sublist3r.py -d $domain

# Enumerate subdomains and utilize the 'brute force' module
sublist3r.py -b -d $domain
```

{% embed url="<https://github.com/aboul3la/Sublist3r>" %}

### DNSRecon

```bash
# Enumerate subdomains
dnsrecon -d $domain

# Enumerate subdomains and perform a zone transfer
dnsrecon -a -d $domain
```

{% embed url="<https://github.com/darkoperator/dnsrecon>" %}

### Amass

```bash
# Retrieve the target domains ASN number
amass enum -d $domain
```

{% embed url="<https://github.com/OWASP/Amass>" %}

### Gobuster

```bash
# Actively enumerate subdomains
gobuster dns --domain $domain --wordlist $wordlist
```

{% embed url="<https://github.com/OJ/gobuster>" %}

## IP Addresses

### Hurricane Electric Internet Services

[Hurricane Electric Internet Services](https://bgp.he.net) is a fast way to identify what company owns what IP

### SecurityTrails

[SecurityTrails](https://securitytrails.com) Another good site for verifying IP addresses and netblocks belonging to an organization

### NetBlockTool

[NetblockTool](https://github.com/NetSPI/NetblockTool) can be used to gather IP ranges, points of contact, and even netblocks belonging to your target’s subsidiaries

Basic usage&#x20;

```bash
python3 NetblockTool.py -v [COMPANY]
```

Extract ranges owned by the target company’s subsidiaries

```bash
python3 NetblockTool.py -v Company -s
```

### References

{% embed url="<https://www.netspi.com/blog/technical/network-penetration-testing/netblocktool>" %}

{% embed url="<https://securitytrails.com/blog/identify-ip-ranges-company-owns>" %}
​
{% endembed %}

## References

#### DNS Information

{% embed url="<https://securitytrails.com>" %}

{% embed url="<https://crt.sh>" %}

{% embed url="<https://dnsdumpster.com>" %}

#### IP Addresses

{% embed url="<https://www.netspi.com/blog/technical/network-penetration-testing/netblocktool/>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ttp.parzival.sh/pentesting/osint/gather-victim-network-information.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
