Skip to content

Asset Identity

Nzyme keys its asset inventory by MAC address, and on most networks that is a good approximation of a device. It is not the same thing. A wireless client bridge puts every device behind it on one address. A reinstalled machine, a dual-boot system or a network card that was moved into another computer keeps its address while the device behind it becomes something else. A phone that randomizes its address, or a laptop that alternates between its docking station and Wi-Fi, is one device that shows up as several assets. And an attacker who clones the address of a trusted device to get past port security or a NAC looks, to the inventory, like that trusted device.

Asset identity detection tells these cases apart. Nzyme records how each asset behaves on the wire, in ways the device cannot easily avoid, and runs three detections over that data:

Detection Question it answers
Duplicate MAC Address Are several devices using this MAC address at the same time?
Identity Change Did the device behind this MAC address become a different device over time?
MAC Address Change Is this new asset a device that recently went silent under another MAC address?

Nzyme does not translate the recorded behavior into an operating system or a device type. It stores the raw values and compares them, so that a change or a match is a fact about the traffic and not about a signature database.

You can find the findings on the Assets page under Ethernet in the sidebar of your Nzyme web interface. The Identity menu has a tab for each detection, Duplicate MAC Addresses, Identity Changes and MAC Address Changes, and an Exclusions tab for the assets you have told Nzyme to ignore. The detection parameters are in the Identity Detection section of the Settings tab. Every asset details page has an Identity Notices card that shows the findings and links of that asset, and an Identity card with the recorded identity attributes.

Identity Attributes

Identity attributes are values a device presents as a side effect of using the network. They are collected passively from DHCP, DHCPv6, TCP, TLS and NTP traffic, stored per asset with how often and when they were seen, and kept long-term. The Identity card on the asset details page lists them.

Attribute Source Description
DHCP Fingerprint DHCP Hash of the option order and vendor class of DHCP requests. See DHCP Fingerprinting.
DHCP Vendor Class DHCP The vendor class the client announces, like MSFT 5.0 or android-dhcp-14.
DHCP Parameter Request List DHCP The options the client asks the server for (option 55). Each DHCP client implementation has its own list.
DHCP Client Identifier DHCP The identifier the client sends in option 61. Often the MAC address, sometimes a DUID or a configured name that survives a MAC address change.
DHCPv6 Fingerprint DHCPv6 Hash of the options a DHCPv6 client asks for and its vendor class. Not comparable with the DHCP fingerprint.
DHCPv6 Client DUID DHCPv6 The identifier a DHCPv6 client sends. A device creates it once and keeps it, so it survives a MAC address change. Cloned system images share one.
TCP Stack TCP How the operating system opens connections. See TCP Stack Fingerprints.
TCP Fingerprint TCP The TCP stack plus MSS and window scale, which follow the link the asset is on.
TCP Signature TCP The TCP fingerprint plus window size and TOS, which applications can change.
Forwarded TCP Fingerprint TCP Fingerprints of stacks behind this asset. The asset forwarded their packets, so it acts as a router, NAT box or hotspot.
TCP Server Fingerprint TCP How the asset answers connections, taken from the SYN-ACK.
TCP Server Signature TCP The server fingerprint plus window size and TOS.
Source Port Range TCP The range the asset picks client ports from. Operating systems use fixed ranges and rarely change them.
TCP Timestamp Rate (Hz) TCP How fast the TCP timestamp clock ticks, in a bucket of common rates like 100, 250 or 1000.
IP ID Behavior TCP Whether IP identification values are ZERO, SEQUENTIAL or OTHER.
JA4 (TLS Client) TLS JA4 fingerprints of the TLS clients on the asset. A browser, an update agent and a mail client each have their own.
TLS Version TLS TLS versions the asset negotiated.
NTP Client Version NTP The version of the NTP client the asset synchronizes its clock with.

Nzyme stores at most 1,000 distinct values per asset and attribute. The count is reached only by assets that randomize their options, and such an asset is not a useful identity anyway.

TCP Stack Fingerprints

Every TCP connection starts with a SYN segment, and the way a stack builds that segment is decided by the operating system, not by the application. Nzyme records the fixed properties of the SYN in a format of three layers. Each layer is a prefix of the next, so two values that share a layer share everything before the first colon where they start to differ:

