viz - Visualization¶
The viz subcommand generates graph visualizations from discovered asset relationships.
Synopsis¶
Output Formats¶
| Flag | Format | Description |
|---|---|---|
-d3 |
D3.js HTML | Interactive browser visualization |
-dot |
DOT/Graphviz | Graph description language |
-gexf |
Gephi GEXF | Gephi graph format |
Options¶
Target Selection¶
| Flag | Description | Example |
|---|---|---|
-d |
Domain names (comma-separated) | -d example.com |
-df |
File containing domain names | -df domains.txt |
-since |
Include assets after date | -since "01/02 15:04:05 2006 MST" |
Output Options¶
| Flag | Description |
|---|---|
-o |
Output directory |
-oA |
Output file prefix |
-dir |
Data directory path |
Examples¶
D3.js Interactive Visualization¶
Creates an interactive HTML file viewable in any browser:
Graphviz DOT Format¶
Output can be rendered with Graphviz:
Gephi GEXF Format¶
Import into Gephi for advanced analysis.
Multiple Formats¶
Creates:
Time-Bounded Visualization¶
Graph Structure¶
flowchart TB
subgraph Nodes["Node Types"]
FQDN[FQDN]
IP[IP Address]
NET[Netblock]
ASN[ASN]
ORG[Organization]
CERT[Certificate]
end
subgraph Edges["Edge Types"]
RES[resolves_to]
BELONGS[belongs_to]
MEMBER[member_of]
OWNED[owned_by]
PROTECTS[protected_by]
end
FQDN -->|resolves_to| IP
IP -->|belongs_to| NET
NET -->|member_of| ASN
ASN -->|owned_by| ORG
FQDN -->|protected_by| CERT
Visualization Workflow¶
flowchart LR
ENUM[amass enum] --> DB[(Graph Database)]
DB --> VIZ[amass viz]
VIZ --> D3[D3 HTML]
VIZ --> DOT[DOT File]
VIZ --> GEXF[GEXF File]
D3 --> BROWSER[Browser]
DOT --> GRAPHVIZ[Graphviz]
GEXF --> GEPHI[Gephi]