Skip to content

Latest commit

 

History

History
117 lines (73 loc) · 2.36 KB

gather-victim-network-information.md

File metadata and controls

117 lines (73 loc) · 2.36 KB
description
MITRE ATT&CK, Reconnaissance, Technique T1590

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.

Google Dork

site:*.$domain -www)

Dome

# 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

# 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

# Enumerate subdomains
dnsrecon -d $domain

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

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

Amass

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

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

Gobuster

# 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 is a fast way to identify what company owns what IP

SecurityTrails

SecurityTrails Another good site for verifying IP addresses and netblocks belonging to an organization

NetBlockTool

NetblockTool can be used to gather IP ranges, points of contact, and even netblocks belonging to your target’s subsidiaries

Basic usage

python3 NetblockTool.py -v [COMPANY]

Extract ranges owned by the target company’s subsidiaries

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/" %}