Layer Format Driven by Example
Stack ittl:df:ecn:options:quirks Operating system 64:1:0:mss,sok,ts,nop,ws:-
Fingerprint Stack plus :mss:wscale Link 64:1:0:mss,sok,ts,nop,ws:-:1460:7
Signature Fingerprint plus :window:tos Application 64:1:0:mss,sok,ts,nop,ws:-:1460:7:mss*44:0
Field Meaning
ittl The initial TTL the stack started with, guessed as the next of 32, 64, 128 or 255 at or above the observed TTL. The difference is the number of routers the packet passed.
df 1 when the Don't Fragment bit is set. - for a stack that was seen over IPv6, which has no such bit.
ecn 1 when the SYN asks for ECN. Recorded, but not used to tell devices apart, because Apple devices decide per connection whether to ask for it.
options The TCP options in the order the stack sends them: mss, ws (window scale), sok (SACK permitted), sack, ts (timestamps), nop, eol. TCP Fast Open and Multipath TCP options and padding after the last real option are left out, because a stack only adds Fast Open on connections to servers it knows support it and only adds Multipath TCP for applications that ask for it, such as Siri and Maps on Apple devices.
quirks ts0 for a timestamp option with a zero value, ecr for a non-zero timestamp echo in the opening segment, id0 for a zero IP ID although DF is set, bad when the options could not be read to the end. - when there are none.
mss The maximum segment size, 0 when absent. Follows the MTU of the link.
wscale The window scale, - when absent.
window The window size: max for 65535, mss*N when it is a multiple of the MSS, the raw value otherwise.
tos The type of service byte.

A stack is only attributed to an asset when the SYN arrived with its initial TTL intact, meaning the asset sent it itself. A SYN that passed a router before a tap saw it is recorded as a forwarded fingerprint of the asset whose MAC address it carries, which is the router, NAT box or hotspot in front of the real sender. This is what keeps devices that forward traffic for others out of the duplicate MAC address detection.

The web interface colors the three layers of a fingerprint differently, and hovering over a value shows the meaning of its fields.

IPv4 and IPv6

An operating system builds its SYN differently over IPv4 and over IPv6. IPv6 has no Don't Fragment bit and no IP ID, the MSS is smaller, and some stacks send different options. A dual-stack device therefore has two stacks, one per IP version, and that is normal.

Nzyme keeps the stacks of the two versions apart. A stack that was seen over IPv6 carries - in its df field, and the detections below only compare stacks of the same IP version:

  • A MAC address with one stack over IPv4 and one over IPv6 is no duplicate MAC address.
  • A stack that appears over an IP version the asset did not use before replaces nothing and is no identity change.
  • Two MAC addresses are only compared by the IP versions that both of them used.

How Nzyme Detects Duplicate MAC Addresses

A duplicate MAC address finding means that two or more different TCP stacks opened connections from the same MAC address inside the same detection window. Both were active at the same time, so this is not an asset that changed but two that overlap.

Detection runs once a minute, per tenant, across all taps of the tenant, over the TCP sessions of the last detection window minutes:

  1. Sessions are grouped by source MAC address and TCP fingerprint. Only sessions whose SYN arrived with the initial TTL intact count, so stacks behind a router, NAT box, phone hotspot or VM host that forwards traffic are left out. A session seen by several taps counts once.
  2. A stack is considered when it opened at least the minimum sessions number of sessions inside the window. A single stray session is not enough.
  3. The MAC address becomes a finding when two or more different stacks remain. By default, stacks that differ only in MSS, window scale, ECN or timestamps are treated as one. MSS and window scale follow the link and applications on a host can change them, and some devices ask for ECN on some connections and not on others. Windows applications can turn timestamps on for their own connections, which an Xbox does for downloads. A stack and the same stack with the timestamp option added are one stack, whatever padding the option moved. Two stacks that both send timestamps still have to place them identically. Turn ignore stacks that differ only in window scale, MSS, ECN or timestamps off to count them separately.

A finding stays active and keeps counting while the stacks keep overlapping inside the detection window. Its counts are rebuilt over the whole lifetime of the finding, so they keep growing. Once the address has been quiet for longer than the window, new overlapping stacks become a new finding.

What a Finding Records

Field Meaning
MAC address The address the stacks shared, with its asset.
Stacks How many different stacks used the address. A finding stores the ten busiest stacks, ranked by sessions, and counts the rest.
Sessions How many sessions all stacks opened together.
Taps The taps that observed the sessions.
Status Active while stacks overlapped inside the current detection window.

Each stored stack carries its fingerprint, a sample of its signatures, its session count, when it was first and last seen, a sample of the source IP addresses it used, its busiest destinations with session and byte counts, the range of its source ports and the taps that saw it. Each stack card says in which fields it differs from the other stacks. Pivot links lead to the TCP sessions of the stack.

