(Router IPv6 Addresses)

First, we estimate the Entropy for each nybble in the IPv6 addresses, across the whole dataset. For example, if the last nybble is highly variable, then the corresponding Entropy will be high. Conversely, the Entropy will be zero for nybbles that stay constant across the dataset. Below we plot the normalized value of Entropy for each of the 32 nybbles, along with the 4-bit Aggregate Count Ratio, which was introduced in Plonka and Berger, 2015.

Second, we group adjacent nybbles with similar Entropy to form larger **segments**, with
the expectation that they represent semantically different parts of each address.
We label these segments with letters and mark them with dashed lines in the plot below.

Next, we search the segments for the most popular values and ranges of values within them. For that purpose, we use statistical methods for detecting outliers and the DBSCAN machine learning algorithm. We analyze distribution and frequencies of values inside address segments.

Below we present the results, with ranges of values shown as two values in italics (bottom to top). The last column gives the relative frequency across the whole dataset. The /32 prefixes are anonymized.

A: bits 0-32 (hex chars 1- 8)

- 20010db8 100.00%
B: bits 32-44 (hex chars 9-11)

- 000 100.00%
C: bits 44-48 (hex chars 12-12)

- 2 94.06%
- 3 5.94%
D: bits 48-64 (hex chars 13-16)

- 1239 100.00%
E: bits 64-68 (hex chars 17-17)

- 0 100.00%
F: bits 68-80 (hex chars 18-20)

- 127 87.57%
- 128 6.38%
- 129 3.08%
- 130 2.31%
- 131 0.66%
G: bits 80-84 (hex chars 21-21)

- 0 100.00%
H: bits 84-88 (hex chars 22-22)

- 2 96.26%
- 1 3.08%
- 0 0.66%
I: bits 88-96 (hex chars 23-24)

- 32 87.02%
- 06 6.38%
- 22 2.31%
- 49 1.43%
- 47 1.21%
- 77 0.55%
- 18 0.44%
- 23 0.33%
- 28 0.22%
- 93 0.11%
J: bits 96-100 (hex chars 25-25)

- 0 100.00%
K: bits 100-104 (hex chars 26-26)

- 0 93.07%
- 1 6.27%
- 2 0.66%
L: bits 104-108 (hex chars 27-27)

- 0 41.69%
- 1 36.19%
- 2 15.73%
- 3 4.40%
- 9 1.54%
- 6 0.33%
- 4 0.11%
M: bits 108-112 (hex chars 28-28)

- 0 20.57%
- 5 17.16%
- 1 9.90%
- 2 9.46%
- 9 9.35%
- 6 8.80%
- 4 6.71%
- 7 6.60%
- 3 6.27%
- 8 5.17%
N: bits 112-116 (hex chars 29-29)

- 0 100.00%
O: bits 116-120 (hex chars 30-30)

- 0 43.01%
- 1 34.32%
- 2 22.66%
P: bits 120-128 (hex chars 31-32)

* 02-98 96.26%* 00-f1 3.74%

Next, we search for statistical dependencies between the segments. For that purpose, we train a Bayesian Network (BN) from data.

Below we show structure of the corresponding BN model. Arrows indicate direct statistical influence. Note that directly connected segments can probabilistically influence each other in both directions (upstream / downstream). Under some conditions, segments without direct connection can still influence each other through other segments: e.g., A can influence C through B if C depends on B and B depends on A (even if there is no direct arrow between A and C).

Learning BN structure from data is in general a challenging optimization problem. Hence, there might be more than one possible BN structure graph for the same dataset.

Finally, below we show an interactive browser that decomposes IPv6 addresses into segments, values, ranges, and their corresponding probabilities. The browser lets for exploring the underlying BN model and see how certain segment values probabilistically influence the other segments.

Try clicking on the colored boxes below. You should see the colors changing, which reflects
the fact that some segment values can make the other values more (or less) likely. For instance,
in the Sample Report, you may find that clicking on
**J1** (i.e., the first value in segment **J**) makes segments **C, D, F, H,** and
**I** largely predictable (see our paper for more examples).

You may condition the model on many segment values. Clicking on selected values un-selects them. Clicking on the red "Clear" above the color map un-selects them all. Below the browser we show the estimated proportion of the addresses matching your selection (vs. the dataset). If the browser cannot estimate the probabilities in a reasonable time, it asks before trying harder.

Loading...

Using the BN model, below we generate a few candidate target IPv6 addresses matching the selection above. Note that we anonymize the IPv6 addresses in this report.

As we show in the paper, this technique allowed us to successfully scan IPv6 networks of servers and routers, and to predict the IPv6 network identifiers of active client IPv6 addresses.