How Nzyme Detects Identity Changes

An identity change finding means that an established asset became a different device over time: the identity it had is gone, and a new one took its place under the same MAC address.

Detection runs once a minute, per tenant, over the identity attributes and hostnames of assets:

  1. An asset is a candidate when it was seen inside the last detection window hours, when its recorded identity is at least minimum asset age hours old, and when it got a new attribute value or hostname inside the window. An asset that Nzyme only started profiling recently has no known identity to change yet, however long it has been on the network.
  2. For each attribute, the values first seen inside the window are compared to the values known from before. A value was replaced when none of the old values has been seen since the new one appeared. It was added when an old value is still in use next to it.
  3. Each change has a weight, and the weights are added up to a score. The asset becomes a finding when the score reaches the score threshold.
Change Replaced Added
TCP stack 50
TCP server fingerprint 20
Hostname 20 5
Source port range 15
DHCP fingerprint 15 10
DHCPv6 fingerprint 15 10
DHCPv6 client DUID 10
TLS clients (JA4) 15 5
IP ID behavior 10
TCP timestamp rate 10
DHCP vendor class 10 5
DHCP client identifier 10
DHCP parameter request list 10
NTP client version 5
New server protocols 5 each, at most 10
New inbound ports 5 each, at most 10

The TCP stack is scored, not the TCP fingerprint, because a fingerprint also changes when the host moves to a link with another MTU. Stacks that differ only in ECN or timestamps are one stack here as well, so a device that asks for ECN or timestamps on some connections does not replace its own stack. TLS clients count as added only when at least three new fingerprints appeared next to the old ones, because installing one program is normal. With the default threshold of 50, a replaced TCP stack alone is enough for a finding, and so is a replaced hostname together with a replaced DHCP client, which shows as a replaced DHCP fingerprint, parameter request list and vendor class.

A finding is kept per MAC address. While the asset has changes inside the current detection window, the finding is updated with the current score and changes. Once the window has passed without changes, new changes become a new finding.

What a Finding Records

Field Meaning
MAC address The asset that changed.
Score and threshold The score at the time of the last detection run and the threshold it was compared to.
Previous and new TCP fingerprint Set when the TCP stack was replaced.
Changes Each change with its weight, the values before and now, and when the new value was first seen.
Status Active while the asset has changes inside the current detection window.

How Nzyme Detects MAC Address Changes

A MAC address change is a link between two assets: a new asset that appeared around the time another asset went silent, with enough shared identity to conclude that both are the same device. Nzyme calls the asset that went silent the predecessor and the new one the successor.

Detection runs once a minute, per tenant:

  1. Every asset that was first seen inside the last lookback hours is scheduled for evaluation. It is evaluated for the first time once it has existed for the quiet period, and, if no link was found, again when it is six hours old, 24 hours old and at the end of the lookback, because a new asset collects more identity over time.
  2. Each evaluation compares the new asset with assets that went silent around the time it appeared: their last activity is no more than the lookback before the new asset appeared and no more than the quiet period after it, and they have been silent for at least the quiet period since. Candidates are found through hostnames, IP addresses and identity attribute values the two assets share. A value that more than 200 silent assets share is too common to find candidates with.
  3. Each shared property is a piece of evidence with a weight. The weights add up to a confidence between 0 and 100, and the candidate with the highest confidence is linked when it reaches the minimum confidence.
Evidence Weight
Shared hostname Up to 40, scaled by how rare the hostname is.
Shared IP address 30
Shared DHCP client identifier 30, unless the identifier is derived from one of the MAC addresses.
Shared TLS clients (JA4) Up to 20, by the share of fingerprints both assets have.
Shared DHCP fingerprint Up to 15, scaled by rarity.
Shared DHCPv6 client DUID Up to 30, scaled by rarity.
Shared DHCPv6 fingerprint Up to 15, scaled by rarity.
Same inbound ports 15 when both accept connections on exactly the same ports. -10 when the ports have nothing in common.
Shared DHCP parameter request list Up to 10, scaled by rarity.
Shared TCP stack Up to 10, scaled by rarity. -20 when both have stacks and none is shared.
Shared TCP server fingerprint 10
Shared DHCP vendor class 5
Shared NTP client 5
Same vendor prefix 5
Randomized new MAC address 5 when the new address is locally administered.
Same source port range 3. -10 when the ranges have nothing in common.
Same TCP timestamp rate 3

Rarity matters because a value a whole fleet shares proves little. A value that at most two assets have counts in full, one shared by up to five assets counts half, by up to twenty a quarter, and anything more common a tenth. A shared hostname or IP address alone does not reach the default confidence; a hostname together with the same DHCP fingerprint and TCP stack, or a non-derived DHCP client identifier together with a hostname, does.

A link has a kind and a status:

Kind Meaning
Moved to new address The old address went silent when the new one appeared.
Alternates between addresses The old address came back after the new one appeared, so the device uses both. A laptop on a docking station and on Wi-Fi looks like this.
Status Meaning
Open Detected and not reviewed.
Confirmed You marked the two assets as one device. Confirmed links are exempt from retention.
Dismissed You marked the link as wrong. The link is kept so that the pair is not detected again.

Open and confirmed links are shown as notices on the asset details pages of both assets. Dismissed links are not. Deleting a link instead of dismissing it allows the pair to be detected again while the new asset is inside the lookback.

Backlog

MAC address change detection schedules an evaluation for every new asset and processes a bounded number of evaluations per minute. No evaluation is ever skipped: when more are due than fit into a run, they wait and are worked off oldest first. The Asset Identity Backlog health indicator on the health console turns orange when an evaluation has been waiting for more than 15 minutes and red after two hours. A short backlog after an upgrade or after enabling the detection is expected, because every asset inside the lookback is scheduled at once. A backlog that does not clear usually means a network with many randomized addresses, like a guest Wi-Fi, where every visit is a new asset. Reduce the lookback, exclude the address ranges, or turn the detection off for that tenant. Pending evaluations of a tenant that disabled the detection are discarded.

Working With Identity Findings

Each tab lists the findings of the selected tenant inside the selected time range, with filters that work like every other Ethernet search page. The small filter icons next to values add that value to the filters, and the short ID at the start of each row links to the details page of the finding, which is a stable link you can share. Rows can be selected for the actions in the Actions menu: findings can be deleted, links can be confirmed, dismissed, reopened and deleted. Each action is available for the selected rows and for every record matching the current filters and time range, across all pages.

Users with the Manage Ethernet Assets permission can delete findings, change the status of links and manage exclusions. All users with access to the tenant can view them.

Duplicate MAC addresses. Start with the stack cards on the details page. Each card says in which fields its stack differs from the others. A difference in initial TTL, option order or quirks is a different operating system, and two of them on one address at the same time are two devices. A difference in MSS or window scale only is a different link, and a difference in ECN or timestamps only is one device that asks for them on some connections. The default settings already ignore all of these. Then look at the source addresses: two stacks with two different IP addresses are two hosts behind a bridge, two stacks with the same IP address are a device that shares its address with something that imitates it. The destinations tell you what each device does, and the pivot links lead to the sessions. A wireless client bridge or repeater that puts its clients behind one address is the common legitimate cause; add an exclusion for it. Two devices that were configured with the same address by mistake raise the finding as well, and so does a device that clones the address of a trusted host while that host is online.

Identity changes. The Changes table shows what was replaced and what was added. A replaced TCP stack together with a replaced hostname and a replaced DHCP fingerprint is a different machine behind the address: a reinstall, a dual-boot system that booted the other operating system, a network card moved to another computer, or a device that took over the address of one that is now offline. New inbound ports or a new server protocol alone are the same machine in a new role. Compare the times: the Identity card on the asset details page shows when the old values were last seen, and the gap between the old identity disappearing and the new one appearing is often the reboot or the swap. A device that alternates between identities on purpose, like a dual-boot machine or a VM host that passes an address through to different guests, belongs in an exclusion.

MAC address changes. The evidence table on the details page lists what the two assets share and what counts against them. Shared hostnames, a non-derived DHCP client identifier and a shared IP address are the strongest signs, because they come from the device's configuration rather than its software. Confirm a link when the two assets are one device: the link then documents the history of that device across addresses, and it is kept regardless of retention. Dismiss it when they are not, so that the pair is not detected again. Phones and laptops that randomize their Wi-Fi address, laptops that alternate between a docking station and Wi-Fi, and replaced network cards are the usual causes. An attacker who moves to a new address to shed a reputation does the same, and the link keeps the two halves of that history together.

Exclusions

An exclusion keeps an asset from raising identity findings. Nzyme keeps recording the identity attributes of excluded assets, so the asset details pages stay complete; only the findings and alerts stop.

An exclusion consists of:

Criterion Description
MAC address Either a full MAC address like AA:BB:CC:DD:EE:FF, which covers one asset, or a vendor prefix like AA:BB:CC, which covers every asset of that vendor. For MAC address changes, the exclusion matches when either the old or the new address is covered.
Detection types Optional. Limits the exclusion to Duplicate MAC Address, Identity Change or MAC Address Change findings. Leave all unselected to cover every detection.

The usual reasons are:

  • Wireless client bridges and repeaters that put their clients behind one address.
  • Dual-boot machines and machines that boot different images.
  • Virtualization hosts that pass an address through to different guests.
  • A vendor prefix whose devices are swapped or re-imaged often, or whose addresses are randomized.

The exclusion form previews which known assets the criteria cover. Assets that are discovered later and match the criteria are covered as well. Every exclusion counts how often it matched and when it matched last, so you can see whether it is still needed. An exclusion can be disabled without deleting it; a disabled exclusion is kept but not applied.

Use Exclude on a finding details page or on an alert to open the form with the MAC address and the detection type of that finding filled in. A finding that matches an enabled exclusion is not created and does not raise an alert. Existing findings that match are marked as excluded and are no longer updated; the finding page names the exclusion. A MAC address change that matches an exclusion is not linked, and the pair is not evaluated again. The Exclusions card on the asset details page lists the exclusions that cover an asset.

Alerts

Identity detection can raise three kinds of detection alerts. All of them are disabled by default and are enabled in the configuration:

Type Raised when
ASSETS_MAC_DUPLICATE A new duplicate MAC address finding is detected.
ASSETS_IDENTITY_CHANGED A new identity change finding is detected.
ASSETS_MAC_CHANGED A new MAC address change is detected. Links are usually reviewed as notices on the asset pages rather than as alerts.

Each alert is raised once per finding when it is first detected, not again while the finding continues. It is raised at the location of the taps that recorded the asset. The alerts carry the MAC addresses, the stacks or the changes or the evidence at the time of the alert, and link to the finding. Each can be switched on and off on its own in the configuration.

Configuration

Users with the Manage Ethernet Assets permission can change the detection parameters in the Identity Detection section of the Settings tab of the Assets page. Each detection has its own switch, so a detection that does not fit a network can be turned off without affecting the others.

Duplicate MAC Address

Key Default Description
Detection enabled true Run duplicate MAC address detection for the tenant.
Detection window (Minutes) 15 Stacks must have overlapped inside this window. A finding stays active while they keep overlapping inside it. Between 1 and 1440.
Minimum sessions per stack in window 3 How many sessions a stack must have opened inside the window to count. Between 1 and 100000.
Ignore stacks that differ only in window scale, MSS, ECN or timestamps true Treat stacks that differ only in the link-driven fields, in ECN or in timestamps as one.
Alert on new duplicate MAC finding false Raise ASSETS_MAC_DUPLICATE alerts.

Identity Change

Key Default Description
Detection enabled true Run identity change detection for the tenant.
Detection window (Hours) 24 Values that appeared inside this window are compared to the ones known from before. Between 1 and 720.
Minimum asset age (Hours) 24 How old the recorded identity of an asset must be before changes are scored. Between 0 and 8760.
Score threshold 50 The score at which the changes become a finding. The default means a replaced TCP stack alone is enough. Between 1 and 500.
Alert on new identity change finding false Raise ASSETS_IDENTITY_CHANGED alerts.

MAC Address Change

Key Default Description
Detection enabled true Run MAC address change detection for the tenant. Pending evaluations are discarded when it is turned off.
Lookback for silent assets (Hours) 72 How far back an asset may have gone silent to be considered as the predecessor of a new asset, and how long a new asset is evaluated. Between 1 and 720.
Quiet period before an asset counts as gone (Minutes) 30 How long an asset must be silent to count as gone, and how old a new asset must be before it is first evaluated. Between 1 and 10080.
Minimum confidence 50 The confidence at which the best candidate is linked. Between 1 and 100.
Alert on new MAC address change false Raise ASSETS_MAC_CHANGED alerts.

Finding Retention

Key Default Description
Finding retention time (Days) 365 How long findings and links are kept. Confirmed links are exempt. Between 1 and 3650.

Retention

Findings and links that were not seen for longer than the finding retention time are deleted as part of the hourly retention run, under the Asset Identity data category on the database page. Confirmed links are kept, because they describe the network rather than an event. Exclusions and the settings are kept when findings are deleted. Duplicate MAC address detection reads the TCP session log and identity change detection reads the asset attributes, so neither can see further back than those are retained, and the pivot links from a finding to the raw sessions only work while the sessions are. See Configuring Retention Times for how to change retention times.